jQuery(document).ready(function(a){a.ajaxSetup({cache:!0});a("DIV#tabs span").click(function(b){a(this).hasClass("active")||(b=a(this).index()+1,a("DIV#tabs span.active").removeClass("active"),a(this).addClass("active"),a("DIV#tab DIV.cnt.active").removeClass("active"),a("DIV#tab DIV.cnt:nth-child("+b+")").addClass("active"))});a(".accord ul li:has(ul)").addClass("expand").find("ul").hide();a(".accord ul li.expand>a");a(".accord ul li.collapse>a").click(function(b){a(this).parent().addClass("expand").removeClass("collapse").find(">ul").slideUp(); b.stopImmediatePropagation()});a(".accord ul li.expand>a").click(function(b){a("ul.formlisting").css({display:"block"});a(this).parent().addClass("collapse").removeClass("expand").find(">ul").slideDown();b.stopImmediatePropagation()});a(".accord ul li.collapse li:not(.collapse)").click(function(a){a.stopImmediatePropagation()});a("input[type=button]").each(function(){$onclick=a(this).attr("onclick");void 0!=$onclick&&(0<=$onclick.indexOf("window.print();")||0<=$onclick.indexOf("window.print()"))&& a(this).addClass("moi-print-btn")});a(window).on('load',function(b){setTimeout(function(){a("#LoginPortletSecretField").removeAttr("readonly");a("#LoginPortletSecretField1").removeAttr("readonly")},100)})});function doHideExp(a){var b=$(a).attr("class");"expand"==b?$(a).attr("class","collapse"):"collapse"==b&&$(a).attr("class","expand")} $(document).ready(function(){$.ajaxSetup({cache:!0});$("ul.emirates-ul li").hover(function(){var a=$(this).text(),b=$(this).attr("class");makeactive_emirates(b);$(this).attr("class",b+" selected");$("#emirates-mid-block").attr("class",b);$(".emirates-title").text(a);$(".emirates-links ul#"+b).attr("class",b+" selected")},function(){var a=$(this).attr("class"),b=$(".emirates-links ul").attr("class").replace(" selected","");$(".emirates-links ul#"+a).attr("class",b)})}); function makeItInActive(a){var b=a.replace(" selected","");a=a.replace("selected");$(".emirates-links ul#"+b).attr("class",a)}function makeactive_emirates(a){$("ul.emirates-ul li").each(function(){if(!$(this).hasClass(a)&&$(this).hasClass("selected")&&$(this).hasClass){var b=$(this).attr("class");$(this).attr("class",b.replace(" selected",""));makeItInActive(b)}$(this).hasClass(a)&&($(this).text(),$(this).attr("class").replace(" selected",""),$("#emirates-mid-block").attr("class"))})} function doKeyPressLogin(a){"undefined"==typeof a&&window.event&&(a=window.event);13==a.keyCode&&(a=document.getElementById("LoginPortletSecretField"),a.value=base64_encode(a.value),document.getElementById("loginFormId").submit())} $(document).ready(function(){$("#LoginPortletFormSubmit").click(function(){function a(){$(".inptTextLoginpopup").focus(function(){$(this).removeAttr("style");"LoginPortletIDField1"==$(this).attr("id")&&("ar"==$("html").attr("lang")?$(this).attr("placeholder","\ue800 \u0627\u0633\u0645 \u0627\u0644\u0645\u0633\u062a\u062e\u062f\u0645 \u0623\u0648 \u0631\u0642\u0645 \u0627\u0644\u0647\u0648\u064a\u0629"):$(this).attr("placeholder","\ue800 Username or ID Number"));"LoginPortletSecretField1"==$(this).attr("id")&& ("ar"==$("html").attr("lang")?$(this).attr("placeholder","\ue818 \u0643\u0644\u0645\u0629 \u0627\u0644\u0645\u0631\u0648\u0631"):$(this).attr("placeholder","\ue818 Password"));"kapcha_value"==$(this).attr("name")&&("ar"==$("html").attr("lang")?$(this).attr("placeholder","\ue85f \u0627\u0644\u0631\u0645\u0632 \u0627\u0644\u0645\u0631\u0626\u064a"):$(this).attr("placeholder","\ue85f Enter Image Code"))})}function b(){$(".inptTextLoginpopup").focus(function(){$(this).removeAttr("style");"Please enter ID / user name"== $(this).val()?($(this).val(""),$(this).removeClass("placeholder")):"Please enter your password"==$(this).val()?($(this).val(""),$(this).removeClass("placeholder")):"Please Enter image code"==$(this).val()&&($(this).val(""),$(this).removeClass("placeholder"))})}function f(){!1===d?($("#LoginPortletIDField1").attr("style","border: 1px solid rgb(207, 0, 0) !important;background: rgb(255, 225, 225) none repeat scroll 0% 0% !important;"),"ar"==$("html").attr("lang")?$("#LoginPortletIDField1").attr("placeholder", "\u0623\u062f\u062e\u0644 \u0627\u0644\u0647\u0648\u064a\u0629 \u0623\u0648 \u0627\u0633\u0645 \u0627\u0644\u0645\u0633\u062a\u062e\u062f\u0645"):$("#LoginPortletIDField1").attr("placeholder","Please enter ID / user name")):$("#LoginPortletIDField1").removeAttr("style");!1===e?($("#LoginPortletSecretField1").attr("style","border: 1px solid rgb(207, 0, 0) !important;background: rgb(255, 225, 225) none repeat scroll 0% 0% !important;"),"ar"==$("html").attr("lang")?$("#LoginPortletSecretField1").attr("placeholder", "\u0623\u062f\u062e\u0644 \u0643\u0644\u0645\u0629 \u0627\u0644\u0645\u0631\u0648\u0631"):$("#LoginPortletSecretField1").attr("placeholder","Please enter your password")):$("#LoginPortletSecretField1").removeAttr("style");!1===c?($(".captchaInput").attr("style","border: 1px solid rgb(207, 0, 0) !important;background: rgb(255, 225, 225) none repeat scroll 0% 0% !important;"),"ar"==$("html").attr("lang")?$(".captchaInput").attr("placeholder","\u0623\u062f\u062e\u0644 \u0627\u0644\u0631\u0645\u0632 \u0627\u0644\u0645\u0631\u0626\u064a"): $(".captchaInput").attr("placeholder","Please Enter image code")):$(".captchaInput").removeAttr("style")}var e=!1,d=!1,c=!1;if(-1!==navigator.userAgent.indexOf("MSIE")||0>18&63,f=d>>12&63,e=d>>6&63,d&=63,h[g++]="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".charAt(b)+"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".charAt(f)+"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".charAt(e)+"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".charAt(d); while(c