// JavaScript Document

function CheckForm(theForm){
							if (!validRequired(theForm.yname,"Your Name")){ return false; }
							if (!validRequired(theForm.ycompany_name,"Your Company Name")){ return false; }
					        if (!validEmail(theForm.yemail,"Your Email",true)){ return false; }
					        if (!validRequired(theForm.yphoneno,"Your Phone No")){ return false; }
							if (!validRequired(theForm.company_name,"Company Name")){ return false; }
					        if (!validRequired(theForm.contact_person,"Contact Person")){ return false; }
					        if (!validEmail(theForm.email,"Email Address",true)){ return false; }
							if (!validRequired(theForm.phoneno,"Phone No")){ return false; }

					        
							  var txtEmail, ConfEmail, Result;
							  txtEmail = document.mainform.email.value;
							  ConfEmail = document.mainform.email2.value;
							  if(txtEmail != ConfEmail)
							     	{
							                alert('Your Email Do Not Match!');
							                 return false;
							        }
					}