	function ValidateItem(elm,msg,warn)
	{
	    	if ( (elm !=null) && ( elm.value == "" ) )
	    	{
	    		if ( warn )
					alert ( msg );

	    		elm.focus();
	    		return false ;
	    	}
	    	else
	    		return true ;
	}
	function verifyEmail(elm) 
	{
	var checkEmail = elm.value ;
	
	if ((checkEmail.indexOf('@') < 0) || ((checkEmail.charAt(checkEmail.length-4) != '.') && (checkEmail.charAt(checkEmail.length-3) != '.'))) 
		{
		alert("You have entered an invalid email address. Please try again.");
		elm.select();
		return false;
		} 
	return true ;
	}