<!--

var no;

function subwin(no) {
  w = window.open('osusume/'+no+'.html', 'osusume'+no+'page', 'width=566,height=500,status=yes,scrollbars=yes,directories=no,menubar=no,resizable=yes,toolbar=no');
} 

//-->

<!--

var no;

function subwin2(no) {
  w = window.open('spot/'+no+'.html', 'spot'+no+'page', 'width=516,height=380,status=yes,scrollbars=yes,directories=no,menubar=no,resizable=yes,toolbar=no');
} 

//-->


/ 小窓 /////////////////////////////////////////
jsDB = new Array();jsDB[0]="";

jsDB[0]="illust.html,blank";
jsDB[1]="event.html,blank";
jsDB[2]="http://www.kansai.ne.jp/ikunohp/,blank";
jsDB[3]="link.html,blank";
var rowNum=jsDB.length  //行数取得
var DB=new Array();  //列*行配列宣言
DB[0]=jsDB[0].split(",")  //フィールド名取得

var colNum=DB[0].length-1 //フィールド数取得

function DB_mkAry(){
      for(i=0;i<rowNum;i++){
            DB[i]=jsDB[i].split(",")//DB[ 行 ][ 列 ] 形式の配列を作る
       }
}DB_mkAry()




function subwin_win(i) {

sGoto=DB[i][0];
  w = window.open(sGoto,DB[i][1]);
}

function LinkSelect(form, sel)
{
	c = sel.selectedIndex;
	adrs = sel.options[c].value;
	page =sHome + DB[adrs][0];
	if (adrs != "-" )
	{
		location.href=page;
	}
}

function SelectContents(form, sel)
{
	n = sel.selectedIndex;
	h = sel.options[n].value;
	if (h != "-" )
	{
		if ((h == 2))subwin_win(h);
		if ((h == 0) || (h == 1) || (h == 3) )location.href= DB[h][0];
	}
}
