////////////////////////////////////////////////////////////
// init image
////////////////////////////////////////////////////////////
function LeftMenuInit(root){
	imgReady = (
		initImage("jpn","over",root+"../images/header/japanese_on.gif") &&
		initImage("jpn","out",root+"../images/header/japanese.gif") &&
		initImage("kor","over",root+"../images/header/korean_on.gif") &&
		initImage("kor","out",root+"../images/header/korean.gif") &&
		initImage("top","over",root+"../images/menu/top_on.gif") &&
		initImage("top","out",root+"../images/menu/top.gif") &&
		initImage("mtr","over",root+"images/menu/hotel_metro_on.gif") &&
		initImage("mtr","out",root+"images/menu/hotel_metro.gif") &&
		initImage("met","over",root+"images/menu/hotel_mets_on.gif") &&
		initImage("met","out",root+"images/menu/hotel_mets.gif") &&
		initImage("yay","over",root+"images/menu/hotel_yayoi_on.gif") &&
		initImage("yay","out",root+"images/menu/hotel_yayoi.gif") &&
		initImage("fam","over",root+"images/menu/hotel_familio_on.gif") &&
		initImage("fam","out",root+"images/menu/hotel_familio.gif") &&
		initImage("fol","over",root+"images/menu/hotel_folkloro_on.gif") &&
		initImage("fol","out",root+"images/menu/hotel_folkloro.gif") &&
		initImage("ngr","over",root+"images/menu/hotel_newgrand_on.gif") &&
		initImage("ngr","out",root+"images/menu/hotel_newgrand.gif") &&
		initImage("dre","over",root+"images/menu/hotel_dreamgate_on.gif") &&
		initImage("dre","out",root+"images/menu/hotel_dreamgate.gif") &&
		initImage("map","over",root+"images/menu/hotelsmap_on.gif") &&
		initImage("map","out",root+"images/menu/hotelsmap.gif") &&
		initImage("inf","over",root+"images/menu/information_on.gif") &&
		initImage("inf","out",root+"images/menu/information.gif") &&
	true )? true: false;
}
////////////////////////////////////////////////////////////
// LeftMenuWrite
////////////////////////////////////////////////////////////
function LeftMenuWrite(root){
	document.write("<table border='0' cellspacing='0' cellpadding='0' width='162' height='900'><tr><td valign='top'>");
	document.write("<table border='0' cellspacing='0' cellpadding='0' width='162'>");
	document.write("<tr><td><img src='"+root+"images/spacer.gif' width='1' height='10'></td></tr>");
	document.write("<tr><td><a href='"+root+"index.html' onmouseout='changeImage(\"top\",\"out\");' onMouseOver='changeImage(\"top\",\"over\")'><img src='"+root+"../images/menu/top.gif' width='162' height='23' border='0' alt='TOP' name='top'></a></td></tr>");
	document.write("<tr><td><img src='"+root+"images/spacer.gif' width='1' height='5'></td></tr>");
	document.write("<tr><td><img src='"+root+"images/menu/hotel_title.gif' width='162' height='15' alt='JR-EAST HOTELS'></td></tr>");
	document.write("<tr><td><img src='"+root+"images/spacer.gif' width='1' height='1'></td></tr>");
	document.write("<tr><td><a href='"+root+"metro/index.html' onmouseout='changeImage(\"mtr\",\"out\");' onMouseOver='changeImage(\"mtr\",\"over\")'><img src='"+root+"images/menu/hotel_metro.gif' width='162' height='23' border='0' alt='METROPOLITAN HOTELS' name='mtr'></a></td></tr>");
	document.write("<tr><td><img src='"+root+"images/spacer.gif' width='1' height='1'></td></tr>");
	document.write("<tr><td><a href='"+root+"newgrand/index.html' onmouseout='changeImage(\"ngr\",\"out\");' onMouseOver='changeImage(\"ngr\",\"over\")'><img src='"+root+"images/menu/hotel_newgrand.gif' width='162' height='23' border='0' alt='HOTEL NEW GRAND' name='ngr'></a></td></tr>");
	document.write("<tr><td><img src='"+root+"images/spacer.gif' width='1' height='1'></td></tr>");
	document.write("<tr><td><a href='"+root+"mets/index.html' onmouseout='changeImage(\"met\",\"out\");' onMouseOver='changeImage(\"met\",\"over\")'><img src='"+root+"images/menu/hotel_mets.gif' width='162' height='23' border='0' alt='HOTEL METS' name='met'></a></td></tr>");
	document.write("<tr><td><img src='"+root+"images/spacer.gif' width='1' height='1'></td></tr>");
	document.write("<tr><td><a href='http://www.jrhotelgroup.com/eng/code/codeeng115.htm' onmouseout='changeImage(\"yay\",\"out\");' onMouseOver='changeImage(\"yay\",\"over\")' target='_blank'><img src='"+root+"images/menu/hotel_yayoi.gif' width='162' height='23' border='0' alt='SEASIDE HOTEL SHIBA YAYOI KAIKAN' name='yay'></a></td></tr>");
	document.write("<tr><td><img src='"+root+"images/spacer.gif' width='1' height='1'></td></tr>");
	document.write("<tr><td><a href='http://www.jrhotelgroup.com/eng/code/codeeng151.htm' onmouseout='changeImage(\"dre\",\"out\");' onMouseOver='changeImage(\"dre\",\"over\")' target='_blank'><img src='"+root+"images/menu/hotel_dreamgate.gif' width='162' height='23' border='0' alt='HOTEL DREAMGATE MAIHAMA' name='dre'></a></td></tr>");
	document.write("<tr><td><img src='"+root+"images/spacer.gif' width='1' height='1'></td></tr>");
	document.write("<tr><td><a href='"+root+"familio/index.html' onmouseout='changeImage(\"fam\",\"out\");' onMouseOver='changeImage(\"fam\",\"over\")'><img src='"+root+"images/menu/hotel_familio.gif' width='162' height='23' border='0' alt='FAMILIO' name='fam'></a></td></tr>");
	document.write("<tr><td><img src='"+root+"images/spacer.gif' width='1' height='1'></td></tr>");
	document.write("<tr><td><a href='"+root+"folkloro/index.html' onmouseout='changeImage(\"fol\",\"out\");' onMouseOver='changeImage(\"fol\",\"over\")'><img src='"+root+"images/menu/hotel_folkloro.gif' width='162' height='23' border='0' alt='FOLKLORO' name='fol'></a></td></tr>");
	document.write("<tr><td><img src='"+root+"images/spacer.gif' width='1' height='5'></td></tr>");

	document.write("<tr><td><a href='"+root+"information.html' onmouseout='changeImage(\"inf\",\"out\");' onMouseOver='changeImage(\"inf\",\"over\")'><img src='"+root+"images/menu/information.gif' width='162' height='23' border='0' alt='INFORMATION' name='inf'></a></td></tr>");
	document.write("<tr><td><img src='"+root+"images/spacer.gif' width='1' height='1'></td></tr>");
	document.write("<tr><td><a href='"+root+"hotels_map.html' onmouseout='changeImage(\"map\",\"out\");' onMouseOver='changeImage(\"map\",\"over\")'><img src='"+root+"images/menu/hotelsmap.gif' width='162' height='23' border='0' alt='HOTELS MAP' name='map'></a></td></tr>");
	document.write("<tr><td><img src='"+root+"images/spacer.gif' width='1' height='10'></td></tr>");
	document.write("</table>");
	document.write("</td></tr></table>");
}
