////////////////////////////////////////////////////////////

// init image

////////////////////////////////////////////////////////////

function LeftMenuInit(root){
	imgReady = (
		initImage("jpn","over",root+"../images/header/japanese_on.gif") &&
		initImage("jpn","out",root+"../images/header/japanese.gif") &&
		initImage("eng","over",root+"../images/header/english_on.gif") &&
		initImage("eng","out",root+"../images/header/english.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;
}

////////////////////////////////////////////////////////////

// LeftMenu

////////////////////////////////////////////////////////////

function LeftMenuWrite(root){
	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 ÀÌ½ºÆ® È£ÅÚ'></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='¸ÞÆ®·ÎÆú¸®Åº È£ÅÚ' 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='È£ÅÚ ´º±×·£µå' 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='È£ÅÚ ¸ÞÃ÷' 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/kr/code/codekr115.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='¾¾»çÀÌµåÈ£ÅÚ ½Ã¹Ù¾ß¿äÀÌ È¸°ü' 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/kr/code/codekr151.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='È£ÅÚ µå¸²°ÔÀÌÆ® ¸¶ÀÌÇÏ¸¶' 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='ÆÄ¹Ð¸®¿À' 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='ÆúÅ©·Î·Î' 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='ÀÎÆ÷¸ÞÀÌ¼Ç' 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='È£ÅÚÁöµµ' name='map'></a></td></tr>");
	document.write("<tr><td><img src='"+root+"images/spacer.gif' width='1' height='10'></td></tr>");
	document.write("</table>");
}
