var FrontProducts_generalSearch01={patternDate:/^[0-9]{4}-[0-9]{2}-[0-9]{2}$/,patternCurrency:/^\d{1,8}(\.\d{0,2})?$/,compId:"",mustInputKeyword:"false",inputkeyword:"",keyover:function(a,b){if(jQuery("#"+a+"_keyword").val()==b){jQuery("#"+a+"_keyword").val("");jQuery("#"+a+"_keyword").focus()}},keyout:function(a,b){if(this.trim(jQuery("#"+a+"_keyword").val())==""){jQuery("#"+a+"_keyword").val(b);jQuery("#"+a+"_keyword").addClass("input-keyword")}else{jQuery("#"+a+"_keyword").val(this.trim(jQuery("#"+a+"_keyword").val()));jQuery("#"+a+"_keyword").removeClass("input-keyword")}},trim:function(b,c){b=""+b;if(c=="l"||c=="L"){RegularExp=/^\s+/gi;return b.replace(RegularExp,"")}else{if(c=="r"||c=="R"){RegularExp=/\s+$/gi;return b.replace(RegularExp,"")}else{RegularExp=/^\s+|\s+$/gi;var a=b.replace(RegularExp,"");return a}}},validateForm:function(k,c,g){this.compId=k;this.mustInputKeyword=c;this.inputkeyword=g;if(this.checkKeywords()==false){return false}var j=jQuery("#"+this.compId+"_beginValue").val();var i=jQuery("#"+this.compId+"_endValue").val();var d=jQuery("#"+this.compId+"_propertyId").val();var b=jQuery("#"+this.compId+"_propertyType").val();var a=jQuery("#"+this.compId+"_areaType").val();var f=this.trim(jQuery("#"+this.compId+"_keyword").val());jQuery("#"+this.compId+"_keyword").val(f);if(f==this.inputkeyword){jQuery("#"+this.compId+"_keyword").val("")}var h="1";if(d!=null&&d!=""){if(b=="3"){h="3"}else{h="2"}}jQuery("#"+this.compId+"_searchType").val(h);if(a!=""){if(a=="BigDecimal"){if(this.checkNumber()==false){return false}}else{if(a=="Date"){if(this.isCheckAreaDate()==false){return false}}}}var e=jQuery("#"+this.compId+"_keyword").serialize();jQuery.ajax({type:"POST",url:"/FrontProducts.do?method=keywordStat",data:e,dataType:"text",cache:false,success:function(l){}});return true},checkKeywords:function(){if(this.mustInputKeyword=="true"){if(this.trim(jQuery("#"+this.compId+"_keyword").val())==this.inputkeyword||this.trim(jQuery("#"+this.compId+"_keyword").val())==""){alert(this.inputkeyword);jQuery("#"+this.compId+"_keyword").val("");jQuery("#"+this.compId+"_keyword").focus();return false}}return true},checkNumber:function(){if(jQuery("#"+this.compId+"_beginValue").val()&&!this.patternCurrency.test(jQuery("#"+this.compId+"_beginValue").val())){alert(i18n_products_error_beginValue);jQuery("#"+this.compId+"_beginValue").focus();return false}if(jQuery("#"+this.compId+"_endValue").val()&&!this.patternCurrency.test(jQuery("#"+this.compId+"_endValue").val())){alert(i18n_products_error_endValue);jQuery("#"+this.compId+"_endValue").focus();return false}if(jQuery("#"+this.compId+"_beginValue").val()&&jQuery("#"+this.compId+"_endValue").val()&&(parseInt(jQuery("#"+this.compId+"_beginValue").val())>parseInt(jQuery("#"+this.compId+"_endValue").val()))){alert(i18n_products_mustaboveprice);jQuery("#"+this.compId+"_endValue").focus();return false}return true},queryadvance:function(a,b){if(b=="_self"){location.href=a}else{window.open(a)}},changecategory:function(b,d,c,a){jQuery.getJSON("/FrontProducts.do?method=doGetTemplatePropertiesByCategoryId",{pmcId:c},function(g){if(g){var f="";_getElementById(b,d,"template").innerHTML=f}})},isCheckAreaDate:function(){if(jQuery("#"+this.compId+"_beginValue").val()&&!this.patternDate.test(jQuery("#"+this.compId+"_beginValue").val())){alert(i18n_products_inputcorrectdate);jQuery("#"+this.compId+"_beginValue").focus();return false}if(jQuery("#"+this.compId+"_endValue").val()&&!this.patternDate.test(jQuery("#"+this.compId+"_endValue").val())){alert(i18n_products_inputcorrectdate);jQuery("#"+this.compId+"_endValue").focus();return false}if(jQuery("#"+this.compId+"_beginValue").val()&&jQuery("#"+this.compId+"_endValue").val()&&(jQuery("#"+this.compId+"_beginValue").val()>jQuery("#"+this.compId+"_endValue").val())){alert(i18n_products_mustlessenddate);jQuery("#"+this.compId+"_endValue").focus();return false}return true}};var FrontColumns_navigation01={currentColumn:0,isShowSecondColumn:"",compId:"",addClickEvent:function(){$(".navMenu li").each(function(a){$(this).bind("click",function(){$("#columns-"+FrontColumns_navigation01.compId+"-"+FrontColumns_navigation01.currentColumn).removeClass("navMenubg"+FrontColumns_navigation01.currentColumn);$(this).addClass("navMenubg"+a);if(FrontColumns_navigation01.isShowSecondColumn.length>0){$("#secondColumns-"+FrontColumns_navigation01.compId+"-"+FrontColumns_navigation01.currentColumn).hide();$("#secondColumns-"+FrontColumns_navigation01.compId+"-"+a).show()}FrontColumns_navigation01.currentColumn=a})})},addMouseOverEvent:function(){$(".navMenu li").each(function(a){$(this).bind("mouseover",function(){$("#columns-"+FrontColumns_navigation01.compId+"-"+FrontColumns_navigation01.currentColumn).removeClass("navMenubg"+FrontColumns_navigation01.currentColumn);$(this).addClass("navMenubg"+a);if(FrontColumns_navigation01.isShowSecondColumn.length>0){$("#secondColumns-"+FrontColumns_navigation01.compId+"-"+FrontColumns_navigation01.currentColumn).hide();$("#secondColumns-"+FrontColumns_navigation01.compId+"-"+a).show()}})})},addMouseOutEvent:function(){$(".navMenu li").each(function(a){$(this).bind("mouseout",function(){$(this).removeClass("navMenubg"+a);$("#columns-"+FrontColumns_navigation01.compId+"-"+FrontColumns_navigation01.currentColumn).addClass("navMenubg"+FrontColumns_navigation01.currentColumn);if(FrontColumns_navigation01.isShowSecondColumn.length>0){$("#secondColumns-"+FrontColumns_navigation01.compId+"-"+a).hide();$("#secondColumns-"+FrontColumns_navigation01.compId+"-"+FrontColumns_navigation01.currentColumn).show()}})})},setSelectedColumn:function(a){var b=this.getUrlParam(a);if(b!=null){this.currentColumn=b}},setFocusColumn:function(){$("#columns-"+FrontColumns_navigation01.compId+"-"+this.currentColumn).addClass("navMenubg"+this.currentColumn);if(this.isShowSecondColumn.length>0){$("#secondColumns-"+FrontColumns_navigation01.compId+"-"+this.currentColumn).show()}},getUrlParam:function(a){var b=new RegExp("(^|&)"+a+"=([^&]*)(&|$)");var c=window.location.toString().match(b);if(c!=null){return unescape(c[2])}return null},init:function(c,b,a){this.compId=c;this.isShowSecondColumn=a;this.setSelectedColumn(c+"-"+b);this.addClickEvent();this.addMouseOverEvent();this.addMouseOutEvent();this.setFocusColumn()},extEvents:function(d,a){var b=this.getUrlParam(d+"FirstColumnId");var c=this.getUrlParam(d+"SecondColumnId");if(b==null){b=$("#"+d+" ul.nav-first .first").attr("id")}else{b="columns"+b}if(c==null){c=$("#"+d+" #"+b+" .nav-second .nav-sec-main ul li:first a").attr("id")}else{c="cols"+c}$("#"+d+" #"+b).addClass("current");$("#"+d+" #"+c).addClass("current-a");$("#"+d+" #"+b+"Sub").show();if(a){$("#"+d+" ul.nav-first li[id^='columns']").hover(function(){if($(this).attr("id")!=b){$("#"+d+" #"+b).removeClass("current");$("#"+d+" #"+b+"Sub").hide();$(this).addClass("current");$("#"+d+" #"+$(this).attr("id")+"Sub").show();if(!$(this).find(".nav-second .nav-sec-main a").hasClass("current-a")){$(this).find(".nav-second .nav-sec-main a:first").addClass("current-a")}}},function(){$(this).removeClass("current");$("#"+d+" #"+$(this).attr("id")+"Sub").hide();$("#"+d+" #"+b).addClass("current");$("#"+d+" #"+b+"Sub").show()});$("#"+d+" ul.nav-first li[id^='columns']").click(function(){$("#"+d+" #"+b).removeClass("current");$("#"+d+" #"+b+"Sub").hide();$(this).addClass("current");$("#"+d+" #"+$(this).attr("id")+"Sub").show();b=$("#"+d+" ul.nav-first li.current").attr("id")});$("#"+d+" ul.nav-first .nav-second .nav-sec-main a").click(function(){$(this).parent().parent().find("a").removeClass("current-a");$(this).addClass("current-a");var e=$(this).parents(".nav-second").attr("id");if(e!==b+"Sub"){$("#"+d+" #"+b).removeClass("current");$("#"+d+" #"+b+"Sub").hide();b=e.substring(0,e.length-3);$("#"+d+" #"+b).addClass("current");$("#"+d+" #"+e).show()}})}else{$("#"+d+" ul.nav-first li[id^='columns']").hover(function(){if($(this).attr("id")!=b){$("#"+d+" #"+b).removeClass("current");$(this).addClass("current")}},function(){$(this).removeClass("current");$("#"+d+" #"+b).addClass("current")});$("#"+d+" ul.nav-first li[id^='columns']").click(function(){$("#"+d+" #"+b).removeClass("current");$(this).addClass("current");b=$("#"+d+" ul.nav-first li.current").attr("id")})}},ddlevelsmenu:{enableshim:true,arrowpointers:{downarrow:["../images/columns/arrow-down.gif",11,7],rightarrow:["../images/columns/arrow-right.gif",12,12],showarrow:{toplevel:true,sublevel:true}},hideinterval:200,effects:{enableswipe:true,enablefade:true,duration:200},httpsiframesrc:"blank.htm",topmenuids:[],topitems:{},subuls:{},lastactivesubul:{},topitemsindex:-1,ulindex:-1,hidetimers:{},shimadded:false,nonFF:!/Firefox[\/\s](\d+\.\d+)/.test(navigator.userAgent),getoffset:function(b,a){return(b.offsetParent)?b[a]+this.getoffset(b.offsetParent,a):b[a]},getoffsetof:function(a){a._offsets={left:this.getoffset(a,"offsetLeft"),top:this.getoffset(a,"offsetTop")}},getwindowsize:function(){this.docwidth=window.innerWidth?window.innerWidth-10:this.standardbody.clientWidth-10;this.docheight=window.innerHeight?window.innerHeight-15:this.standardbody.clientHeight-18},gettopitemsdimensions:function(){for(var a=0;a0){this.shimmy.topshim.style.left=f+"px";this.shimmy.topshim.style.top=e+"px";this.shimmy.topshim.style.width="99%";this.shimmy.topshim.style.height=d+"px"}if(b>0){this.shimmy.bottomshim.style.left=f+"px";this.shimmy.bottomshim.style.top=g._offsets.top+g._dimensions.h+"px";this.shimmy.bottomshim.style.width="99%";this.shimmy.bottomshim.style.height=b+"px"}}},hideshim:function(){this.shimmy.topshim.style.width=this.shimmy.bottomshim.style.width=0;this.shimmy.topshim.style.height=this.shimmy.bottomshim.style.height=0},buildmenu:function(d,f,c,e,a,b){f._master=d;f._pos=e;f._istoplevel=a;if(a){this.addEvent(f,function(g){FrontColumns_navigation01.ddlevelsmenu.hidemenu(FrontColumns_navigation01.ddlevelsmenu.subuls[this._master][parseInt(this._pos)])},"click")}this.subuls[d][e]=c;f._dimensions={w:f.offsetWidth,h:f.offsetHeight,submenuw:c.offsetWidth,submenuh:c.offsetHeight};this.getoffsetof(f);c.style.visibility="hidden";this.addEvent(f,function(j){if(!FrontColumns_navigation01.ddlevelsmenu.isContained(this,j)){var h=FrontColumns_navigation01.ddlevelsmenu.subuls[this._master][parseInt(this._pos)];if(this._istoplevel){FrontColumns_navigation01.ddlevelsmenu.css(this,"selected","add");clearTimeout(FrontColumns_navigation01.ddlevelsmenu.hidetimers[this._master][this._pos])}FrontColumns_navigation01.ddlevelsmenu.getoffsetof(f);var l=window.pageXOffset?window.pageXOffset:FrontColumns_navigation01.ddlevelsmenu.standardbody.scrollLeft;var i=window.pageYOffset?window.pageYOffset:FrontColumns_navigation01.ddlevelsmenu.standardbody.scrollTop;var n=this._offsets.left+this._dimensions.submenuw+(this._istoplevel&&b=="topbar"?0:this._dimensions.w);var g=this._offsets.top+this._dimensions.submenuh;var m=(this._istoplevel?this._offsets.left+(b=="sidebar"?this._dimensions.w:0):this._dimensions.w);if(n-l>FrontColumns_navigation01.ddlevelsmenu.docwidth){m+=-this._dimensions.submenuw+(this._istoplevel&&b=="topbar"?this._dimensions.w:-this._dimensions.w)}h.style.left=m+"px";var k=(this._istoplevel?this._offsets.top+(b=="sidebar"?0:this._dimensions.h):this.offsetTop);if(g-i>FrontColumns_navigation01.ddlevelsmenu.docheight){if(this._dimensions.submenuh0){this.addEvent(window,function(){a()},"load")}},init:function(b,e){this.standardbody=(document.compatMode=="CSS1Compat")?document.documentElement:document.body;this.topitemsindex=-1;this.ulindex=-1;this.topmenuids.push(b);this.topitems[b]=[];this.subuls[b]=[];this.hidetimers[b]=[];if(this.enableshim&&!this.shimadded){this.shimmy={};this.shimmy.topshim=this.addshimmy(document.body);this.shimmy.bottomshim=this.addshimmy(document.body);this.shimadded=true}var j=document.getElementById(b);var d=j.getElementsByTagName("a");this.getwindowsize();for(var g=0;g0){this.shimmy.topshim.style.left=f+"px";this.shimmy.topshim.style.top=e+"px";this.shimmy.topshim.style.width="99%";this.shimmy.topshim.style.height=d+"px"}if(b>0){this.shimmy.bottomshim.style.left=f+"px";this.shimmy.bottomshim.style.top=g._offsets.top+g._dimensions.h+"px";this.shimmy.bottomshim.style.width="99%";this.shimmy.bottomshim.style.height=b+"px"}}},hideshim:function(){this.shimmy.topshim.style.width=this.shimmy.bottomshim.style.width=0;this.shimmy.topshim.style.height=this.shimmy.bottomshim.style.height=0},buildmenu:function(d,f,c,e,a,b){f._master=d;f._pos=e;f._istoplevel=a;if(a){this.addEvent(f,function(g){FrontColumns_navigation01.d2ddlevelsmenu.hidemenu(FrontColumns_navigation01.d2ddlevelsmenu.subuls[this._master][parseInt(this._pos)])},"click")}this.subuls[d][e]=c;f._dimensions={w:f.offsetWidth,h:f.offsetHeight,submenuw:c.offsetWidth,submenuh:c.offsetHeight};this.getoffsetof(f);c.style.visibility="hidden";this.addEvent(f,function(j){if(!FrontColumns_navigation01.d2ddlevelsmenu.isContained(this,j)){var h=FrontColumns_navigation01.d2ddlevelsmenu.subuls[this._master][parseInt(this._pos)];if(this._istoplevel){FrontColumns_navigation01.d2ddlevelsmenu.css(this,"selected","add");clearTimeout(FrontColumns_navigation01.d2ddlevelsmenu.hidetimers[this._master][this._pos])}FrontColumns_navigation01.d2ddlevelsmenu.getoffsetof(f);var l=window.pageXOffset?window.pageXOffset:FrontColumns_navigation01.d2ddlevelsmenu.standardbody.scrollLeft;var i=window.pageYOffset?window.pageYOffset:FrontColumns_navigation01.d2ddlevelsmenu.standardbody.scrollTop;var n=this._offsets.left+this._dimensions.submenuw+(this._istoplevel&&b=="topbar"?0:this._dimensions.w);var g=this._offsets.top+this._dimensions.submenuh;var m=(this._istoplevel?this._offsets.left+(b=="sidebar"?this._dimensions.w:0):this._dimensions.w);if(n-l>FrontColumns_navigation01.d2ddlevelsmenu.docwidth){m+=-this._dimensions.submenuw+(this._istoplevel&&b=="topbar"?this._dimensions.w:-this._dimensions.w)}h.style.left=m+"px";var k=(this._istoplevel?this._offsets.top+(b=="sidebar"?0:this._dimensions.h):this.offsetTop);if(g-i>FrontColumns_navigation01.d2ddlevelsmenu.docheight){if(this._dimensions.submenuhul");var d=c.find("ul").parent();d.each(function(g){var h=e(this);var f=e(this).find("ul:eq(0)");this._dimensions={w:this.offsetWidth,h:this.offsetHeight,subulw:f.outerWidth(),subulh:f.outerHeight()};this.istopheader=h.parents("ul").length==1?true:false;h.hover(function(l){var j=e(this).children("ul:eq(0)");_offsets={left:e(this).offset().left,top:e(this).offset().top};if(e(this).parents("ul").length==1){e(this).attr("class","current")}var m=this.istopheader?0:this._dimensions.w;var k=j.find("li");k.each(function(n){if(e(this).children("ul").length!=0){if(_offsets.left+m+this._dimensions.subulw*2>a){e(this).children("a").attr("class","has-left")}else{e(this).children("a").attr("class","has-right")}}});if(_offsets.left+m+this._dimensions.subulw*2>a){j.addClass(j.parents("ul").length==1||j.parents("ul").attr("class").indexOf("left-slid")!=-1?"left-slid":"left-forward")}e(this).attr("style",j.parents("ul").length==1?"position:relative;z-index:12;":"position:relative;");var i=e(this).children("a").attr("class");if(i!=undefined){if(i.indexOf("left")!=-1){e(this).children("a").addClass(" left-current")}else{if(i.indexOf("right")!=-1){e(this).children("a").addClass(" right-current")}}}e(this).find("ul").attr("style","visibility:visible");e(this).children("ul:eq(0)").find("ul").attr("style","visibility:hidden")},function(i){e(this).children("a").removeClass("right-current");e(this).children("a").removeClass("left-current");e(this).removeClass("current");e(this).find("ul").attr("style","visibility:hidden")})})})}};$(document).ready(function(){var a=null;function b(){if(a){return}a=setInterval(function(){$("#feature li.current a span").animate({top:"-55px"},"fast");$("#feature li.current a p").animate({top:"-55px"},"fast")},200)}function c(){if(!a){return}$("#feature li.current a span").animate({top:"0px"},"fast");$("#feature li.current a p").animate({top:"0px"},"fast");$("#feature li.current").removeClass("current");clearInterval(a);a=null}$("#feature li").hover(function(){$(this).addClass("current");b()},c)});var FrontMembers_findPasswordByMobile01={memberaccountFocus:function(b){var c=document.getElementById(b+"_usernameErr");var a=document.getElementById(b+"_usernameWrong");c.style.display="none";a.style.display="none"},memberaccountCheck:function(e,d){var c=document.getElementById(e);var b=trim(c.memberaccount.value);var f=document.getElementById(d+"_usernameErr");var a=document.getElementById(d+"_usernameWrong");if(b==null||b==""){f.style.display="";a.style.display="none";return false}else{return true}},showUserNameErrInfo:function(a,b){if(b!=null&&b=="memberAccountErrorMobile"){document.getElementById(a+"_usernameWrong").style.display="";document.getElementById(a+"_usernameErr").style.display="none"}},telephonenumberFocus:function(b){var c=document.getElementById(b+"_telephonenumberErr");var a=document.getElementById(b+"_telephonenumberWrong");c.style.display="none";a.style.display="none"},telephonenumberCheck:function(d,c){var b=document.getElementById(d);var f=trim(b.telephonenumber.value);var e=document.getElementById(c+"_telephonenumberErr");var a=document.getElementById(c+"_telephonenumberWrong");if(f==null||f==""){e.style.display="";a.style.display="none";return false}else{return true}},showMobileErrInfo:function(a,b){if(b!=null&&b=="telephoneNumberErrorMobile"){document.getElementById(a+"_telephonenumberWrong").style.display="";document.getElementById(a+"_telephonenumberErr").style.display="none"}},validatecodeFocus:function(a){var b=document.getElementById(a+"_validatecodeErr");var c=document.getElementById(a+"_validatecodeWrong");b.style.display="none";c.style.display="none"},validatecodeCheck:function(c,b){var a=document.getElementById(c);var f=trim(a.validatecode.value);var d=document.getElementById(b+"_validatecodeErr");var e=document.getElementById(b+"_validatecodeWrong");if(f==null||f==""){d.style.display="";e.style.display="none";return false}else{return true}},showValidatecodeErrInfo:function(a,b){if(b!=null&&b=="validateCodeErrorMobile"){document.getElementById(a+"_validatecodeWrong").style.display="";document.getElementById(a+"_validatecodeErr").style.display="none"}},sendCheckCode:function(c,b){var a=document.getElementById(c);if(!FrontMembers_findPasswordByMobile01.memberaccountCheck(c,b)){return false}if(!FrontMembers_findPasswordByMobile01.telephonenumberCheck(c,b)){return false}if(!FrontMembers_findPasswordByMobile01.validatecodeCheck(c,b)){return false}a.action="/FrontMembers.do?method=sendCheckCodeMobile&compId="+b;a.submit()},goToPage:function(a){document.location.href=a},checkcodeFocus:function(b){var a=document.getElementById(b+"_checkcodeErr");var c=document.getElementById(b+"_checkcodeWrong");a.style.display="none";c.style.display="none"},checkcodeCheck:function(e,d){var c=document.getElementById(e);var b=trim(c.checkcode.value);var a=document.getElementById(d+"_checkcodeErr");var f=document.getElementById(d+"_checkcodeWrong");if(b==null||b==""){a.style.display="";f.style.display="none";return false}else{return true}},showCheckCodeErrInfo:function(a,b){if(b!=null&&b=="checkCodeError"){document.getElementById(a+"_checkcodeWrong").style.display="";document.getElementById(a+"_checkcodeErr").style.display="none"}},checkCodeMobile:function(c,b){var a=document.getElementById(c);if(!FrontMembers_findPasswordByMobile01.checkcodeCheck(c,b)){return false}a.action="/FrontMembers.do?method=checkCodeMobile&compId="+b;a.submit()},reSendCheckCodeMobile:function(c,b){var a=document.getElementById(c);a.action="/FrontMembers.do?method=reSendCheckCodeMobile&compId="+b;a.submit()},countdown:function(d,c,e,a){var b=document.getElementById(c);if(e>0){b.disabled=true;b.innerHTML=a+"("+e+")";b.onclick=null;b.href="javascript:void(0)";var f=e-1;a=FrontMembers_findPasswordByMobile01.replaceAll(a,"'","\\'");window.setTimeout("FrontMembers_findPasswordByMobile01.countdown('"+d+"', '"+c+"',"+f+",'"+a+"')",1000)}else{b.disabled=false;b.innerHTML=a;b.href="javascript:FrontMembers_findPasswordByMobile01.reSendCheckCodeMobile('"+d+"' + '_showFindPasswordMobileForm', '"+d+"')"}},checkPwd:function(f,c){f=trim(f);var e=document.getElementById(c+"_showFindPasswordMobileForm");var a=document.getElementById(c+"_changePasswordNull");var b=document.getElementById(c+"_changePasswordWrong");var d=document.getElementById(c+"_changePassword");if(f.length<=0){a.style.display="";b.style.display="none";d.style.display="none";return false}else{if(f.length<6){a.style.display="none";b.style.display="";d.style.display="none";return false}else{a.style.display="none";b.style.display="none";d.style.display="";return true}}},changePasswordFocus:function(c){var a=document.getElementById(c+"_changePasswordNull");var b=document.getElementById(c+"_changePasswordWrong");var d=document.getElementById(c+"_changePassword");a.style.display="none";b.style.display="none";d.style.display=""},charMode:function(a){if(a>=48&&a<=57){return 0}if(a>=65&&a<=90){return 1}if(a>=97&&a<=122){return 2}else{return 3}},createRatePasswdReq:function(a,b){if(!a){return false}FrontMembers_findPasswordByMobile01.checkPasswdRate(a.value,b)},checkPasswdRate:function(e,k){e=trim(e);var c=document.getElementById(k+"_passwdRating_low");var b=document.getElementById(k+"_passwdRating_medium");var g=document.getElementById(k+"_passwdRating_high");var f=false;var j=false;var d=false;var h=false;if(c||b||g){for(i=0;i=12)||(f==true&&d==true&&h==true&&e.length>=12)||(f==true&&j==true&&h==true&&e.length>=12)){c.style.display="none";b.style.display="none";g.style.display=""}else{if((f==true&&j==true&&d==true)||(f==true&&h==true)||(j==true&&h==true)||(d==true&&h==true)||(j==true&&d==true&&h==true)){c.style.display="none";g.style.display="none";b.style.display=""}else{b.style.display="none";g.style.display="none";c.style.display=""}}}},checkConfirmPwd:function(d,c){d=trim(d);var f=document.getElementById(c+"_showFindPasswordMobileForm");var e=document.getElementById(c+"_conformPpasswordPrompt");var b=document.getElementById(c+"_conformPpasswordPromptPass");var a=f.newpwd.value;a=trim(a);if(d.length<=0){b.style.display="none";e.style.display="";return false}else{if(a!=d){b.style.display="";e.style.display="none";return false}else{e.style.display="none";b.style.display="none";return true}}},changePasswordConfirmFocus:function(b){var c=document.getElementById(b+"_conformPpasswordPrompt");var a=document.getElementById(b+"_conformPpasswordPromptPass");c.style.display="none";a.style.display="none"},changePasswordMobile:function(c,b){var a=document.getElementById(c);var e=a.newpwd.value;var d=a.confirmPwd.value;if(!FrontMembers_findPasswordByMobile01.checkPwd(e,b)){return false}if(!FrontMembers_findPasswordByMobile01.checkConfirmPwd(d,b)){return false}a.action="/FrontMembers.do?method=changePasswordMobile&compId="+b;a.submit()},replaceAll:function(b,c,a){raRegExp=new RegExp(c,"g");return b.replace(raRegExp,a)},setFullURL:function(a){var b=window.location.href;var c=document.getElementById(a);c.aggregationUrl.value=b}};