function toggleContactOptions() {	//alert('test');	var extraOptions = document.getElementById('extra_info');	var snglPurCheck = document.getElementById('starting_business');	if(snglPurCheck.checked == true) { 		extraOptions.style.display = "block";		//alert('the box is checked'); 	} else {		extraOptions.style.display = "none";		}	}	function selectCoupon(coupon_id){	var key = document.coupon;	key.coupon_id.value = coupon_id;	key.submit();			}function getSurvey(){	var key = document.data_entry;	if(key.fname.value == ''){		alert("You must enter your first name!");		key.fname.focus();	}else if(key.lname.value == ''){		alert("You must enter your last name!");		key.lname.focus();	}else if(key.address1.value == ''){		alert("You must enter your address!");		key.address1.focus();	}else if(key.city.value == ''){		alert("You must enter your city!");		key.city.focus();	}else if(key.state.value == ''){		alert("You must enter your state!");		key.state.focus();	}else if(key.zip.value == ''){		alert("You must enter your zip!");		key.zip.focus();	}else if(key.phone.value == ''){		alert("You must enter your phone number!");		key.phone.focus();	}else{		key.page.value = 'survey';		key.submit();		}	}	function newImage(arg) {	if (document.images) {		rslt = new Image();		rslt.src = arg;		return rslt;	}}function changeImages() {	if (document.images && (preloadFlag == true)) {		for (var i=0; i<changeImages.arguments.length; i+=2) {			document[changeImages.arguments[i]].src = changeImages.arguments[i+1];		}	}}var preloadFlag = false;function preloadImages() {	if (document.images) {		prod_over = newImage("images/prod-over.jpg");		restrooms_over = newImage("images/restrooms-over.jpg");		sinks_over = newImage("images/sinks-over.jpg");		access_over = newImage("images/access-over.jpg");		tanks_over = newImage("images/tanks-over.jpg");		past_over = newImage("images/past-over.jpg");		ridit_over = newImage("images/ridit-over.jpg");		managers_over = newImage("images/managers-over.jpg");		service_over = newImage("images/service-over.jpg");		contact_over = newImage("images/contact-over.jpg");		preloadFlag = true;	}}function Navigate(page){	if(page == 'contact_us'){		document.navigate.action = "index.html";	}	document.navigate.page.value = page;	document.navigate.submit();}function contactUs(){	var temp = false;		var cu = document.cu;        if(cu.nm.value == ''){                alert('Name cannot be blank.');                cu.nm.focus();        }else if(cu.nm.value.length < 2){                alert('Name must be more than 2 characters.');                cu.nm.focus();        }else if(cu.email.value == ''){                alert('E-Mail cannot be blank.');                cu.email.focus();	}else if(!(/^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,3})+$/.test(cu.email.value))){		alert("Invalid E-mail Address! Please re-enter.")                cu.email.focus();	}else if(cu.msg.value == ''){		alert('Message cannot be blank.');		cu.msg.focus();	}else		temp = true;	return temp;}function numbersOnly(key, dec){  var isNS4 = (navigator.appName=="Netscape")?1:0;  if(!isNS4)  {	if(key.keyCode < 48 || key.keyCode > 57){ 	  if(!dec || key.keyCode != 46){ 	  	key.returnValue = false;  	  }  	}  }  else  {	if(key.which < 48 || key.which > 57){ 	  if(!dec || key.which != 46){ 	  	returnfalse;  	  }  	}  }}function ValidateForm() {	var f = document.ContactForm;		if (f.Company.value == '') {		alert('Company must not be blank. If you are not part of a company, please enter N/A.');		f.Company.focus();	} else if (f.FirstName.value == '') {		alert('First Name must not be blank.');		f.FirstName.focus();	} else if (f.LastName.value == '') {		alert('Last Name must not be blank.');		f.LastName.focus();	} else if (f.Address1.value == '') {		alert('Address1 must not be blank.');		f.Address1.focus();	} else if (f.City.value == '') {		alert('City must not be blank.');		f.City.focus();	} else if ((f.State.value == '') && (f.Stateint.value == '')) {		alert('State must not be blank.');		f.State.focus();	} else if (f.ZipCode.value == '') {		alert('Zip Code must not be blank.');		f.ZipCode.focus();	} else if (f.Country.value == '') {		alert('Country must not be blank.');		f.Country.focus();		} else if (f.Phone.value == '') {		alert('Phone must not be blank.');		f.Phone.focus();	} else if (f.Email.value == '') {		alert('Email must not be blank.');		f.Email.focus();	} else {		alert('Thank you, you should hear back from one of our representatives shortly!');
		f.submit();	}}function Notes(){	var notes = document.cart.notes.value;	mypage = "notes.html?notes="+notes;	myname = "notes";	w = "375";	h = "200";	popUp(mypage, myname, w, h);}function getWorkshop(){	mypage = "workshop.html";	myname = "workshop";	w = "820";	h = "600";	LeftPosition = (screen.width) ? (screen.width-w)/2 : 0;	TopPosition = (screen.height) ? (screen.height-h)/2 : 0;	settings =	'height='+h+',width='+w+',top='+TopPosition+',left='+LeftPosition+',toolbar=no,scrollbars=yes,noresize,location=no';	window.open(mypage,myname,settings);}function getBio(rep){	mypage = "bio.html?bio_id="+rep;	myname = "bio";	w = "500";	h = "375";	popUp(mypage, myname, w, h);}function getTour(){	mypage = "multimedia/";	myname = "touro";	w = "820";	h = "640";	popUp(mypage, myname, w, h);}function getTourSp(){	mypage = "multimedia_sp/";	myname = "touro";	w = "820";	h = "640";	popUp(mypage, myname, w, h);}function popUp(mypage, myname, w, h){	LeftPosition = (screen.width) ? (screen.width-w)/2 : 0;	TopPosition = (screen.height) ? (screen.height-h)/2 : 0;	settings =	'height='+h+',width='+w+',top='+TopPosition+',left='+LeftPosition+',toolbar=no,scrollbars=no,resize=no,location=no';	window.open(mypage,myname,settings);}function getPage(){	var key = document.search;	if(key.webpage.value != '')		window.location = key.webpage.value;}function populate(){	if (iedom){		cross_marquee=document.getElementById? document.getElementById("iemarquee") : document.all.iemarquee		cross_marquee.style.left=parseInt(marqueewidth)+8+"px"		cross_marquee.innerHTML=marqueecontent		actualwidth=document.all? temp.offsetWidth : document.getElementById("temp").offsetWidth	} else if (document.layers){		ns_marquee=document.ns_marquee.document.ns_marquee2		ns_marquee.left=parseInt(marqueewidth)+8		ns_marquee.document.write(marqueecontent)		ns_marquee.document.close()		actualwidth=ns_marquee.document.width	}	lefttime=setInterval("scrollmarquee()",oneint)}function scrollmarquee(){	oneint=0	if (iedom){		if (parseInt(cross_marquee.style.left)>(actualwidth*(-1)+8))			cross_marquee.style.left=parseInt(cross_marquee.style.left)-copyspeed+"px"		else			cross_marquee.style.left=parseInt(marqueewidth)+8+"px"	} else if (document.layers){		if (ns_marquee.left>(actualwidth*(-1)+8))			ns_marquee.left-=copyspeed		else			ns_marquee.left=parseInt(marqueewidth)+8	}}