function validateContact()
{
	fv =  new formValidator();
	
	if (fv.isEmpty("your_name"))
		fv.raiseError("Please specify your name.");
		
	if (fv.isEmpty("your_phone"))
		fv.raiseError("Please specify your phone number.");
		
	if (fv.isEmpty("your_email"))
		fv.raiseError("Please specify your email address.");
	else
	{
		if (!fv.isEmailAddress("your_email"))
			fv.raiseError("Please specify a valid email address.");
	}
	
	if (fv.isEmpty("comments"))
		fv.raiseError("Please specify your comments or queries.");
		
	if (fv.numErrors() > 0)
	{
		fv.displayErrors();
		return false;
	}
	else
	  return true;	
}

function openTerms() 
{
	window.open("terms.php", "pops", "scrollbars=1,resizable=1,HEIGHT=500,WIDTH=680,Left=20%,Top=20%");
}
