<!-- Begin
	function validEmail(mail)   
	{   
		invalidChars = " /:,;"  
		if (mail == "")   	  
		{ return false }

		for (i=0; i<invalidChars.length; i++) 
		{
			badChar = invalidChars.charAt(i) 
			if (mail.indexOf(badChar,0) > -1) 
			{
				return false
			}
		}
		atPos = mail.indexOf("@",1) 
		if (atPos == -1) 
		{  
			return false
		}
		if (mail.indexOf("@",atPos+1) > -1) 
		{ 
			return false
		}
		periodPos = mail.indexOf(".",atPos)  
		if (periodPos == -1) {
			return false
		}
		if (periodPos+3 > mail.length)	
		{ 
			return false		  
		}
		return true
		}
		
		function filledIn(field)
		{
			if(field.length<=0)
			{
				return false
			}
			return true
		}
		
		function submitIt(form)  
		{
			if (!validEmail(form.mail.value)) 
			{ 
				alert("Either you forgot to enter your email or it is invalid.") 
				form.mail.focus()  
				form.mail.select() 
				return false
			}
			if(!filledIn(form.last.value))
			{
				alert("Please enter your last name.") 
				form.last.focus()  
				form.last.select() 
				return false
			}
			
			if(!filledIn(form.first.value))
			{
				alert("Please enter your first name.") 
				form.first.focus()  
				form.first.select() 
				return false
			}

			if(!filledIn(form.company.value))
			{
				alert("Please enter your company name.") 
				form.company.focus()  
				form.company.select() 
				return false
			}

			if(!filledIn(form.telephone.value))
			{
				alert("Please enter your telephone number.") 
				form.telephone.focus()  
				form.telephone.select() 
				return false
			}

		return true
	}
//  End -->
