function checkForm(theForm)
{
	var count = 0;
	var message = "";
	
	if(theForm.contactname.value == "")
	{
		theForm.contactname.focus();
		count = 1;
		message = "\tContact Name\n";
	}
	
	if(theForm.address.value == "")
	{
		theForm.address.focus();
		count = 1;
		message = message + "\tContact Address\n";
	}

	
	if( (theForm.phone.value == "" ) && (theForm.mobile.value == "") && (theForm.email.value == "") )
	{
		message = message + "\nYou must provide at least one of the following contact methods.\n\n\tPhone number\n\tMobile Number\n\tEmail address";
		count = 1;
	}
	
	if(count == 1)
	{
		alert("Not all of the required firelds have been completed. Please enter the follwing information\n\n"+message);
		return false;
	}
	
	

	
	return true;
}