function url(URL2){
 fileurl = URL2+"image";
 linkurl = URL2;
}


//地図
function map(Mimage,OPTION){
 hyouzi = open('','map',OPTION);
 hyouzi.document.write('<html><head>');
 hyouzi.document.write('</head><body>');
 hyouzi.document.write('<img src=\"'+fileurl+'/'+Mimage+'" ondblclick="window.close()" alt="ダブルクリックでこのウィンドゥが閉じられます。">');
 hyouzi.document.write('<p align="center"><input type="button" value="閉じる" onclick="window.close()"> <input type="button" value="印刷" onclick="print()"></p>')
 hyouzi.document.write('</body></html>');
 hyouzi.document.close();
}

//写真（クリック元で幅の指定ができる）
function photo(W,H){
 hyouzi = open('','map','width=560');
 hyouzi.document.write('<html><head>');
 hyouzi.document.write('</head><body>');
 hyouzi.document.write('<img src=\"'+fileurl+'/map_big.jpg" ondblclick="window.close()" alt="ダブルクリックでこのウィンドゥが閉じられます。">');
 hyouzi.document.write('<p align="center"><input type="button" value="閉じる" onclick="close()"></p>')
 hyouzi.document.write('</body></html>');
 hyouzi.document.close();
}



//メニュー
function menu(URL,mode){
 url(URL);
 if(mode == 'type2'){linkurl = 'http://www.fsk-inc.co.jp/';}
 document.write('<table width="180" border="0" cellspacing="0" cellpadding="0">');
 document.write('<tr>');
 document.write('<td><img src="'+fileurl+'/obj_menu_01.jpg" width="180" height="31"></td>');
 document.write('</tr><tr>');
 document.write('<td><a href="'+linkurl+'index.html"><img onmouseover="this.src=\''+fileurl+'/bt1_01_on.gif\'" onmouseout="this.src=\''+fileurl+'/bt1_01_off.gif\'" border="0" src="'+fileurl+'/bt1_01_off.gif" width="180" height="24"></a></td>');
 document.write('</tr><tr>');
 document.write('<td><a href="'+linkurl+'page01.html"><img onmouseover="this.src=\''+fileurl+'/bt1_02_on.gif\'" onmouseout="this.src=\''+fileurl+'/bt1_02_off.gif\'" border="0" src="'+fileurl+'/bt1_02_off.gif\" width="180" height="24"></a></td>');
 document.write('</tr><tr>');
 document.write('<td><a href="'+linkurl+'page02.html"><img onmouseover="this.src=\''+fileurl+'/bt1_03_on.gif\'" onmouseout="this.src=\''+fileurl+'/bt1_03_off.gif\'"  border="0" src="'+fileurl+'/bt1_03_off.gif" width="180" height="24"></a></td>');
 document.write('</tr><tr>');
 document.write('<td><a href="'+linkurl+'page03.html"><img onmouseover="this.src=\''+fileurl+'/bt1_04_on.gif\'" onmouseout="this.src=\''+fileurl+'/bt1_04_off.gif\'" border="0" src="'+fileurl+'/bt1_04_off.gif" width="180" height="24"></a></td>');
 document.write('</tr><tr>');
 document.write('<td><a href="'+linkurl+'page04.html"><img onmouseover="this.src=\''+fileurl+'/bt1_06_on.gif\'" onmouseout="this.src=\''+ fileurl+'/bt1_06_off.gif\'" border="0" src="'+fileurl+'/bt1_06_off.gif" width="180" height="24"></a></td>');
 document.write('</tr><tr>');
 document.write('<td><img src="'+fileurl+'/bt1_07_off.gif" width="180" height="24"></td>');
 document.write('</tr></table>');

 document.write('<img src="'+fileurl+'/spacer.gif" width="10" height="10"><br>');
 document.write('<table width="160" border="0" cellspacing="0" cellpadding="0" align="center">')
 document.write('<tr> ');
 document.write('<td width="10"><img src="'+fileurl+'/p_03.gif" width="11" height="11"></td>');
 document.write('<td width="150"><img src="'+fileurl+'/ba3_otoiawasesaki.gif" width="149" height="19"></td>');
 document.write('</tr><tr>');
 document.write('<td colspan="2"><img src="'+fileurl+'/line_01.gif" width="160" height="1"></td>');
 document.write('</tr></table>');

 document.write('<table width="160" border="0" cellspacing="0" cellpadding="3" align="center">');
 document.write('<tr>');
 document.write('<td><font size="2">〒247-0072<br>');
 document.write('神奈川県鎌倉市岡本二丁目13番18号<br>');

 document.write('TEL：0467-47-5944<br>');
 document.write('FAX：0467-44-6117</font><br></td>');
 document.write('</tr><tr>');
 document.write('<td><div align="center"><a href="javascript:map(\'map_big.jpg\',\'width=560,height=470\')"><img src="'+fileurl+'/map_small.jpg" width="156" border="0"></a></div></td>');
 document.write('</tr><tr>');
 document.write('<td><div align="right"><a href="javascript:map(\'map_big.jpg\',\'width=560,height=470\')"><img src="'+fileurl+'/con_map.gif" width="39" height="14" border="0"></a></div></td>');
 document.write('</tr></table><br>');
 document.write('<table width="160" border="0" cellspacing="0" cellpadding="0" align="center"><tr> ');
 document.write('</tr><tr>');
 document.write('<td colspan="2"><img src="'+fileurl+'/line_01.gif" width="160" height="1"></td>');
 document.write('</tr></table>');
 document.write('<div align="center"><p><small>ハートフル・リボン・マーク</small><br><a href="http://www.heartful-ribbon.jp/" target="_blank"><img src="'+fileurl+'/ribbon.jpg" width="125" height="110" border="0"></a><br><a href="http://www.heartful-ribbon.jp/list/no6.html" target="_blank">');
 document.write('<img style="margin-top:10px" border="0" src="'+fileurl+'/r_btn.gif" alt="" width="154" height="39"></a></p>');
 document.write('<small>ATARIMAEプロジェクト</small><br><a href="http://www.atarimae.jp/" target="_blank"><img src="http://www.atarimae.jp/aboutLinks/images/bn_a_168-225.gif" width="150" height="201" alt="障害者があたりまえに働けるニッポンへ ATARIMAEプロジェクト" border="0" /></a></div>');
}



function DRAGON(HTML){
  window.open(HTML,'_blank','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,width=1024,height=670');
}
