		function emailvalidation(entered, alertbox)
		{
		// E-mail-Validation (c) Henrik Petersen / NetKontoret
		// Explained at www.echoecho.com/jsforms.htm
		// Please do not remove the this line and the two lines above.
		with (entered)
		{
		apos=value.indexOf("@");
		dotpos=value.lastIndexOf(".");
		lastpos=value.length-1;
		if (apos<1 || dotpos-apos<2 || lastpos-dotpos>3 || lastpos-dotpos<2) 
		{if (alertbox) {alert(alertbox);} return false;}
		else {return true;}
		}
		}
		
		<!-- Null validation -->
		
		function emptyvalidation(entered, alertbox)
		{
		// Emptyfield Validation by Henrik Petersen / NetKontoret
		// Explained at www.echoecho.com/jsforms.htm
		// Please do not remove this line and the two lines above.
		with (entered)
		{
		if (value==null || value=="")
		{if (alertbox!="") {alert(alertbox);} return false;}
		else {return true;}
		}
		} 
		
		<!-- form Validation -->
		
		function formvalidation(thisform)
		{
		with (thisform)
		{
		if (emptyvalidation(client_name,"Please include your name")==false) {client_name.focus(); return false;};
		if (emailvalidation(return_mail,"Please enter a valid email address")==false) {return_mail.focus(); return false;};
		if (emptyvalidation(info_type,"Please describe the information you require")==false) {info_type.focus(); return false;};
		}
		} 
