	function validateQ()
	{
		

		var message = "Please complete the required fields.";
//		var card_message = "Improper credit card expiry date format. \n Please make sure the format is MM/YY";
	aStr = document.forms['quick_form'].email.value;
	count = aStr.length;
	count1 = 0;
	countdot1 = 0;
		//alert (document.forms['landing_form'].elements['FirstName'].value)

		with ( document.forms['quick_form'] )
	    {
		

			if ( fname.value == "" )
			{
				alert("Please fill in the Name field");
				fname.select();
				fname.focus();
				return(false);				
			}
		
		    	if ( telephone.value == "" )
			{
				alert("Please fill in the Phone field");
				telephone.select();
				telephone.focus();
				return(false);				
			}

			 	if ( email.value == "" )
                        {
                                alert("Please fill the email field");
                                email.select();
                                email.focus();
                                return(false);                          
                        }

        if ( aStr != "")
        {
                for(i = 0; i < count; i++)
                {
                        symbol = aStr.substr(i, 1);
                        if ( symbol == "@" )
                        {
                                count1++;
                        }
                        if ( symbol == "." )
                        {
                                countdot1++;
                        }
                }
                if ( count1 != 1 || countdot1 < 1)
                {
                        alert("Please enter a valid email address!");
                        email.focus();
                        email.select();
                        return false;                           
                }
        } 
			  

      if ( message.value == "" )
			{
				alert("Please fill the Message field");
				message.focus();
                message.select();
				return(false);				
			}

	}
}
