$(document).ready(function(){var c=$(".common-sub-body").innerWidth()-200;$(".LongComment").find("span").attr("style","word-wrap: break-word;white-space: pre-wrap;width:"+c+"px; display:block;");768<=$(document).width()?$(".LongComment").find("span").attr("style","word-wrap: break-word;white-space: pre-wrap;width:"+c+"px; display:block;"):$(".LongComment").find("span").attr("style","word-wrap: break-word;white-space: pre-wrap;");$("#tpmCommentsTable tr").click(function(){var a=$(".common-sub-header").innerWidth()- 100;setTimeout(function(){$(".dtr-data span").replaceWith(function(){return'
'+$(this).html()+"
"})},2)})}); function commoninitPopup(c){c="#"+c;$(c).fadeIn(300);$(c).height();var a=($(c).width()+24)/2;$(document).height();640<$(document).width()?$(c).css({top:200+$(window).scrollTop(),"margin-left":-a}):$(c).css({top:$(window).scrollTop(),"margin-left":-a});$("body").append('
');$("#mask").fadeIn(300)}function commonshowPopup(c){commoninitPopup(c)} function commonhidePopup(c){$(".service-popup").removeClass("service-popuppos");document.getElementById(c).style.display="none";document.getElementById("mask").style.display="none"} $(document).ready(function(c){$(".okButn").click(function(){$(".service-popup").addClass("service-popuppos")});c=$(".jstlErrorWEF span").text();null==c||""==c?(0==$("#error .jstlErrorWEF .errorMessage").length&&$("#error .jstlErrorWEF").hide(),null!=$("body").find("#errorMsg").val()&&(0<$("#error .jstlError").length?($("body").find("#error .jstlError").show(),$("body").find("#error .jstlErrorWEF").show()):($("body").find("#error .jstlError").hide(),$("body").find("#error .jstlErrorWEF").hide()))): $("body").find("#error").show()}); $(document).ready(function(){(-1!==navigator.userAgent.indexOf("MSIE")||0form>span>.eservice-sub-container").html())),$("span .mainBody").hide(),$(".fullwidth").prepend($("
"+$(".dashboardProfileImg").html()+"
")), $(".threeColumns div").css({border:"1px solid #ccc"}),$(".PopupDiv").append($("
"+$(".form>#indMatchConfirm>.headsec").html()+"
")),$(".PopupDiv").append($("
"+$(".btn_section").html()+"
")),$("span .common-header").remove(),$("span .helpText").remove(),$(".reportTable tbody").prepend($($("span>.reportTable>tbody").html())),$("span .reportTable").remove(),$("span .fourSteps").remove())}); $(document).ready(function(){if($("#helpbox").attr("id")){$(document).height();var c=$(document).width();768<=c?"Yes"!=localStorage.getItem("closeHelpbox")&&localStorage.getItem("closeHelpbox")&&""!=localStorage.getItem("closeHelpbox")?"No"==localStorage.getItem("closeHelpbox")&&$("#helpbox").hide():$("#helpbox").show():$("#helpbox").hide();$(".common-header h1").addClass("wfloatleft");$("#eservice-container").css({width:"99%"});$("#helpbox").addClass("wfloatright");$("#helpbox").css({width:"25% !important"}); $(".common-header").prepend($('

'));768<=c&&("Yes"!=localStorage.getItem("closeHelpbox")&&localStorage.getItem("closeHelpbox")? "No"==localStorage.getItem("closeHelpbox")&&($("#btn2").hide(),$("#btn1").show()):($("#btn2").show(),$("#btn1").hide()));$("#videothumb").click(function(){$("#helpbox").after($('
'));if(768<=c){$("#box").show();popupId="#box";$(popupId).fadeIn(300);var a=($(popupId).height()+24)/2,d=($(popupId).width()+24)/2;$(popupId).css({"margin-top":-a,"margin-left":-d});$("body").append('
');$("#mask").fadeIn(100)}$("#close").click(function(){$("#box").hide();$("#box1").hide();$("#mask").hide();$("#box").remove();$("#mask").remove()})});$("#btn2").click(function(){localStorage.setItem("closeHelpbox", "No");$(document).height();768<=$(document).width()&&($("#eservice-container").css({width:"100%"}),$("#eservice-container").addClass("wfloatleft"),$("#helpbox").addClass("helpboxmargin"),$("#helpbox").hide(),$("#btn2").hide(),$("#btn1").show())});$("#finish").click(function(){$("#box1").hide();$("#mask").hide()});$("#btn1").click(function(){localStorage.setItem("closeHelpbox","Yes");$("#eservice-container").css({width:"99%"});$("#eservice-container").addClass("wfloatleft");if(768<=c)$("#helpbox").show(), $("#btn1").hide(),$("#btn2").show();else{$(".help_box_header").append($('

X

'));$("#helpbox").after($('
'+ $("#helpbox").html()+'
'));$("#videostreming").hide();$("#btn2").hide();$("#btn1").show();$("#box1").show();popupId="#box1";$(popupId).fadeIn(300);$(popupId).height();var a=($(popupId).width()+24)/2;$(popupId).css({top:$(window).scrollTop(),"margin-left":-a});$("body").append('
');$("#mask").fadeIn(100);$(".video_link").click(function(){$("#videostreming").show()}); $(".closeb").click(function(){$("#videostreming").remove();$("#box1").hide();$("#box").hide();$("#mask").hide();$(".append1").remove();$("#mask").remove()})}});$(document).on("keyup",function(a){27==a.keyCode&&($("#box").hide(),$("#box1").hide(),$("#mask").hide(),$("#mask").remove())});$("#close").click(function(){$("#box").hide();$("#box1").hide();$("#mask").hide();$("#mask").remove()})}});ie5=document.getElementById&&document.all&&document.styleSheets?1:0; nn6=document.getElementById&&!document.all?1:0;xConfirmStart=800;yConfirmStart=100;if(ie5||nn6)ie5?(cs=2,th=30):(cs=0,th=20),$(document).ready(function(){$("body").append($("
  
"))}); function leftJsConfirm(c,a){document.getElementById("jsconfirm").style.display="none";var d=leftJsConfirmUri;c?(document.getElementById("dialogoverlay").style.display="none",eval(c+"('"+a+"');")):(document.getElementById("dialogoverlay").style.display="none",navigator.appName.indexOf("Microsoft"),fireEvent(document.getElementById(d),"click"))} function fireEvent(c,a){if(document.createEvent){var d=document.createEvent("MouseEvents");d.initEvent(a,!0,!1);c.dispatchEvent(d)}else document.createEventObject&&(d=document.createEventObject(),c.fireEvent("on"+a,d))}function rightJsConfirm(){document.getElementById("jsconfirm").style.display="none";document.location.href=rightJsConfirmUri;document.getElementById("dialogoverlay").style.display="none"} function confirmAlternative(){confirm("Scipt requieres a better browser!")&&(document.location.href="http://www.mozilla.org")}rightJsConfirmUri=leftJsConfirmUri=""; function showConfirm(c,a,d,b,e,f){document.getElementById("dialogoverlay").style.display="block";document.getElementById("jsconfirm").style.display="block";document.getElementById("jsconfirmtitle").innerHTML=c;document.getElementById("jsconfirmcontent").innerHTML=a;document.getElementById("jsconfirmleft").value=d;document.getElementById("jsconfirmright").value=e;leftJsConfirmUri=b;rightJsConfirmUri=f;xConfirm=xConfirmStart;yConfirm=yConfirmStart;document.getElementById("jsconfirmleft").onclick=function(){leftJsConfirm("", "")};ie5?(document.getElementById("jsconfirm").style.left="25%",document.getElementById("jsconfirm").style.top="35%"):nn6?(document.getElementById("jsconfirm").style.top="25%",document.getElementById("jsconfirm").style.left="35%"):confirmAlternative();return!1} function showConfirmForStateFramework(c,a,d,b,e,f,h,k){document.getElementById("dialogoverlay").style.display="block";document.getElementById("jsconfirm").style.display="block";document.getElementById("jsconfirmtitle").innerHTML=c;document.getElementById("jsconfirmcontent").innerHTML=a;document.getElementById("jsconfirmleft").value=d;document.getElementById("jsconfirmright").value=e;document.getElementById("jsconfirmleft").onclick=function(){leftJsConfirm(h,k)};stateframeworkvar=k;functionname=h; leftJsConfirmUri=b;rightJsConfirmUri=f;xConfirm=xConfirmStart;yConfirm=yConfirmStart;ie5?(document.getElementById("jsconfirm").style.left="25%",document.getElementById("jsconfirm").style.top="35%"):nn6?(document.getElementById("jsconfirm").style.top="25%",document.getElementById("jsconfirm").style.left="35%"):confirmAlternative();return!1} function CustomAlert(){this.render=function(c){var a=window.innerWidth,d=window.innerHeight,b=document.getElementById("dialogoverlay"),e=document.getElementById("dialogbox");b.style.display="block";b.style.height=d+"px";e.style.left=a/2-275+"px";e.style.top="100px";e.style.display="block";document.getElementById("dialogboxhead").innerHTML="MOI E-services";document.getElementById("dialogboxheadar").innerHTML="\u0648\u0632\u0627\u0631\u0629 \u0627\u0644\u062f\u0627\u062e\u0644\u064a\u0629 \u2013 \u0627\u0644\u062e\u062f\u0645\u0627\u062a \u0627\u0644\u0625\u0644\u0643\u062a\u0631\u0648\u0646\u064a\u0629"; document.getElementById("dialogboxbody").innerHTML=c;document.getElementById("dialogboxfoot").innerHTML='';document.getElementById("dialogboxfootar").innerHTML=''};this.ok=function(){document.getElementById("dialogbox").style.display="none";document.getElementById("dialogoverlay").style.display="none"}}var Alert=new CustomAlert; $(document).ready(function(){$("#topvalueshow").click(function(){$("#topvalueshows").animate({top:"0px"},1E3)});$("#hide").click(function(){$("p").hide()});$("#show").click(function(){$("p").show()});$("#search").animate({width:"0px"},1E3,function(){$(this).hide()})}); $(document).ready(function(){$("body").append($('
'));$("#dialogboxhead:lang(en)").show();$("#dialogboxheadar:lang(ar)").show();$("#dialogboxfoot:lang(en)").show();$("#dialogboxfootar:lang(ar)").show()}); (function(c){c.sliderTabs=function(a,d){var b=this,e={autoplay:!1,tabArrowWidth:35,classes:{leftTabArrow:"",panel:"",panelActive:"",panelsContainer:"",rightTabArrow:"",tab:"",tabActive:"",tabsList:""},defaultTab:1,height:null,indicators:!1,mousewheel:!1,position:"top",panelArrows:!1,panelArrowsShowOnHover:!1,tabs:!0,tabHeight:30,tabArrows:!0,tabSlideLength:100,tabSlideSpeed:200,transition:"slide",transitionEasing:"easeOutCubic",transitionSpeed:100,width:null},f=c(a),h,k,p,m,t,l,u,v,n,q,r=!1,w=!0, g,x;b.selectedTab=e.defaultTab;b.init=function(){g=b.settings=c.extend({},e,d);f.addClass("ui-slider-tabs");p=f.children("div").addClass("ui-slider-tab-content").remove();k=f.children("ul").addClass("ui-slider-tabs-list").remove();k.children("li").remove().appendTo(k);b.count=k.children("li").length;t=c("
");m=c("
").append(k).appendTo(t);m.find("li").css("height",g.tabHeight+2);m.find("li a").css("height",g.tabHeight+ 2);u=c("
").css({width:g.tabArrowWidth,height:g.tabHeight+2}).appendTo(m).click(function(a){b.slideTabs("right",g.tabSlideLength);return!1});v=c("
").css({width:g.tabArrowWidth,height:g.tabHeight+2}).appendTo(m).click(function(a){b.slideTabs("left",g.tabSlideLength);return!1});l=c("
").append(p);"bottom"==g.position?f.append(l).append(t.addClass("bottom")): f.append(t).append(l);g.width&&f.width(parseInt(g.width));g.height&&l.height(parseInt(g.height)-g.tabHeight);g.indicators&&b.showIndicators();b.selectTab(g.defaultTab);b.slideTabs("left",0);y();z();f.delegate(".ui-slider-tabs-list li a","click",function(){c(this).parent().hasClass("selected")||r||b.selectTab(c(this).parent());return!1});h&&h.delegate(".ui-slider-tabs-indicator","click",function(){c(this).hasClass("selected")||r||b.selectTab(c(this).index()+1)});c.each(g.classes,function(a,b){switch(a){case "leftTabArrow":u.addClass(b); break;case "rightTabArrow":v.addClass(b);break;case "panel":p.addClass(b);break;case "panelsContainer":l.addClass(b);break;case "tab":k.find("li").addClass(b);break;case "tabsList":k.addClass(b)}});g.panelArrows&&A();g.panelArrowsShowOnHover&&(n&&n.addClass("showOnHover"),q&&q.addClass("showOnHover"));l.resize(A);t.resize(function(){B();z()});setInterval(function(){var a=l.children(".selected");a.outerHeight()>l.outerHeight()&&w&&C(a)},100);B();g.tabs||t.hide();g.autoplay&&setInterval(b.next,g.autoplay)}; b.selectTab=function(a){w=!1;var c="number"===typeof a?k.children("li:nth-child("+a+")"):a,d=c.find("a").attr("href").substr(1),d=l.children("#"+d);b.selectedTab="number"===typeof a?a:a.index()+1;C(d);r=!0;a=k.find(".selected").index()a?b.slideTabs("right",-a):0>c&&b.slideTabs("left",-c);g.indicators&&h&&(c=h.children("div:nth-child("+b.selectedTab+")"),c.siblings().removeClass("selected"),c.addClass("selected"))};b.next=function(){r||(b.count===b.selectedTab?b.selectTab(1):b.selectTab(b.selectedTab+1))};b.prev=function(){r||(1===b.selectedTab?b.selectTab(b.count):b.selectTab(b.selectedTab-1))};b.slideTabs=function(a,b){var c=parseInt(k.css("margin-left"));u.removeClass("edge"); v.removeClass("edge");"right"==a?c+=b:"left"==a&&(c-=b);0<=c?(c=0,u.addClass("edge")):c<=x&&(c=x,v.addClass("edge"));k.animate({"margin-left":c},g.tabSlideSpeed)};b.showIndicators=function(){if(h)h.show();else{h=c("
");for(var a=0;a
");l.append(h)}};b.hideIndicators=function(){h&&h.hide()};b.showTabArrows=function(){g.tabArrows&&(u.show(),v.show(),m.css("margin","0 "+g.tabArrowWidth+"px"))}; b.hideTabArrows=function(){u.hide();v.hide();m.css("margin","0")};b.showPanelArrows=function(){n&&n.show();q&&q.show()};b.hidePanelArrows=function(){n&&n.hide();q&&q.hide()};var y=function(){"slide"==g.transition&&k.children("li").each(function(a,b){var d=k.children(".selected").index(),e=c(b).index(),f=l.children("#"+c(b).find("a").attr("href").substr(1));de?f.css({left:"-"+l.width()+"px"}):f.addClass(g.classes.panelActive)});"fade"==g.transition&&k.children("li").each(function(a, b){var d=k.children(".selected").index(),e=c(b).index(),f=l.children("#"+c(b).find("a").attr("href").substr(1));d!=e?f.css({opacity:0}):f.addClass(g.classes.panelActive)})},D=function(a){return{hide:{slideleft:{left:"-"+a+"px"},slideright:{left:a+"px"},fade:{opacity:0}},show:{slide:{left:0},fade:{opacity:1}}}},E=function(a,b){var c="slide"==g.transition?"slide"+b:g.transition;a.animate(D(l.width()).hide[c],g.transitionSpeed,g.transitionEasing,function(){a.hide();a.removeClass("selected");r=!1;y()})}, F=function(a){a.show();a.addClass(g.classes.panelActive).addClass("selected");a.animate(D(l.width()).show[g.transition],g.transitionSpeed,g.transitionEasing,function(){r=!1;w=!0;y()})},C=function(a){g.height||l.animate({height:G(a)},200)},A=function(){g.panelArrows&&(n||q||(n=c("
").click(function(){b.prev()}),q=c("
").click(function(){b.next()}),n.appendTo(l),q.appendTo(l)),q.css({top:l.height()/2-q.outerHeight()/ 2}),n.css({top:l.height()/2-n.outerHeight()/2}))},B=function(){var a=0;k.children().each(function(b,d){a+=c(d).outerWidth(!0)});k.width(a);m.width()(a/=e/2)?b/2*a*a+d:-b/2*(--a*(a-2)-1)+d},easeInCubic:function(c,a,d,b,e){return b*(a/=e)*a*a+d},easeOutCubic:function(c,a,d,b,e){return b*((a=a/e-1)*a*a+1)+d},easeInOutCubic:function(c,a,d,b,e){return 1>(a/=e/2)?b/2*a*a*a+d:b/2*((a-=2)*a*a+2)+d}, easeInQuart:function(c,a,d,b,e){return b*(a/=e)*a*a*a+d},easeOutQuart:function(c,a,d,b,e){return-b*((a=a/e-1)*a*a*a-1)+d},easeInOutQuart:function(c,a,d,b,e){return 1>(a/=e/2)?b/2*a*a*a*a+d:-b/2*((a-=2)*a*a*a-2)+d},easeInQuint:function(c,a,d,b,e){return b*(a/=e)*a*a*a*a+d},easeOutQuint:function(c,a,d,b,e){return b*((a=a/e-1)*a*a*a*a+1)+d},easeInOutQuint:function(c,a,d,b,e){return 1>(a/=e/2)?b/2*a*a*a*a*a+d:b/2*((a-=2)*a*a*a*a+2)+d},easeInSine:function(c,a,d,b,e){return-b*Math.cos(a/e*(Math.PI/2))+ b+d},easeOutSine:function(c,a,d,b,e){return b*Math.sin(a/e*(Math.PI/2))+d},easeInOutSine:function(c,a,d,b,e){return-b/2*(Math.cos(Math.PI*a/e)-1)+d},easeInExpo:function(c,a,d,b,e){return 0==a?d:b*Math.pow(2,10*(a/e-1))+d},easeOutExpo:function(c,a,d,b,e){return a==e?d+b:b*(-Math.pow(2,-10*a/e)+1)+d},easeInOutExpo:function(c,a,d,b,e){return 0==a?d:a==e?d+b:1>(a/=e/2)?b/2*Math.pow(2,10*(a-1))+d:b/2*(-Math.pow(2,-10*--a)+2)+d},easeInCirc:function(c,a,d,b,e){return-b*(Math.sqrt(1-(a/=e)*a)-1)+d},easeOutCirc:function(c, a,d,b,e){return b*Math.sqrt(1-(a=a/e-1)*a)+d},easeInOutCirc:function(c,a,d,b,e){return 1>(a/=e/2)?-b/2*(Math.sqrt(1-a*a)-1)+d:b/2*(Math.sqrt(1-(a-=2)*a)+1)+d},easeInElastic:function(c,a,d,b,e){c=0;var f=b;if(0==a)return d;if(1==(a/=e))return d+b;c||(c=.3*e);fa?-.5*h*Math.pow(2,10*--a)*Math.sin(2*(a*e-c)*Math.PI/f)+d:h*Math.pow(2,-10*--a)*Math.sin(2*(a*e-c)*Math.PI/f)*.5+b+d},easeInBack:function(c,a,d,b,e,f){void 0==f&&(f=1.70158);return b*(a/=e)*a*((f+1)*a-f)+d},easeOutBack:function(c, a,d,b,e,f){void 0==f&&(f=1.70158);return b*((a=a/e-1)*a*((f+1)*a+f)+1)+d},easeInOutBack:function(c,a,d,b,e,f){void 0==f&&(f=1.70158);return 1>(a/=e/2)?b/2*a*a*(((f*=1.525)+1)*a-f)+d:b/2*((a-=2)*a*(((f*=1.525)+1)*a+f)+2)+d},easeInBounce:function(c,a,d,b,e){return b-$.easing.easeOutBounce(c,e-a,0,b,e)+d},easeOutBounce:function(c,a,d,b,e){return(a/=e)<1/2.75?7.5625*b*a*a+d:a<2/2.75?b*(7.5625*(a-=1.5/2.75)*a+.75)+d:a<2.5/2.75?b*(7.5625*(a-=2.25/2.75)*a+.9375)+d:b*(7.5625*(a-=2.625/2.75)*a+.984375)+d}, easeInOutBounce:function(c,a,d,b,e){return a