<!--function CheckValidation(){	//Generate validation code here.					var ShowMessageInAdvancedValidation = true;					var HideFocus = false;													// Validations for First Name is INPUT_ONLY  and TEXT							//Check for blank - Start							if (document.frmContactUs.first.value == "")							{																	alert("Please enter First Name");																	document.frmContactUs.first.focus();																return false;							}													// Validations for Last Name is INPUT_ONLY  and TEXT							//Check for blank - Start							if (document.frmContactUs.Last.value == "")							{																	alert("Please enter Last Name");																	document.frmContactUs.Last.focus();																return false;							}							//Check for blank - End						// Validations for Phoneone is ADVANCED  and NUM							//Phoneif(document.frmContactUs.Phone.value==""){	if(ShowMessageInAdvancedValidation==true)		alert("Please enter Phone");	if(HideFocus)		document.frmContactUs.Phone.focus();	return false;}else{	var newString = "";	for(i=0;i<document.frmContactUs.Phone.value.length;i++)	{		c=document.frmContactUs.Phone.value.charAt(i);		if(c>=0&&c<=9&&c!=' ')		{			newString+=c;		}		else		{			if (c!='('&&c!=')'&&c!='-'&&c!=' ')			{				if(ShowMessageInAdvancedValidation==true)					alert("Please enter a valid Phone (xxx)xxx-xxxx");				if(HideFocus)					document.frmContactUs.Phone.focus();				return false;			}		}	}	if(newString.length!=9&&newString.length!=10)	{		if(ShowMessageInAdvancedValidation==true)			alert("Please enter a valid Phone (xxx)xxx-xxxx");		if(HideFocus)			document.frmContactUs.Phone.focus();		return false;	}	else	{		document.frmContactUs.Phone.value = newString;	}}													// Validations for Company Name is INPUT_ONLY  and TEXT							//Check for blank - Start							if (document.frmContactUs.Company.value == "")							{																	alert("Please enter Company Name");																	document.frmContactUs.Company.focus();																return false;							}							//Check for blank - End	return true;}//-->