/*　第２階層用（トップページはtop.js内に記述）　*/


/*　CSSの振り分け（サイト全体用）　*/
/*　季節によってカラーを変更できる。それぞれのカラーパーツはディレクトリ毎に管理されている。　*/
/*　現在あるカラー：pink, green, purple, blue, orange, white　*/
/*　変更するには、/common/js/global.js の useColor の値を書き換える　*/

document.write("<link rel='stylesheet' href='../common/css/import_second.css' type='text/css' media='screen,print'>");
document.write("<link rel='stylesheet' href='../common/css/import_"+useColor+".css' type='text/css' media='screen,print'>");
document.write("<link rel='stylesheet' href='../common/css/"+dirName+"import.css' type='text/css' media='screen,print'>");


/*　ヘッダ、メインメニューのHTML（※<li>タグは1行ずつ最後に\nをつけないとMacIE5で表示がずれる）　*/

function menuHead() {
document.write("<div id='headArea' class='clearfix'>");
document.write("<div id='head2Title' title='日光You遊ガイド - NIKKO Select Navi：ペンション宿泊！観光！日光情報サイト -'><a href='../index.html' target='_top'><img src='../images/spacer.gif' width=260 height=70 border=0 alt='日光You遊ガイド - NIKKO Select Navi：ペンション宿泊！観光！日光情報サイト - ペンションの宿泊予約。ペンションへ泊まるならこちらへ！'></a></div>");
document.write("<div id='head2Center'>");
document.write("<h1>日光に泊まるならここにおまかせ！！<br>おすすめペンション情報、日光観光の便利情報がいっぱい！</h1>");
document.write("<div id='head2GoEnglish'><a href='../english/index.html' target='_top'><img src='../images/spacer.gif' width=91 height=14 border=0 alt='to NIKKO You-You Guide English Page'></a></div>");
document.write("</div>");
document.write("<div id='head2Right'>");
document.write("<span>日光You遊ガイド - NIKKO Select Navi：ペンション宿泊！観光！日光情報サイト - 季節の写真</span>");
document.write("</div>");
document.write("</div>");
document.write("<div style='clear:both;'>");
document.write("<div id='menu0Layer' class='menuLayer2'><span class='layerArrow'>▲</span><br>日光You遊ガイド<br>トップページ</div>");
document.write("<div id='menu1Layer' class='menuLayer2'><span class='layerArrow'>▲</span><br>自信を持ってお勧めする、日光のペンションをご紹介致します。ご予約もこのHPで簡単に出来ます。</div>");
document.write("<div id='menu2Layer' class='menuLayer2'><span class='layerArrow'>▲</span><br>日光You遊ガイド掲載のペンションオーナー達がおすすめする、行きたい店・旨い店のご紹介です。</div>");
document.write("<div id='menu3Layer' class='menuLayer2'><span class='layerArrow'>▲</span><br>日光の様々な名産品やおみやげの中からYou遊ガイドがコレ！と思うものをご紹介します。</div>");
document.write("<div id='menu4Layer' class='menuLayer2'><span class='layerArrow'>▲</span><br>日光の四季に遊ぶ…。テニス・乗馬などアクティブに行動する方のための情報です！</div>");
document.write("<div id='menu5Layer' class='menuLayer2'><span class='layerArrow'>▲</span><br>森林浴から歴史探訪までお手伝いします。日光のイベント情報なども。</div>");
document.write("<div id='menu6Layer' class='menuLayer2'><span class='layerArrow'>▲</span><br>日光までのアクセス情報を、電車・バスなど交通手段別にご案内します。</div>");
document.write("<div id='menu7Layer' class='menuLayer2'><span class='layerArrow'>▲</span><br>日光に関するホームページを厳選致しました。</div>");
document.write("<div id='menu8Layer' class='menuLayer2'><span class='layerArrow'>▲</span><br>お問い合わせ<br>用のフォーム<br>です。</div>");
document.write("</div>");
document.write("<div id='menuArea'>");
document.write("<ul>");
document.write("<li class='menu0' title='トップページ'><a href='../index.html' target='_top' onMouseOver='showLayer0()' onMouseOut='hideLayer0()'>日光You遊ガイドトップページ</a></li>\n");
document.write("<li class='menu1' title='日光に泊まる'><a href='../pension/index.html' target='_top' onMouseOver='showLayer1()' onMouseOut='hideLayer1()'>ペンションに泊まる</a></li>\n");
document.write("<li class='menu2' title='日光で食べる'><a href='../meal/index.html' target='_top' onMouseOver='showLayer2()' onMouseOut='hideLayer2()'>日光で食べる</a></li>\n");
document.write("<li class='menu3' title='日光でのお買い物'><a href='../shopping/index.html' target='_top' onMouseOver='showLayer3()' onMouseOut='hideLayer3()'>日光でのお買い物</a></li>\n");
document.write("<li class='menu4' title='日光でアクティビティ'><a href='../activity/index.html' target='_top' onMouseOver='showLayer4()' onMouseOut='hideLayer4()'>日光でアクティビティ</a></li>\n");
document.write("<li class='menu5' title='日光の観光案内'><a href='../sight/index.html' target='_top' onMouseOver='showLayer5()' onMouseOut='hideLayer5()'>日光の観光案内</a></li>\n");
document.write("<li class='menu6' title='日光へのアクセス'><a href='../access/index.html' target='_top' onMouseOver='showLayer6()' onMouseOut='hideLayer6()'>日光へのアクセス</a></li>\n");
document.write("<li class='menu7' title='日光リンク集'><a href='../link/index.html' target='_top' onMouseOver='showLayer7()' onMouseOut='hideLayer7()'>日光リンク集</a></li>\n");
document.write("<li class='menu8' title='お問い合わせ'><a href='#' target='_top' onClick='javascript:popInqWindow()' onMouseOver='showLayer8()' onMouseOut='hideLayer8()'>お問い合わせ</a></li>\n");
document.write("</ul>");
document.write("</div>");
}

/*　英語ページ用：ヘッダ、メインメニューのHTML（※<li>タグは1行ずつ最後に\nをつけないとMacIE5で表示がずれる）　*/
function menuHeadEng() {
document.write("<div id='headArea' class='clearfix'>");
document.write("<div id='head2Title' title='NIKKO You You Guide'><a href='../index.html' target='_top'><img src='../images/spacer.gif' width=260 height=70 border=0 alt='NIKKO You You Guide'></a></div>");
document.write("<div id='head2Center'>");
document.write("<h1>Welcome to NIKKO!</h1>");
document.write("<div id='head2GoEnglish'><a href='../english/index.html' target='_top'><img src='../images/spacer.gif' width=91 height=14 border=0 alt='to NIKKO You-You Guide English Page'></a></div>");
document.write("</div>");
document.write("<div id='head2Right'>");
document.write("<span>NIKKO photo</span>");
document.write("</div>");
document.write("</div>");
document.write("<div id='menuArea'>");
document.write("<ul>");
document.write("<li class='menu0' title='HOME'><a href='../index.html' target='_top'>HOME</a></li>\n");
document.write("<li class='menu1' title='Stay'><a href='../pension/index.html' target='_top'>Stay</a></li>\n");
document.write("<li class='menu2' title='Eat'><a href='../meal/index.html' target='_top'>Eat</a></li>\n");
document.write("<li class='menu3' title='Shopping'><a href='../shopping/index.html' target='_top'>Shopping</a></li>\n");
document.write("<li class='menu4' title='Sports'><a href='../activity/index.html' target='_top'>Sports</a></li>\n");
document.write("<li class='menu5' title='Sightseeing'><a href='../sight/index.html' target='_top'>Sightseeing</a></li>\n");
document.write("<li class='menu6' title='Access'><a href='../access/index.html' target='_top'>Access</a></li>\n");
document.write("<li class='menu7' title='Link'><a href='../link/index.html' target='_top'>Link</a></li>\n");
document.write("<li class='menu8' title='Inquiry'><a href='#' target='_top' onClick='javascript:popInqWindow()'>Inquiry</a></li>\n");
document.write("</ul>");
document.write("</div>");
}


/*　メインメニュー：お問い合わせボタン用ポップアップウィンドウ　*/

function popInqWindow() {
window.open('../inquiry/index.html','window1','toolbar=0,location=0,directories=0,status=0,menubar=1,scrollbars=1,resizable=1,copyhistory=0,width=680,height=600');
return(false);
}


/*　フッター記述用　*/

function footerWrite() {
	document.write("Copyright (C) 1996&nbsp;&nbsp;<font color=744A00>Nikko Travel Information</font>&nbsp;&nbsp;&nbsp;&nbsp;お問い合わせは<a href='#' target='_top' onClick='popInqWindow()'>こちら</a>まで<br>");
	document.write("Produced by <a href='http://www.webmasters.co.jp' target='_blank'>Webmasters Inc.</a></b>");
}

/*　フッター記述英語用　*/

function footerWriteEng() {
	document.write("Copyright (C) 1996&nbsp;&nbsp;<font color=744A00>Nikko Travel Information</font><br>");
	document.write("Produced by <a href='http://www.webmasters.co.jp' target='_blank'>Webmasters Inc.</a></b>");
}
