var browser = navigator.appName;

function ValidateCatalog(info){

var strFullName = document.forms[0].Catalog_FullName.value;
strFullName = strFullName.replace(/^\s*|\s*$/g,"");

if (strFullName=="")
	{
	alert('Please enter your full name');
	document.forms[0].Catalog_FullName.value = "";
	if (browser != "Netscape")
		{
	 	document.forms[0].Catalog_FullName.focus();
	     	}

	return false;
	}

var strStreetAddress = document.forms[0].Catalog_StreetAddress.value;
strStreetAddress = strStreetAddress.replace(/^\s*|\s*$/g,"");

if (strStreetAddress=="")
	{
	alert('Please enter your address');
	document.forms[0].Catalog_StreetAddress.value = "";
	if (browser != "Netscape")
		{
		document.forms[0].Catalog_StreetAddress.focus();
	     	}
	return false;
	}
	

var strCity = document.forms[0].Catalog_City.value;
strCity = strCity.replace(/^\s*|\s*$/g,"");

if (strCity=="")
	{
	alert('Please enter your city');
	document.forms[0].Catalog_City.value = ""
	if (browser != "Netscape")
		{
		document.forms[0].Catalog_City.focus();
	     	}
	return false;
	}
	

if (document.forms[0].Catalog_Country.value == "UNITED STATES"){

var state =(document.forms[0].Catalog_State.options[document.forms[0].Catalog_State.selectedIndex].value)
	
	if (state == "none"){
		alert("Please select a state");
		if (browser != "Netscape"){
			document.forms[0].Catalog_State.focus();
		}
	return false;
	}
}
	
if (document.forms[0].Catalog_Country.value == "CANADA"){

var state =(document.forms[0].Catalog_State.options[document.forms[0].Catalog_State.selectedIndex].value)
	
	if (state == "none"){
		alert("Please select a province");
		if (browser != "Netscape"){
			document.forms[0].Catalog_State.focus();
		}
	return false;
	}
}

var strZip	
if (document.forms[0].Catalog_Country.value == "UNITED STATES"){

	strZip = document.forms[0].Catalog_ZipCode.value;
	strZip = strZip.replace(/^\s*|\s*$/g,"");

	if (strZip==""){
		alert("Please enter your zip code");
		document.forms[0].Catalog_ZipCode.value = "";
		if (browser != "Netscape"){
			document.forms[0].Catalog_ZipCode.focus();
		}
	return false;
	}
}
	
if (document.forms[0].Catalog_Country.value == "CANADA"){

	strZip = document.forms[0].Catalog_ZipCode.value;
	strZip = strZip.replace(/^\s*|\s*$/g,"");

	if (strZip==""){
		alert("Please enter your zip code");
		document.forms[0].Catalog_ZipCode.value = "";
		if (browser != "Netscape"){
			document.forms[0].Catalog_ZipCode.focus();
		}
	return false;
	}
}
	
var txt = document.forms[0].email_address.value;
var txt2 = document.forms[0].email_address2.value;

if (document.forms[0].comments.value != ""){
  if (txt == "")
	{
	alert("An email address is required when sending comments.");
	if (browser != "Netscape")
		{
		document.forms[0].email_address.focus();
	     	}
	return false;
	}
}

if (txt != ""){
  if (txt.indexOf("@")<2)
	{
	alert("I'm sorry. This email address seems wrong. \n Please"
	+" check the username or include the '@' sign.");
	if (browser != "Netscape")
		{
		document.forms[0].email_address.focus();
	     	}
	return false;
	}
}

if (txt != ""){	
  if ((txt.indexOf(".com")<5)
	&&(txt.indexOf(".org")<5)
	&&(txt.indexOf(".gov")<5)
	&&(txt.indexOf(".net")<5)
	&&(txt.indexOf(".mil")<5)
	&&(txt.indexOf(".edu")<5)
	&&(txt.indexOf(".biz")<5)
	&&(txt.indexOf(".info")<5)
	&&(txt.indexOf(".aero")<5)
	&&(txt.indexOf(".coop")<5)
	&&(txt.indexOf(".int")<5)
	&&(txt.indexOf(".museum")<5)
	&&(txt.indexOf(".name")<5)
	&&(txt.indexOf(".COM")<5)
	&&(txt.indexOf(".ORG")<5)
	&&(txt.indexOf(".GOV")<5)
	&&(txt.indexOf(".NET")<5)
	&&(txt.indexOf(".MIL")<5)
	&&(txt.indexOf(".EDU")<5)
	&&(txt.indexOf(".BIZ")<5)
	&&(txt.indexOf(".INFO")<5)
	&&(txt.indexOf(".AERO")<5)
	&&(txt.indexOf(".COOP")<5)
	&&(txt.indexOf(".INT")<5)
	&&(txt.indexOf(".MUSEUM")<5)
	&&(txt.indexOf(".NAME")<5)
	&&(txt.indexOf(".ac")<5)
	&&(txt.indexOf(".ad")<5)
	&&(txt.indexOf(".ae")<5)
	&&(txt.indexOf(".af")<5)
	&&(txt.indexOf(".ag")<5)
	&&(txt.indexOf(".ai")<5)
	&&(txt.indexOf(".al")<5)
	&&(txt.indexOf(".am")<5)
	&&(txt.indexOf(".an")<5)
	&&(txt.indexOf(".ao")<5)
	&&(txt.indexOf(".aq")<5)
	&&(txt.indexOf(".ar")<5)
	&&(txt.indexOf(".as")<5)
	&&(txt.indexOf(".at")<5)
	&&(txt.indexOf(".au")<5)
	&&(txt.indexOf(".aw")<5)
	&&(txt.indexOf(".az")<5)
	&&(txt.indexOf(".ba")<5)
	&&(txt.indexOf(".bb")<5)
	&&(txt.indexOf(".bd")<5)
	&&(txt.indexOf(".be")<5)
	&&(txt.indexOf(".bf")<5)
	&&(txt.indexOf(".bg")<5)
	&&(txt.indexOf(".bh")<5)
	&&(txt.indexOf(".bi")<5)
	&&(txt.indexOf(".bj")<5)
	&&(txt.indexOf(".bm")<5)
	&&(txt.indexOf(".bn")<5)
	&&(txt.indexOf(".bo")<5)
	&&(txt.indexOf(".br")<5)
	&&(txt.indexOf(".bs")<5)
	&&(txt.indexOf(".bt")<5)
	&&(txt.indexOf(".bv")<5)
	&&(txt.indexOf(".bw")<5)
	&&(txt.indexOf(".by")<5)
	&&(txt.indexOf(".bz")<5)
	&&(txt.indexOf(".ca")<5)
	&&(txt.indexOf(".cc")<5)
	&&(txt.indexOf(".cd")<5)
	&&(txt.indexOf(".cf")<5)
	&&(txt.indexOf(".cg")<5)
	&&(txt.indexOf(".ch")<5)
	&&(txt.indexOf(".ci")<5)
	&&(txt.indexOf(".ck")<5)
	&&(txt.indexOf(".cl")<5)
	&&(txt.indexOf(".cm")<5)
	&&(txt.indexOf(".cn")<5)
	&&(txt.indexOf(".co")<5)
	&&(txt.indexOf(".cr")<5)
	&&(txt.indexOf(".cs")<5)
	&&(txt.indexOf(".cu")<5)
	&&(txt.indexOf(".cv")<5)
	&&(txt.indexOf(".cx")<5)
	&&(txt.indexOf(".cy")<5)
	&&(txt.indexOf(".cz")<5)
	&&(txt.indexOf(".de")<5)
	&&(txt.indexOf(".dj")<5)
	&&(txt.indexOf(".dk")<5)
	&&(txt.indexOf(".dm")<5)
	&&(txt.indexOf(".do")<5)
	&&(txt.indexOf(".dz")<5)
	&&(txt.indexOf(".ec")<5)
	&&(txt.indexOf(".ee")<5)
	&&(txt.indexOf(".eg")<5)
	&&(txt.indexOf(".eh")<5)
	&&(txt.indexOf(".er")<5)
	&&(txt.indexOf(".es")<5)
	&&(txt.indexOf(".et")<5)
	&&(txt.indexOf(".fi")<5)
	&&(txt.indexOf(".fj")<5)
	&&(txt.indexOf(".fk")<5)
	&&(txt.indexOf(".fm")<5)
	&&(txt.indexOf(".fo")<5)
	&&(txt.indexOf(".fr")<5)
	&&(txt.indexOf(".ga")<5)
	&&(txt.indexOf(".gb")<5)
	&&(txt.indexOf(".gd")<5)
	&&(txt.indexOf(".ge")<5)
	&&(txt.indexOf(".gf")<5)
	&&(txt.indexOf(".gg")<5)
	&&(txt.indexOf(".gh")<5)
	&&(txt.indexOf(".gi")<5)
	&&(txt.indexOf(".gl")<5)
	&&(txt.indexOf(".gm")<5)
	&&(txt.indexOf(".gn")<5)
	&&(txt.indexOf(".gp")<5)
	&&(txt.indexOf(".gq")<5)
	&&(txt.indexOf(".gr")<5)
	&&(txt.indexOf(".gs")<5)
	&&(txt.indexOf(".gt")<5)
	&&(txt.indexOf(".gu")<5)
	&&(txt.indexOf(".gw")<5)
	&&(txt.indexOf(".gy")<5)
	&&(txt.indexOf(".hk")<5)
	&&(txt.indexOf(".hm")<5)
	&&(txt.indexOf(".hn")<5)
	&&(txt.indexOf(".hr")<5)
	&&(txt.indexOf(".ht")<5)
	&&(txt.indexOf(".hu")<5)
	&&(txt.indexOf(".id")<5)
	&&(txt.indexOf(".ie")<5)
	&&(txt.indexOf(".il")<5)
	&&(txt.indexOf(".im")<5)
	&&(txt.indexOf(".in")<5)
	&&(txt.indexOf(".io")<5)
	&&(txt.indexOf(".iq")<5)
	&&(txt.indexOf(".ir")<5)
	&&(txt.indexOf(".is")<5)
	&&(txt.indexOf(".it")<5)
	&&(txt.indexOf(".je")<5)
	&&(txt.indexOf(".jm")<5)
	&&(txt.indexOf(".jo")<5)
	&&(txt.indexOf(".jp")<5)
	&&(txt.indexOf(".ke")<5)
	&&(txt.indexOf(".kg")<5)
	&&(txt.indexOf(".kh")<5)
	&&(txt.indexOf(".ki")<5)
	&&(txt.indexOf(".km")<5)
	&&(txt.indexOf(".kn")<5)
	&&(txt.indexOf(".kp")<5)
	&&(txt.indexOf(".kr")<5)
	&&(txt.indexOf(".kw")<5)
	&&(txt.indexOf(".ky")<5)
	&&(txt.indexOf(".kz")<5)
	&&(txt.indexOf(".la")<5)
	&&(txt.indexOf(".lb")<5)
	&&(txt.indexOf(".lc")<5)
	&&(txt.indexOf(".li")<5)
	&&(txt.indexOf(".lk")<5)
	&&(txt.indexOf(".lr")<5)
	&&(txt.indexOf(".ls")<5)
	&&(txt.indexOf(".lt")<5)
	&&(txt.indexOf(".lu")<5)
	&&(txt.indexOf(".lv")<5)
	&&(txt.indexOf(".ly")<5)
	&&(txt.indexOf(".ma")<5)
	&&(txt.indexOf(".mc")<5)
	&&(txt.indexOf(".md")<5)
	&&(txt.indexOf(".mg")<5)
	&&(txt.indexOf(".mh")<5)
	&&(txt.indexOf(".mk")<5)
	&&(txt.indexOf(".ml")<5)
	&&(txt.indexOf(".mm")<5)
	&&(txt.indexOf(".mn")<5)
	&&(txt.indexOf(".mo")<5)
	&&(txt.indexOf(".mp")<5)
	&&(txt.indexOf(".mq")<5)
	&&(txt.indexOf(".mr")<5)
	&&(txt.indexOf(".ms")<5)
	&&(txt.indexOf(".mt")<5)
	&&(txt.indexOf(".mu")<5)
	&&(txt.indexOf(".mv")<5)
	&&(txt.indexOf(".mw")<5)
	&&(txt.indexOf(".mx")<5)
	&&(txt.indexOf(".my")<5)
	&&(txt.indexOf(".mz")<5)
	&&(txt.indexOf(".na")<5)
	&&(txt.indexOf(".nc")<5)
	&&(txt.indexOf(".ne")<5)
	&&(txt.indexOf(".nf")<5)
	&&(txt.indexOf(".ng")<5)
	&&(txt.indexOf(".ni")<5)
	&&(txt.indexOf(".nl")<5)
	&&(txt.indexOf(".no")<5)
	&&(txt.indexOf(".np")<5)
	&&(txt.indexOf(".nr")<5)
	&&(txt.indexOf(".nu")<5)
	&&(txt.indexOf(".nz")<5)
	&&(txt.indexOf(".om")<5)
	&&(txt.indexOf(".pa")<5)
	&&(txt.indexOf(".pe")<5)
	&&(txt.indexOf(".pf")<5)
	&&(txt.indexOf(".pg")<5)
	&&(txt.indexOf(".ph")<5)
	&&(txt.indexOf(".pk")<5)
	&&(txt.indexOf(".pl")<5)
	&&(txt.indexOf(".pm")<5)
	&&(txt.indexOf(".pn")<5)
	&&(txt.indexOf(".pr")<5)
	&&(txt.indexOf(".ps")<5)
	&&(txt.indexOf(".pt")<5)
	&&(txt.indexOf(".pw")<5)
	&&(txt.indexOf(".py")<5)
	&&(txt.indexOf(".qa")<5)
	&&(txt.indexOf(".re")<5)
	&&(txt.indexOf(".ro")<5)
	&&(txt.indexOf(".ru")<5)
	&&(txt.indexOf(".rw")<5)
	&&(txt.indexOf(".sa")<5)
	&&(txt.indexOf(".sb")<5)
	&&(txt.indexOf(".sc")<5)
	&&(txt.indexOf(".sd")<5)
	&&(txt.indexOf(".se")<5)
	&&(txt.indexOf(".sg")<5)
	&&(txt.indexOf(".sh")<5)
	&&(txt.indexOf(".si")<5)
	&&(txt.indexOf(".sj")<5)
	&&(txt.indexOf(".sk")<5)
	&&(txt.indexOf(".sl")<5)
	&&(txt.indexOf(".sm")<5)
	&&(txt.indexOf(".sn")<5)
	&&(txt.indexOf(".so")<5)
	&&(txt.indexOf(".sr")<5)
	&&(txt.indexOf(".st")<5)
	&&(txt.indexOf(".su")<5)
	&&(txt.indexOf(".sv")<5)
	&&(txt.indexOf(".sy")<5)
	&&(txt.indexOf(".sz")<5)
	&&(txt.indexOf(".tc")<5)
	&&(txt.indexOf(".td")<5)
	&&(txt.indexOf(".tf")<5)
	&&(txt.indexOf(".tg")<5)
	&&(txt.indexOf(".th")<5)
	&&(txt.indexOf(".tj")<5)
	&&(txt.indexOf(".tk")<5)
	&&(txt.indexOf(".tm")<5)
	&&(txt.indexOf(".tn")<5)
	&&(txt.indexOf(".to")<5)
	&&(txt.indexOf(".tp")<5)
	&&(txt.indexOf(".tr")<5)
	&&(txt.indexOf(".tt")<5)
	&&(txt.indexOf(".tv")<5)
	&&(txt.indexOf(".tw")<5)
	&&(txt.indexOf(".tz")<5)
	&&(txt.indexOf(".ua")<5)
	&&(txt.indexOf(".ug")<5)
	&&(txt.indexOf(".uk")<5)
	&&(txt.indexOf(".um")<5)
	&&(txt.indexOf(".us")<5)
	&&(txt.indexOf(".uy")<5)
	&&(txt.indexOf(".uz")<5)
	&&(txt.indexOf(".va")<5)
	&&(txt.indexOf(".vc")<5)
	&&(txt.indexOf(".ve")<5)
	&&(txt.indexOf(".vg")<5)
	&&(txt.indexOf(".vi")<5)
	&&(txt.indexOf(".vn")<5)
	&&(txt.indexOf(".vu")<5)
	&&(txt.indexOf(".wf")<5)
	&&(txt.indexOf(".ws")<5)
	&&(txt.indexOf(".ye")<5)
	&&(txt.indexOf(".yt")<5)
	&&(txt.indexOf(".yu")<5)
	&&(txt.indexOf(".za")<5)
	&&(txt.indexOf(".zm")<5)
	&&(txt.indexOf(".zr")<5)
	&&(txt.indexOf(".zw")<5))

	{
	alert("I'm sorry. This email address seems wrong. \n Please check the domain for accuracy. \n (It should include a suffix such as: .com, .edu, .net, .org)");
	if (browser != "Netscape")
		{
		document.forms[0].email_address.focus();
	     	}
	return false;
   	}
}

if (document.forms[0].email_address.value != document.forms[0].email_address2.value){
	if (document.forms[0].email_address2.value == ""){
		alert("Please verify your email address.");
	}else{
		alert("Please verify your email address again.");
	}
	if (browser != "Netscape")
		{
		document.forms[0].email_address2.value="";
		document.forms[0].email_address2.focus();
	     	}
return false;

}

if (document.forms[0].Catalog_Country.value != "UNITED STATES"){

  	if (document.forms[0].Catalog_ccnumber.value=="")
		{
		alert('Please enter your credit card number');
		if (browser != "Netscape")
			{
			document.forms[0].Catalog_ccnumber.focus();
	     		}
		return false;
		}

  	if (isNaN(document.forms[0].Catalog_ccnumber.value))
		{
		alert('Credit cards can only contain numbers');
		if (browser != "Netscape")
			{
			document.forms[0].Catalog_ccnumber.focus();
	     		}
		return false;
		}
	


  	var credit =(document.forms[0].Catalog_cc.options[document.forms[0].Catalog_cc.selectedIndex].value)
  	if (credit == "American Express"){
  		if (document.forms[0].Catalog_ccnumber.value.length > 15) 
  			{
   			alert('Your credit card number contains too many numbers');
			if (browser != "Netscape")
				{
				document.forms[0].Catalog_ccnumber.focus();
	     			}
			return false;
 			}
 	
  		if (document.forms[0].Catalog_ccnumber.value.length < 15) 
  			{
   			alert('Your credit card number does contain enough numbers');
			if (browser != "Netscape")
				{
				document.forms[0].Catalog_ccnumber.focus();
	     			}
			return false;
 			}
   	}else{
  		if (document.forms[0].Catalog_ccnumber.value.length > 16) 
  			{
   			alert('Your credit card number contains too many numbers');
			if (browser != "Netscape")
				{
				document.forms[0].Catalog_ccnumber.focus();
	     			}
			return false;
 			}
 	
  		if (document.forms[0].Catalog_ccnumber.value.length < 16) 
  			{
   			alert('Your credit card number does contain enough numbers');
			if (browser != "Netscape")
				{
				document.forms[0].Catalog_ccnumber.focus();
	     			}
			return false;
 			}   
   	}
   
  	if (document.forms[0].Catalog_cid.value=="")
		{
		alert('Please enter your CVN#');
		if (browser != "Netscape")
			{
			document.forms[0].Catalog_cid.focus();
	     		}
		return false;
		}
	
  	if (credit == "American Express"){
  		if (document.forms[0].Catalog_cid.value.length > 4) 
  			{
   			alert('Please verify your CVN#');
			if (browser != "Netscape")
				{
				document.forms[0].Catalog_cid.focus();
	     			}
			return false;
 			}
 	
  		if (document.forms[0].Catalog_cid.value.length < 4) 
  			{
   			alert('Please verify your CVN#');
			if (browser != "Netscape")
				{
				document.forms[0].Catalog_cid.focus();
	     			}
			return false;
 			}
   	}else{
  		if (document.forms[0].Catalog_cid.value.length > 3) 
  			{
   			alert('Please verify your CVN#');
			if (browser != "Netscape")
				{
				document.forms[0].Catalog_cid.focus();
	     			}
			return false;
 			}
 	
  		if (document.forms[0].Catalog_cid.value.length < 3) 
  			{
   			alert('Please verify your CVN#');
			if (browser != "Netscape")
				{
				document.forms[0].Catalog_cid.focus();
	     			}
			return false;
 			}   
   	}
   
	var month =(document.forms[0].Catalog_expmonth.options[document.forms[0].Catalog_expmonth.selectedIndex].value)
	if (month == "none")
	{
	alert("Please select an expiration month");
	if (browser != "Netscape")
		{
		document.forms[0].Catalog_expmonth.focus();
	     	}
	return false;
	}
	
	var year =(document.forms[0].Catalog_expyear.options[document.forms[0].Catalog_expyear.selectedIndex].value)
	if (year == "none")
	{
	alert("Please select an expiration year");
	if (browser != "Netscape")
		{
		document.forms[0].Catalog_expyear.focus();
	     	}
	return false;
	}

	var Now = new Date();
	var NowYear = Now.getYear();
	var NowMonth = Now.getMonth();

	if (year == NowYear)
	{
		if (month < (NowMonth + 1))
		{
			alert("Your credit card has expired");
			if (browser != "Netscape")
			{
			document.forms[0].Catalog_expmonth.focus();
	     		}
	     	return false;
	     	}
	}
	
}


return true

}


function ValidateCheckout(info){

if (document.UserInfo.fname.value=="")
	{
	alert('Please enter your first name');
	if (browser != "Netscape")
		{
	 	document.UserInfo.fname.focus();
	     	}

	return false;
	}
	
if (document.UserInfo.lname.value=="")
	{
	alert('Please enter your last name');
	if (browser != "Netscape")
		{
	 	document.UserInfo.lname.focus();
	     	}

	return false;
	}

if (document.UserInfo.address.value=="")
	{
	alert('Please enter your address');
	if (browser != "Netscape")
		{
		document.UserInfo.address.focus();
	     	}
	return false;
	}

if (document.UserInfo.city.value=="")
	{
	alert('Please enter your city');
	if (browser != "Netscape")
		{
		document.UserInfo.city.focus();
	     	}
	return false;
	}

var state =(document.UserInfo.state.options[document.UserInfo.state.selectedIndex].value)
	if (state == "none")
	{
	alert("Please select a state");
	if (browser != "Netscape")
		{
		document.UserInfo.state.focus();
	     	}
	return false;
	}

if (document.UserInfo.zip.value=="")
	{
	alert('Please enter your zip code');
	if (browser != "Netscape")
		{
		document.UserInfo.zip.focus();
	     	}
	return false;
	}

if (document.UserInfo.dayphone.value=="")
	{
	alert('Please enter your day phone');
	if (browser != "Netscape")
		{
		document.UserInfo.dayphone.focus();
	     	}
	return false;
	}

if (document.UserInfo.dayphone.value.length < 10)
	{
	alert('Your day phone number is incomplete.');
	if (browser != "Netscape")
		{
		document.UserInfo.dayphone.focus();
	     	}
	return false;
	}
	
if (document.UserInfo.dayphone.value.length > 10)
	{
	alert('Your day phone number contains too many numbers.');
	if (browser != "Netscape")
		{
		document.UserInfo.dayphone.focus();
	     	}
	return false;
	}
	
if (document.UserInfo.email.value=="")
	{
	alert('Please enter your email address');
	if (browser != "Netscape")
		{
		document.UserInfo.email.focus();
	     	}
	return false;
	}
	
var txt = document.UserInfo.email.value;

  if (txt.indexOf("@")<2)
	{
	alert("I'm sorry. This email address seems wrong. \n Please"
	+" check the username or include the '@' sign.");
	if (browser != "Netscape")
		{
		document.UserInfo.email.focus();
	     	}
	return false;
	}
	
  if ((txt.indexOf(".com")<5)
	&&(txt.indexOf(".org")<5)
	&&(txt.indexOf(".gov")<5)
	&&(txt.indexOf(".net")<5)
	&&(txt.indexOf(".mil")<5)
	&&(txt.indexOf(".edu")<5)
	&&(txt.indexOf(".biz")<5)
	&&(txt.indexOf(".info")<5)
	&&(txt.indexOf(".aero")<5)
	&&(txt.indexOf(".coop")<5)
	&&(txt.indexOf(".int")<5)
	&&(txt.indexOf(".museum")<5)
	&&(txt.indexOf(".name")<5)
	&&(txt.indexOf(".COM")<5)
	&&(txt.indexOf(".ORG")<5)
	&&(txt.indexOf(".GOV")<5)
	&&(txt.indexOf(".NET")<5)
	&&(txt.indexOf(".MIL")<5)
	&&(txt.indexOf(".EDU")<5)
	&&(txt.indexOf(".BIZ")<5)
	&&(txt.indexOf(".INFO")<5)
	&&(txt.indexOf(".AERO")<5)
	&&(txt.indexOf(".COOP")<5)
	&&(txt.indexOf(".INT")<5)
	&&(txt.indexOf(".MUSEUM")<5)
	&&(txt.indexOf(".NAME")<5)
	&&(txt.indexOf(".ac")<5)
	&&(txt.indexOf(".ad")<5)
	&&(txt.indexOf(".ae")<5)
	&&(txt.indexOf(".af")<5)
	&&(txt.indexOf(".ag")<5)
	&&(txt.indexOf(".ai")<5)
	&&(txt.indexOf(".al")<5)
	&&(txt.indexOf(".am")<5)
	&&(txt.indexOf(".an")<5)
	&&(txt.indexOf(".ao")<5)
	&&(txt.indexOf(".aq")<5)
	&&(txt.indexOf(".ar")<5)
	&&(txt.indexOf(".as")<5)
	&&(txt.indexOf(".at")<5)
	&&(txt.indexOf(".au")<5)
	&&(txt.indexOf(".aw")<5)
	&&(txt.indexOf(".az")<5)
	&&(txt.indexOf(".ba")<5)
	&&(txt.indexOf(".bb")<5)
	&&(txt.indexOf(".bd")<5)
	&&(txt.indexOf(".be")<5)
	&&(txt.indexOf(".bf")<5)
	&&(txt.indexOf(".bg")<5)
	&&(txt.indexOf(".bh")<5)
	&&(txt.indexOf(".bi")<5)
	&&(txt.indexOf(".bj")<5)
	&&(txt.indexOf(".bm")<5)
	&&(txt.indexOf(".bn")<5)
	&&(txt.indexOf(".bo")<5)
	&&(txt.indexOf(".br")<5)
	&&(txt.indexOf(".bs")<5)
	&&(txt.indexOf(".bt")<5)
	&&(txt.indexOf(".bv")<5)
	&&(txt.indexOf(".bw")<5)
	&&(txt.indexOf(".by")<5)
	&&(txt.indexOf(".bz")<5)
	&&(txt.indexOf(".ca")<5)
	&&(txt.indexOf(".cc")<5)
	&&(txt.indexOf(".cd")<5)
	&&(txt.indexOf(".cf")<5)
	&&(txt.indexOf(".cg")<5)
	&&(txt.indexOf(".ch")<5)
	&&(txt.indexOf(".ci")<5)
	&&(txt.indexOf(".ck")<5)
	&&(txt.indexOf(".cl")<5)
	&&(txt.indexOf(".cm")<5)
	&&(txt.indexOf(".cn")<5)
	&&(txt.indexOf(".co")<5)
	&&(txt.indexOf(".cr")<5)
	&&(txt.indexOf(".cs")<5)
	&&(txt.indexOf(".cu")<5)
	&&(txt.indexOf(".cv")<5)
	&&(txt.indexOf(".cx")<5)
	&&(txt.indexOf(".cy")<5)
	&&(txt.indexOf(".cz")<5)
	&&(txt.indexOf(".de")<5)
	&&(txt.indexOf(".dj")<5)
	&&(txt.indexOf(".dk")<5)
	&&(txt.indexOf(".dm")<5)
	&&(txt.indexOf(".do")<5)
	&&(txt.indexOf(".dz")<5)
	&&(txt.indexOf(".ec")<5)
	&&(txt.indexOf(".ee")<5)
	&&(txt.indexOf(".eg")<5)
	&&(txt.indexOf(".eh")<5)
	&&(txt.indexOf(".er")<5)
	&&(txt.indexOf(".es")<5)
	&&(txt.indexOf(".et")<5)
	&&(txt.indexOf(".fi")<5)
	&&(txt.indexOf(".fj")<5)
	&&(txt.indexOf(".fk")<5)
	&&(txt.indexOf(".fm")<5)
	&&(txt.indexOf(".fo")<5)
	&&(txt.indexOf(".fr")<5)
	&&(txt.indexOf(".ga")<5)
	&&(txt.indexOf(".gb")<5)
	&&(txt.indexOf(".gd")<5)
	&&(txt.indexOf(".ge")<5)
	&&(txt.indexOf(".gf")<5)
	&&(txt.indexOf(".gg")<5)
	&&(txt.indexOf(".gh")<5)
	&&(txt.indexOf(".gi")<5)
	&&(txt.indexOf(".gl")<5)
	&&(txt.indexOf(".gm")<5)
	&&(txt.indexOf(".gn")<5)
	&&(txt.indexOf(".gp")<5)
	&&(txt.indexOf(".gq")<5)
	&&(txt.indexOf(".gr")<5)
	&&(txt.indexOf(".gs")<5)
	&&(txt.indexOf(".gt")<5)
	&&(txt.indexOf(".gu")<5)
	&&(txt.indexOf(".gw")<5)
	&&(txt.indexOf(".gy")<5)
	&&(txt.indexOf(".hk")<5)
	&&(txt.indexOf(".hm")<5)
	&&(txt.indexOf(".hn")<5)
	&&(txt.indexOf(".hr")<5)
	&&(txt.indexOf(".ht")<5)
	&&(txt.indexOf(".hu")<5)
	&&(txt.indexOf(".id")<5)
	&&(txt.indexOf(".ie")<5)
	&&(txt.indexOf(".il")<5)
	&&(txt.indexOf(".im")<5)
	&&(txt.indexOf(".in")<5)
	&&(txt.indexOf(".io")<5)
	&&(txt.indexOf(".iq")<5)
	&&(txt.indexOf(".ir")<5)
	&&(txt.indexOf(".is")<5)
	&&(txt.indexOf(".it")<5)
	&&(txt.indexOf(".je")<5)
	&&(txt.indexOf(".jm")<5)
	&&(txt.indexOf(".jo")<5)
	&&(txt.indexOf(".jp")<5)
	&&(txt.indexOf(".ke")<5)
	&&(txt.indexOf(".kg")<5)
	&&(txt.indexOf(".kh")<5)
	&&(txt.indexOf(".ki")<5)
	&&(txt.indexOf(".km")<5)
	&&(txt.indexOf(".kn")<5)
	&&(txt.indexOf(".kp")<5)
	&&(txt.indexOf(".kr")<5)
	&&(txt.indexOf(".kw")<5)
	&&(txt.indexOf(".ky")<5)
	&&(txt.indexOf(".kz")<5)
	&&(txt.indexOf(".la")<5)
	&&(txt.indexOf(".lb")<5)
	&&(txt.indexOf(".lc")<5)
	&&(txt.indexOf(".li")<5)
	&&(txt.indexOf(".lk")<5)
	&&(txt.indexOf(".lr")<5)
	&&(txt.indexOf(".ls")<5)
	&&(txt.indexOf(".lt")<5)
	&&(txt.indexOf(".lu")<5)
	&&(txt.indexOf(".lv")<5)
	&&(txt.indexOf(".ly")<5)
	&&(txt.indexOf(".ma")<5)
	&&(txt.indexOf(".mc")<5)
	&&(txt.indexOf(".md")<5)
	&&(txt.indexOf(".mg")<5)
	&&(txt.indexOf(".mh")<5)
	&&(txt.indexOf(".mk")<5)
	&&(txt.indexOf(".ml")<5)
	&&(txt.indexOf(".mm")<5)
	&&(txt.indexOf(".mn")<5)
	&&(txt.indexOf(".mo")<5)
	&&(txt.indexOf(".mp")<5)
	&&(txt.indexOf(".mq")<5)
	&&(txt.indexOf(".mr")<5)
	&&(txt.indexOf(".ms")<5)
	&&(txt.indexOf(".mt")<5)
	&&(txt.indexOf(".mu")<5)
	&&(txt.indexOf(".mv")<5)
	&&(txt.indexOf(".mw")<5)
	&&(txt.indexOf(".mx")<5)
	&&(txt.indexOf(".my")<5)
	&&(txt.indexOf(".mz")<5)
	&&(txt.indexOf(".na")<5)
	&&(txt.indexOf(".nc")<5)
	&&(txt.indexOf(".ne")<5)
	&&(txt.indexOf(".nf")<5)
	&&(txt.indexOf(".ng")<5)
	&&(txt.indexOf(".ni")<5)
	&&(txt.indexOf(".nl")<5)
	&&(txt.indexOf(".no")<5)
	&&(txt.indexOf(".np")<5)
	&&(txt.indexOf(".nr")<5)
	&&(txt.indexOf(".nu")<5)
	&&(txt.indexOf(".nz")<5)
	&&(txt.indexOf(".om")<5)
	&&(txt.indexOf(".pa")<5)
	&&(txt.indexOf(".pe")<5)
	&&(txt.indexOf(".pf")<5)
	&&(txt.indexOf(".pg")<5)
	&&(txt.indexOf(".ph")<5)
	&&(txt.indexOf(".pk")<5)
	&&(txt.indexOf(".pl")<5)
	&&(txt.indexOf(".pm")<5)
	&&(txt.indexOf(".pn")<5)
	&&(txt.indexOf(".pr")<5)
	&&(txt.indexOf(".ps")<5)
	&&(txt.indexOf(".pt")<5)
	&&(txt.indexOf(".pw")<5)
	&&(txt.indexOf(".py")<5)
	&&(txt.indexOf(".qa")<5)
	&&(txt.indexOf(".re")<5)
	&&(txt.indexOf(".ro")<5)
	&&(txt.indexOf(".ru")<5)
	&&(txt.indexOf(".rw")<5)
	&&(txt.indexOf(".sa")<5)
	&&(txt.indexOf(".sb")<5)
	&&(txt.indexOf(".sc")<5)
	&&(txt.indexOf(".sd")<5)
	&&(txt.indexOf(".se")<5)
	&&(txt.indexOf(".sg")<5)
	&&(txt.indexOf(".sh")<5)
	&&(txt.indexOf(".si")<5)
	&&(txt.indexOf(".sj")<5)
	&&(txt.indexOf(".sk")<5)
	&&(txt.indexOf(".sl")<5)
	&&(txt.indexOf(".sm")<5)
	&&(txt.indexOf(".sn")<5)
	&&(txt.indexOf(".so")<5)
	&&(txt.indexOf(".sr")<5)
	&&(txt.indexOf(".st")<5)
	&&(txt.indexOf(".su")<5)
	&&(txt.indexOf(".sv")<5)
	&&(txt.indexOf(".sy")<5)
	&&(txt.indexOf(".sz")<5)
	&&(txt.indexOf(".tc")<5)
	&&(txt.indexOf(".td")<5)
	&&(txt.indexOf(".tf")<5)
	&&(txt.indexOf(".tg")<5)
	&&(txt.indexOf(".th")<5)
	&&(txt.indexOf(".tj")<5)
	&&(txt.indexOf(".tk")<5)
	&&(txt.indexOf(".tm")<5)
	&&(txt.indexOf(".tn")<5)
	&&(txt.indexOf(".to")<5)
	&&(txt.indexOf(".tp")<5)
	&&(txt.indexOf(".tr")<5)
	&&(txt.indexOf(".tt")<5)
	&&(txt.indexOf(".tv")<5)
	&&(txt.indexOf(".tw")<5)
	&&(txt.indexOf(".tz")<5)
	&&(txt.indexOf(".ua")<5)
	&&(txt.indexOf(".ug")<5)
	&&(txt.indexOf(".uk")<5)
	&&(txt.indexOf(".um")<5)
	&&(txt.indexOf(".us")<5)
	&&(txt.indexOf(".uy")<5)
	&&(txt.indexOf(".uz")<5)
	&&(txt.indexOf(".va")<5)
	&&(txt.indexOf(".vc")<5)
	&&(txt.indexOf(".ve")<5)
	&&(txt.indexOf(".vg")<5)
	&&(txt.indexOf(".vi")<5)
	&&(txt.indexOf(".vn")<5)
	&&(txt.indexOf(".vu")<5)
	&&(txt.indexOf(".wf")<5)
	&&(txt.indexOf(".ws")<5)
	&&(txt.indexOf(".ye")<5)
	&&(txt.indexOf(".yt")<5)
	&&(txt.indexOf(".yu")<5)
	&&(txt.indexOf(".za")<5)
	&&(txt.indexOf(".zm")<5)
	&&(txt.indexOf(".zr")<5)
	&&(txt.indexOf(".zw")<5))

	{
	alert("I'm sorry. This email address seems wrong. \n Please check the domain for accuracy. \n (It should include a suffix such as: .com, .edu, .net, .org)");
	if (browser != "Netscape")
		{
		document.UserInfo.email.focus();
	     	}
	return false;
   	}
   	
  if (document.UserInfo.ccnumber.value=="")
	{
	alert('Please enter your credit card number');
	if (browser != "Netscape")
		{
		document.UserInfo.ccnumber.focus();
	     	}
	return false;
	}

  if (isNaN(document.UserInfo.ccnumber.value))
	{
	alert('Credit cards can only contain numbers');
	if (browser != "Netscape")
		{
		document.UserInfo.ccnumber.focus();
	     	}
	return false;
	}
  
  if (document.UserInfo.cc[2].checked){
  	if (document.UserInfo.ccnumber.value.length > 15) 
  		{
   		alert('Your credit card number contains too many numbers');
		if (browser != "Netscape")
			{
			document.UserInfo.ccnumber.focus();
	     		}
		return false;
 		}
 	
  	if (document.UserInfo.ccnumber.value.length < 15) 
  		{
   		alert('Your credit card number does contain enough numbers');
		if (browser != "Netscape")
			{
			document.UserInfo.ccnumber.focus();
	     		}
		return false;
 		}
   }else{
  	if (document.UserInfo.ccnumber.value.length > 16) 
  		{
   		alert('Your credit card number contains too many numbers');
		if (browser != "Netscape")
			{
			document.UserInfo.ccnumber.focus();
	     		}
		return false;
 		}
 	
  	if (document.UserInfo.ccnumber.value.length < 16) 
  		{
   		alert('Your credit card number does contain enough numbers');
		if (browser != "Netscape")
			{
			document.UserInfo.ccnumber.focus();
	     		}
		return false;
 		}   
   }
   
  if (document.UserInfo.cccid.value=="")
	{
	alert('Please enter your CID#');
	if (browser != "Netscape")
		{
		document.UserInfo.cccid.focus();
	     	}
	return false;
	}
	
  if (document.UserInfo.cc[2].checked){
  	if (document.UserInfo.cccid.value.length > 4) 
  		{
   		alert('Please verify your CID#');
		if (browser != "Netscape")
			{
			document.UserInfo.cccid.focus();
	     		}
		return false;
 		}
 	
  	if (document.UserInfo.cccid.value.length < 4) 
  		{
   		alert('Please verify your CID#');
		if (browser != "Netscape")
			{
			document.UserInfo.cccid.focus();
	     		}
		return false;
 		}
   }else{
  	if (document.UserInfo.cccid.value.length > 3) 
  		{
   		alert('Please verify your CID#');
		if (browser != "Netscape")
			{
			document.UserInfo.cccid.focus();
	     		}
		return false;
 		}
 	
  	if (document.UserInfo.cccid.value.length < 3) 
  		{
   		alert('Please verify your CID#');
		if (browser != "Netscape")
			{
			document.UserInfo.cccid.focus();
	     		}
		return false;
 		}   
   }
	
var month =(document.UserInfo.expmonth.options[document.UserInfo.expmonth.selectedIndex].value)
	if (month == "none")
	{
	alert("Please select an expiration month");
	if (browser != "Netscape")
		{
		document.UserInfo.expmonth.focus();
	     	}
	return false;
	}
	
var year =(document.UserInfo.expyear.options[document.UserInfo.expyear.selectedIndex].value)
	if (year == "none")
	{
	alert("Please select an expiration year");
	if (browser != "Netscape")
		{
		document.UserInfo.expyear.focus();
	     	}
	return false;
	}

var Now = new Date();
var NowYear = Now.getYear();
var NowMonth = Now.getMonth();

	if (year == NowYear)
	{
		if (month < (NowMonth + 1))
		{
			alert("Your credit card has expired");
			if (browser != "Netscape")
			{
			document.UserInfo.expmonth.focus();
	     		}
	     	return false;
	     	}
	}


return true

}


function ValidateCollectibles(info){

  if (document.UpdateBasket.cap.value=="")
	{
  	document.UpdateBasket.cap.value = 0;
	return true;
	}

  if (document.UpdateBasket.shirt.value=="")
	{
  	document.UpdateBasket.shirt.value = 0;
	return true;
	}

  if (document.UpdateBasket.poster.value=="")
	{
  	document.UpdateBasket.poster.value = 0;
	return true;
	}

  if (document.UpdateBasket.mug.value=="")
	{
  	document.UpdateBasket.mug.value = 0;
	return true;
	}

  if (document.UpdateBasket.patch.value=="")
	{
  	document.UpdateBasket.patch.value = 0;
	return true;
	}

  if (document.UpdateBasket.truck.value=="")
	{
  	document.UpdateBasket.truck.value = 0;
	return true;
	}

  var checkOK = "0123456789";

  var checkStr_cap = document.UpdateBasket.cap.value;
  var checkStr_shirt = document.UpdateBasket.shirt.value;
  var checkStr_poster = document.UpdateBasket.poster.value;
  var checkStr_mug = document.UpdateBasket.mug.value;
  var checkStr_patch = document.UpdateBasket.patch.value;
  var checkStr_truck = document.UpdateBasket.truck.value;

  var allValid_cap = true;
  var allValid_shirt = true;
  var allValid_poster = true;
  var allValid_mug = true;
  var allValid_patch = true;
  var allValid_truck = true;

  for (i = 0;  i < checkStr_cap.length;  i++)
  {
    ch = checkStr_cap.charAt(i);
    for (j = 0;  j < checkOK.length;  j++)
      if (ch == checkOK.charAt(j))
        break;
    if (j == checkOK.length)
    {
      allValid_cap = false;
      break;
    }
  }
  if (!allValid_cap)
  {
    alert("Please verify your order Quantities");
    document.UpdateBasket.cap.value = 0;
    document.UpdateBasket.cap.focus();
    return (false);
  }

  for (i = 0;  i < checkStr_shirt.length;  i++)
  {
    ch = checkStr_shirt.charAt(i);
    for (j = 0;  j < checkOK.length;  j++)
      if (ch == checkOK.charAt(j))
        break;
    if (j == checkOK.length)
    {
      allValid_shirt = false;
      break;
    }
  }
  if (!allValid_shirt)
  {
    alert("Please verify your order Quantities");
    document.UpdateBasket.shirt.value = 0;
    document.UpdateBasket.shirt.focus();
    return (false);
  }

  for (i = 0;  i < checkStr_poster.length;  i++)
  {
    ch = checkStr_poster.charAt(i);
    for (j = 0;  j < checkOK.length;  j++)
      if (ch == checkOK.charAt(j))
        break;
    if (j == checkOK.length)
    {
      allValid_poster = false;
      break;
    }
  }
  if (!allValid_poster)
  {
    alert("Please verify your order Quantities");
    document.UpdateBasket.poster.value = 0;
    document.UpdateBasket.poster.focus();
    return (false);
  }

  for (i = 0;  i < checkStr_mug.length;  i++)
  {
    ch = checkStr_mug.charAt(i);
    for (j = 0;  j < checkOK.length;  j++)
      if (ch == checkOK.charAt(j))
        break;
    if (j == checkOK.length)
    {
      allValid_mug = false;
      break;
    }
  }
  if (!allValid_mug)
  {
    alert("Please verify your order Quantities");
    document.UpdateBasket.mug.value = 0;
    document.UpdateBasket.mug.focus();
    return (false);
  }

  for (i = 0;  i < checkStr_patch.length;  i++)
  {
    ch = checkStr_patch.charAt(i);
    for (j = 0;  j < checkOK.length;  j++)
      if (ch == checkOK.charAt(j))
        break;
    if (j == checkOK.length)
    {
      allValid_patch = false;
      break;
    }
  }
  if (!allValid_patch)
  {
    alert("Please verify your order Quantities");
    document.UpdateBasket.patch.value = 0;
    document.UpdateBasket.patch.focus();
    return (false);
  }

  for (i = 0;  i < checkStr_truck.length;  i++)
  {
    ch = checkStr_truck.charAt(i);
    for (j = 0;  j < checkOK.length;  j++)
      if (ch == checkOK.charAt(j))
        break;
    if (j == checkOK.length)
    {
      allValid_truck = false;
      break;
    }
  }
  if (!allValid_truck)
  {
    alert("Please verify your order Quantities");
    document.UpdateBasket.truck.value = 0;
    document.UpdateBasket.truck.focus();
    return (false);
  }

return true

}


function ValidateUpdates(info){

  if (document.UpdateBasket.HL2214.value=="")
	{
  	document.UpdateBasket.HL2214.value = 0;
	return true;
	}

  if (document.UpdateBasket.BB23L.value=="")
	{
  	document.UpdateBasket.BB23L.value = 0;
	return true;
	}
	
  if (document.UpdateBasket.GB1014L.value=="")
	{
  	document.UpdateBasket.GB1014L.value = 0;
	return true;
	}

  if (document.UpdateBasket.GBCSM.value=="")
	{
  	document.UpdateBasket.GBCSM.value = 0;
	return true;
	}
	
  if (document.UpdateBasket.BBCSM.value=="")
	{
  	document.UpdateBasket.BBCSM.value = 0;
	return true;
	}
	
  if (document.UpdateBasket.MBCSM.value=="")
	{
  	document.UpdateBasket.MBCSM.value = 0;
	return true;
	}
	
  if (document.UpdateBasket.GB1029G.value=="")
	{
  	document.UpdateBasket.GB1029G.value = 0;
	return true;
	}
	
  if (document.UpdateBasket.book.value=="")
	{
  	document.UpdateBasket.book.value = 0;
	return true;
	}
	
  if (document.UpdateBasket.hcase.value=="")
	{
  	document.UpdateBasket.hcase.value = 0;
	return true;
	}
	
  if (document.UpdateBasket.hcasemb.value=="")
	{
  	document.UpdateBasket.hcasemb.value = 0;
	return true;
	}
	
  if (document.UpdateBasket.cap.value=="")
	{
  	document.UpdateBasket.cap.value = 0;
	return true;
	}

  if (document.UpdateBasket.shirt_l.value=="")
	{
  	document.UpdateBasket.shirt_l.value = 0;
	return true;
	}
	
  if (document.UpdateBasket.shirt_xl.value=="")
	{
  	document.UpdateBasket.shirt_xl.value = 0;
	return true;
	}
	
  if (document.UpdateBasket.shirt_xxl.value=="")
	{
  	document.UpdateBasket.shirt_xxl.value = 0;
	return true;
	}

  if (document.UpdateBasket.poster.value=="")
	{
  	document.UpdateBasket.poster.value = 0;
	return true;
	}

  if (document.UpdateBasket.mug.value=="")
	{
  	document.UpdateBasket.mug.value = 0;
	return true;
	}

  if (document.UpdateBasket.patch.value=="")
	{
  	document.UpdateBasket.patch.value = 0;
	return true;
	}

  if (document.UpdateBasket.truck.value=="")
	{
  	document.UpdateBasket.truck.value = 0;
	return true;
	}

  var checkOK = "0123456789";

  var checkStr_HL2214 = document.UpdateBasket.HL2214.value;
  var checkStr_BB23L = document.UpdateBasket.BB23L.value;
  var checkStr_GB1014L = document.UpdateBasket.GB1014L.value;
  var checkStr_GBCSM = document.UpdateBasket.GBCSM.value;
  var checkStr_BBCSM = document.UpdateBasket.BBCSM.value;
  var checkStr_MBCSM = document.UpdateBasket.MBCSM.value;
  var checkStr_GB1029G = document.UpdateBasket.GB1029G.value;
  var checkStr_book = document.UpdateBasket.book.value;
  var checkStr_hcase = document.UpdateBasket.hcase.value;
  var checkStr_hcasemb = document.UpdateBasket.hcasemb.value;
  var checkStr_cap = document.UpdateBasket.cap.value;
  var checkStr_shirt_l = document.UpdateBasket.shirt_l.value;
  var checkStr_shirt_xl = document.UpdateBasket.shirt_xl.value;
  var checkStr_shirt_xxl = document.UpdateBasket.shirt_xxl.value;
  var checkStr_poster = document.UpdateBasket.poster.value;
  var checkStr_mug = document.UpdateBasket.mug.value;
  var checkStr_patch = document.UpdateBasket.patch.value;
  var checkStr_truck = document.UpdateBasket.truck.value;

  var allValid_HL2214 = true;
  var allValid_BB23L = true;
  var allValid_GB1014L = true;
  var allValid_GBCSM = true;
  var allValid_BBCSM = true;
  var allValid_MBCSM = true;
  var allValid_GB1029G = true;
  var allValid_book = true;
  var allValid_hcase = true;
  var allValid_hcasemb = true;
  var allValid_cap = true;
  var allValid_shirt_l = true;
  var allValid_shirt_xl = true;
  var allValid_shirt_xxl = true;
  var allValid_poster = true;
  var allValid_mug = true;
  var allValid_patch = true;
  var allValid_truck = true;

  for (i = 0;  i < checkStr_HL2214.length;  i++)
  {
    ch = checkStr_HL2214.charAt(i);
    for (j = 0;  j < checkOK.length;  j++)
      if (ch == checkOK.charAt(j))
        break;
    if (j == checkOK.length)
    {
      allValid_HL2214 = false;
      break;
    }
  }
  if (!allValid_HL2214)
  {
    alert("Please verify your order Quantities");
    document.UpdateBasket.HL2214.value = 0;
    document.UpdateBasket.HL2214.focus();
    return (false);
  }
  
  for (i = 0;  i < checkStr_BB23L.length;  i++)
  {
    ch = checkStr_BB23L.charAt(i);
    for (j = 0;  j < checkOK.length;  j++)
      if (ch == checkOK.charAt(j))
        break;
    if (j == checkOK.length)
    {
      allValid_BB23L = false;
      break;
    }
  }
  if (!allValid_BB23L)
  {
    alert("Please verify your order Quantities");
    document.UpdateBasket.BB23L.value = 0;
    document.UpdateBasket.BB23L.focus();
    return (false);
  }
  
  for (i = 0;  i < checkStr_GB1014L.length;  i++)
  {
    ch = checkStr_GB1014L.charAt(i);
    for (j = 0;  j < checkOK.length;  j++)
      if (ch == checkOK.charAt(j))
        break;
    if (j == checkOK.length)
    {
      allValid_GB1014L = false;
      break;
    }
  }
  if (!allValid_GB1014L)
  {
    alert("Please verify your order Quantities");
    document.UpdateBasket.GB1014L.value = 0;
    document.UpdateBasket.GB1014L.focus();
    return (false);
  }
  
  for (i = 0;  i < checkStr_GBCSM.length;  i++)
  {
    ch = checkStr_GBCSM.charAt(i);
    for (j = 0;  j < checkOK.length;  j++)
      if (ch == checkOK.charAt(j))
        break;
    if (j == checkOK.length)
    {
      allValid_GBCSM = false;
      break;
    }
  }
  if (!allValid_GBCSM)
  {
    alert("Please verify your order Quantities");
    document.UpdateBasket.GBCSM.value = 0;
    document.UpdateBasket.GBCSM.focus();
    return (false);
  }
  
  for (i = 0;  i < checkStr_BBCSM.length;  i++)
  {
    ch = checkStr_BBCSM.charAt(i);
    for (j = 0;  j < checkOK.length;  j++)
      if (ch == checkOK.charAt(j))
        break;
    if (j == checkOK.length)
    {
      allValid_BBCSM = false;
      break;
    }
  }
  if (!allValid_BBCSM)
  {
    alert("Please verify your order Quantities");
    document.UpdateBasket.BBCSM.value = 0;
    document.UpdateBasket.BBCSM.focus();
    return (false);
  }
  
  for (i = 0;  i < checkStr_MBCSM.length;  i++)
  {
    ch = checkStr_MBCSM.charAt(i);
    for (j = 0;  j < checkOK.length;  j++)
      if (ch == checkOK.charAt(j))
        break;
    if (j == checkOK.length)
    {
      allValid_MBCSM = false;
      break;
    }
  }
  if (!allValid_MBCSM)
  {
    alert("Please verify your order Quantities");
    document.UpdateBasket.MBCSM.value = 0;
    document.UpdateBasket.MBCSM.focus();
    return (false);
  }
  
  for (i = 0;  i < checkStr_GB1029G.length;  i++)
  {
    ch = checkStr_GB1029G.charAt(i);
    for (j = 0;  j < checkOK.length;  j++)
      if (ch == checkOK.charAt(j))
        break;
    if (j == checkOK.length)
    {
      allValid_GB1029G = false;
      break;
    }
  }
  if (!allValid_GB1029G)
  {
    alert("Please verify your order Quantities");
    document.UpdateBasket.GB1029G.value = 0;
    document.UpdateBasket.GB1029G.focus();
    return (false);
  }
  
  for (i = 0;  i < checkStr_book.length;  i++)
  {
    ch = checkStr_book.charAt(i);
    for (j = 0;  j < checkOK.length;  j++)
      if (ch == checkOK.charAt(j))
        break;
    if (j == checkOK.length)
    {
      allValid_book = false;
      break;
    }
  }
  if (!allValid_book)
  {
    alert("Please verify your order Quantities");
    document.UpdateBasket.book.value = 0;
    document.UpdateBasket.book.focus();
    return (false);
  }
  
  for (i = 0;  i < checkStr_hcase.length;  i++)
  {
    ch = checkStr_hcase.charAt(i);
    for (j = 0;  j < checkOK.length;  j++)
      if (ch == checkOK.charAt(j))
        break;
    if (j == checkOK.length)
    {
      allValid_hcase = false;
      break;
    }
  }
  if (!allValid_hcase)
  {
    alert("Please verify your order Quantities");
    document.UpdateBasket.hcase.value = 0;
    document.UpdateBasket.hcase.focus();
    return (false);
  }
  
  for (i = 0;  i < checkStr_hcasemb.length;  i++)
  {
    ch = checkStr_hcasemb.charAt(i);
    for (j = 0;  j < checkOK.length;  j++)
      if (ch == checkOK.charAt(j))
        break;
    if (j == checkOK.length)
    {
      allValid_hcasemb = false;
      break;
    }
  }
  if (!allValid_hcasemb)
  {
    alert("Please verify your order Quantities");
    document.UpdateBasket.hcasemb.value = 0;
    document.UpdateBasket.hcasemb.focus();
    return (false);
  }
  
  for (i = 0;  i < checkStr_cap.length;  i++)
  {
    ch = checkStr_cap.charAt(i);
    for (j = 0;  j < checkOK.length;  j++)
      if (ch == checkOK.charAt(j))
        break;
    if (j == checkOK.length)
    {
      allValid_cap = false;
      break;
    }
  }
  if (!allValid_cap)
  {
    alert("Please verify your order Quantities");
    document.UpdateBasket.cap.value = 0;
    document.UpdateBasket.cap.focus();
    return (false);
  }

  for (i = 0;  i < checkStr_shirt_l.length;  i++)
  {
    ch = checkStr_shirt_l.charAt(i);
    for (j = 0;  j < checkOK.length;  j++)
      if (ch == checkOK.charAt(j))
        break;
    if (j == checkOK.length)
    {
      allValid_shirt_l = false;
      break;
    }
  }
  if (!allValid_shirt_l)
  {
    alert("Please verify your order Quantities");
    document.UpdateBasket.shirt_l.value = 0;
    document.UpdateBasket.shirt_l.focus();
    return (false);
  }
  
  for (i = 0;  i < checkStr_shirt_xl.length;  i++)
  {
    ch = checkStr_shirt_xl.charAt(i);
    for (j = 0;  j < checkOK.length;  j++)
      if (ch == checkOK.charAt(j))
        break;
    if (j == checkOK.length)
    {
      allValid_shirt_xl = false;
      break;
    }
  }
  if (!allValid_shirt_xl)
  {
    alert("Please verify your order Quantities");
    document.UpdateBasket.shirt_xl.value = 0;
    document.UpdateBasket.shirt_xl.focus();
    return (false);
  }
  
  for (i = 0;  i < checkStr_shirt_xxl.length;  i++)
  {
    ch = checkStr_shirt_xxl.charAt(i);
    for (j = 0;  j < checkOK.length;  j++)
      if (ch == checkOK.charAt(j))
        break;
    if (j == checkOK.length)
    {
      allValid_shirt_xxl = false;
      break;
    }
  }
  if (!allValid_shirt_xxl)
  {
    alert("Please verify your order Quantities");
    document.UpdateBasket.shirt_xxl.value = 0;
    document.UpdateBasket.shirt_xxl.focus();
    return (false);
  }

  for (i = 0;  i < checkStr_poster.length;  i++)
  {
    ch = checkStr_poster.charAt(i);
    for (j = 0;  j < checkOK.length;  j++)
      if (ch == checkOK.charAt(j))
        break;
    if (j == checkOK.length)
    {
      allValid_poster = false;
      break;
    }
  }
  if (!allValid_poster)
  {
    alert("Please verify your order Quantities");
    document.UpdateBasket.poster.value = 0;
    document.UpdateBasket.poster.focus();
    return (false);
  }

  for (i = 0;  i < checkStr_mug.length;  i++)
  {
    ch = checkStr_mug.charAt(i);
    for (j = 0;  j < checkOK.length;  j++)
      if (ch == checkOK.charAt(j))
        break;
    if (j == checkOK.length)
    {
      allValid_mug = false;
      break;
    }
  }
  if (!allValid_mug)
  {
    alert("Please verify your order Quantities");
    document.UpdateBasket.mug.value = 0;
    document.UpdateBasket.mug.focus();
    return (false);
  }

  for (i = 0;  i < checkStr_patch.length;  i++)
  {
    ch = checkStr_patch.charAt(i);
    for (j = 0;  j < checkOK.length;  j++)
      if (ch == checkOK.charAt(j))
        break;
    if (j == checkOK.length)
    {
      allValid_patch = false;
      break;
    }
  }
  if (!allValid_patch)
  {
    alert("Please verify your order Quantities");
    document.UpdateBasket.patch.value = 0;
    document.UpdateBasket.patch.focus();
    return (false);
  }

  for (i = 0;  i < checkStr_truck.length;  i++)
  {
    ch = checkStr_truck.charAt(i);
    for (j = 0;  j < checkOK.length;  j++)
      if (ch == checkOK.charAt(j))
        break;
    if (j == checkOK.length)
    {
      allValid_truck = false;
      break;
    }
  }
  if (!allValid_truck)
  {
    alert("Please verify your order Quantities");
    document.UpdateBasket.truck.value = 0;
    document.UpdateBasket.truck.focus();
    return (false);
  }

return true

}