function setPageSize(){setTimeout("setPageSizeForce(false);",1)}function resizePage(){BizElement.Element.main1.setStyle({height:""});BizElement.Element.main2.setStyle({height:""});BizElement.initializeForce();setPageSizeForce(true)}function checkPageResizable(){setPageSize();Event.observe(window,"resize",setPageSize,false)}function setPageSizeForce(a){if(a||BizElement.checkPageSize()){BizElement.resizeElement(BizElement.Element.content,BizElement.Size.contentHeight);BizElement.resizeElement(BizElement.Element.leftborder,BizElement.Size.contentHeight);BizElement.resizeElement(BizElement.Element.rightborder,BizElement.Size.contentHeight);BizElement.resizeElement(BizElement.Element.contentLine,BizElement.Size.lineHeight);BizElement.resizeElement(BizElement.Element.main1,BizElement.Size.mainHeight);BizElement.resizeElement(BizElement.Element.main2,BizElement.Size.mainHeight);BizElement.resizable.height.each(function(b){var c=$(b.key);if(c.style.height!=(BizElement.Size.mainHeight-b.value+"px")){c.setStyle({height:BizElement.Size.mainHeight-b.value+"px"})}});BizElement.resizable.width.each(function(b){var d=$(b.key);var c=BizElement.getViewPort().width;d.setStyle({width:(c<b.value)?b.value+"px":c+"px"})})}}var layerBackCount=0;function layerOn(n,m,e,l,d,g,q,j){var a=q?q:"layer";var b=a+"frame";if($(a)){layerOff(a)}var h=$("layers");var r=new Element("div",{id:a,"class":"layer"});var k=new Element("iframe",{id:b,frameBorder:"0","class":"layerframe"});if(j){k.setAttribute("scrolling",j)}r.insert(k);h.insert(r);var o;var c;var i;var p;if(!g){layerbackOn(0.25)}if(l&&d){o=l+"px";i="0px";c=d+"px";p="0px"}else{var f=(typeof BizElement==undefined)?(BizElement.viewport.height||BizElement.getViewPort().height)>m:document.viewport.getHeight()>m;o=(f)?"50%":"20px";c="50%";i=(f)?0-Math.floor(m/2)+"px":"0px";p=0-Math.floor(n/2)+"px"}n+="px";m+="px";r.setStyle({top:o,left:c,width:n,height:m,marginTop:i,marginLeft:p,display:"block",zIndex:2000});k.setStyle({width:n,height:m});k.setAttribute("src",e)}function layerOff(b){var a=b?b:"layer";if($(a)){$(a).remove()}layerbackOff()}function layerbackOn(b){var a=(typeof BizElement==undefined)?BizElement.viewport.height:document.viewport.getHeight();if(!a){a=BizElement.getViewPort().height}new Effect.Appear("layerback",{duration:0,from:b,to:b});$("layerback").setStyle({height:a+"px",display:"block",zIndex:1000,backgroundColor:"#000000"});layerBackCount++}function layerbackOff(){if(layerBackCount==1){$("layerback").setStyle({height:"0px",display:"none",zIndex:-1,backgroundColor:"#E2E2E2"})}if(layerBackCount>0){layerBackCount--}}function layerResize(a,c,e){var f=$("layer");var d=$("layerframe");var b=f.getWidth()+a;var g=f.getHeight()+c;var h;var i;var j;var k;if(!e){h="50%";i="50%";j=0-Math.floor(g/2)+"px";k=0-Math.floor(b/2)+"px"}b+="px";g+="px";f.setStyle({top:h,left:i,width:b,height:g,marginTop:j,marginLeft:k});d.setStyle({width:b,height:g})}function redirectMenu(a){try{location.href=a}catch(b){}}function loadingLayerOn(c,b){var a="layout/layer/loading.aspx";if(c){a+="?work="+encodeURIComponent(c)}if(b){a+="&cancel="+encodeURIComponent(b)}layerOn(272,120,a,false,false,false,"loading")}function loadingLayerOff(){parent.layerOff("loading")}function setTooltip(b){for(var a=0;a<b.length;a++){try{document.getElementById(b[a][0]).setAttribute("title",b[a][1])}catch(c){}}}var PopManager={open:function(d,b){switch(d){case"GUIDE":var e=window.open("http://www.bizhard.com/Guide/Default.aspx","FlashGuide","location=0,status=0,scrollbars=0,resizable=0,width=902,height=625,top=20,left=20");e.focus();break;case"HELP":var c=window.open((!b)?"http://www.bizhard.com/Manual/Startup/Join.aspx":b,"Guide","location=0,status=0,scrollbars=0,resizable=0,width=902,height=625,top=20,left=20");c.focus();break;case"BILL":layerOn(904,512,"/Bill/Default.aspx",null,null,false,"Bill","no");break;case"CALC":layerOn(904,512,"/Bill/Default.aspx?mode=calc",null,null,false,"Bill","no");break;case"CONSULTING":layerOn(574,645,"/Center/Pop/ConsultingList.aspx",null,null,false,"ConsultingList");return false;case"PACKAGE":location.href="http://advert.estsoft.com/?event=200910231012555";break;case"EXPLORER":location.href="http://advert.estsoft.com/?event=200807311616948";break;case"MESSENGER":location.href="http://advert.estsoft.com/?event=200807311450939";break;case"WID":location.href="http://advert.estsoft.com/?event=200905113610240";break;case"ACTIVEX":location.href="http://advert.estsoft.com/?event=200901161482524";break;case"MOBILE":location.href="http://advert.estsoft.com/?event=200911112051281";break;case"COMPARERATES":layerOn(624,417,"/Center/Pop/CompareRates.aspx",null,null,false,"CompareRates");return false;case"USERATES":layerOn(574,904,"/Center/Pop/UseRates.aspx",null,null,false,"UseRates");return false;case"BIZHARDJP":layerOn(449,406,"/Center/Pop/CultureCheck.aspx",null,null,false,"BizHardJP");return false;case"RECOMMEND":layerOn(524,488,"/Center/Pop/Recommendation.aspx",null,null,false,"Recommendation");return false;case"RECOMMENDPREVIEW":var a=window.open("/Center/Pop/RecommenderMailPreview.aspx","RecommendPreview");a.focus();return false;case"SUGGEST":layerOn(732,285,"/User/Pop/pop_suggest.aspx",null,null,false,"Suggest");break;case"MAILUS":var a=window.open("/User/Support/MailUs.aspx","mailus","width=652,height=545");a.focus();break}}};function LoadFlash(e,d,b,a,c){if(!c){c="opaque"}document.write('<object id="'+e+'" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="'+location.protocol.toLowerCase()+'//download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0" width="'+b+'" height="'+a+'" align="middle">');document.write('<param name="allowScriptAccess" value="sameDomain" />');document.write('<param name="allowFullScreen" value="false" />');document.write('<param name="wmode" value="'+c+'" />');document.write('<param name="movie" value="'+d+'" />');document.write('<param name="quality" value="high" />');document.write('<param name="bgcolor" value="#ffffff" />');document.write('<embed id="'+e+'" src="'+d+'" wmode="'+c+'" quality="high" bgcolor="#ffffff" width="'+b+'" height="'+a+'" align="middle" allowscriptaccess="sameDomain" allowfullscreen="false" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />');document.write("</object>")};