function checkFieldsForm1() {
	if (document.form1.txtName.value == "") 
	{
		window.alert("You must fill in the name field");
	}
	else if (document.form1.txtTitle.value == "")
	{
		window.alert("You must fill in the job title field");
	}
	else if (document.form1.txtCompany.value == "")
	{
		window.alert("You must fill in the company field");
	}
	else if (document.form1.txtEmail.value == "")
	{
		window.alert("You must fill in your email address");
	}
	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 download this document if you have free email account.");
		}
		else
		{
			window.alert("Your details have been sent, you should receive the white paper shortly via email. Thank you.");
			document.form1.submit();
		}
	}
	
}