<!--
function VF_cForm(){ //v2.3
	var theForm = document.forms['cForm'];
	var emailRE = /(@\w[-._\w]*\w\.\w{2,3})$/;
	var sFlg_lead_type = false;
	var errMsg = "";
	var setfocus = "";

	for(var s12=0;s12<theForm['lead_type'].length;s12++){if(theForm['lead_type'].options[s12].selected){if(theForm['lead_type'].options[s12].text==theForm['lead_type'].options[0].text)sFlg_lead_type=true;}}

	if (theForm['message'].value == ""){
		errMsg = "How can we be of assistance\?";
		setfocus = "['message']";
	}
	if (sFlg_lead_type){
		errMsg = "Please help us send this enquiry to the proper department";
		setfocus = "['lead_type']";
	}
	if (theForm['phone'].value == ""){
		errMsg = "Please enter your phone number";
		setfocus = "['phone']";
	}
	if (!emailRE.test(theForm['contact_email'].value)){
		errMsg = "Please enter a valid email address";
		setfocus = "['contact_email']";
	}
	if (theForm['contact_name'].value == ""){
		errMsg = "Please enter your full name";
		setfocus = "['contact_name']";
	}
	if (errMsg != ""){
		alert(errMsg);
		eval("theForm" + setfocus + ".focus()");
	}
	else theForm.submit();
}//-->