// Banner (Sub Navigation)
function banner() {
document.write('<a class="banner" id="today" href="'+__path+'cgi-bin/saiji/saiji.cgi" target="_blank"><span class="hide">本日の催し物</span></a>');
document.write('<a class="banner" id="accessguide" href="'+__path+'function/map/index.html" target="_blank"><span class="hide">アクセスガイド</span></a>');
document.write('<a class="banner" id="barrier" href="'+__path+'company/barrier.html" target="_self"><span class="hide">バリアフリー情報</span></a>');
}

function banner_company() {
document.write('<a class="banner" id="today" href="'+__path+'cgi-bin/saiji/saiji.cgi" target="_blank"><span class="hide">本日の催し物</span></a>');
document.write('<a class="banner" id="accessguide" href="'+__path+'function/map/index.html" target="_blank"><span class="hide">アクセスガイド</span></a>');
}


// Text Size
function textsize() {
document.write('<div id="textsize">');
document.write('<img src="'+__path+'cmn/img/banner_textsize.gif" width="160" height="40" border="0" alt="" usemap="#map_textsize"></div>');
document.write('<map name="map_textsize">');
document.write('<area shape="rect" href="#" onClick="setActiveStyleSheet(\'css_s\'); return false;" target="_self" coords="27,15,52,35" alt="text size small" title="text size small">');
document.write('<area shape="rect" href="#" onClick="setActiveStyleSheet(\'css_m\'); return false;" target="_self" coords="67,15,92,35" alt="text size middle" title="text size middle">');
document.write('<area shape="rect" href="#" onClick="setActiveStyleSheet(\'css_l\'); return false;" target="_self" coords="107,15,132,35" alt="text size large" title="text size large">');
document.write('</map>');
}

// Text Size Top
function textsizetop() {
document.write('<div id="textsizetop">');
document.write('<img src="'+__path+'cmn/img/banner_textsizetop.gif" width="210" height="40" border="0" alt="" usemap="#map_textsizetop"></div>');
document.write('<map name="map_textsizetop">');
document.write('<area shape="rect" href="#" onClick="setActiveStyleSheet(\'css_s\'); return false;" target="_self" coords="35,15,64,36" alt="text size small" title="text size small">');
document.write('<area shape="rect" href="#" onClick="setActiveStyleSheet(\'css_m\'); return false;" target="_self" coords="90,15,119,36" alt="text size middle" title="text size middle">');
document.write('<area shape="rect" href="#" onClick="setActiveStyleSheet(\'css_l\'); return false;" target="_self" coords="145,15,174,36" alt="text size large" title="text size large">');
document.write('</map>');
}

// Window.Open
function newswin(file) {
window.open(__path+'clip/news/data/'+file,'newswin','fullscreen=no,toolbar=no,status=no,menubar=no,scrollbars=yes,resizable=yes,directories=no,location=no,width=640,height=600');
}
function detailwin(file) {
window.open(file,'detailwin','fullscreen=no,toolbar=no,status=no,menubar=no,scrollbars=yes,resizable=yes,directories=no,location=no,width=640,height=665');
}
function detailflash(file) {
window.open(file,'detailflash','fullscreen=no,toolbar=no,status=no,menubar=no,scrollbars=yes,resizable=yes,directories=no,location=no,width=780,height=665');
}
function detailmap(file) {
window.open(file,'detailmap','fullscreen=no,toolbar=no,status=yes,menubar=yes,scrollbars=yes,resizable=yes,directories=no,location=no,width=800,height=640');
}
function detailmov(file) {
window.open(file,'detailmov','fullscreen=no,toolbar=no,status=no,menubar=no,scrollbars=yes,resizable=yes,directories=no,location=no,width=460,height=367');
}
function detailseating(file) {
window.open(file,'detailseating','fullscreen=no,toolbar=no,status=yes,menubar=yes,scrollbars=yes,resizable=yes,directories=no,location=no,width=880,height=680');
}

// Print Window
function printout() {
   if (navigator.userAgent.match(/msie (\d)/i))
      v = (eval(RegExp.$1) >= 5) ? 1 : 0;
   else if (self.innerWidth)
      v = (eval(navigator.appVersion.charAt(0)) >= 4) ? 1 : 0;
   else v = 0;
   if (v) self.print();
   else alert("お使いのブラウザではこの機能は利用できません。");
}

// These are Navigations for unCSS Browser
function headerNavi() {
document.write('<div id="headernavigation" class="hide">');
document.write('<a href="'+__path+'index.html" target="_self">東京国際フォーラム</a>&nbsp;|&nbsp;');
document.write('<a href="'+__path+'news/news.html" target="_self">ニュース一覧</a>&nbsp;|&nbsp;');
document.write('<a href="'+__path+'function/map/index.html" target="_self">マップ</a>&nbsp;|&nbsp;');
document.write('<a href="'+__path+'function/faq/index.html" target="_self">よくあるご質問</a>&nbsp;|&nbsp;');
document.write('<a href="'+__path+'function/contact/index.html" target="_self">お問い合わせ</a>&nbsp;|&nbsp;');
document.write('<a href="'+__path+'english/index.html" target="_self">ENGLISH</a>');
document.write('</div>');
}

function customerNavi() {
document.write('<div id="customernavigation" class="hide">');
document.write('<a href="'+__path+'general/index.html" target="_self">ご来館のお客様</a>&nbsp;|&nbsp;');
document.write('<a href="'+__path+'organizer/index.html" target="_self">主催者の方</a>&nbsp;|&nbsp;');
document.write('<a href="'+__path+'press/index.html" target="_self">プレス・マスコミの方</a>');
document.write('</div>');
}

function globalNaviGst() {
document.write('<div id="globalnavigation_gen" class="hide">');
document.write('<a href="'+__path+'general/guide/index.html" target="_self">施設ガイド</a>&nbsp;|&nbsp;');
document.write('<a href="'+__path+'event/event.html" target="_self">イベント情報</a>&nbsp;|&nbsp;');
document.write('<a href="'+__path+'general/publication/index.html" target="_self">広報誌</a>&nbsp;|&nbsp;');
document.write('<a href="'+__path+'general/accommondation/index.html" target="_self">周辺宿泊施設</a>&nbsp;|&nbsp;');
document.write('<a href="'+__path+'news/mediarelease/index.html" target="_self">メディアリリース</a>');
document.write('</div>');
}

function globalNaviOrg() {
document.write('<div id="globalnavigation_org" class="hide">');
document.write('<a href="'+__path+'organaizer/guide/index.html" target="_self">施設ガイド</a>&nbsp;|&nbsp;');
document.write('<a href="'+__path+'organaizer/facility/index.html" target="_self">施設利用案内</a>&nbsp;|&nbsp;');
document.write('<a href="'+__path+'organaizer/layoutplan/index.html" target="_self">レイアウトプラン</a>&nbsp;|&nbsp;');
document.write('<a href="'+__path+'organaizer/conference/index.html" target="_self">会議室のご案内</a>&nbsp;|&nbsp;');
document.write('<a href="'+__path+'event/event.html" target="_self">イベント情報</a>');
document.write('</div>');
}

function globalNaviPrs() {
document.write('<div id="globalnavigation_prs" class="hide">');
document.write('<a href="'+__path+'press/guide/index.html" target="_self">施設ガイド</a>&nbsp;|&nbsp;');
document.write('<a href="'+__path+'event/event.html" target="_self">イベント情報</a>&nbsp;|&nbsp;');
document.write('<a href="'+__path+'press/publication/index.html" target="_self">広報誌</a>&nbsp;|&nbsp;');
document.write('<a href="'+__path+'press/shooting/index.html" target="_self">撮影利用案内</a>&nbsp;|&nbsp;');
document.write('<a href="'+__path+'news/mediarelease/index.html" target="_self">メディアリリース</a>&nbsp;|&nbsp;');
document.write('<a href="'+__path+'press/offer/index.html" target="_self">取材・撮影お申込み</a>');
document.write('</div>');
}

function footerNavi() {
document.write('<div id="footernavigation" class="hide">');
document.write('<a href="'+__path+'function/questionneir/index.html" target="_self">アンケート</a>&nbsp;|&nbsp;');
document.write('<a href="'+__path+'function/mailmagazine/index.html" target="_self">メールマガジン</a>&nbsp;|&nbsp;');
document.write('<a href="'+__path+'function/mobile/index.html" target="_self">モバイル</a><br />');
document.write('<a href="'+__path+'index.html" target="_self">ホーム</a>&nbsp;|&nbsp;');
document.write('<a href="'+__path+'company/index.html" target="_self">会社情報</a>&nbsp;|&nbsp;');
document.write('<a href="'+__path+'function/sitemap/index.html" target="_self">サイトマップ</a>&nbsp;|&nbsp;');
document.write('<a href="'+__path+'function/terms/index.html" target="_self">サイトのご利用にあたって</a>');
document.write('</div>');
}

function forumist() {
document.write('<div id="forumistnavigation" class="hide">');
document.write('<h3>東京国際フォーラム広報誌 フォーラミスト</h3>');
document.write('<a href="'+__path+'general/publication/index.html" target="_self">最新号はこちら</a>&nbsp;|&nbsp;');
document.write('<a href="'+__path+'general/publication/backnumber/index.html" target="_self">バックナンバーはこちら</a>');
document.write('</div>');
}

// Attention for unCSS Browser
function attention() {
document.write('<span class="hide">お使いのブラウザでは正しく表示されない箇所がございます。サイト利用の詳細については<a href="'+__path+'function/terms/index.html" target="_self">サイトのご利用にあたって</a>をご覧ください。</span>');
}

// Form Date
function data() {
document.write('<select name="year" size="1">');
document.write('<option value="2004">2004年</option>');
document.write('<option value="2005">2005年</option>');
document.write('<option value="2006">2006年</option>');
document.write('<option value="2007">2007年</option>');
document.write('<option value="2008">2008年</option>');
document.write('<option value="2009">2009年</option>');
document.write('</select>&nbsp;&nbsp;<select name="month" size="1">');
document.write('<option value="01">1月</option>');
document.write('<option value="02">2月</option>');
document.write('<option value="03">3月</option>');
document.write('<option value="04">4月</option>');
document.write('<option value="05">5月</option>');
document.write('<option value="06">6月</option>');
document.write('<option value="07">7月</option>');
document.write('<option value="08">8月</option>');
document.write('<option value="09">9月</option>');
document.write('<option value="10">10月</option>');
document.write('<option value="11">11月</option>');
document.write('<option value="12">12月</option>');
document.write('</select>&nbsp;&nbsp;<select name="day" size="1">');
document.write('<option value="01">1日</option>');
document.write('<option value="02">2日</option>');
document.write('<option value="03">3日</option>');
document.write('<option value="04">4日</option>');
document.write('<option value="05">5日</option>');
document.write('<option value="06">6日</option>');
document.write('<option value="07">7日</option>');
document.write('<option value="08">8日</option>');
document.write('<option value="09">9日</option>');
document.write('<option value="10">10日</option>');
document.write('<option value="11">11日</option>');
document.write('<option value="12">12日</option>');
document.write('<option value="13">13日</option>');
document.write('<option value="14">14日</option>');
document.write('<option value="15">15日</option>');
document.write('<option value="16">16日</option>');
document.write('<option value="17">17日</option>');
document.write('<option value="18">18日</option>');
document.write('<option value="19">19日</option>');
document.write('<option value="20">20日</option>');
document.write('<option value="21">21日</option>');
document.write('<option value="22">22日</option>');
document.write('<option value="23">23日</option>');
document.write('<option value="24">24日</option>');
document.write('<option value="25">25日</option>');
document.write('<option value="26">26日</option>');
document.write('<option value="27">27日</option>');
document.write('<option value="28">28日</option>');
document.write('<option value="29">29日</option>');
document.write('<option value="30">30日</option>');
document.write('<option value="31">31日</option>');
document.write('</select>');
}

function time() {
document.write('&nbsp;&nbsp;<select name="time" size="1">');
document.write('<option value="1030">10:30</option>');
document.write('<option value="1300">13:00</option>');
document.write('<option value="1500">15:00</option>');
document.write('</select>');
}