
function validateForm( )
{
	var objFV = new FormValidator("frmFindOut");

	if (!objFV.validate("firstname", "B", "Please enter your First Name."))
		return false;

	if (!objFV.validate("surname", "B", "Please enter your Surname."))
		return false;		
		
	if (!objFV.validate("pname", "B", "Please enter your Preferred Contact Name."))
		return false;		
		
	if (!objFV.validate("country", "B", "Please select your Country."))
		return false;		
if(el('country').value=='AUS'){
	if (!objFV.validate("suburb", "B", "Please enter your Suburb."))
		return false;
		
	if (!objFV.validate("state", "B", "Please select your State."))
		return false;		
} else {
	if (!objFV.validate("town", "B", "Please enter your Town."))
		return false;
		
	if (!objFV.validate("city", "B", "Please select your City."))
		return false;
}
	if (!objFV.validate("phone_home", "B", "Please enter your Home Phone."))
		return false;						
		
	if (!objFV.validate("phone_mobile", "B", "Please enter your Mobile Phone."))
		return false;						
		
	if (!objFV.validate("emailaddress", "B,E", "Please enter your valid Email Address."))
		return false;				
		
	if (!objFV.isChecked("cbMobile") && !objFV.isChecked("cbHome") && !objFV.isChecked("cbEmail"))
	{
		alert("Please select the Preferred Contact Method.");
		
		return false;
	}
	
	if (!objFV.isChecked("cbAm") && !objFV.isChecked("cbPm") && !objFV.isChecked("cbEvening"))
	{
		alert("Please select the Preferred Contact Time.");
		
		return false;
	}	
	
	if (!objFV.isChecked("cbAgreed"))	
	{
		alert("** The Confidentiality and Secrecy Agreement MUST be agreed to **");
		window.scrollTo(0,550);
		return false;
	}	

	return true;
}