if(typeof MTB == "undefined") MTB={};
if(typeof MTB.UI == "undefined") MTB.UI={};

MTB.UI.EmailValidator_class = new Class({
AjaxUrl : '/ajaxpro/MTB.UI.EmailValidator,App_Code.evpjr-zq.ashx',
EmailExists : function(strEmail, intUserID, onsuccess, context, onfailure)
{
    return new AjaxPro.Request(this.AjaxUrl,
    {
        async: (typeof onsuccess == "function"),
        headers: {"X-AjaxPro-Method":"EmailExists"},        
        onSuccess: function(response) { AjaxPro.processResponse(response, onsuccess, context, onfailure); }
    }).send({"strEmail":strEmail, "intUserID":intUserID});
}
});MTB.UI.EmailValidator = new MTB.UI.EmailValidator_class();


