﻿//共通ヘッダ部分表示
function header(num) {

	//コンテンツごとに変更したい場合はnumの値を変更する
	//０デフォルト
	if(num=='0'){
		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 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 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 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 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 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 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 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 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 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 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 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{
		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/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.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/digiad/' target='_blank'>");
		document.write("<img src='http://www.mxtv.co.jp/header/img/digiad_banner.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/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{
		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(){
}


