function c_validate()
{
	valid =true;
	error='';
	firstName=document.mce_contact_us.fname.value;
	lastName=document.mce_contact_us.lname.value;
	uEmail=document.mce_contact_us.uemail.value;
	cUEmail=document.mce_contact_us.cuemail.value;
	uPhone=document.mce_contact_us.uphone.value;
	uCity=document.mce_contact_us.ucity.value;
	uState=document.mce_contact_us.ustate.value;
	uComments=document.mce_contact_us.ucomments.value;
	uPrefContact=document.mce_contact_us.u_pref_contact.value;
	if(firstName==0)
	{ 
	   error+="Please mention First Name \n";
	   valid=false;
	}
	if(lastName==0)
	{
	   error+="Please mention Last Name \n";
	   valid=false;
	}
	if(uEmail==0)
	{
	   error+="Email is mandatory \n";
	   valid=false;
	}
	if(cUEmail==0)
	{
	   error+="Confirmation of your email is must \n";
	   valid=false;
	}
	if(uPhone==0)
	{
	   error+="Mention your phone number \n";
	   valid=false;
	}
	if(uCity==0)
	{
	   error+="Mention your City Name \n";
	   valid=false;
	}
	if(uState==0)
	{
	   error+="Mention your State Name \n";
	   valid=false;
	}
	if(uComments==0)
	{
	   error+="Please provide comments \n";
	   valid=false;
	}
	if(uPrefContact==0)
	{
	   error+="Please mention what is the preferred way to contact \n";
	   valid=false;
	}
	if(!valid)
	{  
	  alert(error);
	}
	return valid;
}
