function checkform(theform)
{
	theControl="frnds_email";
	theMessage="e-mail";
	theNumeric="";
	theEmail="Y";
	theUvar="";
	theConfirmPassword="";
	thebadstuff="";
	theinteger="";
	thepercent="";
	thesize="";
	thedecimal="";
	theimage="";	
	theempty="Y";	
	themin="";
	themax="";
	thecheckboxlength="";
	thephoneno="";
	if(!theValidator(theform,theControl,theMessage,theNumeric,theEmail,theUvar,theConfirmPassword,thebadstuff,theinteger,thepercent,thesize,thedecimal,theimage,theempty,themin,themax,thecheckboxlength,thephoneno))
	return false;     
} 	