﻿//共通ヘッダ部分表示
function header(num) {

	//コンテンツごとに変更したい場合はnumの値を変更する
	//０デフォルト
	if(num=='0'){
		document.write(
			'<div class="mx_menu_all">',
			'<script type="text/javascript" src="http://www.mxtv.co.jp/head/mx_menu_roadcss.js"></script>',
			'<table width="100%" height="38" class="banner_bg" border="0" cellspacing="0" cllpadding="0"><tr><td background="http://www.mxtv.co.jp/head/bg.jpg" style="text-align:center;">',
			'<ul class="mx_menu_ul">',
			'<li class="mx_menu_logo"><a href="http://www.mxtv.co.jp/">TOKYO MX</a></li>',
			'<li class="mx_menu_schedule"><a href="http://www.mxtv.co.jp/bangumi/">番組表</a></li>',
			'<li class="mx_menu_news"><a href="http://www.mxtv.co.jp/mxnews/">ニュース</a></li>',
			'<li class="mx_menu_variety"><a href="http://www.mxtv.co.jp/variety/">バラエティ・情報</a></li>',
			'<li class="mx_menu_sports"><a href="http://www.mxtv.co.jp/sports/">スポーツ</a></li>',
			'<li class="mx_menu_anime"><a href="http://www.mxtv.co.jp/anime_portal/">アニメ</a></li>',
			'<li class="mx_menu_drama"><a href="http://www.mxtv.co.jp/drama/">ドラマ</a></li>',
			'<li class="mx_menu_cinema"><a href="http://www.mxtv.co.jp/cinema2/">映画</a></li>',
			'<li class="mx_menu_music"><a href="http://www.mxtv.co.jp/music/">ミュージック</a></li>',
			'<li class="mx_menu_shop"><a href="http://www.mxtv.co.jp/enter_depart/">ショッピング</a></li>',
			'<li class="mx_menu_blog"><a href="http://www.mxtv.co.jp/blog_portal/">ブログ</a></li>',
			'<li class="mx_menu_top"><a href="http://www.mxtv.co.jp/">TOKYO MXトップページ</a></li>',
			'</ul>',
			'</td></tr></table>',
			'</div>'
		);
		//document.write("<div align='center'>");
		//document.write("<table width='100%'  class='banner_bg' border='0' cellspacing='0' cllpadding='0'><tr><td background='http://www.mxtv.co.jp/head/bg.jpg'><div align='center'><object classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0' width='824' height='37' id='menu' align='middle'><param name='allowScriptAccess' value='always' /><param name='allowFullScreen' value='false' /><param name='movie' value='http://www.mxtv.co.jp/head/menu_3.swf' /><param name='quality' value='high' /><param name='bgcolor' value='#ffffff' /><embed src='http://www.mxtv.co.jp/head/menu_3.swf' quality='high' bgcolor='#ffffff' width='824' height='37' name='menu' align='middle' allowScriptAccess='always' allowFullScreen='false' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer' /></object></div></td></tr></table>");
		//document.write("</div>");
	}

else
	//①デフォルト
	if(num=='1'){
		document.write(
			'<div class="mx_menu_all">',
			'<script type="text/javascript" src="http://www.mxtv.co.jp/head/mx_menu_roadcss.js"></script>',
			'<table width="100%" height="38" class="banner_bg" border="0" cellspacing="0" cllpadding="0"><tr><td background="http://www.mxtv.co.jp/head/bg.jpg" style="text-align:center;">',
			'<ul class="mx_menu_ul">',
			'<li class="mx_menu_logo"><a href="http://www.mxtv.co.jp/">TOKYO MX</a></li>',
			'<li class="mx_menu_schedule"><a href="http://www.mxtv.co.jp/bangumi/">番組表</a></li>',
			'<li class="mx_menu_news"><a href="http://www.mxtv.co.jp/mxnews/">ニュース</a></li>',
			'<li class="mx_menu_variety"><a href="http://www.mxtv.co.jp/variety/">バラエティ・情報</a></li>',
			'<li class="mx_menu_sports"><a href="http://www.mxtv.co.jp/sports/">スポーツ</a></li>',
			'<li class="mx_menu_anime"><a href="http://www.mxtv.co.jp/anime_portal/">アニメ</a></li>',
			'<li class="mx_menu_drama"><a href="http://www.mxtv.co.jp/drama/">ドラマ</a></li>',
			'<li class="mx_menu_cinema"><a href="http://www.mxtv.co.jp/cinema2/">映画</a></li>',
			'<li class="mx_menu_music"><a href="http://www.mxtv.co.jp/music/">ミュージック</a></li>',
			'<li class="mx_menu_shop"><a href="http://www.mxtv.co.jp/enter_depart/">ショッピング</a></li>',
			'<li class="mx_menu_blog"><a href="http://www.mxtv.co.jp/blog_portal/">ブログ</a></li>',
			'<li class="mx_menu_top"><a href="http://www.mxtv.co.jp/">TOKYO MXトップページ</a></li>',
			'</ul>',
			'</td></tr></table>',
			'<iframe width="728" height="90" marginwidth="0" marginheight="0" frameborder="0" scrolling="no" src="http://ad.mxtv.co.jp/html.ng/params.styles=img2&site=tokyomx&kind=mxbangumilarge"></iframe>',
			'</div>'
		);
		//document.write("<div align='center'>");
		//document.write("<table width='100%'  class='banner_bg' border='0' cellspacing='0' cllpadding='0'><tr><td background='http://www.mxtv.co.jp/head/bg.jpg'><div align='center'><object classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0' width='824' height='37' id='menu' align='middle'><param name='allowScriptAccess' value='always' /><param name='allowFullScreen' value='false' /><param name='movie' value='http://www.mxtv.co.jp/head/menu_3.swf' /><param name='quality' value='high' /><param name='bgcolor' value='#ffffff' /><embed src='http://www.mxtv.co.jp/head/menu_3.swf' quality='high' bgcolor='#ffffff' width='824' height='37' name='menu' align='middle' allowScriptAccess='always' allowFullScreen='false' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer' /></object></div></td></tr><tr><td><div align='center'><table style='margin-top:2px;border:0px;margin-bottom:2px;'><tr><td><iframe width='728' height='90' marginwidth='0' marginheight='0' frameborder='0' scrolling='no' src='http://ad.mxtv.co.jp/html.ng/params.styles=img2&site=tokyomx&kind=mxbangumilarge'></iframe></td></tr></table></div></td></tr></table>");
		//document.write("</div>");
	}

else
	//②空き（現在デフォルトヘッダー）
	if(num=='2'){
		document.write(
			'<div class="mx_menu_all">',
			'<script type="text/javascript" src="http://www.mxtv.co.jp/head/mx_menu_roadcss.js"></script>',
			'<table width="100%" height="38" class="banner_bg" border="0" cellspacing="0" cllpadding="0"><tr><td background="http://www.mxtv.co.jp/head/bg.jpg" style="text-align:center;">',
			'<ul class="mx_menu_ul">',
			'<li class="mx_menu_logo"><a href="http://www.mxtv.co.jp/">TOKYO MX</a></li>',
			'<li class="mx_menu_schedule"><a href="http://www.mxtv.co.jp/bangumi/">番組表</a></li>',
			'<li class="mx_menu_news"><a href="http://www.mxtv.co.jp/mxnews/">ニュース</a></li>',
			'<li class="mx_menu_variety"><a href="http://www.mxtv.co.jp/variety/">バラエティ・情報</a></li>',
			'<li class="mx_menu_sports"><a href="http://www.mxtv.co.jp/sports/">スポーツ</a></li>',
			'<li class="mx_menu_anime"><a href="http://www.mxtv.co.jp/anime_portal/">アニメ</a></li>',
			'<li class="mx_menu_drama"><a href="http://www.mxtv.co.jp/drama/">ドラマ</a></li>',
			'<li class="mx_menu_cinema"><a href="http://www.mxtv.co.jp/cinema2/">映画</a></li>',
			'<li class="mx_menu_music"><a href="http://www.mxtv.co.jp/music/">ミュージック</a></li>',
			'<li class="mx_menu_shop"><a href="http://www.mxtv.co.jp/enter_depart/">ショッピング</a></li>',
			'<li class="mx_menu_blog"><a href="http://www.mxtv.co.jp/blog_portal/">ブログ</a></li>',
			'<li class="mx_menu_top"><a href="http://www.mxtv.co.jp/">TOKYO MXトップページ</a></li>',
			'</ul>',
			'</td></tr></table>',
			'</div>'
		);
		//document.write("<div align='center'>");
		//document.write("<table width='100%'  class='banner_bg' border='0' cellspacing='0' cllpadding='0'><tr><td background='http://www.mxtv.co.jp/head/bg.jpg'><div align='center'><object classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0' width='824' height='37' id='menu' align='middle'><param name='allowScriptAccess' value='always' /><param name='allowFullScreen' value='false' /><param name='movie' value='http://www.mxtv.co.jp/head/menu_3.swf' /><param name='quality' value='high' /><param name='bgcolor' value='#ffffff' /><embed src='http://www.mxtv.co.jp/head/menu_3.swf' quality='high' bgcolor='#ffffff' width='824' height='37' name='menu' align='middle' allowScriptAccess='always' allowFullScreen='false' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer' /></object></div></td></tr></table>");
		//document.write("</div>");
	}

else
	//③アニメポータール
	if(num=='3'){
		document.write(
			'<div class="mx_menu_all">',
			'<script type="text/javascript" src="http://www.mxtv.co.jp/head/mx_menu_roadcss.js"></script>',
			'<table width="100%" height="38" class="banner_bg" border="0" cellspacing="0" cllpadding="0"><tr><td background="http://www.mxtv.co.jp/head/bg.jpg" style="text-align:center;">',
			'<ul class="mx_menu_ul">',
			'<li class="mx_menu_logo"><a href="http://www.mxtv.co.jp/">TOKYO MX</a></li>',
			'<li class="mx_menu_schedule"><a href="http://www.mxtv.co.jp/bangumi/">番組表</a></li>',
			'<li class="mx_menu_news"><a href="http://www.mxtv.co.jp/mxnews/">ニュース</a></li>',
			'<li class="mx_menu_variety"><a href="http://www.mxtv.co.jp/variety/">バラエティ・情報</a></li>',
			'<li class="mx_menu_sports"><a href="http://www.mxtv.co.jp/sports/">スポーツ</a></li>',
			'<li class="mx_menu_anime"><a href="http://www.mxtv.co.jp/anime_portal/">アニメ</a></li>',
			'<li class="mx_menu_drama"><a href="http://www.mxtv.co.jp/drama/">ドラマ</a></li>',
			'<li class="mx_menu_cinema"><a href="http://www.mxtv.co.jp/cinema2/">映画</a></li>',
			'<li class="mx_menu_music"><a href="http://www.mxtv.co.jp/music/">ミュージック</a></li>',
			'<li class="mx_menu_shop"><a href="http://www.mxtv.co.jp/enter_depart/">ショッピング</a></li>',
			'<li class="mx_menu_blog"><a href="http://www.mxtv.co.jp/blog_portal/">ブログ</a></li>',
			'<li class="mx_menu_top"><a href="http://www.mxtv.co.jp/">TOKYO MXトップページ</a></li>',
			'</ul>',
			'</td></tr></table>',
			'<!-- 728x90size banner from AD Server --><iframe width="728" height="90" marginwidth="0" marginheight="0" frameborder="0" scrolling="no" src="http://ad.mxtv.co.jp/html.ng/params.styles=img2&site=tokyomx&bangumi=mxanime_portal&kind=mxbangumilarge"></iframe><!-- //728x90size banner from AD Server -->',
			'</div>'
		);
		//document.write("<div align='center'>");
		//document.write("<table width='100%'  class='banner_bg' border='0' cellspacing='0' cllpadding='0'><tr><td background='http://www.mxtv.co.jp/head/bg2.jpg' ><div align='center'><object classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0' width='824' height='37' id='menu' align='middle'><param name='allowScriptAccess' value='always' /><param name='allowFullScreen' value='false' /><param name='movie' value='http://www.mxtv.co.jp/head/menu_3.swf' /><param name='quality' value='high' /><param name='bgcolor' value='#ffffff' /><embed src='http://www.mxtv.co.jp/head/menu_3.swf' quality='high' bgcolor='#ffffff' width='824' height='37' name='menu' align='middle' allowScriptAccess='always' allowFullScreen='false' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer' /></object></div></td></tr><tr><td><div align='center'><table style='margin-top:2px;border:0px;'><tr><td><!-- 728x90size banner from AD Server --><iframe width='728' height='90' marginwidth='0' marginheight='0' frameborder='0' scrolling='no' src='http://ad.mxtv.co.jp/html.ng/params.styles=img2&site=tokyomx&bangumi=mxanime_portal&kind=mxbangumilarge'></iframe><!-- //728x90size banner from AD Server --></td></tr></table></div></td></tr><tr><td height='1' class='head_hr'></td></tr></table>");
		//document.write("</div>");
	}

else
	//④アナウンサー
	if(num=='4'){
		document.write(
			'<div class="mx_menu_all">',
			'<script type="text/javascript" src="http://www.mxtv.co.jp/head/mx_menu_roadcss.js"></script>',
			'<table width="100%" height="38" class="banner_bg" border="0" cellspacing="0" cllpadding="0"><tr><td background="http://www.mxtv.co.jp/head/bg.jpg" style="text-align:center;">',
			'<ul class="mx_menu_ul">',
			'<li class="mx_menu_logo"><a href="http://www.mxtv.co.jp/">TOKYO MX</a></li>',
			'<li class="mx_menu_schedule"><a href="http://www.mxtv.co.jp/bangumi/">番組表</a></li>',
			'<li class="mx_menu_news"><a href="http://www.mxtv.co.jp/mxnews/">ニュース</a></li>',
			'<li class="mx_menu_variety"><a href="http://www.mxtv.co.jp/variety/">バラエティ・情報</a></li>',
			'<li class="mx_menu_sports"><a href="http://www.mxtv.co.jp/sports/">スポーツ</a></li>',
			'<li class="mx_menu_anime"><a href="http://www.mxtv.co.jp/anime_portal/">アニメ</a></li>',
			'<li class="mx_menu_drama"><a href="http://www.mxtv.co.jp/drama/">ドラマ</a></li>',
			'<li class="mx_menu_cinema"><a href="http://www.mxtv.co.jp/cinema2/">映画</a></li>',
			'<li class="mx_menu_music"><a href="http://www.mxtv.co.jp/music/">ミュージック</a></li>',
			'<li class="mx_menu_shop"><a href="http://www.mxtv.co.jp/enter_depart/">ショッピング</a></li>',
			'<li class="mx_menu_blog"><a href="http://www.mxtv.co.jp/blog_portal/">ブログ</a></li>',
			'<li class="mx_menu_top"><a href="http://www.mxtv.co.jp/">TOKYO MXトップページ</a></li>',
			'</ul>',
			'</td></tr></table>',
			'<iframe src="https://ads.adjust-net.jp/adserver/ads?med=201&site=255&frame=13421&height=60&width=468&type=0&js=0" scrolling="no" height="60" width="468" frameborder="0" marginheight="0" marginwidth="0" title="ads"></iframe>',
			'</div>'
		);
		//document.write("<div align='center'>");
		//document.write("<table width='100%'  class='banner_bg' border='0' cellspacing='0' cllpadding='0'><tr><td background='http://www.mxtv.co.jp/head/bg.jpg' ><div align='center'><object classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0' width='824' height='37' id='menu' align='middle'><param name='allowScriptAccess' value='always' /><param name='allowFullScreen' value='false' /><param name='movie' value='http://www.mxtv.co.jp/head/menu_3.swf' /><param name='quality' value='high' /><param name='bgcolor' value='#ffffff' /><embed src='http://www.mxtv.co.jp/head/menu_3.swf' quality='high' bgcolor='#ffffff' width='824' height='37' name='menu' align='middle' allowScriptAccess='always' allowFullScreen='false' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer' /></object></div></td></tr><tr><td><div align='center'><table style='margin-top:2px;border:0px;'><tr><td><iframe src='https://ads.adjust-net.jp/adserver/ads?med=201&site=255&frame=13421&height=60&width=468&type=0&js=0' scrolling='no' height='60' width='468' frameborder='0' marginheight='0' marginwidth='0' title='ads'></iframe></td></tr></table></div></td></tr><tr><td height='1' class='head_hr'></td></tr></table>");
		//document.write("</div>");
	}

else
	//⑤番組表
	if(num=='5'){
		document.write(
			'<div class="mx_menu_all">',
			'<script type="text/javascript" src="http://www.mxtv.co.jp/head/mx_menu_roadcss.js"></script>',
			'<table width="100%" height="38" class="banner_bg" border="0" cellspacing="0" cllpadding="0"><tr><td background="http://www.mxtv.co.jp/head/bg.jpg" style="text-align:center;">',
			'<ul class="mx_menu_ul">',
			'<li class="mx_menu_logo"><a href="http://www.mxtv.co.jp/">TOKYO MX</a></li>',
			'<li class="mx_menu_schedule"><a href="http://www.mxtv.co.jp/bangumi/">番組表</a></li>',
			'<li class="mx_menu_news"><a href="http://www.mxtv.co.jp/mxnews/">ニュース</a></li>',
			'<li class="mx_menu_variety"><a href="http://www.mxtv.co.jp/variety/">バラエティ・情報</a></li>',
			'<li class="mx_menu_sports"><a href="http://www.mxtv.co.jp/sports/">スポーツ</a></li>',
			'<li class="mx_menu_anime"><a href="http://www.mxtv.co.jp/anime_portal/">アニメ</a></li>',
			'<li class="mx_menu_drama"><a href="http://www.mxtv.co.jp/drama/">ドラマ</a></li>',
			'<li class="mx_menu_cinema"><a href="http://www.mxtv.co.jp/cinema2/">映画</a></li>',
			'<li class="mx_menu_music"><a href="http://www.mxtv.co.jp/music/">ミュージック</a></li>',
			'<li class="mx_menu_shop"><a href="http://www.mxtv.co.jp/enter_depart/">ショッピング</a></li>',
			'<li class="mx_menu_blog"><a href="http://www.mxtv.co.jp/blog_portal/">ブログ</a></li>',
			'<li class="mx_menu_top"><a href="http://www.mxtv.co.jp/">TOKYO MXトップページ</a></li>',
			'</ul>',
			'</td></tr></table>',
			'<iframe src="https://ads.adjust-net.jp/adserver/ads?med=201&site=255&frame=13420&height=60&width=468&type=0&js=0" scrolling="no" height="60" width="468" frameborder="0" marginheight="0" marginwidth="0" title="ads"></iframe>',
			'</div>'
		);
		//document.write("<div align='center'>");
		//document.write("<table width='100%'  class='banner_bg' border='0' cellspacing='0' cllpadding='0'><tr><td background='http://www.mxtv.co.jp/head/bg2.jpg' ><div align='center'><object classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0' width='824' height='37' id='menu' align='middle'><param name='allowScriptAccess' value='always' /><param name='allowFullScreen' value='false' /><param name='movie' value='http://www.mxtv.co.jp/head/menu_3.swf' /><param name='quality' value='high' /><param name='bgcolor' value='#ffffff' /><embed src='http://www.mxtv.co.jp/head/menu_3.swf' quality='high' bgcolor='#ffffff' width='824' height='37' name='menu' align='middle' allowScriptAccess='always' allowFullScreen='false' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer' /></object></div></td></tr><tr><td><div align='center'><table style='margin-top:2px;border:0px;'><tr><td><iframe src='https://ads.adjust-net.jp/adserver/ads?med=201&site=255&frame=13420&height=60&width=468&type=0&js=0' scrolling='no' height='60' width='468' frameborder='0' marginheight='0' marginwidth='0' title='ads'></iframe></td></tr></table></div></td></tr><tr><td height='1' class='head_hr'></td></tr></table>");
		//document.write("</div>");
	}

else
	//⑥ドラマTOP
	if(num=='6'){
		document.write(
			'<div class="mx_menu_all">',
			'<script type="text/javascript" src="http://www.mxtv.co.jp/head/mx_menu_roadcss.js"></script>',
			'<table width="100%" height="38" class="banner_bg" border="0" cellspacing="0" cllpadding="0"><tr><td background="http://www.mxtv.co.jp/head/bg.jpg" style="text-align:center;">',
			'<ul class="mx_menu_ul">',
			'<li class="mx_menu_logo"><a href="http://www.mxtv.co.jp/">TOKYO MX</a></li>',
			'<li class="mx_menu_schedule"><a href="http://www.mxtv.co.jp/bangumi/">番組表</a></li>',
			'<li class="mx_menu_news"><a href="http://www.mxtv.co.jp/mxnews/">ニュース</a></li>',
			'<li class="mx_menu_variety"><a href="http://www.mxtv.co.jp/variety/">バラエティ・情報</a></li>',
			'<li class="mx_menu_sports"><a href="http://www.mxtv.co.jp/sports/">スポーツ</a></li>',
			'<li class="mx_menu_anime"><a href="http://www.mxtv.co.jp/anime_portal/">アニメ</a></li>',
			'<li class="mx_menu_drama"><a href="http://www.mxtv.co.jp/drama/">ドラマ</a></li>',
			'<li class="mx_menu_cinema"><a href="http://www.mxtv.co.jp/cinema2/">映画</a></li>',
			'<li class="mx_menu_music"><a href="http://www.mxtv.co.jp/music/">ミュージック</a></li>',
			'<li class="mx_menu_shop"><a href="http://www.mxtv.co.jp/enter_depart/">ショッピング</a></li>',
			'<li class="mx_menu_blog"><a href="http://www.mxtv.co.jp/blog_portal/">ブログ</a></li>',
			'<li class="mx_menu_top"><a href="http://www.mxtv.co.jp/">TOKYO MXトップページ</a></li>',
			'</ul>',
			'</td></tr></table>',
			'<!-- 728x90size banner from AD Server --><iframe width="728" height="90" marginwidth="0" marginheight="0" frameborder="0" scrolling="no" src="http://ad.mxtv.co.jp/html.ng/params.styles=img2&site=tokyomx&bangumi=mxdramatop&kind=mxbangumilarge"></iframe><!-- //728x90size banner from AD Server -->',
			'</div>'
		);
		//document.write("<div align='center'>");
		//document.write("<table width='100%'  class='banner_bg' border='0' cellspacing='0' cllpadding='0'><tr><td background='http://www.mxtv.co.jp/head/bg.jpg'><div align='center'><object classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0' width='824' height='37' id='menu' align='middle'><param name='allowScriptAccess' value='always' /><param name='allowFullScreen' value='false' /><param name='movie' value='http://www.mxtv.co.jp/head/menu_3.swf' /><param name='quality' value='high' /><param name='bgcolor' value='#ffffff' /><embed src='http://www.mxtv.co.jp/head/menu_3.swf' quality='high' bgcolor='#ffffff' width='824' height='37' name='menu' align='middle' allowScriptAccess='always' allowFullScreen='false' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer' /></object></div></td></tr><tr><td height='1' bgcolor='#FFFFFF'></td></tr><tr><td><div align='center'><table style='margin-top:1px;margin-bottom:3px;border:0px;'><tr><td><!-- 728x90size banner from AD Server --><iframe width='728' height='90' marginwidth='0' marginheight='0' frameborder='0' scrolling='no' src='http://ad.mxtv.co.jp/html.ng/params.styles=img2&site=tokyomx&bangumi=mxdramatop&kind=mxbangumilarge'></iframe><!-- //728x90size banner from AD Server --></td></tr></table></div></td></tr><tr><td height='1' class='head_hr'></td></tr></table>");
		//document.write("</div>");
	}else
	//⑦ドラマ各ページ
	if(num=='7'){ 
		document.write(
			'<div class="mx_menu_all">',
			'<script type="text/javascript" src="http://www.mxtv.co.jp/head/mx_menu_roadcss.js"></script>',
			'<table width="100%" height="38" class="banner_bg" border="0" cellspacing="0" cllpadding="0"><tr><td background="http://www.mxtv.co.jp/head/bg.jpg" style="text-align:center;">',
			'<ul class="mx_menu_ul">',
			'<li class="mx_menu_logo"><a href="http://www.mxtv.co.jp/">TOKYO MX</a></li>',
			'<li class="mx_menu_schedule"><a href="http://www.mxtv.co.jp/bangumi/">番組表</a></li>',
			'<li class="mx_menu_news"><a href="http://www.mxtv.co.jp/mxnews/">ニュース</a></li>',
			'<li class="mx_menu_variety"><a href="http://www.mxtv.co.jp/variety/">バラエティ・情報</a></li>',
			'<li class="mx_menu_sports"><a href="http://www.mxtv.co.jp/sports/">スポーツ</a></li>',
			'<li class="mx_menu_anime"><a href="http://www.mxtv.co.jp/anime_portal/">アニメ</a></li>',
			'<li class="mx_menu_drama"><a href="http://www.mxtv.co.jp/drama/">ドラマ</a></li>',
			'<li class="mx_menu_cinema"><a href="http://www.mxtv.co.jp/cinema2/">映画</a></li>',
			'<li class="mx_menu_music"><a href="http://www.mxtv.co.jp/music/">ミュージック</a></li>',
			'<li class="mx_menu_shop"><a href="http://www.mxtv.co.jp/enter_depart/">ショッピング</a></li>',
			'<li class="mx_menu_blog"><a href="http://www.mxtv.co.jp/blog_portal/">ブログ</a></li>',
			'<li class="mx_menu_top"><a href="http://www.mxtv.co.jp/">TOKYO MXトップページ</a></li>',
			'</ul>',
			'</td></tr></table>',
			'<!-- 728x90size banner from AD Server --><iframe width="728" height="90" marginwidth="0" marginheight="0" frameborder="0" scrolling="no" src="http://ad.mxtv.co.jp/html.ng/params.styles=img2&site=tokyomx&bangumi=mxdrama&kind=mxbangumilarge"></iframe><!-- //728x90size banner from AD Server -->',
			'</div>'
		);
		//document.write("<div align='center'>");
		//document.write("<table width='100%'  class='banner_bg' border='0' cellspacing='0' cllpadding='0'><tr><td background='http://www.mxtv.co.jp/head/bg.jpg'><div align='center'><object classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0' width='824' height='37' id='menu' align='middle'><param name='allowScriptAccess' value='always' /><param name='allowFullScreen' value='false' /><param name='movie' value='http://www.mxtv.co.jp/head/menu_3.swf' /><param name='quality' value='high' /><param name='bgcolor' value='#ffffff' /><embed src='http://www.mxtv.co.jp/head/menu_3.swf' quality='high' bgcolor='#ffffff' width='824' height='37' name='menu' align='middle' allowScriptAccess='always' allowFullScreen='false' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer' /></object></div></td></tr><tr><td height='0' bgcolor='#FFFFFF'></td></tr><tr><td><div align='center'><table style='margin-top:2px;border:0px;'><tr><td><!-- 728x90size banner from AD Server --><iframe width='728' height='90' marginwidth='0' marginheight='0' frameborder='0' scrolling='no' src='http://ad.mxtv.co.jp/html.ng/params.styles=img2&site=tokyomx&bangumi=mxdrama&kind=mxbangumilarge'></iframe><!-- //728x90size banner from AD Server --></td></tr></table></div></td></tr><tr><td height='1' class='head_hr'></td></tr></table>");
		//document.write("</div>");
	}

else
	//⑧バラエティTOP
	if(num=='8'){ 
		document.write(
			'<div class="mx_menu_all">',
			'<script type="text/javascript" src="http://www.mxtv.co.jp/head/mx_menu_roadcss.js"></script>',
			'<table width="100%" height="38" class="banner_bg" border="0" cellspacing="0" cllpadding="0"><tr><td background="http://www.mxtv.co.jp/head/bg.jpg" style="text-align:center;">',
			'<ul class="mx_menu_ul">',
			'<li class="mx_menu_logo"><a href="http://www.mxtv.co.jp/">TOKYO MX</a></li>',
			'<li class="mx_menu_schedule"><a href="http://www.mxtv.co.jp/bangumi/">番組表</a></li>',
			'<li class="mx_menu_news"><a href="http://www.mxtv.co.jp/mxnews/">ニュース</a></li>',
			'<li class="mx_menu_variety"><a href="http://www.mxtv.co.jp/variety/">バラエティ・情報</a></li>',
			'<li class="mx_menu_sports"><a href="http://www.mxtv.co.jp/sports/">スポーツ</a></li>',
			'<li class="mx_menu_anime"><a href="http://www.mxtv.co.jp/anime_portal/">アニメ</a></li>',
			'<li class="mx_menu_drama"><a href="http://www.mxtv.co.jp/drama/">ドラマ</a></li>',
			'<li class="mx_menu_cinema"><a href="http://www.mxtv.co.jp/cinema2/">映画</a></li>',
			'<li class="mx_menu_music"><a href="http://www.mxtv.co.jp/music/">ミュージック</a></li>',
			'<li class="mx_menu_shop"><a href="http://www.mxtv.co.jp/enter_depart/">ショッピング</a></li>',
			'<li class="mx_menu_blog"><a href="http://www.mxtv.co.jp/blog_portal/">ブログ</a></li>',
			'<li class="mx_menu_top"><a href="http://www.mxtv.co.jp/">TOKYO MXトップページ</a></li>',
			'</ul>',
			'</td></tr></table>',
			'<!-- 728x90size banner from AD Server --><iframe width="728" height="90" marginwidth="0" marginheight="0" frameborder="0" scrolling="no" src="http://ad.mxtv.co.jp/html.ng/params.styles=img2&site=tokyomx&bangumi=mxvarietytop&kind=mxbangumilarge"></iframe><!-- //728x90size banner from AD Server -->',
			'</div>'
		);
		//document.write("<div align='center'>");
		//document.write("<table width='100%'  class='banner_bg' border='0' cellspacing='0' cllpadding='0'><tr><td background='http://www.mxtv.co.jp/head/bg.jpg'><div align='center'><object classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0' width='824' height='37' id='menu' align='middle'><param name='allowScriptAccess' value='always' /><param name='allowFullScreen' value='false' /><param name='movie' value='http://www.mxtv.co.jp/head/menu_3.swf' /><param name='quality' value='high' /><param name='bgcolor' value='#ffffff' /><embed src='http://www.mxtv.co.jp/head/menu_3.swf' quality='high' bgcolor='#ffffff' width='824' height='37' name='menu' align='middle' allowScriptAccess='always' allowFullScreen='false' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer' /></object></div></td></tr><tr><td height='1' bgcolor='#FFFFFF'></td></tr><tr><td><div align='center'><table style='margin-top:2px;margin-bottom:3px;border:0px;'><tr><td><!-- 728x90size banner from AD Server --><iframe width='728' height='90' marginwidth='0' marginheight='0' frameborder='0' scrolling='no' src='http://ad.mxtv.co.jp/html.ng/params.styles=img2&site=tokyomx&bangumi=mxvarietytop&kind=mxbangumilarge'></iframe><!-- //728x90size banner from AD Server --></td></tr></table></div></td></tr><tr><td height='1' class='head_hr'></td></tr></table>");
		//document.write("</div>");
	}
else
	//⑨5時に夢中！
	if(num=='9'){ 
		document.write(
			'<div class="mx_menu_all">',
			'<script type="text/javascript" src="http://www.mxtv.co.jp/head/mx_menu_roadcss.js"></script>',
			'<table width="100%" height="38" class="banner_bg" border="0" cellspacing="0" cllpadding="0"><tr><td background="http://www.mxtv.co.jp/head/bg.jpg" style="text-align:center;">',
			'<ul class="mx_menu_ul">',
			'<li class="mx_menu_logo"><a href="http://www.mxtv.co.jp/">TOKYO MX</a></li>',
			'<li class="mx_menu_schedule"><a href="http://www.mxtv.co.jp/bangumi/">番組表</a></li>',
			'<li class="mx_menu_news"><a href="http://www.mxtv.co.jp/mxnews/">ニュース</a></li>',
			'<li class="mx_menu_variety"><a href="http://www.mxtv.co.jp/variety/">バラエティ・情報</a></li>',
			'<li class="mx_menu_sports"><a href="http://www.mxtv.co.jp/sports/">スポーツ</a></li>',
			'<li class="mx_menu_anime"><a href="http://www.mxtv.co.jp/anime_portal/">アニメ</a></li>',
			'<li class="mx_menu_drama"><a href="http://www.mxtv.co.jp/drama/">ドラマ</a></li>',
			'<li class="mx_menu_cinema"><a href="http://www.mxtv.co.jp/cinema2/">映画</a></li>',
			'<li class="mx_menu_music"><a href="http://www.mxtv.co.jp/music/">ミュージック</a></li>',
			'<li class="mx_menu_shop"><a href="http://www.mxtv.co.jp/enter_depart/">ショッピング</a></li>',
			'<li class="mx_menu_blog"><a href="http://www.mxtv.co.jp/blog_portal/">ブログ</a></li>',
			'<li class="mx_menu_top"><a href="http://www.mxtv.co.jp/">TOKYO MXトップページ</a></li>',
			'</ul>',
			'</td></tr></table>',
			'<!-- 728x90size banner from AD Server --><iframe width="728" height="90" marginwidth="0" marginheight="0" frameborder="0" scrolling="no" src="http://ad.mxtv.co.jp/html.ng/params.styles=img2&site=tokyomx&bangumi=mxgoji&kind=mxbangumilarge"></iframe><!-- //728x90size banner from AD Server -->',
			'</div>'
		);
		//document.write("<div align='center'>");
		//document.write("<table width='100%'  class='banner_bg' border='0' cellspacing='0' cllpadding='0'><tr><td background='http://www.mxtv.co.jp/head/bg.jpg'><div align='center'><object classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0' width='824' height='37' id='menu' align='middle'><param name='allowScriptAccess' value='always' /><param name='allowFullScreen' value='false' /><param name='movie' value='http://www.mxtv.co.jp/head/menu_3.swf' /><param name='quality' value='high' /><param name='bgcolor' value='#ffffff' /><embed src='http://www.mxtv.co.jp/head/menu_3.swf' quality='high' bgcolor='#ffffff' width='824' height='37' name='menu' align='middle' allowScriptAccess='always' allowFullScreen='false' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer' /></object></div></td></tr><tr><td height='1' bgcolor='#FFFFFF'></td></tr><tr><td><div align='center'><table style='margin-top:2px;border:0px;'><tr><td><!-- 728x90size banner from AD Server --><iframe width='728' height='90' marginwidth='0' marginheight='0' frameborder='0' scrolling='no' src='http://ad.mxtv.co.jp/html.ng/params.styles=img2&site=tokyomx&bangumi=mxgoji&kind=mxbangumilarge'></iframe><!-- //728x90size banner from AD Server --></td></tr></table></div></td></tr><tr><td height='1' class='head_hr'></td></tr></table>");
		//document.write("</div>");
	}
else
	//⑩ULALA
	if(num=='10'){ 
		document.write(
			'<div class="mx_menu_all">',
			'<script type="text/javascript" src="http://www.mxtv.co.jp/head/mx_menu_roadcss.js"></script>',
			'<table width="100%" height="38" class="banner_bg" border="0" cellspacing="0" cllpadding="0"><tr><td background="http://www.mxtv.co.jp/head/bg.jpg" style="text-align:center;">',
			'<ul class="mx_menu_ul">',
			'<li class="mx_menu_logo"><a href="http://www.mxtv.co.jp/">TOKYO MX</a></li>',
			'<li class="mx_menu_schedule"><a href="http://www.mxtv.co.jp/bangumi/">番組表</a></li>',
			'<li class="mx_menu_news"><a href="http://www.mxtv.co.jp/mxnews/">ニュース</a></li>',
			'<li class="mx_menu_variety"><a href="http://www.mxtv.co.jp/variety/">バラエティ・情報</a></li>',
			'<li class="mx_menu_sports"><a href="http://www.mxtv.co.jp/sports/">スポーツ</a></li>',
			'<li class="mx_menu_anime"><a href="http://www.mxtv.co.jp/anime_portal/">アニメ</a></li>',
			'<li class="mx_menu_drama"><a href="http://www.mxtv.co.jp/drama/">ドラマ</a></li>',
			'<li class="mx_menu_cinema"><a href="http://www.mxtv.co.jp/cinema2/">映画</a></li>',
			'<li class="mx_menu_music"><a href="http://www.mxtv.co.jp/music/">ミュージック</a></li>',
			'<li class="mx_menu_shop"><a href="http://www.mxtv.co.jp/enter_depart/">ショッピング</a></li>',
			'<li class="mx_menu_blog"><a href="http://www.mxtv.co.jp/blog_portal/">ブログ</a></li>',
			'<li class="mx_menu_top"><a href="http://www.mxtv.co.jp/">TOKYO MXトップページ</a></li>',
			'</ul>',
			'</td></tr></table>',
			'<!-- 728x90size banner from AD Server --><iframe width="728" height="90" marginwidth="0" marginheight="0" frameborder="0" scrolling="no" src="http://ad.mxtv.co.jp/html.ng/params.styles=img2&site=tokyomx&bangumi=mxulala7&kind=mxbangumilarge"></iframe><!-- //728x90size banner from AD Server -->',
			'</div>'
		);
		//document.write("<div align='center'>");
		//document.write("<table width='100%'  class='banner_bg' border='0' cellspacing='0' cllpadding='0'><tr><td background='http://www.mxtv.co.jp/head/bg.jpg'><div align='center'><object classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0' width='824' height='37' id='menu' align='middle'><param name='allowScriptAccess' value='always' /><param name='allowFullScreen' value='false' /><param name='movie' value='http://www.mxtv.co.jp/head/menu_3.swf' /><param name='quality' value='high' /><param name='bgcolor' value='#ffffff' /><embed src='http://www.mxtv.co.jp/head/menu_3.swf' quality='high' bgcolor='#ffffff' width='824' height='37' name='menu' align='middle' allowScriptAccess='always' allowFullScreen='false' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer' /></object></div></td></tr><tr><td height='1' bgcolor='#FFFFFF'></td></tr><tr><td><div align='center'><table style='margin-top:2px;border:0px;'><tr><td><!-- 728x90size banner from AD Server --><iframe width='728' height='90' marginwidth='0' marginheight='0' frameborder='0' scrolling='no' src='http://ad.mxtv.co.jp/html.ng/params.styles=img2&site=tokyomx&bangumi=mxulala7&kind=mxbangumilarge'></iframe><!-- //728x90size banner from AD Server --></td></tr></table></div></td></tr><tr><td height='1' class='head_hr'></td></tr></table>");
		//document.write("</div>");
	}
else
	//⑪ゴールデンアワー
	if(num=='11'){
		document.write(
			'<div class="mx_menu_all">',
			'<script type="text/javascript" src="http://www.mxtv.co.jp/head/mx_menu_roadcss.js"></script>',
			'<table width="100%" height="38" class="banner_bg" border="0" cellspacing="0" cllpadding="0"><tr><td background="http://www.mxtv.co.jp/head/bg.jpg" style="text-align:center;">',
			'<ul class="mx_menu_ul">',
			'<li class="mx_menu_logo"><a href="http://www.mxtv.co.jp/">TOKYO MX</a></li>',
			'<li class="mx_menu_schedule"><a href="http://www.mxtv.co.jp/bangumi/">番組表</a></li>',
			'<li class="mx_menu_news"><a href="http://www.mxtv.co.jp/mxnews/">ニュース</a></li>',
			'<li class="mx_menu_variety"><a href="http://www.mxtv.co.jp/variety/">バラエティ・情報</a></li>',
			'<li class="mx_menu_sports"><a href="http://www.mxtv.co.jp/sports/">スポーツ</a></li>',
			'<li class="mx_menu_anime"><a href="http://www.mxtv.co.jp/anime_portal/">アニメ</a></li>',
			'<li class="mx_menu_drama"><a href="http://www.mxtv.co.jp/drama/">ドラマ</a></li>',
			'<li class="mx_menu_cinema"><a href="http://www.mxtv.co.jp/cinema2/">映画</a></li>',
			'<li class="mx_menu_music"><a href="http://www.mxtv.co.jp/music/">ミュージック</a></li>',
			'<li class="mx_menu_shop"><a href="http://www.mxtv.co.jp/enter_depart/">ショッピング</a></li>',
			'<li class="mx_menu_blog"><a href="http://www.mxtv.co.jp/blog_portal/">ブログ</a></li>',
			'<li class="mx_menu_top"><a href="http://www.mxtv.co.jp/">TOKYO MXトップページ</a></li>',
			'</ul>',
			'</td></tr></table>',
			'<!-- 728x90size banner from AD Server --><iframe width="728" height="90" marginwidth="0" marginheight="0" frameborder="0" scrolling="no" src="http://ad.mxtv.co.jp/html.ng/params.styles=img2&site=tokyomx&bangumi=mxgold&kind=mxbangumilarge"></iframe><!-- //728x90size banner from AD Server -->',
			'</div>'
		);
		//document.write("<div align='center'>");
		//document.write("<table width='100%'  class='banner_bg' border='0' cellspacing='0' cllpadding='0'><tr><td background='http://www.mxtv.co.jp/head/bg.jpg'><div align='center'><object classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0' width='824' height='37' id='menu' align='middle'><param name='allowScriptAccess' value='always' /><param name='allowFullScreen' value='false' /><param name='movie' value='http://www.mxtv.co.jp/head/menu_3.swf' /><param name='quality' value='high' /><param name='bgcolor' value='#ffffff' /><embed src='http://www.mxtv.co.jp/head/menu_3.swf' quality='high' bgcolor='#ffffff' width='824' height='37' name='menu' align='middle' allowScriptAccess='always' allowFullScreen='false' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer' /></object></div></td></tr><tr><td height='1' bgcolor='#FFFFFF'></td></tr><tr><td><div align='center'><table style='margin-top:2px;border:0px;'><tr><td><!-- 728x90size banner from AD Server --><iframe width='728' height='90' marginwidth='0' marginheight='0' frameborder='0' scrolling='no' src='http://ad.mxtv.co.jp/html.ng/params.styles=img2&site=tokyomx&bangumi=mxgold&kind=mxbangumilarge'></iframe><!-- //728x90size banner from AD Server --></td></tr></table></div></td></tr><tr><td height='1' class='head_hr'></td></tr></table>");
		//document.write("</div>");
	}
else
	//⑫5時に夢中！
	if(num=='12'){ 
		document.write("<div align='center'>");
		document.write("<table width='100%'  class='banner_bg' border='0' cellspacing='0' cllpadding='0'><tr><td background='http://www.mxtv.co.jp/head/bg.jpg'><div align='center'><object classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0' width='824' height='37' id='menu' align='middle'><param name='allowScriptAccess' value='always' /><param name='allowFullScreen' value='false' /><param name='movie' value='http://www.mxtv.co.jp/head/menu_3.swf' /><param name='quality' value='high' /><param name='bgcolor' value='#ffffff' /><embed src='http://www.mxtv.co.jp/head/menu_3.swf' quality='high' bgcolor='#ffffff' width='824' height='37' name='menu' align='middle' allowScriptAccess='always' allowFullScreen='false' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer' /></object></div></td></tr><tr><td height='1' bgcolor='#FFFFFF'></td></tr><tr><td><div align='center'><table style='margin-top:2px;border:0px;'><tr><td><!-- SMARTtag start--><script language='JavaScript'>var CM8Server='web-jp.ad-v.jp';var CM8Cat='TOKYOMX.mxgoji';</script><script language='JavaScript' src='http://web-jp.ad-v.jp/adam/cm8adam_1_call.js'></script><!-- SMARTtag end--><!-- PLACEHOLDERtag start--><script language='JavaScript'>CM8ShowAd('Largebanner_728x90')</script><noscript><a href='http://web-jp.ad-v.jp/adam/ep/click/TOKYOMX.mxgoji/Largebanner_728x90?cat=TOKYOMX.mxgoji' target='_blank'><img src='http://web-jp.ad-v.jp/adam/noscript?cat=TOKYOMX.mxgoji&format=Largebanner_728x90' border='0'></a></noscript><!-- PLACEHOLDERtag end--></td></tr></table></div></td></tr><tr><td height='1' class='head_hr'></td></tr></table>");
		document.write("</div>");
	}
else
	//⑬HTML版
	if(num=='13'){ 
		document.write(
			'<div class="mx_menu_all">',
			'<script type="text/javascript" src="http://www.mxtv.co.jp/head/mx_menu_roadcss.js"></script>',
			'<table width="100%" height="38" class="banner_bg" border="0" cellspacing="0" cllpadding="0"><tr><td background="http://www.mxtv.co.jp/head/bg.jpg" style="text-align:center;">',
			'<ul class="mx_menu_ul">',
			'<li class="mx_menu_logo"><a href="http://www.mxtv.co.jp/">TOKYO MX</a></li>',
			'<li class="mx_menu_schedule"><a href="http://www.mxtv.co.jp/bangumi/">番組表</a></li>',
			'<li class="mx_menu_news"><a href="http://www.mxtv.co.jp/mxnews/">ニュース</a></li>',
			'<li class="mx_menu_variety"><a href="http://www.mxtv.co.jp/variety/">バラエティ・情報</a></li>',
			'<li class="mx_menu_sports"><a href="http://www.mxtv.co.jp/sports/">スポーツ</a></li>',
			'<li class="mx_menu_anime"><a href="http://www.mxtv.co.jp/anime_portal/">アニメ</a></li>',
			'<li class="mx_menu_drama"><a href="http://www.mxtv.co.jp/drama/">ドラマ</a></li>',
			'<li class="mx_menu_cinema"><a href="http://www.mxtv.co.jp/cinema2/">映画</a></li>',
			'<li class="mx_menu_music"><a href="http://www.mxtv.co.jp/music/">ミュージック</a></li>',
			'<li class="mx_menu_shop"><a href="http://www.mxtv.co.jp/enter_depart/">ショッピング</a></li>',
			'<li class="mx_menu_blog"><a href="http://www.mxtv.co.jp/blog_portal/">ブログ</a></li>',
			'<li class="mx_menu_top"><a href="http://www.mxtv.co.jp/">TOKYO MXトップページ</a></li>',
			'</ul>',
			'</td></tr></table>',
			'<iframe width="728" height="90" marginwidth="0" marginheight="0" frameborder="0" scrolling="no" src="http://ad.mxtv.co.jp/html.ng/params.styles=img2&site=tokyomx&kind=mxbangumilarge" style="margin-bottom:5px;"></iframe>',
			'</div>'
		);
	}
else{
		document.write("<div align='center'>");
		document.write("<table width='100%'  class='banner_bg' border='0' cellspacing='0' cllpadding='0'><tr><td background='http://www.mxtv.co.jp/head/bg.jpg'><div align='center'><object classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0' width='824' height='37' id='menu' align='middle'><param name='allowScriptAccess' value='always' /><param name='allowFullScreen' value='false' /><param name='movie' value='http://www.mxtv.co.jp/head/menu_3.swf' /><param name='quality' value='high' /><param name='bgcolor' value='#ffffff' /><embed src='http://www.mxtv.co.jp/head/menu_3.swf' quality='high' bgcolor='#ffffff' width='824' height='37' name='menu' align='middle' allowScriptAccess='always' allowFullScreen='false' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer' /></object></div></td></tr></table>");
		document.write("</div>");
	}
}


//共通フッター部分表示
function footer(num) {

	//コンテンツごとに変更したい場合はnumの値を変更する
	if(num=='1'){
		document.write("<table width='740' align='center' border='0' cellspacing='0' cellpadding='0' class='foot' style='clear:both;'>");
		document.write("<tr>");
		document.write("<td width='760' align='center'>");
		document.write("<div align='center'>");
		document.write("<br />");
		document.write("<table width='600' border='0' align='center' cellspacing='0' cellpadding='0' height='60'>");
		document.write("<tr>");
		document.write("<td align='center' valign='middle' width='120'>");
		document.write("<a href='http://www.mxtv.co.jp/header/footer1.html'>");
		document.write("<img src='http://www.mxtv.co.jp/header/img/footer1.gif' height='60' width='95' border='0'>");
		document.write("</a>");
		document.write("</td>");
		document.write("<td align='center' valign='middle' width='120'>");
		document.write("<a href='http://www.mxtv.co.jp/header/footer2.html'>");
		document.write("<img src='http://www.mxtv.co.jp/header/img/footer2.gif' height='60' width='100' border='0'>");
		document.write("</a>");
		document.write("</td>");
		document.write("<td align='center' valign='middle' width='120'>");
		document.write("<a href='http://www.mxtv.co.jp/header/footer5.html'>");
		document.write("<img src='http://www.mxtv.co.jp/header/img/footer5.gif' height='60' width='100' border='0'>");
		document.write("</a>");
		document.write("</td>");
		document.write("<td align='center' valign='middle' width='120'>");
		document.write("<a href='http://www.mxtv.co.jp/header/footer4.html'>");
		document.write("<img src='http://www.mxtv.co.jp/header/img/footer4.gif' height='60' width='100' border='0'>");
		document.write("</a>");
		document.write("</td>");
		document.write("<td align='center' valign='middle' width='120'>");
		document.write("<a href='http://www.mxtv.co.jp/depart/'>");
		document.write("<img src='http://www.mxtv.co.jp/header/img/shopping_small.jpg' height='60' width='100' border='0'>");
		document.write("</a>");
		document.write("</td>");
		document.write("</tr>");
		document.write("</table>");
		document.write("<p class='mx_copyright' style='font-size: 12px;margin-top: 5px;'>");
		document.write("サイトに関するお問合せは<A href='javascript:void2();' onClick='javascript:kotira();' class='m'>こちら</a>まで。<br>");
		document.write("Copyright(c) Tokyo Metropolitan Television Broadcasting Corp. Tokyo Japan All Rights Reserved.");
		document.write("</p>");
		document.write("</div>");
		document.write("</td>");
		document.write("</tr>");
		document.write("</table>");
	}else
	if(num=='2'){
		//alert('にばん');

	//キムサムスン
	}else
	if(num=='3'){
		document.write("<table width='740' border='0' cellspacing='0' cellpadding='0' class='foot'>");
		document.write("<tr>");
		document.write("<td width='760'>");
		document.write("<div align='center'>");
		document.write("<br />");
		document.write("<table width='600' border='0' cellspacing='0' cellpadding='0' height='60'>");
		document.write("<tr>");
		document.write("<td align='center' valign='middle' width='120'>");
		document.write("<a href='http://www.mxtv.co.jp/header/footer1.html'>");
		document.write("<img src='http://www.mxtv.co.jp/header/img/footer1.gif' height='60' width='95' border='1' style='border-color:#999999;'>");
		document.write("</a>");
		document.write("</td>");
		document.write("<td align='center' valign='middle' width='120'>");
		document.write("<a href='http://www.mxtv.co.jp/header/footer2.html'>");
		document.write("<img src='http://www.mxtv.co.jp/header/img/footer2.gif' height='60' width='100' border='1' style='border-color:#999999;'>");
		document.write("</a>");
		document.write("</td>");
		document.write("<td align='center' valign='middle' width='120'>");
		document.write("<a href='http://www.mxtv.co.jp/header/footer3.html'>");
		document.write("<img src='http://www.mxtv.co.jp/header/img/footer3.gif' height='60' width='100' border='1' style='border-color:#999999;'>");
		document.write("</a>");
		document.write("</td>");
		document.write("<td align='center' valign='middle'>");
		document.write("<a href='http://www.koreanair.com/' target='_blank'><img src='http://www.mxtv.co.jp/samsoon/images/kallogo_234c.jpg' border='0'></a>");
		document.write("</td>");
		document.write("</tr>");
		document.write("</table>");
		document.write("<br>");
		document.write("<font size='2' color='#333333'>");
		document.write("サイトに関するお問合せは<A href='javascript:void2();' onClick='javascript:kotira();' class='m'>こちら</a>まで。<br>");
		document.write("Copyright(c) Tokyo Metropolitan Television Broadcasting Corp. Tokyo Japan All Rights Reserved.<br>");
		document.write("</font>");
		document.write("</div>");
		document.write("</td>");
		document.write("</tr>");
		document.write("</table>");

	//文字白バージョン（AYAKASHI）
	}else
	if(num=='4'){
		document.write("<table width='740' border='0' cellspacing='0' cellpadding='0' class='foot'>");
		document.write("<tr>");
		document.write("<td width='760'>");
		document.write("<div align='center'>");
		document.write("<br />");
		document.write("<table width='600' border='0' cellspacing='0' cellpadding='0' height='60'>");
		document.write("<tr>");
		document.write("<td align='center' valign='middle' width='120'>");
		document.write("<a href='http://www.mxtv.co.jp/header/footer1.html'>");
		document.write("<img src='http://www.mxtv.co.jp/header/img/footer1.gif' height='60' width='95' border='1' style='border-color:#999999;'>");
		document.write("</a>");
		document.write("</td>");
		document.write("<td align='center' valign='middle' width='120'>");
		document.write("<a href='http://www.mxtv.co.jp/header/footer2.html'>");
		document.write("<img src='http://www.mxtv.co.jp/header/img/footer2.gif' height='60' width='100' border='1' style='border-color:#999999;'>");
		document.write("</a>");
		document.write("</td>");
		document.write("<td align='center' valign='middle' width='120'>");
		document.write("<a href='http://www.mxtv.co.jp/header/footer3.html'>");
		document.write("<img src='http://www.mxtv.co.jp/header/img/footer3.gif' height='60' width='100' border='1' style='border-color:#999999;'>");
		document.write("</a>");
		document.write("</td>");
		document.write("<td align='center' valign='middle' width='120'>");
		document.write("<a href='http://www.mxtv.co.jp/header/footer4.html'>");
		document.write("<img src='http://www.mxtv.co.jp/header/img/footer4.gif' height='60' width='100' border='1' style='border-color:#999999;'>");
		document.write("</a>");
		document.write("</td>");
		document.write("<td align='center' valign='middle' width='120'>");
		document.write("<a href='http://www.mxtv.co.jp/header/footer5.html'>");
		document.write("<img src='http://www.mxtv.co.jp/header/img/footer5.gif' height='60' width='100' border='1' style='border-color:#999999;'>");
		document.write("</a>");
		document.write("</td>");
		document.write("</tr>");
		document.write("</table>");
		document.write("<br>");
		document.write("<font size='2' color='#ffffff'>");
		document.write("サイトに関するお問合せは<A href='javascript:void2();' onClick='javascript:kotira();' class='m'>こちら</a>まで。<br>");
		document.write("Copyright(c) Tokyo Metropolitan Television Broadcasting Corp. Tokyo Japan All Rights Reserved.<br>");
		document.write("</font>");
		document.write("</div>");
		document.write("</td>");
		document.write("</tr>");
		document.write("</table>");

	//ほぼ１バナー入り（アニプレックスのアニメページ用）
	}else
	if(num=='5'){
		document.write("<table width='740' border='0' cellspacing='0' cellpadding='0' class='foot'>");
		document.write("<tr>");
		document.write("<td width='760'>");
		document.write("<div align='center'>");
		document.write("<br />");
		document.write("<table width='600' border='0' cellspacing='0' cellpadding='0' height='60'>");
		document.write("<tr>");
		document.write("<td align='center' valign='middle' width='120'>");
		document.write("<a href='http://www.mxtv.co.jp/1_minute/'>");
		document.write("<img src='http://www.mxtv.co.jp/header/img/hobo1_foot.jpg' height='60' width='100' border='1' style='border-color:#999999;'>");
		document.write("</a>");
		document.write("</td>");
		document.write("<td align='center' valign='middle' width='120'>");
		document.write("<a href='http://www.mxtv.co.jp/header/footer2.html'>");
		document.write("<img src='http://www.mxtv.co.jp/header/img/footer2.gif' height='60' width='100' border='1' style='border-color:#999999;'>");
		document.write("</a>");
		document.write("</td>");
		document.write("<td align='center' valign='middle' width='120'>");
		document.write("<a href='http://www.mxtv.co.jp/header/footer3.html'>");
		document.write("<img src='http://www.mxtv.co.jp/header/img/footer3.gif' height='60' width='100' border='1' style='border-color:#999999;'>");
		document.write("</a>");
		document.write("</td>");
		document.write("<td align='center' valign='middle' width='120'>");
		document.write("<a href='http://www.mxtv.co.jp/header/footer1.html'>");
		document.write("<img src='http://www.mxtv.co.jp/header/img/footer1.gif' height='60' width='100' border='1' style='border-color:#999999;'>");
		document.write("</a>");
		document.write("</td>");
		document.write("<td align='center' valign='middle' width='120'>");
		document.write("<a href='http://www.mxtv.co.jp/header/footer5.html'>");
		document.write("<img src='http://www.mxtv.co.jp/header/img/footer5.gif' height='60' width='100' border='1' style='border-color:#999999;'>");
		document.write("</a>");
		document.write("</td>");
		document.write("</tr>");
		document.write("</table>");
		document.write("<br>");
		document.write("<font size='2' color='#ffffff'><div class='mx_copyright'>");
		document.write("サイトに関するお問合せは<A href='javascript:void2();' onClick='javascript:kotira();' class='m'>こちら</a>まで。<br>");
		document.write("Copyright(c) Tokyo Metropolitan Television Broadcasting Corp. Tokyo Japan All Rights Reserved.<br>");
		document.write("</font>");
		document.write("</div>");
		document.write("</td>");
		document.write("</tr>");
		document.write("</table>");

	//アニメカテゴリ（ブルベリアイ）
	}else
	if(num=='6'){
		document.write("<table width='740' border='0' cellspacing='0' cellpadding='0' class='foot'>");
		document.write("<tr>");
		document.write("<td width='760'>");
		document.write("<div align='center'>");
		document.write("<br />");
		document.write("<table width='600' border='0' cellspacing='0' cellpadding='0' height='60'>");
		document.write("<tr>");
		document.write("<td align='center' valign='middle' width='120'>");
		document.write("<a href='http://www.mxtv.co.jp/enter_depart/'>");
		document.write("<img src='http://www.mxtv.co.jp/header/img/shopping_small.jpg' height='60' width='100' border='1' style='border-color:#999999;'>");
		document.write("</a>");
		document.write("</td>");
		document.write("<td align='center' valign='middle' width='120'>");
		document.write("<a href='http://www.mxtv.co.jp/header/footer2.html'>");
		document.write("<img src='http://www.mxtv.co.jp/header/img/footer2.gif' height='60' width='100' border='1' style='border-color:#999999;'>");
		document.write("</a>");
		document.write("</td>");
		document.write("<td align='center' valign='middle' width='120'>");
		document.write("<a href='http://www.mxtv.co.jp/e_tv/'>");
		document.write("<img src='http://www.mxtv.co.jp/header/img/e_tv_banner.jpg' height='60' width='100' border='1' style='border-color:#999999;'>");
		document.write("</a>");
		document.write("</td>");
		document.write("<td align='center' valign='middle' width='120'>");
		document.write("<a href='http://www.mxtv.co.jp/header/footer1.html'>");
		document.write("<img src='http://www.mxtv.co.jp/header/img/footer1.gif' height='60' width='100' border='1' style='border-color:#999999;'>");
		document.write("</a>");
		document.write("</td>");
		document.write("<td align='center' valign='middle' width='120'>");
		document.write("<a href='http://www.e-wakasa.jp/index.html'>");
		document.write("<img src='http://www.mxtv.co.jp/anime/images/buru2.jpg' height='60' width='100' border='1' style='border-color:#999999;'>");
		document.write("</a>");
		document.write("</td>");
		document.write("</tr>");
		document.write("</table>");
		document.write("<br>");
		document.write("<font class='mx_copyright' style='font-size: 12px;margin-top: 5px;'>");
		document.write("サイトに関するお問合せは<A href='javascript:void2();' onClick='javascript:kotira();' class='m'>こちら</a>まで。<br>");
		document.write("Copyright(c) Tokyo Metropolitan Television Broadcasting Corp. Tokyo Japan All Rights Reserved.<br>");
		document.write("</font>");
		document.write("</div>");
		document.write("</td>");
		document.write("</tr>");
		document.write("</table>");

	//ULALA
	}else
	if(num=='7'){
		document.write("<table width='740' border='0' cellspacing='0' cellpadding='0' class='foot'>");
		document.write("<tr>");
		document.write("<td width='760'>");
		document.write("<div align='center'>");
		document.write("<br />");
		document.write("<table width='600' border='0' cellspacing='0' cellpadding='0' height='60'>");
		document.write("<tr>");
		document.write("<td align='center' valign='middle' width='120'>");
		document.write("<a href='http://www.mxtv.co.jp/header/footer1.html'>");
		document.write("<img src='http://www.mxtv.co.jp/header/img/footer1.gif' height='60' width='95' border='0'>");
		document.write("</a>");
		document.write("</td>");
		document.write("<td align='center' valign='middle' width='120'>");
		document.write("<a href='http://flets.com/pr/fletsphone/vp2000/redir/re_b01ulala_vp2k.html'>");
		document.write("<img src='http://www.mxtv.co.jp/header/img/frets.jpg' height='60' width='100' border='1' style='border-color:#999999;'>");
		document.write("</a>");
		document.write("</td>");
		document.write("<td align='center' valign='middle' width='120'>");
		document.write("<a href='http://www.mxtv.co.jp/header/footer3.html'>");
		document.write("<img src='http://www.mxtv.co.jp/header/img/footer3.gif' height='60' width='100' border='0'>");
		document.write("</a>");
		document.write("</td>");
		document.write("<td align='center' valign='middle' width='120'>");
		document.write("<a href='http://www.mxtv.co.jp/header/footer4.html'>");
		document.write("<img src='http://www.mxtv.co.jp/header/img/footer4.gif' height='60' width='100' border='1' style='border-color:#999999;'>");
		document.write("</a>");
		document.write("</td>");
		document.write("<td align='center' valign='middle' width='120'>");
		document.write("<a href='http://www.mxtv.co.jp/header/footer5.html'>");
		document.write("<img src='http://www.mxtv.co.jp/header/img/footer5.gif' height='60' width='100' border='0'>");
		document.write("</a>");
		document.write("</td>");
		document.write("</tr>");
		document.write("</table>");
		document.write("<br>");
		document.write("<font size='2' color='#999999'>");
		document.write("サイトに関するお問合せは<A href='javascript:void2();' onClick='javascript:kotira();' class='m'>こちら</a>まで。<br>");
		document.write("Copyright(c) Tokyo Metropolitan Television Broadcasting Corp. Tokyo Japan All Rights Reserved.<br>");
		document.write("</font>");
		document.write("</div>");
		document.write("</td>");
		document.write("</tr>");
		document.write("</table>");

	//ULALA（ベジフル）
	}else
	if(num=='8'){
		document.write("<table width='740' border='0' cellspacing='0' cellpadding='0' class='foot'>");
		document.write("<tr>");
		document.write("<td width='760'>");
		document.write("<div align='center'>");
		document.write("<br />");
		document.write("<table width='600' border='0' cellspacing='0' cellpadding='0' height='60'>");
		document.write("<tr>");
		document.write("<td align='center' valign='middle' width='120'>");
		document.write("<a href='http://www.mxtv.co.jp/header/footer1.html'>");
		document.write("<img src='http://www.mxtv.co.jp/header/img/footer1.gif' height='60' width='95' border='0'>");
		document.write("</a>");
		document.write("</td>");
		document.write("<td align='center' valign='middle' width='120'>");
		document.write("<a href='http://flets.com/pr/fletsphone/vp2000/redir/re_b02vegi_vp2k.html'>");
		document.write("<img src='http://www.mxtv.co.jp/header/img/frets.jpg' height='60' width='100' border='1' style='border-color:#999999;'>");
		document.write("</a>");
		document.write("</td>");
		document.write("<td align='center' valign='middle' width='120'>");
		document.write("<a href='http://www.mxtv.co.jp/header/footer3.html'>");
		document.write("<img src='http://www.mxtv.co.jp/header/img/footer3.gif' height='60' width='100' border='0'>");
		document.write("</a>");
		document.write("</td>");
		document.write("<td align='center' valign='middle' width='120'>");
		document.write("<a href='http://www.mxtv.co.jp/header/footer4.html'>");
		document.write("<img src='http://www.mxtv.co.jp/header/img/footer4.gif' height='60' width='100' border='1' style='border-color:#999999;'>");
		document.write("</a>");
		document.write("</td>");
		document.write("<td align='center' valign='middle' width='120'>");
		document.write("<a href='http://www.mxtv.co.jp/header/footer5.html'>");
		document.write("<img src='http://www.mxtv.co.jp/header/img/footer5.gif' height='60' width='100' border='0'>");
		document.write("</a>");
		document.write("</td>");
		document.write("</tr>");
		document.write("</table>");
		document.write("<br>");
		document.write("<font size='2' color='#999999'>");
		document.write("サイトに関するお問合せは<A href='javascript:void2();' onClick='javascript:kotira();' class='m'>こちら</a>まで。<br>");
		document.write("Copyright(c) Tokyo Metropolitan Television Broadcasting Corp. Tokyo Japan All Rights Reserved.<br>");
		document.write("</font>");
		document.write("</div>");
		document.write("</td>");
		document.write("</tr>");
		document.write("</table>");

	//ULALA（ベジフル）
	}else
	if(num=='8'){
		document.write("<table width='740' border='0' cellspacing='0' cellpadding='0' class='foot'>");
		document.write("<tr>");
		document.write("<td width='760'>");
		document.write("<div align='center'>");
		document.write("<br />");
		document.write("<table width='600' border='0' cellspacing='0' cellpadding='0' height='60'>");
		document.write("<tr>");
		document.write("<td align='center' valign='middle' width='120'>");
		document.write("<a href='http://www.mxtv.co.jp/header/footer1.html'>");
		document.write("<img src='http://www.mxtv.co.jp/header/img/footer1.gif' height='60' width='95' border='0'>");
		document.write("</a>");
		document.write("</td>");
		document.write("<td align='center' valign='middle' width='120'>");
		document.write("<a href='http://flets.com/pr/fletsphone/vp2000/redir/re_b02vegi_vp2k.html'>");
		document.write("<img src='http://www.mxtv.co.jp/header/img/frets.jpg' height='60' width='100' border='1' style='border-color:#999999;'>");
		document.write("</a>");
		document.write("</td>");
		document.write("<td align='center' valign='middle' width='120'>");
		document.write("<a href='http://www.mxtv.co.jp/header/footer3.html'>");
		document.write("<img src='http://www.mxtv.co.jp/header/img/footer3.gif' height='60' width='100' border='0'>");
		document.write("</a>");
		document.write("</td>");
		document.write("<td align='center' valign='middle' width='120'>");
		document.write("<a href='http://www.mxtv.co.jp/header/footer4.html'>");
		document.write("<img src='http://www.mxtv.co.jp/header/img/footer4.gif' height='60' width='100' border='1' style='border-color:#999999;'>");
		document.write("</a>");
		document.write("</td>");
		document.write("<td align='center' valign='middle' width='120'>");
		document.write("<a href='http://www.mxtv.co.jp/header/footer5.html'>");
		document.write("<img src='http://www.mxtv.co.jp/header/img/footer5.gif' height='60' width='100' border='0'>");
		document.write("</a>");
		document.write("</td>");
		document.write("</tr>");
		document.write("</table>");
		document.write("<br>");
		document.write("<font size='2' color='#999999'>");
		document.write("サイトに関するお問合せは<A href='javascript:void2();' onClick='javascript:kotira();' class='m'>こちら</a>まで。<br>");
		document.write("Copyright(c) Tokyo Metropolitan Television Broadcasting Corp. Tokyo Japan All Rights Reserved.<br>");
		document.write("</font>");
		document.write("</div>");
		document.write("</td>");
		document.write("</tr>");
		document.write("</table>");



	//NEWS
	}else
	if(num=='10'){
		document.write("<table width='740' border='0' cellspacing='0' cellpadding='0' class='foot'>");
		document.write("<tr>");
		document.write("<td width='760'>");
		document.write("<div align='center'>");
		document.write("<br />");
		document.write("<table width='600' border='0' cellspacing='0' cellpadding='0' height='60'>");
		document.write("<tr>");
		document.write("<td align='center' valign='middle' width='120'>");
		document.write("<a href='http://www.mxtv.co.jp/header/footer_j.html' target='_blank'>");
		document.write("<img src='http://www.mxtv.co.jp/header/img/footer_ulala78.jpg' height='60' width='100' border='1' style='border-color:#999999;'>");
		document.write("</a>");
		document.write("</td>");
		document.write("<td align='center' valign='middle' width='120'>");
		document.write("<a href='http://www.mxtv.co.jp/header/footer6.html'>");
		document.write("<img src='http://www.mxtv.co.jp/header/img/footer6.gif' height='60' width='100' border='0'>");
		document.write("</a>");
		document.write("</td>");
		document.write("<td align='center' valign='middle' width='120'>");
		document.write("<a href='http://www.mxtv.co.jp/header/footer4.html'>");
		document.write("<img src='http://www.mxtv.co.jp/header/img/footer4.gif' height='60' width='100' border='0'>");
		document.write("</a>");
		document.write("</td>");
		document.write("<td align='center' valign='middle' width='120'>");
		document.write("<a href='http://www.mxtv.co.jp/header/footer5.html'>");
		document.write("<img src='http://www.mxtv.co.jp/header/img/footer5.gif' height='60' width='100' border='0'>");
		document.write("</a>");
		document.write("</td>");
		document.write("<td align='center' valign='middle' width='120'>");
		document.write("<a href='http://www.mxtv.co.jp/tochiji/'>");
		document.write("<img src='http://www.mxtv.co.jp/header/img/chiji_banner.gif' height='60' width='100' border='0'>");
		document.write("</a>");
		document.write("</td>");
		document.write("</tr>");
		document.write("</table>");
		document.write("<br>");
		document.write("<font size='2' color='#999999'>");
		document.write("サイトに関するお問合せは<A href='javascript:void2();' onClick='javascript:kotira();' class='m'>こちら</a>まで。<br>");
		document.write("Copyright(c) Tokyo Metropolitan Television Broadcasting Corp. Tokyo Japan All Rights Reserved.<br>");
		document.write("</font>");
		document.write("</div>");
		document.write("</td>");
		document.write("</tr>");
		document.write("</table>");
	//ULALA7
	}else
	if(num=='11'){
		document.write("<div align='center'>");
		document.write("<font size='2' color='#999999'>");
		document.write("サイトに関するお問合せは<A href='javascript:void2();' onClick='javascript:kotira();' class='m'>こちら</a>まで。<br>");
		document.write("Copyright(c) Tokyo Metropolitan Television Broadcasting Corp. Tokyo Japan All Rights Reserved.<br>");
		document.write("</font>");
		document.write("</div>");
		document.write("</td>");
		document.write("</tr>");
		document.write("</table>");

	//デフォルト
	}else
	if(num=='12'){
		document.write("<table width='740' align='center' border='0' cellspacing='0' cellpadding='0' class='foot' style='clear:both;'>");
		document.write("<tr>");
		document.write("<td width='760' align='center'>");
		document.write("<div align='center'>");
		document.write("<br />");
		document.write("<table width='600' border='0' align='center' cellspacing='0' cellpadding='0' height='60'>");
		document.write("<tr>");
		document.write("<td align='center' valign='middle' width='120'>");
		document.write("<a href='http://www.morinaga.co.jp/member_kyoro/'>");
		document.write("<img src='http://www.mxtv.co.jp/header/img/kyoro_banner.gif' height='60' width='95' border='0'>");
		document.write("</a>");
		document.write("</td>");
		document.write("<td align='center' valign='middle' width='120'>");
		document.write("<a href='http://www.mxtv.co.jp/header/footer2.html'>");
		document.write("<img src='http://www.mxtv.co.jp/header/img/footer2.gif' height='60' width='100' border='0'>");
		document.write("</a>");
		document.write("</td>");
		document.write("<td align='center' valign='middle' width='120'>");
		document.write("<a href='http://www.mxtv.co.jp/header/footer5.html'>");
		document.write("<img src='http://www.mxtv.co.jp/header/img/footer5.gif' height='60' width='100' border='0'>");
		document.write("</a>");
		document.write("</td>");
		document.write("<td align='center' valign='middle' width='120'>");
		document.write("<a href='http://www.mxtv.co.jp/header/footer4.html'>");
		document.write("<img src='http://www.mxtv.co.jp/header/img/footer4.gif' height='60' width='100' border='0'>");
		document.write("</a>");
		document.write("</td>");
		document.write("<td align='center' valign='middle' width='120'>");
		document.write("<a href='http://www.mxtv.co.jp/depart/'>");
		document.write("<img src='http://www.mxtv.co.jp/header/img/shopping_small.jpg' height='60' width='100' border='0'>");
		document.write("</a>");
		document.write("</td>");
		document.write("</tr>");
		document.write("</table>");
		document.write("<p class='mx_copyright' style='font-size: 12px;margin-top: 5px;'>");
		document.write("サイトに関するお問合せは<A href='javascript:void2();' onClick='javascript:kotira();' class='m'>こちら</a>まで。<br>");
		document.write("Copyright(c) Tokyo Metropolitan Television Broadcasting Corp. Tokyo Japan All Rights Reserved.");
		document.write("</p>");
		document.write("</div>");
		document.write("</td>");
		document.write("</tr>");
		document.write("</table>");

	//トモコレ
	}else
	if(num=='13'){
		document.write("<table width='740' align='center' border='0' cellspacing='0' cellpadding='0' class='foot' style='clear:both;'>");
		document.write("<tr>");
		document.write("<td width='760' align='center'>");
		document.write("<div align='center'>");
		document.write("<br />");
		document.write("<table width='600' border='0' align='center' cellspacing='0' cellpadding='0' height='60'>");
		document.write("<tr>");
		document.write("<td align='center' valign='middle' width='120'>");
		document.write("<a href='http://www.mxtv.co.jp/jyushin/'>");
		document.write("<img src='http://www.mxtv.co.jp/header/img/jyushin.gif' height='60' width='95' border='0'>");
		document.write("</a>");
		document.write("</td>");
		document.write("<td align='center' valign='middle' width='120'>");
		document.write("<a href='http://www.mxtv.co.jp/header/footer2.html'>");
		document.write("<img src='http://www.mxtv.co.jp/header/img/footer2.gif' height='60' width='100' border='0'>");
		document.write("</a>");
		document.write("</td>");
		document.write("<td align='center' valign='middle' width='120'>");
		document.write("<a href='http://www.mxtv.co.jp/header/footer5.html'>");
		document.write("<img src='http://www.mxtv.co.jp/header/img/footer5.gif' height='60' width='100' border='0'>");
		document.write("</a>");
		document.write("</td>");
		document.write("<td align='center' valign='middle' width='120'>");
		document.write("<a href='http://www.mxtv.co.jp/header/footer4.html'>");
		document.write("<img src='http://www.mxtv.co.jp/header/img/footer4.gif' height='60' width='100' border='0'>");
		document.write("</a>");
		document.write("</td>");
		document.write("<td align='center' valign='middle' width='120'>");
		document.write("<a href='http://www.mxtv.co.jp/depart/'>");
		document.write("<img src='http://www.mxtv.co.jp/header/img/shopping_small.jpg' height='60' width='100' border='0'>");
		document.write("</a>");
		document.write("</td>");
		document.write("</tr>");
		document.write("</table>");
		document.write("<p class='mx_copyright' style='font-size: 12px;margin-top: 5px;'>");
		document.write("サイトに関するお問合せは<A href='javascript:void2();' onClick='javascript:kotira();' class='m'>こちら</a>まで。<br>");
		document.write("Copyright(c) Tokyo Metropolitan Television Broadcasting Corp. Tokyo Japan All Rights Reserved.");
		document.write("</p>");
		document.write("</div>");
		document.write("</td>");
		document.write("</tr>");
		document.write("</table>");

//ULALA・とりんぷ
	}else
	if(num=='14'){
		document.write("<table width='740' align='center' border='0' cellspacing='0' cellpadding='0' class='foot' style='clear:both;'>");
		document.write("<tr>");
		document.write("<td width='760'>");
		document.write("<div align='center'>");
		document.write("<br />");
		document.write("<table width='600' border='0' cellspacing='0' cellpadding='0' height='60'>");
		document.write("<tr>");
		document.write("<td align='center' valign='middle' width='120'>");
		document.write("<a href='http://www.amos-style.com/index.html'>");
		document.write("<img src='http://www.mxtv.co.jp/header/img/triumph2010.jpg' height='60' width='95' border='0'>");
		document.write("</a>");
		document.write("</td>");
		document.write("<td align='center' valign='middle' width='120'>");
		document.write("<a href='http://www.mxtv.co.jp/header/footer1.html'>");
		document.write("<img src='http://www.mxtv.co.jp/header/img/footer1.gif' height='60' width='100' border='0'>");
		document.write("</a>");
		document.write("</td>");
		document.write("<td align='center' valign='middle' width='120'>");
		document.write("<a href='http://www.mxtv.co.jp/header/footer5.html'>");
		document.write("<img src='http://www.mxtv.co.jp/header/img/footer5.gif' height='60' width='100' border='0'>");
		document.write("</a>");
		document.write("</td>");
		document.write("<td align='center' valign='middle' width='120'>");
		document.write("<a href='http://www.mxtv.co.jp/header/footer4.html'>");
		document.write("<img src='http://www.mxtv.co.jp/header/img/footer4.gif' height='60' width='100' border='0'>");
		document.write("</a>");
		document.write("</td>");
		document.write("<td align='center' valign='middle' width='120'>");
		document.write("<a href='http://www.mxtv.co.jp/depart/'>");
		document.write("<img src='http://www.mxtv.co.jp/header/img/shopping_small.jpg' height='60' width='100' border='0'>");
		document.write("</a>");
		document.write("</td>");
		document.write("</tr>");
		document.write("</table>");
		document.write("<br>");
		document.write("<p class='mx_copyright' style='font-size: 12px;margin-top: 5px;'>");
		document.write("サイトに関するお問合せは<A href='javascript:void2();' onClick='javascript:kotira();' class='m'>こちら</a>まで。<br>");
		document.write("Copyright(c) Tokyo Metropolitan Television Broadcasting Corp. Tokyo Japan All Rights Reserved.");
		document.write("</p>");
		document.write("</div>");
		document.write("</td>");
		document.write("</tr>");
		document.write("</table>");


//紅の雫・SUNTECH
	}else
	if(num=='15'){
		document.write("<table width='740' align='center' border='0' cellspacing='0' cellpadding='0' class='foot' style='clear:both;'>");
		document.write("<tr>");
		document.write("<td width='760'>");
		document.write("<div align='center'>");
		document.write("<br />");
		document.write("<table width='600' border='0' cellspacing='0' cellpadding='0' height='60'>");
		document.write("<tr>");
		document.write("<td align='center' valign='middle' width='120'>");
		document.write("<a href='http://www.suntech-power.co.jp/'>");
		document.write("<img src='http://www.mxtv.co.jp/header/img/suntech.jpg' height='60' width='95' border='1' style='border-color:#999999;'>");
		document.write("</a>");
		document.write("</td>");
		document.write("<td align='center' valign='middle' width='120'>");
		document.write("<a href='http://www.mxtv.co.jp/header/footer2.html'>");
		document.write("<img src='http://www.mxtv.co.jp/header/img/footer2.gif' height='60' width='100' border='0'>");
		document.write("</a>");
		document.write("</td>");
		document.write("<td align='center' valign='middle' width='120'>");
		document.write("<a href='http://www.mxtv.co.jp/header/footer5.html'>");
		document.write("<img src='http://www.mxtv.co.jp/header/img/footer5.gif' height='60' width='100' border='0'>");
		document.write("</a>");
		document.write("</td>");
		document.write("<td align='center' valign='middle' width='120'>");
		document.write("<a href='http://www.mxtv.co.jp/header/footer4.html'>");
		document.write("<img src='http://www.mxtv.co.jp/header/img/footer4.gif' height='60' width='100' border='0'>");
		document.write("</a>");
		document.write("</td>");
		document.write("<td align='center' valign='middle' width='120'>");
		document.write("<a href='http://www.mxtv.co.jp/depart/'>");
		document.write("<img src='http://www.mxtv.co.jp/header/img/shopping_small.jpg' height='60' width='100' border='0'>");
		document.write("</a>");
		document.write("</td>");
		document.write("</tr>");
		document.write("</table>");
		document.write("<br>");
		document.write("<p class='mx_copyright' style='font-size: 12px;margin-top: 5px;'>");
		document.write("サイトに関するお問合せは<A href='javascript:void2();' onClick='javascript:kotira();' class='m'>こちら</a>まで。<br>");
		document.write("Copyright(c) Tokyo Metropolitan Television Broadcasting Corp. Tokyo Japan All Rights Reserved.");
		document.write("</p>");
		document.write("</div>");
		document.write("</td>");
		document.write("</tr>");
		document.write("</table>");


//5時に夢中・LaQ
	}else
	if(num=='16'){
		document.write("<table width='740' align='center' border='0' cellspacing='0' cellpadding='0' class='foot' style='clear:both;'>");
		document.write("<tr>");
		document.write("<td width='760'>");
		document.write("<div align='center'>");
		document.write("<br />");
		document.write("<table width='600' border='0' cellspacing='0' cellpadding='0' height='60'>");
		document.write("<tr>");
		document.write("<td align='center' valign='middle' width='120'>");
		document.write("<a href='http://www.laq.co.jp/laf_tokyomx/index.html'>");
		document.write("<img src='http://www.mxtv.co.jp/header/img/laq_banner.jpg' height='60' width='95' border='1' style='border-color:#999999;'>");
		document.write("</a>");
		document.write("</td>");
		document.write("<td align='center' valign='middle' width='120'>");
		document.write("<a href='http://www.mxtv.co.jp/header/footer2.html'>");
		document.write("<img src='http://www.mxtv.co.jp/header/img/footer2.gif' height='60' width='100' border='0'>");
		document.write("</a>");
		document.write("</td>");
		document.write("<td align='center' valign='middle' width='120'>");
		document.write("<a href='http://www.mxtv.co.jp/header/footer5.html'>");
		document.write("<img src='http://www.mxtv.co.jp/header/img/footer5.gif' height='60' width='100' border='0'>");
		document.write("</a>");
		document.write("</td>");
		document.write("<td align='center' valign='middle' width='120'>");
		document.write("<a href='http://www.mxtv.co.jp/header/footer4.html'>");
		document.write("<img src='http://www.mxtv.co.jp/header/img/footer4.gif' height='60' width='100' border='0'>");
		document.write("</a>");
		document.write("</td>");
		document.write("<td align='center' valign='middle' width='120'>");
		document.write("<a href='http://www.mxtv.co.jp/depart/'>");
		document.write("<img src='http://www.mxtv.co.jp/header/img/shopping_small.jpg' height='60' width='100' border='0'>");
		document.write("</a>");
		document.write("</td>");
		document.write("</tr>");
		document.write("</table>");
		document.write("<br>");
		document.write("<p class='mx_copyright' style='font-size: 12px;margin-top: 5px;'>");
		document.write("サイトに関するお問合せは<A href='javascript:void2();' onClick='javascript:kotira();' class='m'>こちら</a>まで。<br>");
		document.write("Copyright(c) Tokyo Metropolitan Television Broadcasting Corp. Tokyo Japan All Rights Reserved.");
		document.write("</p>");
		document.write("</div>");
		document.write("</td>");
		document.write("</tr>");
		document.write("</table>");

//スポーツ・ホークス
	}else
	if(num=='17'){
		document.write("<table width='740' align='center' border='0' cellspacing='0' cellpadding='0' class='foot' style='clear:both;'>");
		document.write("<tr>");
		document.write("<td width='760' align='center'>");
		document.write("<div align='center'>");
		document.write("<br />");
		document.write("<table width='600' border='0' align='center' cellspacing='0' cellpadding='0' height='60'>");
		document.write("<tr>");
		document.write("<td align='center' valign='middle' width='120'>");
		document.write("<a href='http://www.mxtv.co.jp/header/footer1.html'>");
		document.write("<img src='http://www.mxtv.co.jp/header/img/footer1.gif' height='60' width='95' border='0'>");
		document.write("</a>");
		document.write("</td>");
		document.write("<td align='center' valign='middle' width='120'>");
		document.write("<a href='http://www.mxtv.co.jp/header/footer2.html'>");
		document.write("<img src='http://www.mxtv.co.jp/header/img/footer2.gif' height='60' width='100' border='0'>");
		document.write("</a>");
		document.write("</td>");
		document.write("<td align='center' valign='middle' width='120'>");
		document.write("<a href='http://www.mxtv.co.jp/header/footer5.html'>");
		document.write("<img src='http://www.mxtv.co.jp/header/img/footer5.gif' height='60' width='100' border='0'>");
		document.write("</a>");
		document.write("</td>");
		document.write("<td align='center' valign='middle' width='120'>");
		document.write("<a href='http://www.mxtv.co.jp/header/footer4.html'>");
		document.write("<img src='http://www.mxtv.co.jp/header/img/footer4.gif' height='60' width='100' border='0'>");
		document.write("</a>");
		document.write("</td>");
		document.write("<td align='center' valign='middle' width='120'>");
		document.write("<a href='http://bb.gmpa.jp/index.html'>");
		document.write("<img src='http://www.mxtv.co.jp/header/img/mobcast100_60.png' height='60' width='100' border='0'>");
		document.write("</a>");
		document.write("</td>");
		document.write("</tr>");
		document.write("</table>");
		document.write("<p class='mx_copyright' style='font-size: 12px;margin-top: 5px;'>");
		document.write("サイトに関するお問合せは<A href='javascript:void2();' onClick='javascript:kotira();' class='m'>こちら</a>まで。<br>");
		document.write("Copyright(c) Tokyo Metropolitan Television Broadcasting Corp. Tokyo Japan All Rights Reserved.");
		document.write("</p>");
		document.write("</div>");
		document.write("</td>");
		document.write("</tr>");
		document.write("</table>");

//明けテレ・gdgdフェアリーズ
	}else
	if(num=='18'){
		document.write("<table width='740' align='center' border='0' cellspacing='0' cellpadding='0' class='foot' style='clear:both;'>");
		document.write("<tr>");
		document.write("<td width='760'>");
		document.write("<div align='center'>");
		document.write("<br />");
		document.write("<table width='600' border='0' cellspacing='0' cellpadding='0' height='60'>");
		document.write("<tr>");
		document.write("<td align='center' valign='middle' width='120'>");
		document.write("<a href='http://www.mxtv.co.jp/header/footer1.html'>");
		document.write("<img src='http://www.mxtv.co.jp/header/img/footer1.gif' height='60' width='100' border='0'>");
		document.write("</a>");
		document.write("</td>");
		document.write("<td align='center' valign='middle' width='120'>");
		document.write("<a href='http://www.mxtv.co.jp/header/footer5.html'>");
		document.write("<img src='http://www.mxtv.co.jp/header/img/footer5.gif' height='60' width='100' border='0'>");
		document.write("</a>");
		document.write("</td>");
		document.write("<td align='center' valign='middle' width='120'>");
		document.write("<a href='http://www.mxtv.co.jp/header/footer4.html'>");
		document.write("<img src='http://www.mxtv.co.jp/header/img/footer4.gif' height='60' width='100' border='0'>");
		document.write("</a>");
		document.write("</td>");
		document.write("<td align='center' valign='middle' width='120'>");
		document.write("<a href='http://www.mxtv.co.jp/depart/'>");
		document.write("<img src='http://www.mxtv.co.jp/header/img/shopping_small.jpg' height='60' width='100' border='0'>");
		document.write("</a>");
		document.write("</td>");
		document.write("<td align='center' valign='middle' width='120'>");
		document.write("<a href='http://www.mxtv.co.jp/gdgdf/'>");
		document.write("<img src='http://www.mxtv.co.jp/header/img/gdgdf.jpg' height='60' width='95' border='0'>");
		document.write("</a>");
		document.write("</td>");
		document.write("</tr>");
		document.write("</table>");
		document.write("<br>");
		document.write("<p class='mx_copyright' style='font-size: 12px;margin-top: 5px;'>");
		document.write("サイトに関するお問合せは<A href='javascript:void2();' onClick='javascript:kotira();' class='m'>こちら</a>まで。<br>");
		document.write("Copyright(c) Tokyo Metropolitan Television Broadcasting Corp. Tokyo Japan All Rights Reserved.");
		document.write("</p>");
		document.write("</div>");
		document.write("</td>");
		document.write("</tr>");
		document.write("</table>");

//会社概要等・バナー無しver
	}else
	if(num=='99'){
		document.write("<p class='mx_copyright' style='font-size: 12px;margin-top: 5px;'>");
		document.write("サイトに関するお問合せは<A href='javascript:void2();' onClick='javascript:kotira();' class='m'>こちら</a>まで。<br>");
		document.write("Copyright(c) Tokyo Metropolitan Television Broadcasting Corp. Tokyo Japan All Rights Reserved.");
		document.write("</p>");
		document.write("</div>");
		document.write("</td>");
		document.write("</tr>");
		document.write("</table>");
	}

	else{
		document.write("<table width='740' align='center' border='0' cellspacing='0' cellpadding='0' class='foot' style='clear:both;'>");
		document.write("<tr>");
		document.write("<td width='760' align='center'>");
		document.write("<div align='center'>");
		document.write("<br />");
		document.write("<table width='600' align='center' border='0' cellspacing='0' cellpadding='0' height='60'>");
		document.write("<tr>");
		document.write("<td align='center' valign='middle' width='120'>");
		document.write("<a href='http://www.mxtv.co.jp/header/footer1.html'>");
		document.write("<img src='http://www.mxtv.co.jp/header/img/footer1.gif' height='60' width='95' border='0'>");
		document.write("</a>");
		document.write("</td>");
		document.write("<td align='center' valign='middle' width='120'>");
		document.write("<a href='http://www.mxtv.co.jp/header/footer2.html'>");
		document.write("<img src='http://www.mxtv.co.jp/header/img/footer2.gif' height='60' width='100' border='0'>");
		document.write("</a>");
		document.write("</td>");
		document.write("<td align='center' valign='middle' width='120'>");
		document.write("<a href='http://www.mxtv.co.jp/header/footer3.html'>");
		document.write("<img src='http://www.mxtv.co.jp/header/img/footer3.gif' height='60' width='100' border='0'>");
		document.write("</a>");
		document.write("</td>");
		document.write("<td align='center' valign='middle' width='120'>");
		document.write("<a href='http://www.mxtv.co.jp/header/footer4.html'>");
		document.write("<img src='http://www.mxtv.co.jp/header/img/footer4.gif' height='60' width='100' border='0'>");
		document.write("</a>");
		document.write("</td>");
		document.write("<td align='center' valign='middle' width='120'>");
		document.write("<a href='http://www.mxtv.co.jp/header/footer5.html'>");
		document.write("<img src='http://www.mxtv.co.jp/header/img/footer5.gif' height='60' width='100' border='0'>");
		document.write("</a>");
		document.write("</td>");
		document.write("</tr>");
		document.write("</table>");
		document.write("<p class='mx_copyright' style='font-size: 12px;margin-top: 5px;'>");
		document.write("サイトに関するお問合せは<A href='javascript:void2();' onClick='javascript:kotira();' class='m'>こちら</a>まで。<br>");
		document.write("Copyright(c) Tokyo Metropolitan Television Broadcasting Corp. Tokyo Japan All Rights Reserved.");
		document.write("</p>");
		document.write("</div>");
		document.write("</td>");
		document.write("</tr>");
		document.write("</table>");
	}

}

function kotira(){
	window.open('https://members.mxtv.co.jp/webmaster/index.vm','_blank','toolbar=no,menubar=no,scrollbars=yes,width=535,height=730,resizable=yes');
	//return false;
}

function void2(){
}

//SNSボタンたち(ボタン押された回数表示なし)
function sns_buttons1(sns_title,sns_url){

	if(sns_url==""){
		sns_url = document.URL;
	}
	if(sns_title==""){
		sns_title = document.title;
	}
	document.write(
	//ツイートボタン
	'	<a href="http://twitter.com/share" class="twitter-share-button" data-count="none" data-via="TOKYOMX" data-lang="ja">ツイート</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js" charset="utf-8"></script>',
	//facebookいいねボタン
	'	<iframe src="http://www.facebook.com/plugins/like.php?app_id=206814972711404&amp;href=' + sns_url + '&amp;send=false&amp;layout=standard&amp;width=74&amp;show_faces=false&amp;action=like&amp;colorscheme=light&amp;font&amp;height=35" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:74px; height:24px;" allowTransparency="true"></iframe>',
	//mixiイイネボタン
	'	<iframe scrolling="no" frameborder="0" allowTransparency="true" style="overflow:hidden; border:0; width:60px; height:20px" src="http://plugins.mixi.jp/favorite.pl?href=' + sns_url + '&service_key=0bedb96238138825e9d34145882a2c3adc40ba7b&show_faces=false&width=60"></iframe>',
	//はてなブックマークボタン
	'	<a href="http://b.hatena.ne.jp/entry/' + sns_url + '" class="hatena-bookmark-button" data-hatena-bookmark-title="" data-hatena-bookmark-layout="simple" title="このエントリーをはてなブックマークに追加"><img src="http://b.st-hatena.com/images/entry-button/button-only.gif" alt="このエントリーをはてなブックマークに追加" width="20" height="20" style="border: none;" /></a><script type="text/javascript" src="http://b.st-hatena.com/js/bookmark_button.js" charset="utf-8" async="async"></script>'
	);

}

//SNSボタンたち(ボタン押された回数表示あり)
function sns_buttons2(sns_title,sns_url){

	if(sns_url==""){
		sns_url = document.URL;
	}
	if(sns_title==""){
		sns_title = document.title;
	}
	document.write(
	//ツイートボタン
	'	<a href="http://twitter.com/share" class="twitter-share-button" data-count="horizontal" data-via="TOKYOMX" data-lang="ja">ツイート</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js" charset="utf-8"></script>',
	//facebookいいねボタン
	'	<iframe src="http://www.facebook.com/plugins/like.php?app_id=241218949253099&amp;href=' + sns_url + '&amp;send=false&amp;layout=button_count&amp;width=120&amp;show_faces=true&amp;action=like&amp;colorscheme=light&amp;font=arial&amp;height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:120px; height:21px;" allowTransparency="true"></iframe>',
	//mixiイイネボタン
	'	<iframe scrolling="no" frameborder="0" allowTransparency="true" style="overflow:hidden; border:0; width:100px; height:20px" src="http://plugins.mixi.jp/favorite.pl?href=' + sns_url + '&service_key=0bedb96238138825e9d34145882a2c3adc40ba7b&show_faces=false&width=100"></iframe>',
	//はてなブックマークボタン
	'	<a href="http://b.hatena.ne.jp/entry/' + sns_url + '" class="hatena-bookmark-button" data-hatena-bookmark-title="" data-hatena-bookmark-layout="standard" title="このエントリーをはてなブックマークに追加"><img src="http://b.st-hatena.com/images/entry-button/button-only.gif" alt="このエントリーをはてなブックマークに追加" width="20" height="20" style="border: none;" /></a><script type="text/javascript" src="http://b.st-hatena.com/js/bookmark_button.js" charset="utf-8" async="async"></script>'
	);

}


//Facebookいいねボタン管理ページ見る用
function sns_buttons3(sns_title,sns_url){

	if(sns_url==""){
		sns_url = document.URL;
	}
	if(sns_title==""){
		sns_title = document.title;
	}
	document.write(
	'	<iframe src="http://www.facebook.com/plugins/like.php?app_id=206814972711404&amp;href=' + sns_url + '&amp;send=false&amp;layout=standard&amp;width=450&amp;show_faces=false&amp;action=like&amp;colorscheme=light&amp;font&amp;height=35" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:450px; height:24px;" allowTransparency="true"></iframe>'
	);

}

