function emptyfieldforms()
{
	valid = true;
	
	if (document.forms[0].elements["Company_Name"].value == "") {
		window.alert("Please enter Company Name");
		return false;
	}

	if (document.forms[0].elements["Contact_Name"].value == "") {
		window.alert("Please enter Contact Name");
		return false;
	}
	
	if (document.forms[0].elements["Contact_Email"].value == "") {
		window.alert("Please enter your email");
		return false;
	}
	
	validRegExp = /^[^@]+@[^@]+.[a-z]{2,}$/i;
 	strEmail = document.forms[0].Contact_Email.value;

   // search email text for regular exp matches
	if (strEmail.search(validRegExp) == -1) 
	{
		alert('A valid email address is required.\nPlease amend and retry');
		return false;
    } 
	
	return valid;
}
