function checkreservform(theform)
{
	theControl="First_Name,Last_Name,Email_Address,Phone,Mobile,Date,Hrs,Min,Pickup_Address,Destination_Address,Comments";
	theMessage="first name,last name,email address,phone,mobile,date,hrs,min,pickup address,destination address,comments";
	theNumeric=",,,,,,,,,,";
	theEmail=",,Y,,,,,,,,";
	theURL=",,,,,,,,,,";
	theConfirmPassword=",,,,,,,,,,";
	thebadstuff=",,,,,,,,,,";
	theinteger=",,,,,,,,,,";
	thepercent=",,,,,,,,,,";
	thesize=",,,,,,,,,,";
	thedecimal=",,,,,,,,,,";
	theimage=",,,,,,,,,,";
	theempty="Y,Y,Y,,Y,Y,Y,Y,Y,Y,Y";
	themin=",,,,,,,,,,";
	themax=",,,,,,,,,,";
	thecheckboxlength=",,,,,,,,,,";
	thephoneno=",,,,,,,,,,";
	if(!theValidator(theform,theControl,theMessage,theNumeric,theEmail,theURL,theConfirmPassword,thebadstuff,theinteger,thepercent,thesize,thedecimal,theimage,theempty,themin,themax,thecheckboxlength,thephoneno))
	  return false;
	
	return true;
}
function checkformcnt(theform)
{
	theControl="cName,cE-Mail,phone,ccomments";
	theMessage="your name,your email,your phone number,comments/address";
	theNumeric=",,,,,,,";
	theEmail=",Y,,,,,,";
	theURL=",,,,,,,";
	theConfirmPassword=",,,,,,,";
	thebadstuff=",,,,,,,";
	theinteger=",,,,,,,";
	thepercent=",,,,,,,";
	thesize=",,,,,,,";
	thedecimal=",,,,,,,";
	theimage=",,,,,,,";
	theempty="Y,Y,Y,Y,,,,";
	themin=",,,,,,,";
	themax=",,,,,,,";
	thecheckboxlength=",,,,,,,";
	thephoneno=",,,,,,,";
	if(!theValidator(theform,theControl,theMessage,theNumeric,theEmail,theURL,theConfirmPassword,thebadstuff,theinteger,thepercent,thesize,thedecimal,theimage,theempty,themin,themax,thecheckboxlength,thephoneno))
	  return false;
	
	return true;
}
