function validForm(objForm)
{
	if (objForm.Name.value=="") 
	{
		alert("Please provide your name")
		objForm.Name.focus()
		return false;
	}
	
	if (objForm.Email.value=="") 
	{
		alert("Please provide your email address")
		objForm.Email.focus()
		return false;
	}
	
	if (objForm.Email.value != "" )
	{
		if (/^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,3})+$/.test(objForm.Email.value))
		{
		}
		else
		{
			alert("Invalid E-mail Address! Please provide valid e-mail address.");
			objForm.Email.focus();
			return false;
		}
	}	
	
	if (objForm.Phone.value=="") 
	{
		alert("Please provide your phone number so we may call you back.")
		objForm.Phone.focus()
		return false;
	}
	
	/* Best Time to Call */
	if(document.RequestAppointmentForm.BestTimetoCall.length)
	{
		var strBestTimetoCall = ""
		for(i=0;i<document.RequestAppointmentForm.BestTimetoCall.length;i++)
		{   if(document.RequestAppointmentForm.BestTimetoCall[i].checked)
			{strBestTimetoCall = strBestTimetoCall +","+ document.RequestAppointmentForm.BestTimetoCall[i].value}
		}
		var strBestTimetoCalllength = strBestTimetoCall.length	
		if (strBestTimetoCall.charAt(strBestTimetoCalllength-1) == ',')
			{strBestTimetoCall = strBestTimetoCall.slice(0,strBestTimetoCalllength-1);}
		if (strBestTimetoCall.charAt(0) == ',')
		    {strBestTimetoCall = strBestTimetoCall.substring(1,strBestTimetoCall.length);}	
	}
	document.RequestAppointmentForm.BestTimetoCall.value = strBestTimetoCall
	if (document.RequestAppointmentForm.BestTimetoCall.value == "")
	{
		alert("please provide your best time to call.");
		return false;
	}

	/* Preferred day to Call */
	if(document.RequestAppointmentForm.Preferredday.length)
	{
		var strPreferredday = ""
		for(i=0;i<document.RequestAppointmentForm.Preferredday.length;i++)
		{   if(document.RequestAppointmentForm.Preferredday[i].checked)
			{strPreferredday = strPreferredday +","+ document.RequestAppointmentForm.Preferredday[i].value}
		}
		var strPreferreddaylength = strPreferredday.length	
		if (strPreferredday.charAt(strPreferreddaylength-1) == ',')
			{strPreferredday = strPreferredday.slice(0,strPreferreddaylength-1);}
		if (strPreferredday.charAt(0) == ',')
		    {strPreferredday = strPreferredday.substring(1,strPreferredday.length);}	
	}
	document.RequestAppointmentForm.Preferredday.value = strPreferredday
	
	/* Preferred Time to Call */
	if(document.RequestAppointmentForm.PreferredTime.length)
	{
		var strPreferredTime = ""
		for(i=0;i<document.RequestAppointmentForm.PreferredTime.length;i++)
		{   if(document.RequestAppointmentForm.PreferredTime[i].checked)
			{strPreferredTime = strPreferredTime +","+ document.RequestAppointmentForm.PreferredTime[i].value}
		}
		var strPreferredTimelength = strPreferredTime.length	
		if (strPreferredTime.charAt(strPreferredTimelength-1) == ',')
			{strPreferredTime = strPreferredTime.slice(0,strPreferredTimelength-1);}
		if (strPreferredTime.charAt(0) == ',')
		    {strPreferredTime = strPreferredTime.substring(1,strPreferredTime.length);}	
	}
	document.RequestAppointmentForm.PreferredTime.value = strPreferredTime

	/* Experiencing Pain to Call */
	if(document.RequestAppointmentForm.Experiencingpain.length)
	{
		var strExperiencingpain = ""
		for(i=0;i<document.RequestAppointmentForm.Experiencingpain.length;i++)
		{   if(document.RequestAppointmentForm.Experiencingpain[i].checked)
			{strExperiencingpain = strExperiencingpain +","+ document.RequestAppointmentForm.Experiencingpain[i].value}
		}
		var strExperiencingpainlength = strExperiencingpain.length	
		if (strExperiencingpain.charAt(strExperiencingpainlength-1) == ',')
			{strExperiencingpain = strExperiencingpain.slice(0,strExperiencingpainlength-1);}
		if (strExperiencingpain.charAt(0) == ',')
		    {strExperiencingpain = strExperiencingpain.substring(1,strExperiencingpain.length);}	
	}
	document.RequestAppointmentForm.Experiencingpain.value = strExperiencingpain


	objForm.hdaction.value="1";
	return true;
}