function ValidateForm(oForm) {
	var sError = ""
	
	if (oForm) {
		if (oForm.salutation[oForm.salutation.selectedIndex].value=="")
			sError += "\n* Salutaion"
		
		if (oForm.FirstName.value=="")
			sError += "\n* First name"
			
		if (oForm.Surname.value=="")
			sError += "\n* Surname"
			
		if (oForm.Email.value=="")
			sError += "\n* Email"
			
		if (oForm.Telephone.value=="")
			sError += "\n* Phone No"
		
		if (oForm.Comments.value=="")
			sError += "\n* Your comments"
		
		if (sError=="")
			return true
		else {
			alert("Please fill out the following fields: \n" + sError)
			return false
		}
	}
	else {
		alert("Sorry but there seems to be a problem with our server");
		return false
	}
}

///////////
//SUBMTIS FORM FROM <a href="javascript:submitform();"> tag
///
function submitform(){
	if(document.ContactForm.onsubmit()){
		//this check triggers the validations
		document.ContactForm.submit();
	}
}
///////
////////////

//function switchForm() {
	
//	var message = document.getElementById("formMessage");
//	message.setAttribute('style="display:block"');
	
//	var formM = document.getElementById("form-contact");
//	message.setAttribute('style="display:none"');
	
//}