    function validatequote() {
        if ((document.qtform.txt_name.value == "") || (document.qtform.txt_name.value == " ")) {
            alert("Please Enter Your Name");
            return false;
        }

        if ((document.qtform.txt_phone.value == "") || (document.qtform.txt_phone.value == " ")) {
            alert("Please Enter Your Phone no");
            return false;
        }
        if ((document.qtform.wordVeriqt.value == "") || (document.qtform.wordVeriqt.value == " ")) {
            alert("Please Enter valid varification code");
            return false;
        }
        

        if ((document.qtform.txt_email.value == "") || (document.qtform.txt_email.value == " ")) {
            alert("Please Enter Your email");
            return false;
        }
        else {
            if (!ValidateEmail(document.qtform.txt_email.value)) {
                alert("Invalid Email " + document.qtform.txt_email.value);
                document.qtform.txt_email.focus();
                return false;
            }
        }

        return true;
    }
    function ValidateEmail(Email) {
        var atCharPresent = false;
        var dotPresent = false;
        for (var Idx = 0; Idx < Email.length; Idx++) {
            if (Email.charAt(Idx) == '@')
                atCharPresent = true;
            if (Email.charAt(Idx) == '.')
                dotPresent = true;
        }
        if (!atCharPresent || !dotPresent)
            return false;
        return true;
    }
