		 <!--
		onerror="mywin.close()";
		isNav=false;
		isIE=false;
		
		if (parseInt(navigator.appVersion) >= 4) {
 			if (navigator.appName == "Netscape") {
  				isNav = true;
 			} else {
  				isIE = true;
 			}
		}               
    	//------    Brower 溌昔   --------
		
		
		barNum=0;                  //雌殿郊 姐呪
		barLength=300;		     //雌殿郊 掩戚
		mywin=null;
		names=new Array();
		
		function setNames(which,name) {
		    if(!mywin.closed) {
		    	if(isNav==true&& mywin!=null&&!mywin.closed) {
		    		eval("mywin.document.form"+which+".elements[0].value=name");
		    	}else if(isIE==true&& mywin!=null&&!mywin.closed){
		    		mywin.document.form.elements[which].value=name;
		    	}
		    }
		}
		
		function openStatus() {
		    if(mywin==null||mywin.closed) {
			if( isIE )
			{
				mywin=window.open("","","toolbar=no, location=no,directories=no,status=no,menubar=no,scrollbars=no,copyhistory=no,width="+450+",height="+(100+barNum*30));
			}
			else if( isNav )
			{
				mywin=window.open("","","toolbar=no, location=no,directories=no,status=no,menubar=no,scrollbars=no,copyhistory=no,width="+450+",height="+(100+barNum*25));
			}
			else
			{
				mywin=window.open("","","toolbar=no, location=no,directories=no,status=no,menubar=no,scrollbars=no,copyhistory=no,width="+450+",height="+420);
			}

			mywin.document.write("<!DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.0 Transitional//KR>");
			mywin.document.write("<HTML><HEAD><TITLE>Status Bar</TITLE>");
			mywin.document.write("<META HTTP-EQUIV=\"Content-Type\" CONTENT=\"text/html\;charset=euc-jp\">");
			mywin.document.write("<SCRIPT LANGUAGE='JavaScript'> onerror='opener.close()';</SCRIPT>");
			mywin.document.write("</HEAD><body bgcolor=#FFFFFF background=http://wakano.las21.com/images/statubar_bg.gif topmargin=0 leftmargin=0 marginwidth=0 marginheight=0>");
//			mywin.document.write("<CENTER><img src=http://wakano.las21.com/images/statusbar.jpg width=185 height=44><P><P>");
//			mywin.document.write("<CENTER><H2>ステータスバー</H2><P><P>");
			mywin.document.write("<CENTER><B><I><FONT COLOR=#993366><FONT SIZE=+3>STATUS BAR</FONT></FONT></I></B><P><P>");
			mywin.document.write("<TABLE BORDER='0' cellpadding='0' cellspacing='0'>");
			if(isNav==true) {
				for(i=0;i<barNum;i++) {
					mywin.document.write("<TR><TD><FORM NAME='form"+i+"'><INPUT TYPE='text' SIZE=10></TD><TD WIDTH="+barLength+"><ILAYER WIDTH="+barLength+" HEIGHT=10 BGCOLOR=BLUE VISIBILITY='hide'></ILAYER></TD></TR>");
					mywin.document.layers[i].clip.width=0;
					mywin.document.layers[i].clip.height=10;
					mywin.document.layers[i].visibility='show';
					mywin.document.write("</form>");
				}
				
         		}else if(isIE==true) {
         			mywin.document.write("<FORM NAME='form'>");
         			for(i=0;i<barNum;i++) {
					mywin.document.write("<TR><TD><INPUT TYPE='text' SIZE=10></TD><TD WIDTH="+barLength+"><IMG SRC='http://wakano.las21.com/images/dot.gif' HEIGHT=10 WIDTH=0></TD></TR>");
         		}
         			mywin.document.write("</FORM>");
	         	}else {
         			mywin.document.write("</CENTER> <H3>検索中です。<BR>しばらくお待ちください。<H3></CENTER>");
         		}
         		mywin.document.write("</TABLE>");
			mywin.document.write("</CENTER></BODY></HTML>");
			mywin.moveBy(1,1);
		    }
		}																										
		//------   雌殿但 伸奄  ------
		
		function goBar(which,sts) {
		     if(!mywin.closed) {
		    	if(isNav==true && mywin!=null&&!mywin.closed) {
		    		mywin.document.layers[which].clip.width=sts*(barLength/100);
		    	}else if(isIE==true && mywin!=null&&!mywin.closed) {
		    		mywin.document.images[which].width=sts*(barLength/100);
		    	}
		    }
		}
		//------  遭楳 雌殿 妊獣 function ------
		
	    function closeStatus() {
	    	if(!mywin.closed){
	 	    	mywin.close();
	 	}
	    }
	    //------- 雌殿但 丸奄  ------
	    	
	    function setVar(num,length) {
	    		barNum=num;
			barLength=length;
		
	    }
		//------ 雌殿郊税 姐呪人 掩戚 setting ------
	    
	    function setXY(x,y) {
	    	winX=x;
	    	winY=y;
	    }
	  
	  
	    function sleep(t) {
	    	if(!mywin.closed) {
	    		for(k=0;k<t*100;k++){}
	    	}
	    }


	function findSelected()
	{
		if( document.form1.directory.selectedIndex == "0" )
		{
			if( document.form1.flag[0].checked == true || document.form1.flag[0].selected == true)
			{
				document.form1.target[0].value = "0"
				document.form1.target[1].value = "3"
				document.form1.target[2].value = "4"
				document.form1.target[3].value = "7"
				document.form1.target[4].value = "5"
				document.form1.target[5].value = "10"
				document.form1.target[6].value = "15"
			}
			else if( document.form1.flag[1].checked == true || document.form1.flag[1].selected == true)
			{
				document.form1.target[0].value = "9"
				document.form1.target[1].value = "20"
				document.form1.target[2].value = "2"
				document.form1.target[3].value = "6"
				document.form1.target[4].value = "18"
				document.form1.target[5].value = "20"
				document.form1.target[6].value = ""
			}
		}
		else if(document.form1.directory.selectedIndex == "1")
		{
			if( document.form1.flag[0].checked == true || document.form1.flag[0].selected == true)
			{
				document.form1.target[0].value = "1"
				document.form1.target[1].value = "16"
				document.form1.target[2].value = "8"
				document.form1.target[3].value = ""
				document.form1.target[4].value = ""
				document.form1.target[5].value = ""
				document.form1.target[6].value = ""
			}
			else if( document.form1.flag[1].checked == true || document.form1.flag[1].selected == true)
			{
				document.form1.target[0].value = "14"
				document.form1.target[1].value = "17"
				document.form1.target[2].value = "11"
				document.form1.target[3].value = "19"
				document.form1.target[4].value = ""
				document.form1.target[5].value = ""
				document.form1.target[6].value = ""
			}		
		}
	}	   

	function findSelectedOnlyWithFlag()
	{
		if( document.form1.flag[0].selected == true)
		{
			document.form1.directory.value = "page"
			
			document.form1.target[0].value = "1"
			document.form1.target[1].value = "2"
			document.form1.target[2].value = "3"
			document.form1.target[3].value = "4"
			document.form1.target[4].value = "5"
			document.form1.target[5].value = "6"
			document.form1.target[6].value = "7"
			document.form1.target[7].value = "8"
			document.form1.target[8].value = "9"
			document.form1.target[9].value = "10000"
		}
		else if( document.form1.flag[1].selected == true)
		{
			document.form1.directory.value = "page"
			
			document.form1.target[0].value = "11"
			document.form1.target[1].value = "12"
			document.form1.target[2].value = "13"
			document.form1.target[3].value = "14"
			document.form1.target[4].value = "15"
			document.form1.target[5].value = "16"
			document.form1.target[6].value = "17"
			document.form1.target[7].value = "18"
			document.form1.target[8].value = "19"
			document.form1.target[9].value = "20"
		}
		else if( document.form1.flag[2].selected == true)
		{
			document.form1.directory.value = "page"
			
			document.form1.target[0].value = "5801"
			document.form1.target[1].value = "5802"
			document.form1.target[2].value = "5803"
			document.form1.target[3].value = "5804"
			document.form1.target[4].value = "5805"
			document.form1.target[5].value = "5806"
			document.form1.target[6].value = "5807"
			document.form1.target[7].value = "5808"
			document.form1.target[8].value = "1"
		}
		else if( document.form1.flag[3].selected == true)
		{
			document.form1.directory.value = "page"
			
			document.form1.target[0].value = "11"
			document.form1.target[1].value = "12"
			document.form1.target[2].value = "13"
			document.form1.target[3].value = "14"
			document.form1.target[4].value = "16"
			document.form1.target[5].value = ""
			document.form1.target[6].value = ""
			document.form1.target[7].value = ""
			document.form1.target[8].value = ""
		}
		else if( document.form1.flag[4].selected == true)
		{
			document.form1.directory.value = "dir"
		}
	}	   


new_on = new Image();
new_on.src = "http://wakano.las21.com/images/e_newa.gif";
luck_on = new Image();
luck_on.src = "http://wakano.las21.com/images/e_lucka.gif";
we_on = new Image();
we_on.src = "http://wakano.las21.com/images/e_wea.gif";
pscr_on = new Image();
pscr_on.src = "http://wakano.las21.com/images/m_pscra.gif";

mt1_on = new Image();
mt1_on.src = "http://wakano.las21.com/images/mt1a.gif";
mt2_on = new Image();
mt2_on.src = "http://wakano.las21.com/images/mt2a.gif";
mt3_on = new Image();
mt3_on.src = "http://wakano.las21.com/images/mt3a.gif";

//off
new_off = new Image();
new_off.src = "http://wakano.las21.com/images/e_new.gif";
luck_off = new Image();
luck_off.src = "http://wakano.las21.com/images/e_luck.gif";
we_off = new Image();
we_off.src = "http://wakano.las21.com/images/e_we.gif";
pscr_off = new Image();
pscr_off.src = "http://wakano.las21.com/images/m_pscr.gif";

mt1_off = new Image();
mt1_off.src = "http://wakano.las21.com/images/mt1.gif";
mt2_off = new Image();
mt2_off.src = "http://wakano.las21.com/images/mt2.gif";
mt3_off = new Image();
mt3_off.src = "http://wakano.las21.com/images/mt3.gif";


function active(imgname) {
	imgOn = eval(imgname + "_on.src");
	document[imgname].src = imgOn;
}	

function inactive(imgname) {
	imgOff = eval(imgname + "_off.src");
	document[imgname].src = imgOff;
}
//Add by Cabinx
function getCookieVal(offset) 
{ 
   var endstr = document.cookie.indexOf (";", offset); 
   if (endstr == -1) 
      endstr = document.cookie.length; 
   return unescape(document.cookie.substring(offset, endstr)); 
} 

function getCookie(name) 
{ 
        var arg = name + "="; 
        var alen = arg.length; 
        var clen = document.cookie.length; 
        var i = 0; 
        while(i < clen) 
        { 
                var j = i + alen; 
            if (document.cookie.substring(i, j) == arg) 
                return getCookieVal(j); 
                i = document.cookie.indexOf(" ", i) + 1; 
            if (i == 0) 
                break; 
        } 
        return null; 
} 

function setCookie(name, value) 
{ 
   var argv = setCookie.arguments; 
   var argc = setCookie.arguments.length; 
   var expires = (2 < argc) ? argv[2] : null; 
   var path = (3 < argc) ? argv[3] : null; 
   var domain = (4 < argc) ? argv[4] : null; 
   var secure = (5 < argc) ? argv[5] : false; 
   document.cookie = name + "=" + escape (value) + 
     ((expires == null) ? "" : ("; expires=" + expires.toGMTString())) + 
     ((path == null) ? "" : ("; path=" + path)) + 
     ((domain == null) ? "" : ("; domain=" + domain)) + 
        ((secure == true) ? "; secure" : ""); 
} 


	//切郊 什滴験闘 魁 -->

