var TRAN={en:{_LANG:"English",login:"Login",loginBtn:"Sign in",user:"User",password:"Password",company:"Company",rememberMe:"Remember me",forgotPassword:"Forgot your password?",valueRequired:"Value is required",email:"Email",ok:"OK",cancel:"Cancel",invalidCredential:"Invalid login credentials! Login Failed!",monLicExp:"Your monthly license has expired. Please contact your dealer.",gracePeriod:"Application can't get monthly license from remote server, please check your internet connection. WFL will be available till end of month!",fp_Title:"Reset your password",fp_Helper:"Fill in your details to get a new password by email",fp_EMailHelper:"As appears in your account",fp_result_0:"Failed to authenticate user",fp_result_1:"A new password has been sent to your mailbox",pleaseWait:"Please wait...",_isRTL:false},es:{_LANG:"Espa\u00f1ol",login:"Acceso",loginBtn:"Ingresar",user:"Usuario",password:"Contrase\u00f1a",company:"Empresa",rememberMe:"Recordarme",forgotPassword:"\u00bfOlvid\u00f3 su contrase\u00f1a?",valueRequired:"Se requiere valor",email:"Correo electr\u00f3nico",ok:"OK",cancel:"Cancelar",invalidCredential:"\u00a1Datos de acceso incorrectos! \u00a1Acceso fallido!",monLicExp:"Su licencia ha expirado mensuales. P\u00f3ngase en contacto con su distribuidor.",gracePeriod:"La aplicaci\u00f3n no puede obtener una licencia mensual desde un servidor remoto, por favor, compruebe su conexi\u00f3n a Internet. WFL estar\u00e1 disponible hasta finales de mes!",fp_Title:"Restablecer su contrase\u00f1a",fp_Helper:"Rellena tus datos para obtener una nueva contrase\u00f1a por correo electr\u00f3nico",fp_EMailHelper:"Como aparece en su cuenta",fp_result_0:"No se ha podido autenticar el usuario",fp_result_1:"Una nueva contrase\u00f1a ha sido enviada a su buz\u00f3n de correo",pleaseWait:"Espere\u2026",_isRTL:false},nl:{_LANG:"Nederlands",login:"Inloggen",loginBtn:"Aanmelden",user:"Gebruiker",password:"Wachtwoord",company:"Zakelijk",rememberMe:"Onthouden mij",forgotPassword:"Uw wachtwoord vergeten?",valueRequired:"Waarde is verplicht",email:"E-mail",ok:"OK",cancel:"Annuleren",invalidCredential:"Ongeldige aanmelding! Niet aangemeld!",monLicExp:"Uw maandelijkse licentie is verlopen. Neem contact op met uw dealer.",gracePeriod:"Toepassing kan de maandelijkse licentie niet krijgen van externe server, controleer dan uw internet verbinding. WFL zal beschikbaar zijn tot eind van de maand!",fp_Title:"Reset je wachtwoord",fp_Helper:"Vul uw gegevens in om een nieuw wachtwoord te krijgen via e-mail",fp_EMailHelper:"Zoals weergegeven in uw account",fp_result_0:"Mislukt gebruiker te authenticeren",fp_result_1:"Een nieuw wachtwoord is verstuurd naar uw mailbox",pleaseWait:"Een ogenblik geduld...",_isRTL:false},fr:{_LANG:"Fran\u00e7ais",login:"Connectez-vous",loginBtn:"Connexion",user:"Utilisateur",password:"Mot de passe",company:"Entreprise",rememberMe:"Se souvenir de moi",forgotPassword:"Mot de passe oubli\u00e9?",valueRequired:"Valeur obligatoire",email:"E-mail",ok:"OK",cancel:"Annuler",invalidCredential:"Autorisation de connexion non valide! \u00c9chec de connexion!",monLicExp:"Votre licence mensuelle a expir\u00e9. S'il vous pla\u00eet contactez votre revendeur.",gracePeriod:"Application ne peut pas obtenir un permis mensuel \u00e0 partir du serveur \u00e0 distance, s'il vous pla\u00eet v\u00e9rifier votre connexion internet. WFL sera disponible jusqu'\u00e0 la fin du mois!",fp_Title:"R\u00e9initialiser votre mot de passe",fp_Helper:"Remplissez vos coordonn\u00e9es pour obtenir un nouveau mot de passe par e-mail",fp_EMailHelper:"Il ressort de votre compte",fp_result_0:"\u00c9chec de l'authentification utilisateur",fp_result_1:"Un nouveau mot de passe a \u00e9t\u00e9 envoy\u00e9 \u00e0 votre bo\u00eete aux lettres",pleaseWait:"Veuillez attendre...",_isRTL:false},he:{_LANG:"\u05e2\u05d1\u05e8\u05d9\u05ea",login:"\u05d4\u05ea\u05d7\u05d1\u05e8\u05d5\u05ea",loginBtn:"\u05d4\u05ea\u05d7\u05d1\u05e8",user:"\u05de\u05e9\u05ea\u05de\u05e9",password:"\u05e1\u05d9\u05e1\u05de\u05d0",company:"\u05d7\u05d1\u05e8\u05d4",rememberMe:"\u05d6\u05db\u05d5\u05e8 \u05d0\u05d5\u05ea\u05d9",forgotPassword:"\u05e9\u05db\u05d7\u05ea \u05d0\u05ea \u05d4\u05e1\u05d9\u05e1\u05de\u05d4?",valueRequired:"\u05e0\u05d0 \u05dc\u05e6\u05d9\u05d9\u05df \u05e2\u05e8\u05da",email:"\u05d3\u05d5\u05d0\u05e8 \u05d0\u05dc\u05e7\u05d8\u05e8\u05d5\u05e0\u05d9",ok:"\u05d0\u05d9\u05e9\u05d5\u05e8",cancel:"\u05d1\u05d9\u05d8\u05d5\u05dc",invalidCredential:"\u05e9\u05dd \u05de\u05e9\u05ea\u05de\u05e9 \u05d0\u05d5 \u05e1\u05d9\u05e1\u05de\u05d4 \u05e9\u05d2\u05d5\u05d9\u05d9\u05dd! \u05d4\u05db\u05e0\u05d9\u05e1\u05d4 \u05e0\u05db\u05e9\u05dc\u05d4!",monLicExp:"\u05e4\u05d2 \u05d4\u05e8\u05d9\u05e9\u05d9\u05d5\u05df \u05d4\u05d7\u05d5\u05d3\u05e9\u05d9 \u05e9\u05dc\u05da. \u05d0\u05e0\u05d0 \u05e6\u05d5\u05e8 \u05e7\u05e9\u05e8 \u05e2\u05dd \u05d4\u05e1\u05d5\u05db\u05df \u05e9\u05dc\u05da.",gracePeriod:"\u05d4\u05d9\u05d9\u05e9\u05d5\u05dd \u05dc\u05d0 \u05d9\u05db\u05d5\u05dc \u05dc\u05e7\u05d1\u05dc \u05e8\u05d9\u05e9\u05d9\u05d5\u05df \u05d7\u05d5\u05d3\u05e9\u05d9 \u05de\u05d4\u05e9\u05e8\u05ea \u05d4\u05de\u05e8\u05d5\u05d7\u05e7, \u05d0\u05e0\u05d0 \u05d1\u05d3\u05d5\u05e7 \u05d0\u05ea \u05d4\u05d7\u05d9\u05d1\u05d5\u05e8 \u05dc\u05d0\u05d9\u05e0\u05d8\u05e8\u05e0\u05d8 \u05e9\u05dc\u05da. WFL \u05d9\u05d4\u05d9\u05d4 \u05d6\u05de\u05d9\u05df \u05e2\u05d3 \u05e1\u05d5\u05e3 \u05d4\u05d7\u05d5\u05d3\u05e9!",fp_Title:"\u05d0\u05e4\u05e1 \u05d0\u05ea \u05d4\u05e1\u05d9\u05e1\u05de\u05d4 \u05e9\u05dc\u05da",fp_Helper:"\u05de\u05dc\u05d0 \u05d0\u05ea \u05d4\u05e4\u05e8\u05d8\u05d9\u05dd \u05d1\u05db\u05d3\u05d9 \u05dc\u05e7\u05d1\u05dc \u05e1\u05d9\u05e1\u05de\u05d4 \u05d7\u05d3\u05e9\u05d4 \u05d1\u05d3\u05d5\u05d0\u05e8 \u05d0\u05dc\u05e7\u05d8\u05e8\u05d5\u05e0\u05d9",fp_EMailHelper:"\u05db\u05e4\u05d9 \u05e9\u05de\u05d5\u05e4\u05d9\u05e2 \u05d1\u05d7\u05e9\u05d1\u05d5\u05df \u05e9\u05dc\u05da",fp_result_0:"\u05e0\u05db\u05e9\u05dc \u05d1\u05d0\u05d9\u05de\u05d5\u05ea \u05d4\u05de\u05e9\u05ea\u05de\u05e9",fp_result_1:"\u05e1\u05d9\u05e1\u05de\u05d4 \u05d7\u05d3\u05e9\u05d4 \u05e0\u05e9\u05dc\u05d7\u05d4 \u05dc\u05ea\u05d9\u05d1\u05ea \u05d4\u05d3\u05d5\u05d0\u05e8 \u05e9\u05dc\u05da",pleaseWait:"\u05d0\u05e0\u05d0 \u05d4\u05de\u05ea\u05df ...",_isRTL:true},ru:{_LANG:"\u0420\u0443\u0441\u0441\u043a\u0438\u0439",login:"\u0412\u0445\u043e\u0434",loginBtn:"\u0412\u043e\u0439\u0442\u0438",user:"\u041f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c",password:"\u041f\u0430\u0440\u043e\u043b\u044c",company:"\u041a\u043e\u043c\u043f\u0430\u043d\u0438\u044f",rememberMe:"\u0417\u0430\u043f\u043e\u043c\u043d\u0438\u0442\u044c",forgotPassword:"\u0417\u0430\u0431\u044b\u043b\u0438 \u043f\u0430\u0440\u043e\u043b\u044c?",valueRequired:"\u0417\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u0434\u043e\u043b\u0436\u043d\u043e \u0431\u044b\u0442\u044c \u0432\u0432\u0435\u0434\u0435\u043d\u043e",email:"\u0415-\u043c\u0435\u0439\u043b",ok:"OK",cancel:"\u041e\u0442\u043c\u0435\u043d\u0438\u0442\u044c",invalidCredential:"\u041d\u0435\u0434\u043e\u043f\u0443\u0441\u0442\u0438\u043c\u044b\u0435 \u0443\u0447\u0435\u0442\u043d\u044b\u0435 \u0434\u0430\u043d\u043d\u044b\u0435! \u0412\u043e\u0439\u0442\u0438 \u043d\u0435 \u0443\u0434\u0430\u043b\u043e\u0441\u044c!",monLicExp:"\u0421\u0440\u043e\u043a \u0435\u0436\u0435\u043c\u0435\u0441\u044f\u0447\u043d\u043e\u0439 \u043b\u0438\u0446\u0435\u043d\u0437\u0438\u0438 \u0438\u0441\u0442\u0435\u043a. \u041f\u043e\u0436\u0430\u043b\u0443\u0439\u0441\u0442\u0430, \u0441\u0432\u044f\u0436\u0438\u0442\u0435\u0441\u044c \u0441 \u0412\u0430\u0448\u0438\u043c \u0434\u0438\u043b\u0435\u0440\u043e\u043c.",gracePeriod:"\u041f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u043d\u0435 \u043c\u043e\u0436\u0435\u0442 \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0435\u0436\u0435\u043c\u0435\u0441\u044f\u0447\u043d\u0443\u044e \u043b\u0438\u0446\u0435\u043d\u0437\u0438\u044e  \u0441 \u0443\u0434\u0430\u043b\u0435\u043d\u043d\u043e\u0433\u043e \u0441\u0435\u0440\u0432\u0435\u0440\u0430. \u0421\u0430\u0439\u0442 \u0431\u0443\u0434\u0443\u0442 \u0434\u043e\u0441\u0442\u0443\u043f\u0435\u043d \u0434\u043e \u043a\u043e\u043d\u0446\u0430 \u043c\u0435\u0441\u044f\u0446\u0430!",fp_Title:"\u0412\u043e\u0441\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u0435 \u043f\u0430\u0440\u043e\u043b\u044f",fp_Helper:"\u0417\u0430\u043f\u043e\u043b\u043d\u0438\u0442\u0435 \u0432\u0430\u0448\u0438 \u0434\u0430\u043d\u043d\u044b\u0435 \u0434\u043b\u044f \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u044f \u043d\u043e\u0432\u043e\u0433\u043e \u043f\u0430\u0440\u043e\u043b\u044f \u043f\u043e \u0435-\u043c\u0435\u0439\u043b\u0443",fp_EMailHelper:"\u041a\u0430\u043a \u0437\u0430\u043f\u0438\u0441\u0430\u043d\u043e \u0432 \u0432\u0430\u0448\u0435\u0439 \u0443\u0447\u0435\u0442\u043d\u043e\u0439 \u0437\u0430\u043f\u0438\u0441\u0438",fp_result_0:"\u041d\u0435 \u0443\u0434\u0430\u043b\u043e\u0441\u044c \u043f\u0440\u043e\u0432\u0435\u0440\u0438\u0442\u044c \u043f\u043e\u0434\u043b\u0438\u043d\u043d\u043e\u0441\u0442\u044c \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f",fp_result_1:"\u041d\u043e\u0432\u044b\u0439 \u043f\u0430\u0440\u043e\u043b\u044c \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u0435\u043d \u043d\u0430 \u0412\u0430\u0448 \u0435-\u043c\u0435\u0439\u043b",pleaseWait:"\u041f\u043e\u0436\u0430\u043b\u0443\u0439\u0441\u0442\u0430 \u043f\u043e\u0434\u043e\u0436\u0434\u0438\u0442\u0435...",_isRTL:false},zh:{_LANG:"\u4e2d\u6587(\u7b80\u4f53)",login:"\u767b\u5f55",loginBtn:"\u767b\u5f55",user:"\u7528\u6237",password:"\u5bc6\u7801",company:"\u516c\u53f8",rememberMe:"\u8bb0\u4f4f\u6211",forgotPassword:"\u5fd8\u8bb0\u5bc6\u7801\u4e86\uff1f",valueRequired:"\u503c\u662f\u5fc5\u9700\u7684",email:"\u7535\u5b50\u90ae\u4ef6",ok:"OK",cancel:"\u53d6\u6d88",invalidCredential:"\u65e0\u6548\u7684\u767b\u5f55\u51ed\u636e\uff01\u767b\u5f55\u5931\u8d25\uff01",monLicExp:"\u60a8\u6bcf\u6708\u7684\u8bb8\u53ef\u8bc1\u5df2\u8fc7\u671f\u3002\u8bf7\u8054\u7cfb\u60a8\u7684\u7ecf\u9500\u5546\u3002",gracePeriod:"\u5e94\u7528\u7a0b\u5e8f\u65e0\u6cd5\u4ece\u8fdc\u7a0b\u670d\u52a1\u5668\u6bcf\u6708\u8bb8\u53ef\u8bc1\uff0c\u8bf7\u68c0\u67e5\u60a8\u7684\u4e92\u8054\u7f51\u8fde\u63a5\u3002 WFL\u5c06\u53ef\u7528\u81f3\u6708\u5e95\uff01",fp_Title:"\u91cd\u7f6e\u60a8\u7684\u5bc6\u7801",fp_Helper:"\u5728\u586b\u5199\u60a8\u7684\u8be6\u7ec6\u8d44\u6599\u901a\u8fc7\u7535\u5b50\u90ae\u4ef6\u83b7\u5f97\u4e00\u4e2a\u65b0\u7684\u5bc6\u7801",fp_EMailHelper:"\u5c06\u51fa\u73b0\u5728\u60a8\u7684\u5e10\u6237",fp_result_0:"\u65e0\u6cd5\u9a8c\u8bc1\u7528\u6237",fp_result_1:"\u65b0\u5bc6\u7801\u5df2\u53d1\u9001\u5230\u60a8\u7684\u90ae\u7bb1",pleaseWait:"\u8bf7\u7b49\u5f85",_isRTL:false}};var preloadLoginFormIMG=new Image;preloadLoginFormIMG.src="resources/images/Login/LoginForm.png";function LoginClass(b){var a=this;a.ul=$("<ul/>");a.target=$(b).addClass("fgMnu fgMnuLTR").append(a.ul);a.formBox=$(".lgnFormBox");a.lgnFrmTable=$("#lgnFrmTable");a.tbUser=$("#UserNameText");a.tbPass=$("#PasswordText");a.tbCompany=$("#CompanyName");a.cbRememMe=$("#chBoxRememb");a.vldSummaryLocal=$("#vldSummaryLocal");a.vldSummaryExcUC=$("#vldSummaryExcUC");a.lblImportantMsg=$("#lblImportantMsg");a.btnLogin=$("#btnLogon");a.btnForgotPass=$("#btnForgotPass");a.hdnLanguage=$("#hdnLanguage");a.init()}LoginClass.prototype={target:$([]),ul:$([]),ulSub:$([]),selFlag:$([]),lgnFrmTable:$([]),formBox:$([]),tbUser:$([]),tbPass:$([]),tbCompany:$([]),cbRememMe:$([]),vldSummaryLocal:$([]),vldSummaryExcUC:$([]),lblImportantMsg:$([]),btnLogin:$([]),btnForgotPass:$([]),dialogButtons:null,$fpForm:{PopUp:$([]),user:$([]),comp:$([]),email:$([]),lblHelper:$([]),lblUser:$([]),lblComp:$([]),lblEmail:$([]),lblEmailHelper:$([])},MSG:TRAN.en,hdnLanguage:$([]),init:function(){var a=this,h=a.tbUser.attr("value").length===0;$([a.tbCompany,a.cbRememMe]).TBBehaviour({onEnter:function(){setTimeout(function(){a.btnLogin.click()},100)}});a.tbUser.TBBehaviour({onEnter:function(){setTimeout(function(){a.tbPass.focus()},100)}});a.tbPass.TBBehaviour({onEnter:function(){if(a.tbCompany.val().Trim().length>0)a.btnLogin.click();else a.tbCompany.select()}});a.btnForgotPass.click(function(){return a.forgotPassword()});a.ulSub=$("<ul/>");a.ul.append($("<li/>").addClass("FmFNL").append($('<a href="#"/>').addClass("FmNoLnk").append(a.selFlag=$("<span/>").addClass("flag")).click(function(){void 0;return false})).append(a.ulSub));for(var g,b,f=["en","es","nl","fr","he","ru","zh"],d=0;d<f.length;d++){b=f[d];g=TRAN[b];a.ulSub.append($("<li/>").data("lan",b).append($('<a href="#"/>').append($("<span/>").addClass("flag flag-"+b)).append($('<span class="txt"/>').text(g._LANG)).click(function(){return a.setLanguage($(this).parent().data("lan"))})))}var c=MPage.Cookie.Get(MPage.CookieKEYS.Language);if(c==null)c=a.hdnLanguage.val();a.setLanguage(c,true);var e=function(){try{(a.tbUser.val()==""?a.tbUser:a.tbPass)[0].focus()}catch(b){}};if(h)a.formBox.show("clip",500,e);else a.formBox.show(0,e)},setLanguage:function(c,e){var a=this,b=a.MSG;if(TRAN[c]!==undefined)b=a.MSG=TRAN[c];$("#lblLogin").text(b.login);$("#lblUser").text(b.user);$("#lblPassword").text(b.password);$("#lblCompany").text(b.company);a.cbRememMe.next().text(b.rememberMe);a.btnLogin.val(b.loginBtn);a.btnForgotPass.text(b.forgotPassword);var d=function(){var b=$(this);typeof b.data("tran")==="undefined"&&b.data("tran",b.text());typeof a.MSG[b.data("tran")]!=="undefined"&&b.text(a.MSG[b.data("tran")])};a.vldSummaryLocal.find("li").each(d);a.lblImportantMsg.each(d);if(b._isRTL)a.formBox.addClass("dirRTL");else a.formBox.removeClass("dirRTL");a.selFlag.removeClass().addClass("flag flag-"+c);if(e!==true){a.vldSummaryExcUC.hide();a.tbUser[0].focus();a.target.hide(0,function(){setTimeout(function(){a.target.fadeIn(400)},100)})}MPage.Cookie.Set(MPage.CookieKEYS.Language,c);a.hdnLanguage.val(c);return false},handleErrorField:function(a){var b=function(){var a=$(this);if(a.val().Trim().length>0){a.removeClass("tbError");a.unbind(".RemoveErrCSS")}};a.bind("change.RemoveErrCSS blur.RemoveErrCSS keyup.RemoveErrCSS",b);a.addClass("tbError");alert(this.MSG.valueRequired);a[0].focus();return false},submitForm:function(){var a=this;if(UTILS.Validation.IsEmptyString(a.tbUser.val()))return a.handleErrorField(a.tbUser);if(UTILS.Validation.IsEmptyString(a.tbPass.val()))return a.handleErrorField(a.tbPass);if(UTILS.Validation.IsEmptyString(a.tbCompany.val()))return a.handleErrorField(a.tbCompany);a.ul.hide();a.btnForgotPass.hide();a.lgnFrmTable.hide("blind",500,function(){a.vldSummaryLocal.hide();var b=0,c=$('<div class="dirLTR"/>'),d=$("<div/>").append($('<label class="frmLabel" style="display:inline-block;padding-bottom:4px"/>').text(a.MSG.pleaseWait)).append($("<br/>")).append(c).hide();$(this).parent().append(d);c.ProgressBar({classPrefix:"progBar1"});d.show("blind",100,function(){setInterval(function(){if(b>99)b=0;c.ProgressBar({classPrefix:"progBar1",onFinishClassExt:null,value:++b})},100)})});return true},submitForgotPassword:function(){var b=this,a=b.$fpForm,c=a.PopUp,d=b.MSG;if(UTILS.Validation.IsEmptyString(a.user.val()))return b.handleErrorField(a.user);if(UTILS.Validation.IsEmptyString(a.comp.val()))return b.handleErrorField(a.comp);if(UTILS.Validation.IsEmptyString(a.email.val()))return b.handleErrorField(a.email);a.PopUp.dialog("option","buttons",null);$([a.user,a.comp,a.email]).each(function(){$(this).attr("readonly",true).attr({disabled:true})});a.email.addClass("bgLockedAnimated");var e={user:a.user.val(),company:a.comp.val(),email:a.email.val()};$.ajax({type:"POST",contentType:"application/json",dataType:"json",processData:false,cache:false,timeout:6e4,global:false,error:MPage.Util.HandleAjaxErrorMSG,url:"default.aspx/ForgotPasswordReset",data:JSON.stringify(e),success:function(b){switch(b.d){case"0":alert(d.fp_result_0);a.user.select();break;case"1":alert(d.fp_result_1);c.dialog("isOpen")&&c.dialog("close");break;default:alert("WORNING 684-292-444!")}},complete:function(){$([a.user,a.comp,a.email]).each(function(){$(this).attr("readonly",false).attr({disabled:false})});a.email.removeClass("bgLockedAnimated");c.dialog("option","buttons")===null&&c.dialog("option","buttons",b.dialogButtons);a.user.select()}})},forgotPassword:function(){var c=this,a=c.$fpForm,b=a.PopUp,d=c.MSG;if(b.length==0){var f=$("<div/>");f.append(a.lblHelper=$('<div style="padding:8px"/>'));var g=a.email=$('<input type="text" class="dirLTR"/>').TBBehaviour({onEnter:function(){a.PopUp.dialog("option","buttons")[1].click()}}),e=a.comp=$('<input type="text" class="dirLTR"/>').TBBehaviour({onEnter:g}),h=a.user=$('<input type="text" class="dirLTR"/>').TBBehaviour({onEnter:e});f.append('<div class="imgForgotPass xfloatB"/>');f.append($('<div class="dlgFPContent xfloatB"/>').append(a.lblUser=$("<label/>").css({"padding-top":"0px"})).append($("<br/>")).append(h).append($("<br/>")).append(a.lblComp=$("<label/>")).append($("<br/>")).append(e).append($("<br/>")).append(a.lblEmail=$("<label/>")).append($("<br/>")).append(g).append($("<br/>")).append(a.lblEmailHelper=$('<span class="fpEMailHelper"/>')));c.dialogButtons=[{text:c.MSG.cancel,click:function(){$(this).dialog("close")}},{text:c.MSG.ok,click:function(){c.submitForgotPassword()}}];b=a.PopUp=$(UTILS.jQuery.ShowDialog("",f[0],c.dialogButtons,{resizable:false,minWidth:320,show:"highlight",hide:"clip",autoOpen:false}));b.dialog({open:function(){if(h.val().length>0)if(e.val().length>0)g.focus();else e.focus();else h.focus()}})}if(b.dialog("option","buttons")!==null){$([a.user,a.comp,a.email]).each(function(){$(this).removeClass("tbError").unbind(".RemoveErrCSS")});a.user.val(c.tbUser.val());a.comp.val(c.tbCompany.val());b.dialog("option","buttons")[0].text=d.cancel;b.dialog("option","buttons")[1].text=d.ok;b.dialog("option","buttons",c.dialogButtons)}b.dialog("option","title",d.fp_Title);a.lblHelper.text(d.fp_Helper+":");a.lblUser.text(d.user);a.lblComp.text(d.company);a.lblEmail.text(d.email);a.lblEmailHelper.text("({0})".format(d.fp_EMailHelper));if(d._isRTL)b.parent().addClass("dirRTL");else b.parent().removeClass("dirRTL");b.dialog("option","position","center");b.dialog("open");return false}};var loginClass;$(function(){parent.document.getElementById("nodedetails")!=null&&parent.navigate(window.location.pathname);loginClass=new LoginClass("#ddlLan")})
