//CSS設定
var cssImport=document.createElement("link");
cssImport.rel="stylesheet";
cssImport.type="text/css";
cssImport.href="/common/header.css";
document.getElementsByTagName("head")[0].appendChild(cssImport);

//カテゴリーナビ用ボタン
var img_btn_sp = '/common/images/btn_sp_off.gif';
var img_btn_sp_on = '/common/images/btn_sp_on.gif';
var img_btn_dra = '/common/images/btn_dra_off.gif';
var img_btn_dra_on = '/common/images/btn_dra_on.gif';
var img_btn_anime = '/common/images/btn_anime_off.gif';
var img_btn_anime_on = '/common/images/btn_anime_on.gif';
var img_btn_news = '/common/images/btn_news_off.gif';
var img_btn_news_on = '/common/images/btn_news_on.gif';
var img_btn_talk = '/common/images/btn_talk_off.gif';
var img_btn_talk_on = '/common/images/btn_talk_on.gif';
var img_btn_cook = '/common/images/btn_cook_off.gif';
var img_btn_cook_on = '/common/images/btn_cook_on.gif';
var img_btn_doc = '/common/images/btn_doc_off.gif';
var img_btn_doc_on = '/common/images/btn_doc_on.gif';
var img_btn_spo = '/common/images/btn_spo_off.gif';
var img_btn_spo_on = '/common/images/btn_spo_on.gif';
var img_btn_earth = '/common/images/btn_earth_off.gif';
var img_btn_earth_on = '/common/images/btn_earth_on.gif';

var html;
//枠テーブル
html = '<div id="common_head">\n';
html += '<table border="0" cellspacing="0" cellpadding="0" class="head">\n';
html += '<tr>\n';
html += '<td width="600"><a href="/" onFocus="this.blur()"><img src="/common/images/logo.gif" alt="bs-Asahi" width="155" height="31" \/><\/a><\/td>\n';
html += '<td width="380" class="globalNav"><table border="0" cellspacing="2" cellpadding="0" id="globalNavRight">\n';
html += '<tr>\n';
//グローバルナビ
html += '<td><a href="/" onFocus="this.blur()"><img src="/common/images/btn_top.gif" alt="TOPページ" width="65" height="19" \/><\/a><\/td>\n';
html += '<td><a href="/bangumi/" onFocus="this.blur()"><img src="/common/images/btn_bangumi.gif" alt="番組表" width="65" height="19" \/><\/a><\/td>\n';
html += '<td><a href="/ichiran/index.html" onFocus="this.blur()"><img src="/common/images/btn_list.gif" alt="番組一覧" width="65" height="19" \/><\/a><\/td>\n';
html += '<td><a href="/sitemap/index.html" onFocus="this.blur()"><img src="/common/images/btn_site.gif" alt="サイトマップ" width="65" height="19" \/><\/a><\/td>\n';
//サイト内検索
html += '<td>';
html += '<form action="/apps/search_engine/www/search.php" method="post">';
html += '<input type="hidden" value="sjis" name="cs" \/>';
html += '<input type="hidden" value="s" name="ord" \/>';
html += '<input type="hidden" value="10042" name="id" \/>';
html += '<table border="0" cellspacing="0" cellpadding="0">';
html += '<tr>';
html += '<td>';
html += '<input type="text" name="kw" id="kw" style="border:#c3c3c3 solid 1px; text-align:left; margin:2px; padding:1px; color:#999999;" value="" \/>\n';
html += '<\/td>';
html += '<td>\n';
html += '<input type="image" src="/common/images/btn_search.gif" alt="検索" width="37" height="19" \/>\n';
html += '<\/td>';
html += '<\/tr>';
html += '<\/table>';
html += '<\/form>\n';
html += '<\/td>';
html += '<\/tr>\n';
html += '<\/table><\/td>\n';
html += '<\/tr>\n';
html += '<tr>\n';
html += '<td colspan="2"><table border="0" cellspacing="0" cellpadding="0">\n';
html += '<tr>\n';
//カテゴリーナビ
//スペシャル/特番
html += '<td><a href="/ichiran/index.html#special" onFocus="this.blur()">';
html += '<img src="/common/images/btn_sp_off.gif" alt="スペシャル\/特番" onMouseOver="this.src=' + '\'' + img_btn_sp_on + '\'" onMouseOut="this.src=' + '\'' + img_btn_sp + '\'" \/>';
html += '<\/a><\/td>\n';
//ドラマ
html += '<td><a href="/ichiran/index.html#drama" onFocus="this.blur()">';
html += '<img src="/common/images/btn_dra_off.gif" alt="ドラマ/映画" onMouseOver="this.src=' + '\'' + img_btn_dra_on + '\'" onMouseOut="this.src=' + '\'' + img_btn_dra + '\'" \/>';
html += '<\/a><\/td>\n';
//アニメ
html += '<td><a href="/ichiran/index.html#anime" onFocus="this.blur()">';
html += '<img src="/common/images/btn_anime_off.gif" alt="アニメ" onMouseOver="this.src=' + '\'' + img_btn_anime_on + '\'" onMouseOut="this.src=' + '\'' + img_btn_anime + '\'" \/>';
html += '<\/a><\/td>\n';
//ニュース/情報
html += '<td><a href="/ichiran/index.html#news" onFocus="this.blur()">';
html += '<img src="/common/images/btn_news_off.gif" alt="ニュース\/情報" onMouseOver="this.src=' + '\'' + img_btn_news_on + '\'" onMouseOut="this.src=' + '\'' + img_btn_news + '\'" \/>';
html += '<\/a><\/td>\n';
//トーク/音楽
html += '<td><a href="/ichiran/index.html#talk" onFocus="this.blur()">';
html += '<img src="/common/images/btn_talk_off.gif" alt="トーク\/音楽" onMouseOver="this.src=' + '\'' + img_btn_talk_on + '\'" onMouseOut="this.src=' + '\'' + img_btn_talk + '\'" \/>';
html += '<\/a><\/td>\n';
//料理/食
html += '<td><a href="/ichiran/index.html#cooking" onFocus="this.blur()">';
html += '<img src="/common/images/btn_cook_off.gif" alt="料理\/食" onMouseOver="this.src=' + '\'' + img_btn_cook_on + '\'" onMouseOut="this.src=' + '\'' + img_btn_cook + '\'" \/>';
html += '<\/a><\/td>\n';
//紀行/ドキュメンタリー
html += '<td><a href="/ichiran/index.html#travel" onFocus="this.blur()">';
html += '<img src="/common/images/btn_doc_off.gif" alt="紀行\/ドキュメンタリー" onMouseOver="this.src=' + '\'' + img_btn_doc_on + '\'" onMouseOut="this.src=' + '\'' + img_btn_doc + '\'" \/>';
html += '<\/a><\/td>\n';
//スポーツ
html += '<td><a href="/ichiran/index.html#sport" onFocus="this.blur()">';
html += '<img src="/common/images/btn_spo_off.gif" alt="スポーツ" onMouseOver="this.src=' + '\'' + img_btn_spo_on + '\'" onMouseOut="this.src=' + '\'' + img_btn_spo + '\'" \/>';
html += '<\/a><\/td>\n';
//環境/EARTH FRIENDLY MEDIA
html += '<td><a href="/ichiran/index.html#earth" onFocus="this.blur()">';
html += '<img src="/common/images/btn_earth_off.gif" alt="環境\/EARTH FRIENDLY MEDIA" onMouseOver="this.src=' + '\'' + img_btn_earth_on + '\'" onMouseOut="this.src=' + '\'' + img_btn_earth + '\'" \/>';
html += '<\/a><\/td>\n';

html += '<\/tr>\n';
html += '<\/table><\/td>\n';
html += '<\/tr>\n';
html += '<\/table>\n';
html += '<\/div>\n';

document.write(html);