/**
 * 各種設定
 */

//CSS
var cssImport=document.createElement("link");
cssImport.rel="stylesheet";
cssImport.type="text\/css";
cssImport.href="/common/header/css/common_header_top.css";
document.getElementsByTagName("head")[0].appendChild(cssImport);

//image
var img_find = '\/common/header/images/bt_find.gif';
var img_find_on = '\/common/header/images/bt_find_on.gif';

var img_hyo = '\/common/header/images/bt_hyo.gif';
var img_hyo_on = '\/common/header/images/bt_hyo_on.gif';

var img_top = '\/common/header/images/bt_top.gif';
var img_top_on = '\/common/header/images/bt_top_on.gif';

var btn01 = '\/common/header/images/btn01.gif';
var btn01_on = '\/common/header/images/btn01o.gif';

var btn02 = '\/common/header/images/btn02.gif';
var btn02_on = '\/common/header/images/btn02o.gif';

var btn03 = '\/common/header/images/btn03.gif';
var btn03_on = '\/common/header/images/btn03o.gif';

var btn04 = '\/common/header/images/btn04.gif';
var btn04_on = '\/common/header/images/btn04o.gif';

var btn05 = '\/common/header/images/btn05.gif';
var btn05_on = '\/common/header/images/btn05o.gif';

var btn06 = '\/common/header/images/btn06.gif';
var btn06_on = '\/common/header/images/btn06o.gif';

var btn07 = '\/common/header/images/btn07.gif';
var btn07_on = '\/common/header/images/btn07o.gif';

var btn08 = '\/common/header/images/btn08.gif';
var btn08_on = '\/common/header/images/btn08o.gif';

var btn09 = '\/common/header/images/btn09.gif';
var btn09_on = '\/common/header/images/btn09o.gif';

var btn10 = '\/common/header/images/btn10.gif';
var btn10_on = '\/common/header/images/btn10o.gif';

var btn11 = '\/common/header/images/btn11.gif';
var btn11_on = '\/common/header/images/btn11o.gif';

var btn12 = '\/common/header/images/btn12.gif';
var btn12_on = '\/common/header/images/btn12o.gif';


document.write('<table width="100%" class="common_header_bg"><tr><td>');
document.write('<table cellpadding="0" cellspacing="0" width="800" id="common_header_centering" align="center">');
document.write('<tr>');
document.write('<td width="166" align="center" valign="middle">');
document.write('<a href="http://www.tv-asahi.co.jp/" target="_top" onFocus="this.blur()">');
document.write('<img src="/common/header/images/logo.gif" alt="テレビ朝日" width="128" height="26" border="0" />');
document.write('</a>');
document.write('</td>');

document.write('\n\n<td width="468"><!-- CheckM8 Plaseholder start-->');
document.write('<scr' + 'ipt language="JavaScript">');
document.write('CM8ShowAd("banner")');
document.write('<\/');
document.write('script>');
document.write('<!-- CheckM8 Plaseholder end--><\/td>');



document.write('<td width="5"><img src="/common/header/images/spacer.gif" height="5" /></td>');
document.write('<td width="161">');
document.write('<table cellpadding="0" cellspacing="0" height="60">');
document.write('<tr>');
document.write('<td valign="bottom" colspan="2" height="30">');
document.write('<a href="/bangumi/" target="_top" onFocus="this.blur()">');
document.write('<img style="border:none" src="/common/header/images/bt_hyo.gif" alt="番組表" width="63" height="18" border="0" onMouseOver="');

document.write('this.src=' + '\'' +img_hyo_on + '\'');
document.write('" onMouseOut="');
document.write('this.src=' + '\'' + img_hyo + '\'');
document.write('"></a>');

document.write('<img src="/common/header/images/spacer.gif" width="3">');
document.write('<a href="http://www.tv-asahi.co.jp/" target="_top" onFocus="this.blur()">');
document.write('<img src="/common/header/images/bt_top.gif" alt="テレビ朝日TOP" width="95" height="18" border="0" onMouseOver="');
document.write('this.src=' + '\'' +img_top_on + '\'');
document.write('" onMouseOut="');
document.write('this.src=' + '\'' + img_top + '\'');
document.write('"></a></td>');


document.write('</tr>');
document.write('<tr><td height="1"></td></tr>');
document.write('<form action="http://search.tv-asahi.co.jp/api/search2/ex" method="GET" target="_top">');
document.write('<input type="hidden" name="enc" value="sjis">');
document.write('<td valign="top" height="29" class="common_header_form01_bg">');
document.write('<div class="common_header_form01"><input class="common_header_input01" name="q" type="text" /></div></td>');
document.write('<td valign="top" align="right">');

document.write('<input type="image" src="/common/header/images/bt_find.gif" alt="検索" width="33" height="18" border="0" onMouseOver="');
document.write('this.src=' + '\'' +img_find_on + '\'');
document.write('" onMouseOut="');
document.write('this.src=' + '\'' + img_find + '\'');
document.write('" align="top" /></td>');

document.write('</tr></form>');
document.write('</table>');
document.write('</td>');
document.write('</tr>');
document.write('<tr><td height="5" colspan="4"></td></tr>');
document.write('</table>');
document.write('<table cellpadding="0" cellspacing="0" height="18" align="center" width="800" id="common_header_centering">');
document.write('<tr>');

document.write('<td>');
document.write('<a href="/news/" target="_top" onFocus="this.blur()">');
document.write('<img src="/common/header/images/btn01.gif" alt="報道・情報" width="70" height="18" border="0" onMouseOver="');
document.write('this.src=' + '\'' + btn01_on + '\'');
document.write('" onMouseOut="');
document.write('this.src=' + '\'' + btn01 + '\'"></a>');

document.write('<a href="/drama/" target="_top" onFocus="this.blur()">');
document.write('<img src="/common/header/images/btn02.gif" alt="ドラマ" width="58" height="18" border="0" onMouseOver="');
document.write('this.src=' + '\'' + btn02_on + '\'');
document.write('" onMouseOut="');
document.write('this.src=' + '\'' + btn02 + '\'"></a>');

document.write('<a href="/movie/" target="_top" onFocus="this.blur()">');
document.write('<img src="/common/header/images/btn03.gif" alt="映画" width="58" height="18" border="0" onMouseOver="');
document.write('this.src=' + '\'' + btn03_on + '\'');
document.write('" onMouseOut="');
document.write('this.src=' + '\'' + btn03 + '\'"></a>');


document.write('<a href="/variety/" target="_top" onFocus="this.blur()">');
document.write('<img src="/common/header/images/btn04.gif" alt="バラエティ" width="68" height="18" border="0" onMouseOver="');
document.write('this.src=' + '\'' + btn04_on + '\'');
document.write('" onMouseOut="');
document.write('this.src=' + '\'' + btn04 + '\'"></a>');


document.write('<a href="/music-top/" target="_top" onFocus="this.blur()">');
document.write('<img src="/common/header/images/btn05.gif" alt="音楽" width="58" height="18" border="0" onMouseOver="');
document.write('this.src=' + '\'' + btn05_on + '\'');
document.write('" onMouseOut="');
document.write('this.src=' + '\'' + btn05 + '\'"></a>');


document.write('<a href="/sports/" target="_top" onFocus="this.blur()">');
document.write('<img src="/common/header/images/btn06.gif" alt="スポーツ" width="58" height="18" border="0" onMouseOver="');
document.write('this.src=' + '\'' + btn06_on + '\'');
document.write('" onMouseOut="');
document.write('this.src=' + '\'' + btn06 + '\'"></a>');


document.write('<a href="/anime/" target="_top" onFocus="this.blur()">');
document.write('<img src="/common/header/images/btn07.gif" alt="アニメ・ヒーロー" width="83" height="18" border="0" onMouseOver="');
document.write('this.src=' + '\'' + btn07_on + '\'');
document.write('" onMouseOut="');
document.write('this.src=' + '\'' + btn07 + '\'"></a>');


document.write('<a href="/cooking/" target="_top" onFocus="this.blur()">');
document.write('<img src="/common/header/images/btn08.gif" alt="料理・旅・暮らし" width="83" height="18" border="0" onMouseOver="');
document.write('this.src=' + '\'' + btn08_on + '\'');
document.write('" onMouseOut="');
document.write('this.src=' + '\'' + btn08 + '\'"></a>');


document.write('<a href="http://ropping.tv-asahi.co.jp/" target="_top" onFocus="this.blur()">');
document.write('<img src="/common/header/images/btn09.gif" alt="ショッピング" width="72" height="18" border="0" onMouseOver="');
document.write('this.src=' + '\'' + btn09_on + '\'');
document.write('" onMouseOut="');
document.write('this.src=' + '\'' + btn09 + '\'"></a>');


document.write('<a href="/event/" target="_top" onFocus="this.blur()">');
document.write('<img src="/common/header/images/btn10.gif" alt="イベント" width="58" height="18" border="0" onMouseOver="');
document.write('this.src=' + '\'' + btn10_on + '\'');
document.write('" onMouseOut="');
document.write('this.src=' + '\'' + btn10 + '\'"></a>');


document.write('<a href="http://bb.tv-asahi.co.jp/" target="_top" onFocus="this.blur()">');
document.write('<img src="/common/header/images/btn11.gif" alt="動画" width="58" height="18" border="0" onMouseOver="');
document.write('this.src=' + '\'' + btn11_on + '\'');
document.write('" onMouseOut="');
document.write('this.src=' + '\'' + btn11 + '\'"></a>');


document.write('<a href="/announcer/" target="_top" onFocus="this.blur()">');
document.write('<img src="/common/header/images/btn12.gif" alt="アナウンサーズ" width="76" height="18" border="0" onMouseOver="');
document.write('this.src=' + '\'' + btn12_on + '\'');
document.write('" onMouseOut="');
document.write('this.src=' + '\'' + btn12 + '\'"></a>');


document.write('</td>');
document.write('</tr>');
document.write('</table>');
document.write('</td>');
document.write('</tr>');
document.write('</table>');
//document.write('</table>');
//document.write('</td></tr>');
//document.write('</table>');

