﻿var path = "";
path = location.pathname;
//document.write("URL:",location.href);
//document.write("PATHNAME:",location.pathname);
document.open();

document.write("<div id='header_bun'>");
	if(path == "/aso/english.html"){
	document.write("		<a href='index.html' onFocus='if(this.blur)this.blur()'><img src='images/bun_top_english.gif' width='600' height='96' alt='' border='0' /></a>");
	}
	if(path == "/aso/korean.html"){
	document.write("		<a href='index.html' onFocus='if(this.blur)this.blur()'><img src='images/bun_top_korea.gif' width='600' height='96' alt='' border='0' /></a>");
	}
	if(path == "/aso/kantai.html"){
	document.write("		<a href='index.html' onFocus='if(this.blur)this.blur()'><img src='images/bun_top_kantai.gif' width='600' height='96' alt='' border='0' /></a>");
	}
	if(path == "/aso/hantai.html"){
	document.write("		<a href='index.html' onFocus='if(this.blur)this.blur()'><img src='images/bun_top_hantai.gif' width='600' height='96' alt='' border='0' /></a>");
	}
document.write("</div>");


	document.write("<div id='header_nav'>");
		document.write("<div id='header_nav_upper'>");
			document.write("		<div id='header_nav1'>");
			document.write("			<a href='index.html' onFocus='if(this.blur)this.blur()' title='Japanese' target='_self' id='sn4_ro_6'");
			document.write("				onmouseover='SwitchPic(\"sn4_ro_6\", \"images/btn_japanese_over.gif\")'");
			document.write("				onmouseout ='SwitchPic(\"sn4_ro_6\", \"images/btn_japanese_normal.gif\")'>");
			document.write("			<img src='images/btn_japanese_normal.gif' width='100' height='48' alt='' name='sn4_ro_6' border='0'></a>");
			document.write("		</div>");
			if(path == "/aso/english.html"){
			document.write("		<div id='header_nav2'>");
			document.write("			<a href='korean.html' onFocus='if(this.blur)this.blur()' title='Korean' target='_self' id='sn4_ro_7'");
			document.write("				onmouseover='SwitchPic(\"sn4_ro_7\", \"images/btn_korea_over.gif\")'");
			document.write("				onmouseout ='SwitchPic(\"sn4_ro_7\", \"images/btn_korea_normal.gif\")'>");
			document.write("			<img src='images/btn_korea_normal.gif' width='100' height='48' alt='' name='sn4_ro_7' border='0'></a>");
			document.write("		</div>");
			}

			if(path == "/aso/korean.html"){
			document.write("		<div id='header_nav2'>");
			document.write("			<a href='english.html' onFocus='if(this.blur)this.blur()' title='English' target='_self' id='sn4_ro_8'");
			document.write("				onmouseover='SwitchPic(\"sn4_ro_8\", \"images/btn_english_over.gif\")'");
			document.write("				onmouseout ='SwitchPic(\"sn4_ro_8\", \"images/btn_english_normal.gif\")'>");
			document.write("			<img src='images/btn_english_normal.gif' width='100' height='48' alt='' name='sn4_ro_8' border='0'></a>");
			document.write("		</div>");
			}
			if(path == "/aso/kantai.html"){
			document.write("		<div id='header_nav2'>");
			document.write("			<a href='english.html' onFocus='if(this.blur)this.blur()' title='English' target='_self' id='sn4_ro_8'");
			document.write("				onmouseover='SwitchPic(\"sn4_ro_8\", \"images/btn_english_over.gif\")'");
			document.write("				onmouseout ='SwitchPic(\"sn4_ro_8\", \"images/btn_english_normal.gif\")'>");
			document.write("			<img src='images/btn_english_normal.gif' width='100' height='48' alt='' name='sn4_ro_8' border='0'></a>");
			document.write("		</div>");
			}
			if(path == "/aso/hantai.html"){
			document.write("		<div id='header_nav2'>");
			document.write("			<a href='english.html' onFocus='if(this.blur)this.blur()' title='English' target='_self' id='sn4_ro_8'");
			document.write("				onmouseover='SwitchPic(\"sn4_ro_8\", \"images/btn_english_over.gif\")'");
			document.write("				onmouseout ='SwitchPic(\"sn4_ro_8\", \"images/btn_english_normal.gif\")'>");
			document.write("			<img src='images/btn_english_normal.gif' width='100' height='48' alt='' name='sn4_ro_8' border='0'></a>");
			document.write("		</div>");
			}
		document.write("		</div>");

		document.write("<div id='header_nav_lower'>");
			if(path == "/aso/english.html"){
			document.write("		<div id='header_nav3'>");
			document.write("			<a href='kantai.html' onFocus='if(this.blur)this.blur()' title='Chinese' target='_self' id='sn4_ro_9'");
			document.write("				onmouseover='SwitchPic(\"sn4_ro_9\", \"images/btn_kantai_over.gif\")'");
			document.write("				onmouseout ='SwitchPic(\"sn4_ro_9\", \"images/btn_kantai_normal.gif\")'>");
			document.write("			<img src='images/btn_kantai_normal.gif' width='100' height='48' alt='' name='sn4_ro_9' border='0'></a>");
			document.write("		</div>");
			document.write("		<div id='header_nav4'>");
			document.write("			<a href='hantai.html' onFocus='if(this.blur)this.blur()' title='Chinese' target='_self' id='sn4_ro_10'");
			document.write("				onmouseover='SwitchPic(\"sn4_ro_10\", \"images/btn_hantai_over.gif\")'");
			document.write("				onmouseout ='SwitchPic(\"sn4_ro_10\", \"images/btn_hantai_normal.gif\")'>");
			document.write("			<img src='images\/btn_hantai_normal.gif' width='100' height='48' alt='' name='sn4_ro_10' border='0'><\/a>");
			document.write("		</div>");
			}

			if(path == "/aso/korean.html"){
			document.write("		<div id='header_nav3'>");
			document.write("			<a href='kantai.html' onFocus='if(this.blur)this.blur()' title='Chinese' target='_self' id='sn4_ro_9'");
			document.write("				onmouseover='SwitchPic(\"sn4_ro_9\", \"images/btn_kantai_over.gif\")'");
			document.write("				onmouseout ='SwitchPic(\"sn4_ro_9\", \"images/btn_kantai_normal.gif\")'>");
			document.write("			<img src='images/btn_kantai_normal.gif' width='100' height='48' alt='' name='sn4_ro_9' border='0'></a>");
			document.write("		</div>");
			document.write("		<div id='header_nav4'>");
			document.write("			<a href='hantai.html' onFocus='if(this.blur)this.blur()' title='Chinese' target='_self' id='sn4_ro_10'");
			document.write("				onmouseover='SwitchPic(\"sn4_ro_10\", \"images/btn_hantai_over.gif\")'");
			document.write("				onmouseout ='SwitchPic(\"sn4_ro_10\", \"images/btn_hantai_normal.gif\")'>");
			document.write("			<img src='images/btn_hantai_normal.gif' width='100' height='48' alt='' name='sn4_ro_10' border='0'></a>");
			document.write("		</div>");
			}
			if(path == "/aso/kantai.html"){
			document.write("		<div id='header_nav3'>");
			document.write("			<a href='korean.html' onFocus='if(this.blur)this.blur()' title='Korean' target='_self' id='sn4_ro_7'");
			document.write("				onmouseover='SwitchPic(\"sn4_ro_7\", \"images/btn_korea_over.gif\")'");
			document.write("				onmouseout ='SwitchPic(\"sn4_ro_7\", \"images/btn_korea_normal.gif\")'>");
			document.write("			<img src='images/btn_korea_normal.gif' width='100' height='48' alt='' name='sn4_ro_7' border='0'></a>");
			document.write("		</div>");
			document.write("		<div id='header_nav4'>");
			document.write("			<a href='hantai.html' onFocus='if(this.blur)this.blur()' title='Chinese' target='_self' id='sn4_ro_10'");
			document.write("				onmouseover='SwitchPic(\"sn4_ro_10\", \"images/btn_hantai_over.gif\")'");
			document.write("				onmouseout ='SwitchPic(\"sn4_ro_10\", \"images/btn_hantai_normal.gif\")'>");
			document.write("			<img src='images/btn_hantai_normal.gif' width='100' height='48' alt='' name='sn4_ro_10' border='0'></a>");
			document.write("		</div>");
			}
			if(path == "/aso/hantai.html"){
			document.write("		<div id='header_nav3'>");
			document.write("			<a href='korean.html' onFocus='if(this.blur)this.blur()' title='Korean' target='_self' id='sn4_ro_7'");
			document.write("				onmouseover='SwitchPic(\"sn4_ro_7\", \"images/btn_korea_over.gif\")'");
			document.write("				onmouseout ='SwitchPic(\"sn4_ro_7\", \"images/btn_korea_normal.gif\")'>");
			document.write("			<img src='images/btn_korea_normal.gif' width='100' height='48' alt='' name='sn4_ro_7' border='0'></a>");
			document.write("		</div>");
			document.write("		<div id='header_nav4'>");
			document.write("			<a href='kantai.html' onFocus='if(this.blur)this.blur()' title='Chinese' target='_self' id='sn4_ro_9'");
			document.write("				onmouseover='SwitchPic(\"sn4_ro_9\", \"images/btn_kantai_over.gif\")'");
			document.write("				onmouseout ='SwitchPic(\"sn4_ro_9\", \"images/btn_kantai_normal.gif\")'>");
			document.write("			<img src='images/btn_kantai_normal.gif' width='100' height='48' alt='' name='sn4_ro_9' border='0'></a>");
			document.write("		</div>");
			}
		document.write("		</div>");
	document.write("	</div>");
document.close();


