function newImage(arg) {
	if (document.images) {
		rslt = new Image();
		rslt.src = arg;
		return rslt;
	}
}

function changeImages() {
	if (document.images && (preloadFlag == true)) {
		for (var i=0; i<changeImages.arguments.length; i+=2) {
			document[changeImages.arguments[i]].src = changeImages.arguments[i+1];
		}
	}
}

var preloadFlag = false;
function preloadImages() {
	if (document.images) {
		header_02_over = newImage("../images/header_02-over.gif");
		header_04_over = newImage("../images/header_04-over.gif");
		header_05_over = newImage("../images/header_05-over.gif");
		header_07_over = newImage("../images/header_07-over.gif");
		preloadFlag = true;
	}
}

function disp_header(){
	document.writeln('<div id="tb_header">');
	document.writeln('<!-- ナヴィゲーション　開始 -->');
	document.writeln('<table id="Table_01" width="800" height="50" border="0" cellpadding="0" cellspacing="0">');
	document.writeln('	<tr>');
	document.writeln('		<td width="800" height="4" colspan="6">');
	document.writeln('			<img src="../images/spacer.gif" width="800" height="4" alt=""></td>');
	document.writeln('	</tr>');
	document.writeln('	<tr>');
	document.writeln('		<td>');
	document.writeln('			<a href="../index.html"');
	document.writeln('				onmouseover="changeImages(\'header_02\', \'../images/header_02-over.gif\'); return true;"');
	document.writeln('				onmouseout="changeImages(\'header_02\', \'../images/header_02.gif\'); return true;"');
	document.writeln('				onmousedown="changeImages(\'header_02\', \'../images/header_02-over.gif\'); return true;"');
	document.writeln('				onmouseup="changeImages(\'header_02\', \'../images/header_02-over.gif\'); return true;">');
	document.writeln('				<img name="header_02" src="../images/header_02.gif" width="150" height="22" border="0" alt="トップページ"></a></td>');
	document.writeln('		<td width="170" height="22">');
	document.writeln('			<img src="../images/spacer.gif" width="170" height="22" alt=""></td>');
	document.writeln('		<td>');
	document.writeln('			<a href="../release.html"');
	document.writeln('				onmouseover="changeImages(\'header_04\', \'../images/header_04-over.gif\'); return true;"');
	document.writeln('				onmouseout="changeImages(\'header_04\', \'../images/header_04.gif\'); return true;"');
	document.writeln('				onmousedown="changeImages(\'header_04\', \'../images/header_04-over.gif\'); return true;"');
	document.writeln('				onmouseup="changeImages(\'header_04\', \'../images/header_04-over.gif\'); return true;">');
	document.writeln('				<img name="header_04" src="../images/header_04.gif" width="120" height="22" border="0" alt="商品情報"></a></td>');
	document.writeln('		<td >');
	document.writeln('			<a href="../movie.html"');
	document.writeln('				onmouseover="changeImages(\'header_05\', \'../images/header_05-over.gif\'); return true;"');
	document.writeln('				onmouseout="changeImages(\'header_05\', \'../images/header_05.gif\'); return true;"');
	document.writeln('				onmousedown="changeImages(\'header_05\', \'../images/header_05-over.gif\'); return true;"');
	document.writeln('				onmouseup="changeImages(\'header_05\', \'../images/header_05-over.gif\'); return true;">');
	document.writeln('				<img name="header_05" src="../images/header_05.gif" width="120" height="22" border="0" alt="劇場情報"></a></td>');
	document.writeln('		<td>');
	document.writeln('			<img name="header_06" src="../images/header_06-vist.gif" width="120" height="22" border="0" alt="TVシリーズ"></td>');
	document.writeln('		<td>');
	document.writeln('			<a href="../index.html"');
	document.writeln('				onmouseover="changeImages(\'header_07\', \'../images/header_07-over.gif\'); return true;"');
	document.writeln('				onmouseout="changeImages(\'header_07\', \'../images/header_07.gif\'); return true;"');
	document.writeln('				onmousedown="changeImages(\'header_07\', \'../images/header_07-over.gif\'); return true;"');
	document.writeln('				onmouseup="changeImages(\'header_07\', \'../images/header_07-over.gif\'); return true;">');
	document.writeln('				<img name="header_07" src="../images/header_07.gif" width="120" height="22" border="0" alt="トップページ"></a></td>');
	document.writeln('	</tr>');
	document.writeln('	<tr>');
	document.writeln('		<td colspan="6">');
	document.writeln('			<img src="../images/header_08.gif" width="800" height="24" alt=""></td>');
	document.writeln('	</tr>');
	document.writeln('</table>');
	document.writeln('<!-- ナヴィゲーション　終了 -->');
	document.writeln('</div>');
}




function disp_footer(){
	document.writeln('<table>');
	document.writeln('	<tr>');
	document.writeln('		<td  bgcolor="#a5a5a5">');
	document.writeln('			<img src="/eureka/images/spacer.gif" width="800" height="1" alt="">');
	document.writeln('		</td>');
	document.writeln('	</tr>');
	document.writeln('	<tr>');
	document.writeln('		<td>');
	document.writeln('			<img src="/eureka/images/footer_01.gif" width="600" height="30" alt="バンダイビジュアル注釈" align="left">');
	document.writeln('			<a href="http://dbeat.bandaivisual.co.jp/" target="_blank">');
	document.writeln('			<img src="/eureka/images/dbeat_bn.gif" width="120" height="30" border="0" alt="デジタルビート" align="right">');
	document.writeln('			</a>');
	document.writeln('		</td>');
	document.writeln('	</tr>');
	document.writeln('</table>');

}

function disp_footerTxt(){

}
