function checkIt()
	{
		//make sure user entered a name
		if (document.formmail.name.value =='')
		{
		alert ('Please enter a value for the NAME field.');
		document.formmail.name.focus();
		return false;
		}
				
		//make sure email address is correctly formatted
		email = document.formmail.email.value;
		if (email.length <6 ||
		    email.indexOf('@') == -1 ||
			email.indexOf('.') == -1)
			{
			alert('Please enter an EMAIL ADDRESS in the format someone@somewhere.com');
			document.formmail.email.focus();
			return false;
			}		
		
		//make sure user entered a city
		if (document.formmail.city.value =='')
		{
		alert ('Please enter a value for the CITY field.');
		document.formmail.city.focus();
		return false;
		}
		
		//make sure user entered a zip code
		if (document.formmail.zip.value =='')
		{
		alert ('Please enter a value for the ZIP CODE field.');
		document.formmail.zip.focus();
		return false;
		}
		
		//make sure phone number is in this format 999-999-9999
		phone=document.formmail.phone.value;
		if (phone.charAt(3) != '-' ||
  	        phone.charAt(7) != '-' ||
			phone.length != 12 ||
			isNaN(phone.substring(0,3)) ||
			isNaN(phone.substring(4,7)) ||
			isNaN(phone.substring(8,12)))
			{
			alert('Please enter a PHONE NUMBER \n in the format 123-456-7890.');
			document.formmail.phone.focus();
			return false;
			}
		
		
		//make sure user entered a Start Date
		if (document.formmail.start.value =='none selected')
		{
		alert ('Please select a START Timeframe.');
		document.formmail.start.focus();
		return false;
		}
				
		//make sure user entered Plans
		if (document.formmail.plans.value =='none selected')
		{
		alert ('Please select your PLANS status.');
		document.formmail.plans.focus();
		return false;
		}			
					
		return true;
	}

//-->

