function validateForm(){

	var error_text = "";
	var is_error = false;
	
	error_text = "You need to complete the following details in order to submit your form." + "\n\n";
	
	if(document.frmJobSheet.txtName.value == ""){
		is_error = true;
		error_text = error_text + "* Name." + "\n\n";
	}
	if(document.frmJobSheet.txtAddress.value == ""){
		is_error = true;
		error_text = error_text + "* Address." + "\n\n";
	}
	if(document.frmJobSheet.txtPostCode.value == ""){
		is_error = true;
		error_text = error_text + "* Postcode." + "\n\n";
	}
	if(document.frmJobSheet.txtHome.value == ""){
		is_error = true;
		error_text = error_text + "* Home Phone." + "\n\n";
	}
	if(document.frmJobSheet.cmbService[document.frmJobSheet.cmbService.selectedIndex].value == ""){
		is_error = true;
		error_text = error_text + "* Service Required." + "\n\n";
	}
	if(document.frmJobSheet.cmbPriority[document.frmJobSheet.cmbPriority.selectedIndex].value == ""){
		is_error = true;
		error_text = error_text + "* Priority." + "\n\n";
	}
	if(is_error == true){
		alert(error_text);
		return false;
	}else{
		return true;
	}
}
