<!-- Hide this code from non-JavaScript browsers

function Validate_Destination()
{
	if (document.form.strFirst.value.length == 0)
	{
		alert('You must enter YOUR FIRST NAME to continue.');
		document.form.strFirst.focus();
		return(false);
	}
	if (document.form.strLast.value.length == 0)
	{
		alert('You must enter YOUR LAST NAME to continue.');
		document.form.strLast.focus();
		return(false);
	}
	if (document.form.strEmail.value.length == 0)
	{
		alert('You must enter YOUR E-MAIL ADDRESS to continue.');
		document.form.strEmail.focus();
		return(false);
	}
    if (document.form.strAddress1.value.length == 0)
	{
		alert('You must enter YOUR ADDRESS to continue.');
		document.form.strAddress1.focus();
		return(false);
	}
	if (document.form.strCity.value.length == 0)
	{
		alert('You must enter YOUR CITY to continue.');
		document.form.strCity.focus();
		return(false);
	}
	if (document.form.strPostalCode.value.length == 0)
	{
		alert('You must enter YOUR ZIP CODE to continue.');
		document.form.strPostalCode.focus();
		return(false);
	}
	if (document.form.strPhone.value.length == 0)
	{
		alert('You must enter YOUR PHONE NUMBER to continue.');
		document.form.strPhone.focus();
		return(false);
	}
if (document.form.strShipFirst.value.length == 0)
	{
		alert('You must enter YOUR SHIPPING FIRST NAME to continue.');
		document.form.strShipFirst.focus();
		return(false);
	}
if (document.form.strShipLast.value.length == 0)
	{
		alert('You must enter YOUR SHIPPING LAST NAME to continue.');
		document.form.strShipLast.focus();
		return(false);
	}
if (document.form.strShipAddress.value.length == 0)
	{
		alert('You must enter YOUR SHIPPING ADDRESS to continue.');
		document.form.strShipAddress.focus();
		return(false);
	}
if (document.form.strShipCity.value.length == 0)
	{
		alert('You must enter YOUR SHIPPING CITY to continue.');
		document.form.strShipCity.focus();
		return(false);
	}
if (document.form.strShipPostalCode.value.length == 0)
	{
		alert('You must enter YOUR SHIPPING ZIP to continue.');
		document.form.strShipPostalCode.focus();
		return(false);
	}


	return (true);
} 

function checkouts()
{
	if (document.SaleForm.strNameOnCc.value.length == 0)
	{
		alert('You must enter your NAME ON CREDIT CARD to continue.');
		document.SaleForm.strNameOnCc.focus();
		return(false);
	}
	if (document.SaleForm.bzip.value.length == 0)
	{
		alert('You must enter your CREDIT CARD ZIP CODE to continue.');
		document.SaleForm.bzip.focus();
		return(false);
	}
	if (document.SaleForm.cardnumber.value.length == 0)
	{
		alert('You must enter your CREDIT CARD NUMBER to continue.');
		document.SaleForm.cardnumber.focus();
		return(false);
	}
	if (document.SaleForm.expmonth.value.length == 0)
	{
		alert('You must enter your CREDIT CARD EXP MONTH to continue.');
		document.SaleForm.expmonth.focus();
		return(false);
	}
	if (document.SaleForm.expyear.value.length == 0)
	{
		alert('You must enter your CREDIT CARD EXP YEAR to continue.');
		document.SaleForm.expyear.focus();
		return(false);
	}
    if (document.SaleForm.cvv2.value.length == 0)
	{
		alert('You must enter your CREDIT CARD CVV2 CODE from the back to continue.');
		document.SaleForm.cvv2.focus();
		return(false);
	}
	

	return (true);
} 

var strShipFirst = "";
var strShipLast = "";
var strShipAddress = "";
var strShipCity = "";
var strShipPostalCode = "";
var strShipState = "";
var strShipStateIndex = 0;
var strShipCountry = "";
var strShipCountryIndex = 0;

function InitSaveVariables(form) {
strShipFirst = form.strShipFirst.value;
strShipLast = form.strShipLast.value;
strShipAddress = form.strShipAddress.value;
strShipCity = form.strShipCity.value;
strShipPostalCode = form.strShipPostalCode.value;
strShipStateIndex = form.strShipState.selectedIndex;
strShipState = form.strShipState[strShipStateIndex].value;
strShipCountry = form.strShipCountry[strShipCountryIndex].value;
}

function ShipToBillPerson(form) {
if (form.copy.checked) {
InitSaveVariables(form);
form.strShipFirst.value = form.strFirst.value;
form.strShipLast.value = form.strLast.value;
form.strShipAddress.value = form.strAddress1.value;
form.strShipCity.value = form.strCity.value;
form.strShipPostalCode.value = form.strPostalCode.value;
form.strShipState.selectedIndex = form.strState.selectedIndex;
form.strShipCountry.selectedIndex = form.strCountry.selectedIndex;
}
else {
form.strShipFirst.value = strShipFirst;
form.strShipLast.value = strShipLast;
form.strShipAddress.value = strShipAddress;
form.strShipCity.value = strShipCity;
form.strShipPostalCode.value = strShipPostalCode;
form.strShipState.selectedIndex = strShipStateIndex;
form.strShipCountry.selectedIndex = strShipCountryIndex;
   }
}

function displayPopup(url, height, width) {
properties = "toolbar=0,location=0,scrollbars=0,height=" + height;
properties = properties + ",width=" + width;
properties = properties + ",left=50,top=50";
popupHandle = open(url, "Upload_Image", properties);

}
function displayPopup2(url, height, width) {
properties = "toolbar=0,location=0,scrollbars=0,height=" + height;
properties = properties + ",width=" + width;
properties = properties + ",left=50,top=50";
popupHandle = open(url, "Upload_Image", properties);

}
function displayPopup3(url, height, width) {
properties = "toolbar=0,location=0,scrollbars=1,height=" + height;
properties = properties + ",width=" + width;
properties = properties + ",left=50,top=50";
popupHandle = open(url, "Upload_Image", properties);

}
function checkCapsLock( e ) {
	var myKeyCode=0;
	var myShiftKey=false;
	var myMsg='Caps Lock is On.\n\nPlease take off Caps Lock to proceed';

	// Internet Explorer 4+
	if ( document.all ) {
		myKeyCode=e.keyCode;
		myShiftKey=e.shiftKey;

	// Netscape 4
	} else if ( document.layers ) {
		myKeyCode=e.which;
		myShiftKey=( myKeyCode == 16 ) ? true : false;

	// Netscape 6
	} else if ( document.getElementById ) {
		myKeyCode=e.which;
		myShiftKey=( myKeyCode == 16 ) ? true : false;

	}

	// Upper case letters are seen without depressing the Shift key, therefore Caps Lock is on
	if ( ( myKeyCode >= 65 && myKeyCode <= 90 ) && !myShiftKey ) {
		alert( myMsg );

	// Lower case letters are seen while depressing the Shift key, therefore Caps Lock is on
	} else if ( ( myKeyCode >= 97 && myKeyCode <= 122 ) && myShiftKey ) {
		alert( myMsg );

	}
}


var win=null;
function NewWindow(mypage,myname,w,h,scroll,pos){

	if(pos=="random"){
		LeftPosition=(screen.width)?Math.floor(Math.random()*((screen.width-w)-75)):100;
		TopPosition=(screen.height)?Math.floor(Math.random()*((screen.height-h)-75)):100;}
	if(pos=="center"){
		LeftPosition=(screen.width)?(screen.width-w)/2:100;
		TopPosition=(screen.height)?(screen.height-h)/2:100;}
	else if((pos!="center" && pos!="random") || pos==null){
		LeftPosition=0;
		TopPosition=20}

	settings='height='+h+',width='+w+',top='+TopPosition+',left='+LeftPosition+',scrollbars='+scroll+',resizable';
	win=window.open(mypage,myname,settings);
	if(win.focus){win.focus();}}
	
	
	

function Validate_Form()
{
	if (document.form.strContactPerson.value.length == 0)
	{
		alert('You must enter A CONTACT PERSON to continue.');
		document.form.strContactPerson.focus();
		return(false);
	}
	if (document.form.strPhoneNumber.value.length == 0)
	{
		alert('You must enter A PHONE NUMBER to continue.');
		document.form.strPhoneNumber.focus();
		return(false);
	}
	if (document.form.strEmailAddress.value.length == 0)
	{
		alert('You must enter AN E-MAIL ADDRESS to continue.');
		document.form.strEmailAddress.focus();
		return(false);
	}
	if (document.form.strRequest.value.length == 0)
	{
		alert('You must enter A REQUEST to continue.');
		document.form.strRequest.focus();
		return(false);
	}
	return (true);
} 

	
// End hiding -->





































