server_class="ST";mode=1;if(server_class=="IT") { document.write("Test Version"); }newWin=this.window;style="toolbar=no,location=no,status=yes,menubar=no,scrollbars=yes,resizable=yes,alwaysRaised=1,width=800,height=600";code1="login";code2="regist";winFlag=0;code0="GPONE";function OpenWin1(){addr1="gp.tanaka.jp/GPONE/GA1101main.jsp";OpenWin0(addr1,code0,1);}function OpenWin2(){addr2=window.location.hostname+"/GPONE/GA0101main.jsp";OpenWin0(addr2,code0,2);}function OpenWin3(){addr2=window.location.hostname+"/GPONE/GA0102main.jsp";OpenWin0(addr2,code0,2);}function OpenWin0(addr,code,Flag){  if((navigator.userAgent.indexOf("Mac") != -1) && (Flag==2) && ((navigator.userAgent.indexOf("MSIE 4") != -1) || (navigator.userAgent.indexOf("MSIE 3") != -1)))    {	window.open("MacIEerror.html")	//alert("申し訳ございません。\n動作確認済み機種以外ではサービスをご利用いただけません。");     } else	if(mode==0) {alert("ただいまご利用時間外です。");}    else	 {	if(server_class=="ST")	 {	 addr="https://"+addr;	 }	 else {	 addr="https://"+addr;	   }	//  if (navigator.appName == "Microsoft Internet Explorer") {				if( newWin.closed == false){						if(winFlag==0 ){						   newWin =window.open( addr, code, style);						   winFlag=Flag;						} else if(winFlag==2){						   alert("オンライン申込み中のウィンドウが開いています。\nログインを行なう場合は、登録のお手続きを中断して、ログインを行なってください。");						   //if(newWin.closed != true && newWin != "" )newWin.focus()						   if(newWin.closed != true ) newWin.focus()						} else if(winFlag==1){						   alert("会員専用のウィンドウが既に開いています。\n既存のウィンドウでお手続きを行なってください。");						   //if(newWin.closed != true && newWin != "" )newWin.focus()						   if(newWin.closed != true ) newWin.focus()						}				}				else // newWin.closed==true の場合				  {						   newWin =window.open( addr, code, style);						   winFlag=Flag;				  }	//		  }	//  else // IE以外の場合	//		  {				//alert("申し訳ございません。サービスをご利用の際には\nMicrosoft Internet Explorer でご利用ください。");				//if(newWin.closed != true ) newWin.focus()	//		  }	  }}