function checkFieldsForm1() {
	if (document.form1.txtComp.value == "") 
	{
		window.alert("You must fill in the company field");
	}
	else if (document.form1.txtFName.value == "")
	{
		window.alert("You must fill in the first name field");
	}
	else if (document.form1.txtFamName.value == "")
	{
		window.alert("You must fill in the family name field");
	}
	else if (document.form1.txtTitle.value == "")
	{
		window.alert("You must fill in the job title field");
	}
		else if (document.form1.txtPhone.value == "")
	{
		window.alert("You must fill in the phone number field");
	}
	else if (document.form1.txtEmail.value == "")
	{
		window.alert("You must fill in the email field");
	}
	else if (document.form1.morn11[0].checked == false && document.form1.morn11[1].checked == false)
	{
		window.alert("You must fill in the preferred contact field");
	}
	else if (document.form1.txtCity.value == "")
	{
		window.alert("You must fill in the city/region field");
	}
	else if (document.form1.txtPostcode.value == "")
	{
		window.alert("You must fill in the postal code field");
	}
	else if (document.form1.selCountry.selectedIndex == 0)
	{
		window.alert("You must select a value in the country field");
	}
	else if (document.form1.txtInf1.value == "")
	{
		window.alert("You must fill in the field");
	}
	else if (document.form1.txtInf2.value == "")
	{
		window.alert("You must fill in the field");
	}
	else if (document.form1.txtInf3.value == "")
	{
		window.alert("You must fill in the field");
	}
	else if (document.form1.morn12[0].checked == false && document.form1.morn12[1].checked == false)
	{
		window.alert("You must fill in the Yes No field");
	}
	else if (document.form1.txtInf5.value == "")
	{
		window.alert("You must fill in the field");
	}
	else if (document.form1.txtInf6.value == "")
	{
		window.alert("You must fill in the field");
	}
	if (document.form1.txtHow.value == "") 
	{
		window.alert("You must fill in the field");
	}
	else if (document.form1.txtVendor.value == "")
	{
		window.alert("You must fill in the field");
	}
	else if (document.form1.morn1[0].checked == false && document.form1.morn1[1].checked == false && document.form1.morn1[2].checked == false && document.form1.morn1[3].checked == false && document.form1.morn1[4].checked == false && document.form1.morn1[5].checked == false)
	{
		window.alert("You must fill in the field");
	}
	else if (document.form1.morn6[0].checked == false && document.form1.morn6[1].checked == false && document.form1.morn6[2].checked == false)
	{
		window.alert("You must fill in the field");
	}
	else if (document.form1.morn7[0].checked == false && document.form1.morn7[1].checked == false && document.form1.morn7[2].checked == false)
	{
		window.alert("You must fill in the field");
	}
	else if (document.form1.morn8[0].checked == false && document.form1.morn8[1].checked == false && document.form1.morn8[2].checked == false)
	{
		window.alert("You must fill in the field");
	}
	else if (document.form1.txtEmail.value != "")
		{
		var textemail = document.form1.txtEmail.value.toLowerCase();
		if (textemail.indexOf("@") == -1)
		{
			window.alert("Your email address does not appear to be valid");
		}
		else if ((textemail.indexOf("hotmail") != -1) || (textemail.indexOf("yahoo") != -1) || (textemail.indexOf("msn") != -1))
		{
			window.alert("You are not allowed to register using free email account.");
		}
		else
		{
			window.alert("Thank you for your interest in Virtustreams Virtual Infrastructure Health Check. We will review to determine if you qualify for the assessment. Qualification will be determined by your current infrastructure.");
			document.form1.submit();
		}
	}
	
}

//function checkIOM(){
//	if (document.form1.selRodLoc.selectedIndex == 1)
//	{
//		window.alert("If you are registering from the Isle of Man we can fly you to Manchester at no cost to you. Please state you would like a flight in the additional //questions field");
//	}
//}