// JavaScript Document



function pageTop(){

window.scrollTo(0,0);

}





function imgchg(imgS,imgN){

document.images[imgS].src = imgN;

}





function mapchg(imgN){

document.images['mapimg'].src = imgN;

}



/* subwin open */

function winOpen(url){

openwin = open(url,"openwin","width=500,height=750,left=0,top=0,toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,favorites=no,resizable=yes");

	openwin.focus();

}



function mojikazari(){
Obj=document.search;

if (Obj.kozin_bukken01.checked){futoji = 'bold';}
else{futoji = 'normal'}; 　　
if (Obj.kozin_bukken02.checked){futoji2 = 'bold';}
else{futoji2 = 'normal'}; 　　
if (Obj.kozin_bukken03.checked){futoji3 = 'bold';}
else{futoji3 = 'normal'};
if (Obj.kozin_bukken04.checked){futoji4 = 'bold';}
else{futoji4 = 'normal'}; 　　
if (Obj.kozin_bukken05.checked){futoji5 = 'bold';}
else{futoji5 = 'normal'}; 　　
if (Obj.kozin_bukken06.checked){futoji6 = 'bold';}
else{futoji6 = 'normal'};

if (Obj.zigyo_bukken01.checked){futoji7 = 'bold';}
else{futoji7 = 'normal'}; 　　
if (Obj.zigyo_bukken02.checked){futoji8 = 'bold';}
else{futoji8 = 'normal'}; 　　
if (Obj.zigyo_bukken03.checked){futoji9 = 'bold';}
else{futoji9 = 'normal'}; 　　
if (Obj.zigyo_bukken04.checked){futoji10 = 'bold';}
else{futoji10 = 'normal'}; 　　
if (Obj.zigyo_bukken05.checked){futoji11 = 'bold';}
else{futoji11 = 'normal'}; 　　
if (Obj.zigyo_bukken06.checked){futoji12 = 'bold';}
else{futoji12 = 'normal'}; 　　
if (Obj.zigyo_bukken07.checked){futoji13 = 'bold';}
else{futoji13 = 'normal'}; 　　
if (Obj.zigyo_bukken08.checked){futoji14 = 'bold';}
else{futoji14 = 'normal'}; 　　
if (Obj.zigyo_bukken09.checked){futoji15 = 'bold';}
else{futoji15 = 'normal'}; 　　
if (Obj.zigyo_bukken10.checked){futoji16 = 'bold';}
else{futoji16 = 'normal'}; 　　
if (Obj.zigyo_bukken11.checked){futoji17 = 'bold';}
else{futoji17 = 'normal'}; 　　
if (Obj.zigyo_bukken12.checked){futoji18 = 'bold';}
else{futoji18 = 'normal'}; 　　
if (Obj.zigyo_bukken13.checked){futoji19 = 'bold';}
else{futoji19 = 'normal'}; 　　
if (Obj.zigyo_bukken14.checked){futoji20 = 'bold';}
else{futoji20 = 'normal'}; 　　
if (Obj.zigyo_bukken15.checked){futoji21 = 'bold';}
else{futoji21 = 'normal'}; 　　
if (Obj.zigyo_bukken16.checked){futoji22 = 'bold';}
else{futoji22 = 'normal'}; 　　
if (Obj.zigyo_bukken17.checked){futoji23 = 'bold';}
else{futoji23 = 'normal'}; 　　
if (Obj.zigyo_bukken18.checked){futoji24 = 'bold';}
else{futoji24 = 'normal'}; 　　
if (Obj.zigyo_bukken19.checked){futoji25 = 'bold';}
else{futoji25 = 'normal'}; 　　
if (Obj.zigyo_bukken20.checked){futoji26 = 'bold';}
else{futoji26 = 'normal'}; 　　
if (Obj.zigyo_bukken21.checked){futoji27 = 'bold';}
else{futoji27 = 'normal'}; 　　
if (Obj.zigyo_bukken22.checked){futoji28 = 'bold';}
else{futoji28 = 'normal'}; 　　
if (Obj.zigyo_bukken23.checked){futoji29 = 'bold';}
else{futoji29 = 'normal'}; 

if (Obj.chiiki01.checked){futoji30 = 'bold';}
else{futoji30 = 'normal'}; 　　
if (Obj.chiiki02.checked){futoji31 = 'bold';}
else{futoji31 = 'normal'}; 　　
if (Obj.chiiki03.checked){futoji32 = 'bold';}
else{futoji32 = 'normal'}; 　　
if (Obj.chiiki04.checked){futoji33 = 'bold';}
else{futoji33 = 'normal'}; 　　
if (Obj.chiiki05.checked){futoji34 = 'bold';}
else{futoji34 = 'normal'}; 　　
if (Obj.chiiki06.checked){futoji35 = 'bold';}
else{futoji35 = 'normal'}; 　　
if (Obj.chiiki07.checked){futoji36 = 'bold';}
else{futoji36 = 'normal'}; 　　
if (Obj.chiiki08.checked){futoji37 = 'bold';}
else{futoji37 = 'normal'}; 　　
if (Obj.chiiki09.checked){futoji38 = 'bold';}
else{futoji38 = 'normal'}; 　　
if (Obj.chiiki10.checked){futoji39 = 'bold';}
else{futoji39 = 'normal'}; 　　
if (Obj.chiiki11.checked){futoji40 = 'bold';}
else{futoji40 = 'normal'}; 　　

if (Obj.status01.checked){futoji41 = 'bold';}
else{futoji41 = 'normal'}; 　　
if (Obj.status02.checked){futoji42 = 'bold';}
else{futoji42 = 'normal'}; 　　
　　

kozin_bukken_koumoku01.style.fontWeight = futoji;
kozin_bukken_koumoku02.style.fontWeight = futoji2;
kozin_bukken_koumoku03.style.fontWeight = futoji3;
kozin_bukken_koumoku04.style.fontWeight = futoji4;
kozin_bukken_koumoku05.style.fontWeight = futoji5;
kozin_bukken_koumoku06.style.fontWeight = futoji6;

zigyo_bukken_koumoku01.style.fontWeight = futoji7;
zigyo_bukken_koumoku02.style.fontWeight = futoji8;
zigyo_bukken_koumoku03.style.fontWeight = futoji9;
zigyo_bukken_koumoku04.style.fontWeight = futoji10;
zigyo_bukken_koumoku05.style.fontWeight = futoji11;
zigyo_bukken_koumoku06.style.fontWeight = futoji12;
zigyo_bukken_koumoku07.style.fontWeight = futoji13;
zigyo_bukken_koumoku08.style.fontWeight = futoji14;
zigyo_bukken_koumoku09.style.fontWeight = futoji15;
zigyo_bukken_koumoku10.style.fontWeight = futoji16;
zigyo_bukken_koumoku11.style.fontWeight = futoji17;
zigyo_bukken_koumoku12.style.fontWeight = futoji18;
zigyo_bukken_koumoku13.style.fontWeight = futoji19;
zigyo_bukken_koumoku14.style.fontWeight = futoji20;
zigyo_bukken_koumoku15.style.fontWeight = futoji21;
zigyo_bukken_koumoku16.style.fontWeight = futoji22;
zigyo_bukken_koumoku17.style.fontWeight = futoji23;
zigyo_bukken_koumoku18.style.fontWeight = futoji24;
zigyo_bukken_koumoku19.style.fontWeight = futoji25;
zigyo_bukken_koumoku20.style.fontWeight = futoji26;
zigyo_bukken_koumoku21.style.fontWeight = futoji27;
zigyo_bukken_koumoku22.style.fontWeight = futoji28;
zigyo_bukken_koumoku23.style.fontWeight = futoji29;

chiiki_koumoku01.style.fontWeight = futoji30;
chiiki_koumoku02.style.fontWeight = futoji31;
chiiki_koumoku03.style.fontWeight = futoji32;
chiiki_koumoku04.style.fontWeight = futoji33;
chiiki_koumoku05.style.fontWeight = futoji34;
chiiki_koumoku06.style.fontWeight = futoji35;
chiiki_koumoku07.style.fontWeight = futoji36;
chiiki_koumoku08.style.fontWeight = futoji37;
chiiki_koumoku09.style.fontWeight = futoji38;
chiiki_koumoku10.style.fontWeight = futoji39;
chiiki_koumoku11.style.fontWeight = futoji40;

status_koumoku01.style.fontWeight = futoji41;
status_koumoku02.style.fontWeight = futoji42;

}

function show(inputData) {
var objID=document.getElementById( "layer_" + inputData );
var buttonID=document.getElementById( "button_" + inputData );
if(objID.className=='close') {
objID.style.display='block';
objID.className='open';
buttonID.src='http://www.san-o.net/test/images/kodawari2.jpg';
}else{
objID.style.display='none';
objID.className='close';
buttonID.src='http://www.san-o.net/test/images/kodawari2.jpg';
}
}


