///  Designed Images 390 Oak Ave - Suite O Carlsbad, CA 92008 - Phone: 760.744.7011 - Fax: 760.450.0110 - E-mail: info@designedimage.com  - http://www.designedimage.com ///function regCheck()     {        if (document.signupform.first_name.value == "")         {        alert("First Name | Problem:\n\nYou forgot to enter\nyour first name\n\nPlease enter and submit again.\nThis entry is required!.");        document.signupform.first_name.focus();		document.signupform.first_name.style.backgroundColor = "99CCCC";		document.signupform.last_name.style.backgroundColor = "white";		document.signupform.phone.style.backgroundColor = "white";		document.signupform.submit_by.style.backgroundColor = "white";		document.signupform.street_address.style.backgroundColor = "white";		document.signupform.city.style.backgroundColor = "white";		document.signupform.state.style.backgroundColor = "white";		document.signupform.zip_code.style.backgroundColor = "white";		return false;		}				if (document.signupform.last_name.value == "")         {        alert("Hey!  "                   + signupform.first_name.value + " "				   + "\nYou forgot to enter\nyour last name\n\nPlease enter and submit again.\nThis entry is required!.")		document.signupform.last_name.focus();		document.signupform.first_name.style.backgroundColor = "white";		document.signupform.last_name.style.backgroundColor = "99CCCC";		document.signupform.phone.style.backgroundColor = "white";		document.signupform.submit_by.style.backgroundColor = "white";		document.signupform.street_address.style.backgroundColor = "white";		document.signupform.city.style.backgroundColor = "white";		document.signupform.state.style.backgroundColor = "white";		document.signupform.zip_code.style.backgroundColor = "white";		return false;		}				if (document.signupform.street_address.value == "")         {        alert("Hey!  "                   + signupform.first_name.value + " "				   + "\nYou forgot to enter\nyour address\n\nPlease enter and submit again.\nThis entry is required!.");        document.signupform.street_address.focus();		document.signupform.first_name.style.backgroundColor = "white";		document.signupform.last_name.style.backgroundColor = "white";		document.signupform.phone.style.backgroundColor = "white";		document.signupform.submit_by.style.backgroundColor = "white";		document.signupform.street_address.style.backgroundColor = "99CCCC";		document.signupform.city.style.backgroundColor = "white";		document.signupform.state.style.backgroundColor = "white";		document.signupform.zip_code.style.backgroundColor = "white";		return false;		}	   	   	if (document.signupform.city.value == "")         {        alert("Hey!  "                   + signupform.first_name.value + " "				   + "\n You forgot to enter\nyour city\n\nPlease enter and submit again.\nThis entry is required!.");        document.signupform.city.focus();		document.signupform.first_name.style.backgroundColor = "white";		document.signupform.last_name.style.backgroundColor = "white";		document.signupform.phone.style.backgroundColor = "white";		document.signupform.submit_by.style.backgroundColor = "white";		document.signupform.street_address.style.backgroundColor = "white";		document.signupform.city.style.backgroundColor = "99CCCC";		document.signupform.state.style.backgroundColor = "white";		document.signupform.zip_code.style.backgroundColor = "white";		return false;		}				if (document.signupform.state.selectedIndex == 0) 		{ 		alert("Hey!  "                   + signupform.first_name.value + " "				   + "\nYou forgot to enter\nyour state\n\nPlease enter and submit again.\nThis entry is required!.");		document.signupform.state.focus();		document.signupform.first_name.style.backgroundColor = "white";		document.signupform.last_name.style.backgroundColor = "white";		document.signupform.phone.style.backgroundColor = "white";		document.signupform.submit_by.style.backgroundColor = "white";		document.signupform.street_address.style.backgroundColor = "white";		document.signupform.city.style.backgroundColor = "white";		document.signupform.state.style.backgroundColor = "99CCCC";		document.signupform.zip_code.style.backgroundColor = "white";		return false;		}								if (document.signupform.zip_code.value == "")         {        alert("Hey!  "                   + signupform.first_name.value + " "				   + "\nYou forgot to enter\nyour zip code\n\nPlease enter and submit again.\nThis entry is required!.");        document.signupform.zip_code.focus();		document.signupform.first_name.style.backgroundColor = "white";		document.signupform.last_name.style.backgroundColor = "white";		document.signupform.phone.style.backgroundColor = "white";		document.signupform.submit_by.style.backgroundColor = "white";		document.signupform.street_address.style.backgroundColor = "white";		document.signupform.city.style.backgroundColor = "white";		document.signupform.state.style.backgroundColor = "white";		document.signupform.zip_code.style.backgroundColor = "99CCCC";		return false;		}		    	if (document.signupform.phone.value == "")         {       alert("Hey!  "                   + signupform.first_name.value + " "				   + "\nYou forgot to enter\nyour area code\n\nPlease enter and submit again.\nThis entry is required!.");        document.signupform.phone.focus();		document.signupform.first_name.style.backgroundColor = "white";		document.signupform.last_name.style.backgroundColor = "white";		document.signupform.phone.style.backgroundColor = "99CCCC";		document.signupform.submit_by.style.backgroundColor = "white";		document.signupform.street_address.style.backgroundColor = "white";		document.signupform.city.style.backgroundColor = "white";		document.signupform.state.style.backgroundColor = "white";		document.signupform.zip_code.style.backgroundColor = "white";		return false;        }								if (document.signupform.submit_by.value.indexOf("@") == -1 ||        document.signupform.submit_by.value == "")         {        alert("Hey!  "                   + signupform.first_name.value + " "				   + "\nYou forgot to enter\nyour email\n\nPlease enter and submit again.\nThis entry is required!.");        document.signupform.submit_by.focus();		document.signupform.first_name.style.backgroundColor = "white";		document.signupform.last_name.style.backgroundColor = "white";		document.signupform.phone.style.backgroundColor = "white";		document.signupform.submit_by.style.backgroundColor = "99CCCC";		document.signupform.street_address.style.backgroundColor = "white";		document.signupform.city.style.backgroundColor = "white";		document.signupform.state.style.backgroundColor = "white";		document.signupform.zip_code.style.backgroundColor = "white";		return false;		}				else{		alert("OK!  "                   + signupform.first_name.value + " "				   + "\nYour form is ready to be submitted."                   + "\nYou can click the OK button to submit it");		document.signupform.submit()		return true;		}}