<!--
<!--hide this script from non-javascript-enabled browsers

function buy(prodcode) { //v2.0
  window.open('/shop/basket.asp?id='+prodcode,'tesskart','scrollbars=yes');
}

function addtobasket(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}
function formaddtobasket(form) { //v2.0
  window.open('/shop/basket.asp','basket','scrollbars=yes,width=650,height=450');
  return true ;
}
function jumpMenu(targ,selObj,restore){ //v3.0
  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
}
function clearDefault(el) {
  if (el.defaultValue==el.value) el.value = ""
}
function openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}
function dispStatus(msgStr) { //v1.0
  window.status=msgStr;
  document.returnValue = true;
}

function formValid(theform){
		var bError = false;
		var aError = false;  
	
		if (theform.email.length == 0) bError = true;
        if (theform.CCNumb.value.length == 0) bError = true;
		
		if(bError){
			alert("Please make sure you complete all required fields.");
			return false;
		}
			if (theform.email.value.length <=2) aError = true;
			if (theform.email.value.indexOf("@",0) < 1) aError = true;
			if (theform.email.value.indexOf(".",0) < 1) aError = true;
	
			if (aError){
				alert("The email address you entered does not look valid");
				theform.email.focus()
				return false;
			}

				if (confirm("You are about to submit your Personal and Payment Details \nvia the secure server. \n\nIs this your intention?"))
				return true;
					else{
						return false;
					}
		return true;		
	}
	

// -->