// JavaScript Document
function CheckConfirm()
{
	var chkConfirmed = document.forms[0].chkConfirmed

	var txtPropName = document.forms[0].PropName;
	var txtPropCompany = document.forms[0].PropCompany;
	var txtPropEmail = document.forms[0].PropEmail;
	var txtPropTel = document.forms[0].PropTel;
	var txtPropMobile = document.forms[0].PropMobile;

	if(txtPropName.value == "")
	{
	    alert("Please enter your full name (without title)");
	    txtPropName.focus();
	}
	else if(txtPropCompany.value == "")
	{
	    alert("Please enter your company name");
	    txtPropCompany.focus();
	}
	else if(txtPropEmail.value == "")
	{
	    alert("Please enter your email address");
	    txtPropEmail.focus();
	}
	else if(txtPropTel.value == "")
	{
	    alert("Please enter your telephone number");
	    txtPropTel.focus();
	}
	else if(txtPropMobile.value == "")
	{
	    alert("Please enter your mobile phone number");
	    txtPropMobile.focus();
	}
    else if(chkConfirmed.checked == false)
    {
        alert("Please confirm that you have read and agreed to our terms and conditions before continuing.");
    }
    else
    {
    	document.forms[0].submit()
    }
}

