// JavaScript Document

	// require trimString()
	function fn_CheckWhoisForm(theForm)
	{		
		if ( ! fn_ValidateDomainNameOnly ( theForm.domainname , "域名" ) )
		{
			return false;
		}
		if ( theForm.verifycode && ! fn_CheckRequired ( theForm.verifycode , "验证码" ) )
		{
		    return false;
		}
		return true;
	}
	function fn_CheckWhoisCNForm(theForm)
	{
		if ( ! fn_ValidateCNDomainNameOnly ( theForm.domainname , "中文域名" ) )
		{
			return false;
		}
		if ( theForm.verifycode && ! fn_CheckRequired ( theForm.verifycode , "验证码" ) )
		{
		    return false;
		}
		return true;
	}
