<!--
// Client script validates form field entries for express reg code
function validate(theForm){
	if (theForm.search.value == "webfv" || theForm.search.value == "WEBFV" || theForm.search.value == "$5OFF" || theForm.search.value == "$5off" || theForm.search.value == "$5Off"){
		alert("You entered a PROMO CODE.  Promo codes are used during registration. First find your seminar number which is located on the registration panel of your brochure.");
		theForm.search.focus();
		return false;
	}	
	if (theForm.search.value == "" || theForm.search.value.length < 8){
		alert("Please fill in the seminar number from your brochure (NOT the promo code). Ex. 12345MLS");
		theForm.search.focus();
		return false;
	}
	if (theForm.search.value == "" || theForm.search.value.length > 9 || theForm.search.value == "00000XXX"){
		alert("Too many characters - please check the seminar number again");
		theForm.search.focus();
		return false;
	}

return true;
}
//-->


<!--
function cleartext()
{
document.quickreg.search.value = ""
}
//-->

<!--
function cleartext2()
{
document.keyprodsearch.prodkeyword.value = ""
}

function clearERcode()
{
document.quickregpage.search.value = ""
}

function getbanners() {
	var url = '/adbanners.asp';
	var ajax = new Ajax.PeriodicalUpdater(
	{success: 'adbox'},
	url, {evalScripts:true, frequency:8},
	{method: 'get', onFailure: getbanners_error});
}
function getbanners_error(request) {
	$('adbox').innerHTML = "";
}

function getproducts() {
	var url = '/inc/inc_products.asp';
	var ajax = new Ajax.Updater(
	{success: 'featured_products_homepage'},
	url, {method: 'get', onFailure: getproducts_error});
}
function getproducts_error(request) {
	$('featured_products_homepage').innerHTML = "";
}



//-->

