var theForm = document.forms['Form1'];
if (!theForm) {
    theForm = document.Form1;
}
function __doPostBack(eventTarget, eventArgument) {
    if (!theForm.onsubmit || (theForm.onsubmit() != false)) {
        theForm.__EVENTTARGET.value = eventTarget;
        theForm.__EVENTARGUMENT.value = eventArgument;
        theForm.submit();
    }
}
function WebForm_OnSubmit() {
if (typeof(ValidatorOnSubmit) == "function" && ValidatorOnSubmit() == false) return false;
return true;
}
var Page_Validators =  new Array(document.getElementById("FormField_rex"), document.getElementById("FormField_cust"), document.getElementById("FormField_req"));
var FormField_rex = document.all ? document.all["FormField_rex"] : document.getElementById("FormField_rex");
FormField_rex.controltovalidate = "email";
FormField_rex.display = "Dynamic";
FormField_rex.enabled = "False";
FormField_rex.evaluationfunction = "RegularExpressionValidatorEvaluateIsValid";
var FormField_cust = document.all ? document.all["FormField_cust"] : document.getElementById("FormField_cust");
FormField_cust.controltovalidate = "email";
FormField_cust.display = "Dynamic";
FormField_cust.evaluationfunction = "CustomValidatorEvaluateIsValid";
var FormField_req = document.all ? document.all["FormField_req"] : document.getElementById("FormField_req");
FormField_req.controltovalidate = "email";
FormField_req.errormessage = "Field is required";
FormField_req.display = "Dynamic";
FormField_req.evaluationfunction = "RequiredFieldValidatorEvaluateIsValid";
FormField_req.initialvalue = "";
var Page_ValidationActive = false;
if (typeof(ValidatorOnLoad) == "function") {
    ValidatorOnLoad();
}

function ValidatorOnSubmit() {
    if (Page_ValidationActive) {
        return ValidatorCommonOnSubmit();
    }
    else {
        return true;
    }
}
