function check(rid)
	{
		var obj=document.contact
		if(obj.name.value=="")
		{
			alert("Please enter your Name.");
			obj.name.focus();
			return false;
		}
		if(obj.comments.value=="")
		{
			alert("Please enter your Comments.");
			obj.comments.focus();
			return false;
		}
		if(obj.email.value=="")
		{
			alert("Please enter your Email Address.");
			obj.email.focus();
			return false;
		}
		if(obj.security_code.value=="")
		{
			alert("Please enter your Security Code.");
			obj.security_code.focus();
			return false;
		}
			obj.action="records.php?opt=mail&id="+rid;
	}
