var popupwin;function popHomePage(k){window.name="mainWin";window.onerror=null;var h=0,j=0;var l,i;if(document.all){h=window.screenLeft+30;j=window.screenTop-50}else{if(document.layers){h=window.screenX+30;j=window.screenY+75}}if(j<=0){j=10}if(document.all){l=document.body.offsetWidth*0.9;i=document.body.offsetHeight*0.5}else{if(document.layers){l=window.innerWidth*0.9;i=window.innerHeight*0.5}else{l=600;i=300}}if(l<600|i<300){l=600;i=300}var m="scrollbars=yes,menubar=yes,location=yes,resizable=yes,status=yes,toolbar=yes,width="+l+",height="+i+", top="+j+",screenY="+j+",left="+h+",screenX="+h;var n=window.open("","homePageWin",m);n=window.open(k,"homePageWin",m);if(n.opener==null){n.opener=self}if(window.focus){n.focus()}}function popUp(i,k,g,j,h,l){popUp1(i,k,g,j,h,l,"yes")}function popUp1(v,o,u,w,n,x,t){var y;var s=/\?/;var z=o.replace(s,"&");if(v==0){y="/help/infoPopUp.psp?title="+z+"&body="+bodyString}else{if(v==1){y=o}else{return}}window.onerror=null;var q=0,r=0;if(document.all){q=window.screenLeft+30;r=window.screenTop-50}else{if(document.layers){q=window.screenX+30;r=window.screenY+75}}if(r<=0){r=10}var p="scrollbars="+t+",width="+w+",height="+n+", top="+r+",screenY="+r+",left="+q+",screenX="+q;popupwin=window.open("",x,p);popupwin=window.open(y,x,p);if(window.focus){popupwin.focus()}}function snspartnerPopUp(f,d,e){popUp(f,d,e,650,650,"PopUp")}function snsRedir(f){var d=navigator.appVersion.substring(0,1);var e=navigator.userAgent.toLowerCase();if(d=="2"||(d=="3"&&e.indexOf("msie")!=-1)){parent.location=f}else{if(e.indexOf("safari")!=-1){top.location.href=f}else{parent.location.replace(f)}}}function snsInFrameRedir(b){if(navigator.appVersion.substring(0,1)=="2"||(navigator.appVersion.substring(0,1)=="3"&&navigator.userAgent.indexOf("MSIE")!=-1)){if(self!=top){document.location=b}else{parent.location=b}}else{if(self!=top){document.location.replace(b)}else{parent.location.replace(b)}}}function snsPopUp(b){popUp1(1,b,"",390,400,"emailnag","no")}function snsSubForm(formName,doPOST,redirUrl){(doPOST=="true")?eval("document."+formName+".submit()"):snsRedir(redirUrl)};
