var menu01 = new Array(

////ÀÚµ¿Â÷plus 4,6,7,8,11, CP

//ÀÚµ¿Â÷plus1-´º½º/Ä®·³

"0::01::00::´º½º/Ä®·³::http://www.hankyung.com/autoplus/carnews.html",
"9::01::1", //Áß¸Þ´º½ÃÀÛ
"1::01::01::ÀÚµ¿Â÷ ´º½º::http://www.hankyung.com/news/app/newslist.php?nid=230&sid=010413&type=1",
"9::01::2", //¼Ò¸Þ´º½ÃÀÛ
"2::01::02::ÇÑ±¹°æÁ¦::http://www.hankyung.com/news/app/newslist.php?nid=230&sid=010413&type=1",
"2::01::03::¿ÀÅäÅ¸ÀÓÁî::http://www.hankyung.com/autoplus/article_list_all.php",
"2::01::04::¼½¼Ç Auto::http://www.hankyung.com/news/app/newslist.php?nid=230&sid=011840&type=1",
"2::01::05::Æ÷Åä´º½º::http://www.hankyung.com/autoplus/photonews.php",
"9::01::3", //¼Ò¸Þ´º´ÝÀ½
"9::01::1", //Áß¸Þ´º½ÃÀÛ
"1::01::06::Àü¹®°¡ Ä®·³::http://www.hankyung.com/board/list.php?id=kang_ho_young&ch=auto",
"9::01::2", //¼Ò¸Þ´º½ÃÀÛ
"2::01::20::°­È£¿µ Ä®·³::http://www.hankyung.com/board/list.php?id=kang_ho_young&ch=auto",
"2::01::08::±èÇÊ¼ö Ä®·³::http://www.hankyung.com/board/list.php?id=kim_pil_soo&ch=auto",
"2::01::09::¹ÚÁ¤·æ Ä®·³::http://www.hankyung.com/board/list.php?id=jrpark&ch=auto",
"2::01::21::ÁöÃ¶¼ö Ä®·³::http://www.hankyung.com/board/list.php?id=_column_273_1&ch=auto",
"2::01::19::ÃÖÀÎ¿õ Ä®·³::http://www.hankyung.com/board/list.php?id=choi_in_woong&ch=auto",
"2::01::13::ÇÑÃ¢Èñ Ä®·³::http://www.hankyung.com/board/list.php?id=han_chang_hee&ch=auto",
"9::01::3", //¼Ò¸Þ´º´ÝÀ½
"9::01::1", //Áß¸Þ´º½ÃÀÛ
"1::01::18::¿¬ÀçÁ¾·á Ä®·³::http://www.hankyung.com/board/list.php?id=tckim2&ch=auto",
"9::01::2", //¼Ò¸Þ´º½ÃÀÛ
"2::01::07::±èÅÂÃµ Ä®·³::http://www.hankyung.com/board/list.php?id=tckim2&ch=auto",
"2::01::10::À¯ÀçÇü Ä®·³::http://www.hankyung.com/board/list.php?id=jhyou&ch=auto",
"2::01::11::ÁøÈñÁ¤ Ä®·³::http://www.hankyung.com/board/list.php?id=jin_hee_jung&ch=auto",
"2::01::12::ÃÖ±â¼º Ä®·³::http://www.hankyung.com/board/list.php?id=choi_ki_sung&ch=auto",
"9::01::3", //¼Ò¸Þ´º´ÝÀ½
"9::01::1", //Áß¸Þ´º½ÃÀÛ
"1::01::14::±âÀÚÆÄÀÏ::http://www.hankyung.com/autoplus/article_list.php?submenu=18",
"1::01::15::Â÷Å×Å©119::http://www.hankyung.com/board/list.php?id=cartech119&ch=auto",
"1::01::16::¸íÂ÷ÀÌ¾ß±â::http://www.hankyung.com/board/list.php?id=fineauto&ch=auto",
"1::01::17::ÀÚ·á½Ç::http://www.hankyung.com/autoplus/morgue.php",
"9::01::4", //¸Þ´º´ÝÀ½

//ÀÚµ¿Â÷plus2-½ÅÂ÷/½Ã½Â±â
"0::02::00::½ÅÂ÷/½Ã½Â±â::http://www.hankyung.com/autoplus/carnew.html",
"9::02::1", //Áß¸Þ´º½ÃÀÛ
"1::02::01::½ÅÂ÷¼Ò½Ä::http://www.hankyung.com/board/list.php?id=new_car_news&ch=auto",
"1::02::02::½Ã½Â±â::http://www.hankyung.com/board/list.php?id=special_ride&ch=auto",
"9::02::2", //¼Ò¸Þ´º½ÃÀÛ
"2::02::03::Àü¹®°¡½Ã½Â±â::http://www.hankyung.com/board/list.php?id=special_ride&ch=auto",
"2::02::04::È¸¿ø½Ã½Â±â::http://www.hankyung.com/board/list.php?id=member_ride&ch=auto",
"2::02::12::µ¿¿µ»ó½Ã½Â±â::http://www.hankyung.com/board/list.php?id=cartv_ride&ch=auto",
"9::02::3", //¼Ò¸Þ´º´ÝÀ½
"9::02::1", //Áß¸Þ´º½ÃÀÛ
"1::02::05::¿À³Ê¶ó¿îÁö::http://www.hankyung.com/board/list.php?id=hyundai&ch=auto",
"9::02::2", //¼Ò¸Þ´º½ÃÀÛ
"2::02::06::Çö´ë::http://www.hankyung.com/board/list.php?id=hyundai&ch=auto",
"2::02::07::±â¾Æ::http://www.hankyung.com/board/list.php?id=kia&ch=auto",
"2::02::08::GM´ë¿ì::http://www.hankyung.com/board/list.php?id=gd&ch=auto",
"2::02::09::¸£³ë»ï¼º::http://www.hankyung.com/board/list.php?id=samsung&ch=auto",
"2::02::10::½Ö¿ë::http://www.hankyung.com/board/list.php?id=ssangyong&ch=auto",
"2::02::11::¼öÀÔÂ÷::http://www.hankyung.com/board/list.php?id=import_car&ch=auto",
"9::02::3", //¼Ò¸Þ´º´ÝÀ½
"9::02::4", //¸Þ´º´ÝÀ½

//ÀÚµ¿Â÷plus3-Áß°íÂ÷
"0::03::00::Áß°íÂ÷::http://www.hankyung.com/autocafe.hankyung.com",
"9::03::4", //¸Þ´º´ÝÀ½


//ÀÚµ¿Â÷plus4-ÀÚµ¿Â÷»ýÈ°
"0::04::00::ÀÚµ¿Â÷»ýÈ°::http://www.hankyung.com/autoplus/carlife.html",
"9::04::1", //Áß¸Þ´º½ÃÀÛ
"1::04::01::ÀÚµ¿Â÷¿Í ¿©Çà::http://www.hankyung.com/board/list.php?id=theme_tour&ch=auto",
"9::04::2", //¼Ò¸Þ´º½ÃÀÛ
"2::04::02::Å×¸¶¿©Çà::http://www.hankyung.com/board/list.php?id=theme_tour&ch=auto",
"2::04::03::±¹³»¿©Çà::http://www.hankyung.com/news/app/newslist.php?nid=230&sid=01183002&type=1",
"2::04::04::µå¶óÀÌºêÄÚ½º::http://www.hankyung.com/autoplus/article_list.php?submenu=54",
"2::04::05::¿©ÇàÁöÃßÃµ::http://www.hankyung.com/board/list.php?id=recommend_tour&ch=auto",
"9::04::3", //¼Ò¸Þ´º´ÝÀ½
"9::04::1", //Áß¸Þ´º½ÃÀÛ
"1::04::06::ÀÚµ¿Â÷¿Í ¸ÀÁý::http://www.hankyung.com/news/app/newslist.php?nid=230&sid=01183003&type=1",
"9::04::2", //¼Ò¸Þ´º½ÃÀÛ
"2::04::07::¸Àµ¿³×::http://www.hankyung.com/news/app/newslist.php?nid=230&sid=01183003&type=1",
"2::04::08::¸ÀÁýÃßÃµ::http://www.hankyung.com/board/list.php?id=recommend_restaurant&ch=auto",
"9::04::3", //¼Ò¸Þ´º´ÝÀ½
"9::04::1", //Áß¸Þ´º½ÃÀÛ
"1::04::09::ÀÚµ¿Â÷ µ¿È£È¸::http://www.hankyung.com/board/list.php?id=car_interview&ch=auto",
"9::04::2", //¼Ò¸Þ´º½ÃÀÛ
"2::04::10::Å½¹æ°ú ÀÎÅÍºä::http://www.hankyung.com/board/list.php?id=car_interview&ch=auto",
"2::04::11::µ¿È£È¸ ÃßÃµ::http://www.hankyung.com/board/list.php?id=car_club&ch=auto",
"9::04::3", //¼Ò¸Þ´º´ÝÀ½
"9::04::4", //¸Þ´º´ÝÀ½

//ÀÚµ¿Â÷plus5-ÀÚµ¿Â÷ÀÌ¾ß±â
"0::05::00::ÀÚµ¿Â÷ÀÌ¾ß±â::http://www.hankyung.com/autoplus/carstory.html",
"9::05::1", //Áß¸Þ´º½ÃÀÛ
"1::05::01::ÀÚµ¿Â÷¹®È­Å½Çè::http://www.hankyung.com/board/list.php?id=motor_culture&ch=auto",
"1::05::02::±âÃÊ»ó½Ä::http://www.hankyung.com/board/list.php?id=motor_see&ch=auto",
"1::05::03::ÀÚµ¿Â÷ ¸ÞÀÌÄ¿::http://www.hankyung.com/board/list.php?id=motor_maker&ch=auto",
"1::05::04::°ü¸® ¿ä·É::http://www.hankyung.com/board/list.php?id=motor_manage&ch=auto",
"1::05::05::¸ðµ¨ ¸®ºä::http://www.hankyung.com/board/list.php?id=motor_model&ch=auto",
"1::05::06::¸ðÅäµñ VOD::http://www.hankyung.com/board/list.php?id=motor_vod&ch=auto",
"9::05::4", //¸Þ´º´ÝÀ½

//ÀÚµ¿Â÷plus6-°¶·¯¸®
"0::06::00::°¶·¯¸®::http://www.hankyung.com/autoplus/cargallery.html",
"9::06::1", //Áß¸Þ´º½ÃÀÛ
"1::06::09::Æ÷Åä °Ô½ÃÆÇ::http://www.hankyung.com/board/list.php?id=gallery_home&ch=auto",
"9::06::2", //¼Ò¸Þ´º½ÃÀÛ
"2::06::02::±¹³»Â÷::http://www.hankyung.com/board/list.php?id=gallery_home&ch=auto",
"2::06::03::¼öÀÔÂ÷::http://www.hankyung.com/board/list.php?id=gallery_foreign&ch=auto",
"2::06::04::Çà»ç::http://www.hankyung.com/board/list.php?id=auto_kol&ch=auto",
"2::06::05::·¹ÀÌ½Ì ¸ðµ¨::http://www.hankyung.com/autoplus/racingirl_list.php",
"9::06::3", //¼Ò¸Þ´º´ÝÀ½
"9::04::1", //Áß¸Þ´º½ÃÀÛ
"1::06::08::ÀÚÀ¯ °Ô½ÃÆÇ::http://www.hankyung.com/autoplus/free_list.php",
"1::06::07::½Ã½Â±â::http://www.hankyung.com/board/list.php?id=member_ride&ch=auto",
"1::06::13::¼¼°èÀÇ ¸ðÅÍ¼î::http://www.hankyung.com/news/app/newslist.php?nid=230&sid=01041301&type=1",
"1::06::06::¸ðÅÍ¼î °¶·¯¸®::http://www.hankyung.com/board/list.php?id=seoul2005&ch=auto",
"1::06::01::µ¿¿µ»ó::http://www.hankyung.com/board/list.php?id=car_movie&ch=auto",
"1::06::10::È¸¿øÃßÃµ::http://www.hankyung.com/board/list.php?id=recommend_accessory&ch=auto",
"9::06::4", //¸Þ´º´ÝÀ½

//ÀÚµ¿Â÷plus7-·¹ÀÌ½Ì¸ðµ¨
"0::07::00::·¹ÀÌ½Ì¸ðµ¨::http://www.hankyung.com/autoplus/racingmodel.html",
"9::07::1", //Áß¸Þ´º½ÃÀÛ
"1::07::01::¸ðµ¨ ÇÁ·ÎÇÊ::http://www.hankyung.com/autoplus/racingmodel_profile_list.php",
"1::07::02::¸ðµ¨ ·©Å·::http://www.hankyung.com/autoplus/racingmodel_rank_list.php",
"1::07::03::¸ðµ¨ °¶·¯¸®::http://www.hankyung.com/autoplus/racingmodel_gallery.php",
"9::07::2", //¼Ò¸Þ´º½ÃÀÛ
"2::07::04::¿ÀÅäÅ¸ÀÓÁî::http://www.hankyung.com/autoplus/racingirl_list.php",
"2::07::06::»çÁøÇÊ ´åÄÄ::http://www.hankyung.com/board/list.php?id=racingmodel_writer&ch=auto",
"2::07::10::Funslr::http://www.hankyung.com/board/list.php?id=funslr&ch=auto",
"2::07::05::³×Æ¼Áð°¶·¯¸®::http://www.hankyung.com/board/list.php?id=autoplus_racingmodel&ch=auto",
"9::07::3", //¼Ò¸Þ´º´ÝÀ½
"9::07::1", //Áß¸Þ´º½ÃÀÛ
"1::07::07::<font class='bt'>I</font> ¢¾ ·¹ÀÌ½Ì°É::http://www.hankyung.com/board/list.php?id=cartv_rgirl&ch=auto&category=1",
"9::07::2", //¼Ò¸Þ´º½ÃÀÛ
"2::07::08::½ÃÁð1::http://www.hankyung.com/board/list.php?id=cartv_rgirl&ch=auto&category=1",
"2::07::09::½ÃÁð2::http://www.hankyung.com/board/list.php?id=cartv_rgirl&ch=auto&category=2",
"9::07::3", //¼Ò¸Þ´º´ÝÀ½
"9::07::4", //¸Þ´º´ÝÀ½


//ÀÚµ¿Â÷plus9-ÀÚµ¿Â÷plus
"0::09::00::ÀÚµ¿Â÷plus::http://www.hankyung.com/board/list.php?id=autoplus_notice&ch=auto",
"9::09::1", //Áß¸Þ´º½ÃÀÛ
"1::09::01::°øÁö»çÇ×::http://www.hankyung.com/board/list.php?id=autoplus_notice&ch=auto",
"1::09::02::ÀÚµ¿Â÷±â»ç°Ë»ö::http://www.hankyung.com/autoplus/article_search.php",
//"1::09::03::±âÈ¹Æ¯¼±::http://www.hankyung.com/board/list.php?id=car_unionbuy&ch=auto",
//"1::09::04::Á¦ÈÞ¸ÅÃ¼::http://www.hankyung.com/board/list.php?id=car_cooperate&ch=auto",
"9::09::4" //¸Þ´º´ÝÀ½
);


//ÄÚµå ºÐ¸®
function div(sub1,sub2) {
	switch (sub2) {
		case 1: sub2 = sub1.substring(0,sub1.indexOf("::")); break; // ±¸ºÐÀÚ(::) ¾Õ´Ü ÃßÃâ
		case 2: sub2 = sub1.substring(sub1.indexOf("::")+2); break; // ±¸ºÐÀÚ(::) µÞ´Ü ÃßÃâ
	}
	return(sub2);
}



// Á¾¸ñÀÔÃ¼ºÐ¼®¿¡¸¸ ¾²ÀÓ
var itemcode = "";
function setItemCode(ic) {
	itemcode = ic;
}

function getItemCodeUrl(url) {
	var result = url.replace("itemcode\=999999", "itemcode\="+itemcode);
	return result;
}


function menu(sub1,sub2) {

	var td1 = '<tr><td style="padding:6 0 3 3; letter-spacing:-1">';
	var td2 = '</td><td style="padding:3 4 0 0" align="right">';
	var td3 = '</td></tr>';
	var td4 = '<tr><td style="padding:6 0 0 5; letter-spacing:-1" colspan="2" bgcolor="#FFFFFF">';
	var td5 = '</table>';
	var line1 = '<tr><td height="1" bgcolor="#DDDDDD" colspan="2"></td></tr>';
	var line2 = '<tr><td height="4" colspan="2" bgcolor="#FFFFFF"></td></tr>';
	var line3 = '<tr><td height="7" colspan="2" bgcolor="#FFFFFF"></td></tr>';
	var arw1 = '<img src="http://www.hankyung.com/img/leftmenu_icon_over.gif" width="5" height="5" border="0">';
	var arw2 = '<img src="http://www.hankyung.com/img/leftmenu_icon_off.gif" width="5" height="5" border="0">';
	var arw3 = '<img src="http://www.hankyung.com/img/leftmenu_icon_on.gif" width="5" height="5" border="0">';

	// html ÄÚµå ½ÃÀÛ
	document.write ('<table width="120" border="0" cellpadding="0" cellspacing="0" bgcolor="#F3F3F3">');

	for (i=0; i <= menu01.length-1; i++) { // ¹è¿­ ³¡³¯ ¶§±îÁö µ¹¸²
		var depth = div(menu01[i],1);
		var code1 = div(div(menu01[i],2),1);
		var code2 = div(div(div(menu01[i],2),2),1);
		var mname = div(div(div(div(menu01[i],2),2),2),1);
		var murl = div(div(div(div(menu01[i],2),2),2),2);
		var grph = div(div(menu01[i],2),2);

		if (code1 == sub1) { // ÇØ´ç ´ëºÐ·ù¸¸ Ç¥½ÃÇÔ
			/********************************************************************/
			// Á¾¸ñ ÀÔÃ¼ºÐ¼®ÀÏ¶§..
			// Á¾¸ñÄÚµå¿¡ µû¶ó ¸Þ´ºÀÇ ¸µÅ©°¡ ¼öÃµ°¡Áö·Î ´Þ¶óÁö¹Ç·Î..
			if( sub1 == 2 ) {
				murl = getItemCodeUrl(murl);
			}
			/********************************************************************/

			//´ë¸Þ´ºÇ¥½Ã
			if (depth == 0) {
				document.write ('<tr><td><a href="' + murl + '" target="_top"><img src="http://www.hankyung.com/img/autoplus_left0' + sub1 + '.gif" border="0"></a></td></tr>');
				document.write ('<tr><td style="padding:4 6 21 6">');
				document.write ('<table width="108" border="0" cellpadding="0" cellspacing="0"><col width="93"><col width="8">');
			}

			//Áß¸Þ´ºÇ¥½Ã
			if (depth == 1) {

				if (code2 == sub2) {
					document.write ( td1 + '<a href="' + murl + '" target="_top" style="color:#FF6716">' + mname + '</a> ' + td2); //¼±ÅÃµÈ Áß¸Þ´º ¿À·»Áö»ö
					if (div(menu01[i+1],1) != 9 || div(div(menu01[i+1],2),2) == 4) {
						document.write (arw1); //¼±ÅÃµÈ Áß¸Þ´º µÚ È­»ìÇ¥
					}
					else {
						document.write (arw3); //¼±ÅÃµÈ Áß¸Þ´º µÚ È­»ìÇ¥ (µÞÇ×¸ñÀÌ ¼Ò¸Þ´ºÀÏ¶§ ¾Æ·¡·Î µÈ ¿À·»Áö»ö È­»ìÇ¥)
					}
				} else {
					document.write ( td1 + '<a href="' + murl + '" target="_top">' + mname + '</a>' + td2); //Áß¸Þ´ºÇ¥½Ã
					//µÞÇ×¸ñÀÌ ¼Ò¸Þ´ºÀÏ¶§ ¾Æ·¡·Î µÈ È¸»ö È­»ìÇ¥
					if (div(menu01[i+1],1) == 9 && div(div(menu01[i+1],2),2) != 4) {
						document.write (arw2);
					}
				}

				if (div(menu01[i+1],1) != 9) {
					document.write (td3 + line1); //µÞÇ×¸ñÀÌ Áß¸Þ´ºÀÏ¶§ ±¸ºÐ¶óÀÎ Ç¥½Ã
				} else {
					document.write (td3);
				}

			}

			//¼ÒºÐ·ùÇ¥½Ã
			if (depth == 2) {
				if (code2 == sub2) {
					document.write (td4 + '<a href="' + murl + '" target="_top" style="color:#FF6716">' + mname + '</a> ' + td3 ); //¼±ÅÃµÈ ¼Ò¸Þ´º ¿À·»Áö»ö
				} else {
					document.write (td4 + '<a href="' + murl + '" target="_top">' + mname + '</a>' + td3 ); //¼Ò¸Þ´ºÇ¥½Ã
				}
			}

			//·¹ÀÌ¾Æ¿ô¿ä¼Ò Ç¥½Ã
			if (depth == 9) {
				switch (grph) {
					case '1': document.write (td1); break;
					case '2': document.write (line1 + line2); break;
					case '3': document.write (line3 + line1); break;
					case '4': document.write (td5); break;
				}
			}

		}

	}
	document.write ('</td>');
	document.write ('</tr>');
	document.write ('<tr><td><img src="http://www.hankyung.com/img/leftmenu_bottom.gif" width="120" height="3" border="0"></td></tr>');
	document.write ('</table>');

//left ÇÏ´Ü ¹è³ÊºÎºÐ
	if ( sub1 == 1) {
		//document.write ('<p style="margin-top:10">');
		//document.write ('<table width="120" border="0" cellpadding="0" cellspacing="0"><tr><td><a href="/autoplus/quiz/" target="_top"><img src="/autoplus/img/bnr_autoplus_quiz_120.jpg" width="120" height="60" border="0"></a></td></tr></table>');
		document.write ('<p style="margin-top:10">');
		document.write ('<iframe src="http://www.hankyung.com/autoplus/inc/auto_left_carnews.html" frameborder="0" width="120" height="150" scrolling="no"></iframe>');
	}
	else if ( sub1 == 2) {
		//document.write ('<p style="margin-top:10">');
		//document.write ('<table width="120" border="0" cellpadding="0" cellspacing="0"><tr><td><a href="/autoplus/quiz/" target="_top"><img src="/autoplus/img/bnr_autoplus_quiz_120.jpg" width="120" height="60" border="0"></a></td></tr></table>');
		}
    else if ( sub1 == 3) {
		document.write ('<p style="margin-top:10">');
		document.write ('<iframe src="http://www.hankyung.com/autoplus/inc/auto_left_autocafe.html" frameborder="0" width="120" height="150" scrolling="no"></iframe>');
		}
	else if ( sub1 == 4) {
		//document.write ('<p style="margin-top:10">');
		//document.write ('<table width="120" border="0" cellpadding="0" cellspacing="0"><tr><td><a href="/autoplus/quiz/" target="_top"><img src="/autoplus/img/bnr_autoplus_quiz_120.jpg" width="120" height="60" border="0"></a></td></tr></table>');
		document.write ('<p style="margin-top:10">');
		document.write ('<iframe src="http://www.hankyung.com/autoplus/inc/auto_left_carlife.html" frameborder="0" width="120" height="150" scrolling="no"></iframe>');
		}
	else if ( sub1 == 5) {
		//document.write ('<p style="margin-top:10">');
		//document.write ('<table width="120" border="0" cellpadding="0" cellspacing="0"><tr><td><a href="/autoplus/quiz/" target="_top"><img src="/autoplus/img/bnr_autoplus_quiz_120.jpg" width="120" height="60" border="0"></a></td></tr></table>');
		document.write ('<p style="margin-top:10">');
		document.write ('<iframe src="http://www.hankyung.com/autoplus/inc/auto_left_carstory.html" frameborder="0" width="120" height="180" scrolling="no"></iframe>');
		}
	else if ( sub1 == 6) {
		document.write ('<p style="margin-top:10">');
		document.write ('<a href="http://www.hankyung.com/autoplus/cargallery_tag.html" target="_top"><img src="http://www.hankyung.com/autoplus/img/bnr_tag01.gif" width="120" height="30" border="0"></a><br>');
		//document.write ('<p style="margin-top:10">');
		//document.write ('<table width="120" border="0" cellpadding="0" cellspacing="0"><tr><td><a href="/autoplus/quiz/" target="_top"><img src="/autoplus/img/bnr_autoplus_quiz_120.jpg" width="120" height="60" border="0"></a></td></tr></table>');
		}
	else if ( sub1 == 7) {
		document.write ('<p style="margin:12 0 0 0">');
		document.write ('<iframe src="http://www.hankyung.com/autoplus/inc/auto_left_racingmodel.html" frameborder="0" width="120" height="230" scrolling="no"></iframe>');
		//document.write ('<p style="margin-top:10">');
		//document.write ('<table width="120" border="0" cellpadding="0" cellspacing="0"><tr><td><a href="/autoplus/quiz/" target="_top"><img src="/autoplus/img/bnr_autoplus_quiz_120.jpg" width="120" height="60" border="0"></a></td></tr></table>');
		}
	else{
		document.write ('');
	    document.write ('');
		}


}


function hbar(sub1,sub2) {

	var grp, murl='', mname='';
	var root = '<a href="http://www.hankyung.com/" target="_top">HOME</a> > <a href="http://www.hankyung.com/autoplus/" target="_top">ÀÚµ¿Â÷plus</a> > ';
	var autoa = '<a href="/autoplus/carnews.html" target="_top">´º½º/Ä®·³</a>';
	var autob = '<a href="/autoplus/carnew.html" target="_top">½ÅÂ÷/½Ã½Â±â</a>';
	var autoc = '<a href="/autoplus/carlife.html" target="_top">ÀÚµ¿Â÷»ýÈ°</a>';
	var autod = '<a href="/autoplus/carstory.html" target="_top">ÀÚµ¿Â÷ÀÌ¾ß±â</a>';
	var autoe = '<a href="/autoplus/cargallery.html" target="_top">°¶·¯¸®</a>';
	var autof = '<a href="/autoplus/racingmodel.html" target="_top">·¹ÀÌ½Ì¸ðµ¨</a>';
	var autog = '<a href="http://insudoctor.hankyung.com/" target="_top">ÀÚµ¿Â÷º¸Çè</a>';

	for (i=0; i<menu01.length; i++) {
		if (div(menu01[i],1) != 9) {
			if (sub1 == div(div(menu01[i],2),1)) {
				if (sub2 == div(div(div(menu01[i],2),2),1)) {
					grp = div(menu01[i],1);
					murl = div(div(div(div(menu01[i],2),2),2),2);
					mname = div(div(div(div(menu01[i],2),2),2),1);
				}
			}
		}
	}
	document.write (root);
	if (sub1 == 1) {
		if (mname != '') {
			switch (grp) {
				case '1': document.write (autoa + ' > <a href="' + murl + '" target="_top">' + mname + '</a>'); break;
				case '2':
					if ( sub2 >= 2 && sub2 <= 5 ) {
						document.write (autoa + ' > <a href="http://www.hankyung.com/news/app/newslist.php?nid=230&sid=010413&type=1" target="_top">ÀÚµ¿Â÷ ´º½º</a> > ');
					} else if ( sub2 == 8 || sub2 == 9 || sub2 == 13 || sub2 == 19 || sub2 == 20 || sub2 == 21 ) {
						document.write (autoa + ' > <a href="/board/list.php?id=kang_ho_young&ch=auto" target="_top">Àü¹®°¡ Ä®·³</a> > ');
					} else if ( sub2 == 7 || sub2 == 10 || sub2 == 11 || sub2 == 12 ) {
						document.write (autoa + ' > <a href="/board/list.php?id=tckim2&ch=auto" target="_top">¿¬ÀçÁ¾·á Ä®·³</a> > ');
					}
					document.write ('<a href="' + murl + '" target="_top">' + mname + '</a>');
					break;
				default : document.write (autoa); break;
			}
		} else if (isNaN(parseInt(sub2))) {
			document.write (autoa + sub2);
		} else {
			document.write (autoa);
		}
	}


	if (sub1 == 2) {
		if (mname != '') {
			switch (grp) {
				case '1': document.write (autob + ' > <a href="' + murl + '" target="_top">' + mname + '</a>'); break;
				case '2':
					if ( (sub2 >= 3 && sub2 <= 4) || sub2 == 12 ) {
						document.write (autob + ' > <a href="/board/list.php?id=special_ride&ch=auto" target="_top">½Ã½Â±â</a> > ');
					} else if ( sub2 >= 6 && sub2 <= 11 ) {
						document.write (autob + ' > <a href="/board/list.php?id=hyundai&ch=auto" target="_top">¿À³Ê¶ó¿îÁö</a> > ');
					}
					document.write ('<a href="' + murl + '" target="_top">' + mname + '</a>');
					break;
				default : document.write (autob); break;
			}
		} else if (isNaN(parseInt(sub2))) {
			document.write (autob + sub2);
		} else {
			document.write (autob);
		}
	}

	if (sub1 == 4) {
		if (mname != '') {
			switch (grp) {
				case '1': document.write (autoc + ' > <a href="' + murl + '" target="_top">' + mname + '</a>'); break;
				case '2':
					if ( sub2 >= 2 && sub2 <= 5 ) {
						document.write (autoc + ' > <a href="/board/list.php?id=theme_tour&ch=auto" target="_top">ÀÚµ¿Â÷¿Í ¿©Çà</a> > ');
					} else if ( sub2 >= 7 && sub2 <= 8 ) {
						document.write (autoc + ' > <a href="/news/app/newslist.php?nid=230&sid=01183003&type=1" target="_top">ÀÚµ¿Â÷¿Í ¸ÀÁý</a> > ');
					} else if ( sub2 >= 10 && sub2 <= 11 ) {
						document.write (autoc + ' > <a href="/board/list.php?id=car_interview&ch=auto" target="_top">ÀÚµ¿Â÷ µ¿È£È¸</a> > ');
					}
					document.write ('<a href="' + murl + '" target="_top">' + mname + '</a>');
					break;
				default : document.write (autoc); break;
			}
		} else if (isNaN(parseInt(sub2))) {
			document.write (autoc + sub2);
		} else {
			document.write (autoc);
		}
	}
	
	
	if (sub1 == 5) {
		if (mname != '') {
			switch (grp) {
				case '1': document.write (autod + ' > <a href="' + murl + '" target="_top">' + mname + '</a>'); break;
			}
		} else if (isNaN(parseInt(sub2))) {
			document.write (autod + sub2);
		} else {
			document.write (autod);
		}
	}


	if (sub1 == 6) {
		if (mname != '') {
			switch (grp) {
				case '1': document.write (autoe + ' > <a href="' + murl + '" target="_top">' + mname + '</a>'); break;
				case '2':
					if ( sub2 >= 7 && sub2 <= 12 ) {
						document.write (autoe + ' > <a href="/board/list.php?id=seoul2005&ch=auto" target="_top">¸ðÅÍ¼î °¶·¯¸®</a> > ');
					}
					document.write ('<a href="' + murl + '" target="_top">' + mname + '</a>');
					break;
				default : document.write (autoe); break;
			}
		} else if (isNaN(parseInt(sub2))) {
			document.write (autoe + ' > ' + sub2);
		} else {
			document.write (autoe);
		}
	}
	if (sub1 == 7) {
		if (mname != '') {
			switch (grp) {
				case '1': document.write (autof + ' > <a href="' + murl + '" target="_top">' + mname + '</a>'); break;
				case '2':
					if ( (sub2 >= 4 && sub2 <= 6) || sub2 == 10 ) {
						document.write (autof + ' > <a href="/autoplus/racingmodel_gallery.php" target="_top">¸ðµ¨ °¶·¯¸®</a> > ');
					} else if ( sub2 >= 8 && sub2 <= 9 ) {
						document.write (autof + ' > <a href="http://www.hankyung.com/board/list.php?id=cartv_rgirl&ch=auto&category=1" target="_top"><font class="bt">I</font> ¢¾ ·¹ÀÌ½Ì°É</a> > ');
					}
					document.write ('<a href="' + murl + '" target="_top">' + mname + '</a>');
					break;
				default : document.write (autof); break;
			}
		} else if (isNaN(parseInt(sub2))) {
			document.write (autof + ' > ' + sub2);
		} else {
			document.write (autof);
		}
	}
	if (sub1 == 9) {
		if (mname != '') {
			switch (grp) {
				case '1': document.write (autog + ' > <a href="' + murl + '" target="_top">' + mname + '</a>'); break;
				case '2':
					document.write ('<a href="' + murl + '" target="_top">' + mname + '</a>');
					break;
				default : document.write (autog); break;
			}
		} else if (isNaN(parseInt(sub2))) {
			document.write (autog + sub2);
		} else {
			document.write (autog);
		}
	}
}

function tbar(sub1,sub2,ttl) {

	var grp, murl='', mname='';
	var autoa = ' &lt ´º½º/Ä®·³';
	var autob = ' &lt ½ÅÂ÷/½Ã½Â±â';
	var autoc = ' &lt ÀÚµ¿Â÷»ýÈ°';
	var autod = ' &lt ÀÚµ¿Â÷ÀÌ¾ß±â';
	var autoe = ' &lt °¶·¯¸®';
	var autof = ' &lt ·¹ÀÌ½Ì¸ðµ¨';
	var autog = ' &lt ÀÚµ¿Â÷plus';

	document.write ('<title>');
	document.write (ttl + ' &lt; ');

	for (i=0; i<menu01.length; i++) {
		if (div(menu01[i],1) != 9) {
			if (sub1 == div(div(menu01[i],2),1)) {
				if (sub2 == div(div(div(menu01[i],2),2),1)) {
					grp = div(menu01[i],1);
					murl = div(div(div(div(menu01[i],2),2),2),2);
					mname = div(div(div(div(menu01[i],2),2),2),1);
				}
			}
		}
	}



	 if (sub1 == 1) {
		if (mname != '') {
			switch (grp) {
				case '1': document.write ( mname + autoa ); break;
				case '2':
					if ( sub2 >= 2 && sub2 <= 5 ) {
						document.write ( mname + ' &lt; ÀÚµ¿Â÷ ´º½º' + autoa );
					} else if ( sub2 == 8 || sub2 == 9 || sub2 == 12 || sub2 == 13 || sub2 == 20 || sub2 == 21 ) {
						document.write ( mname + ' &lt; Àü¹®°¡ Ä®·³' + autoa );
					} else if ( sub2 == 7 || sub2 == 10 || sub2 ==11 ) {
						document.write ( mname + ' &lt; ¿¬ÀçÁ¾·á Ä®·³' + autoa );
					}
					else {
						document.write ( mname );
					} break;
				default : document.write (); break;
			}
		} else if (isNaN(parseInt(sub2))) {
			document.write (sub2 + autoa);
		} else {
			document.write (sub2);
		}
	}



	if (sub1 == 2) {
		if (mname != '') {
			switch (grp) {
				case '1': document.write ( mname + autob ); break;
				case '2':
					if ( sub2 >= 3 && sub2 <= 4 ) {
						document.write ( mname + ' &lt; ½Ã½Â±â' + autob );
					} else if ( sub2 >= 6 && sub2 <= 11 ) {
						document.write ( mname + ' &lt; ¿À³Ê¶ó¿îÁö' + autob );
					}
					else {
						document.write ( mname + autob );
					} break;
				default : document.write (autob); break;
			}
		} else if (isNaN(parseInt(sub2))) {
			document.write (sub2 + autob);
		} else {
			document.write (autob);
		}
	}


	if (sub1 == 4) {
		if (mname != '') {
			switch (grp) {
				case '1': document.write ( mname + autoc ); break;
				case '2':
					if ( sub2 >= 2 && sub2 <= 5 ) {
						document.write ( mname + ' &lt; ÀÚµ¿Â÷¿Í ¿©Çà' + autoc );
					} else if ( sub2 >= 7 && sub2 <= 8 ) {
						document.write ( mname + ' &lt; ÀÚµ¿Â÷¿Í ¸ÀÁý' + autoc );
					} else if ( sub2 >= 10 && sub2 <= 11 ) {
						document.write ( mname + ' &lt; ÀÚµ¿Â÷ µ¿È£È¸' + autoc );
					}
					else {
						document.write ( mname + autoc );
					} break;
				default : document.write (autoc); break;
			}
		} else if (isNaN(parseInt(sub2))) {
			document.write (sub2 + autoc);
		} else {
			document.write (autoc);
		}
	}
	
	if (sub1 == 5) {
		if (mname != '') {
			switch (grp) {
				case '1': document.write ( mname + autod ); break;
				case '2':
					if ( sub2 >= 2 && sub2 <= 6 ) {
						document.write ( mname + ' &lt; ÀÚµ¿Â÷¿Í ¿©Çà' + autod );
					} else if ( sub2 >= 7 && sub2 <= 8 ) {
						document.write ( mname + ' &lt; ÀÚµ¿Â÷¿Í ¸ÀÁý' + autod );
					} else if ( sub2 >= 10 && sub2 <= 11 ) {
						document.write ( mname + ' &lt; ÀÚµ¿Â÷ µ¿È£È¸' + autod );
					}
					else {
						document.write ( mname + autod );
					} break;
				default : document.write (autod); break;
			}
		} else if (isNaN(parseInt(sub2))) {
			document.write (sub2 + autod);
		} else {
			document.write (autod);
		}
	}


	if (sub1 == 6) {
		if (mname != '') {
			switch (grp) {
				case '1': document.write ( mname + autoe ); break;
				case '2':
					if ( sub2 >= 7 && sub2 <= 12 ) {
						document.write ( mname + ' &lt; ¸ðÅÍ¼î °¶·¯¸®' + autoe );
					}
					else {
						document.write ( mname + autoe );
					} break;
				default : document.write (autoe); break;
			}
		} else if (isNaN(parseInt(sub2))) {
			document.write (sub2 + autoe);
		} else {
			document.write (autoe);
		}
	}

	if (sub1 == 7) {
			if (mname != '') {
				switch (grp) {
					case '1': document.write ( mname + autof ); break;
					case '2':
						if ( (sub2 >= 4 && sub2 <= 6) || sub2 == 10 ) {
							document.write ( mname + ' &lt; ¸ðµ¨ °¶·¯¸®' + autof );
						}
						else {
							document.write ( mname + autof );
						} break;
					default : document.write (autof); break;
				}
			} else if (isNaN(parseInt(sub2))) {
				document.write (sub2 + autof);
			} else {
				document.write (autof);
			}
		}

		document.write (' &lt; ÀÚµ¿Â÷ Plus :: ÇÑ°æ´åÄÄ ::</title>');

	}

function ttlbar(sub1,sub2,ttl) {

	var bWinTitle = false;
	if( typeof(ttl) != "undefined" ) bWinTitle = true;

	var grp, murl='', mname='';
	var autoa ='', autob ='', autoc ='', autod ='', autoe ='', autof ='', autog ='';


	if( bWinTitle ) {
		autoa = ' &lt; ´º½º/Ä®·³';
		autob = ' &lt; ½ÅÂ÷/½Ã½Â±â';
		autoc = ' &lt; ÀÚµ¿Â÷»ýÈ°';
		autod = ' &lt; ÀÚµ¿Â÷ÀÌ¾ß±â';
		autoe = ' &lt; °¶·¯¸®';
		autof = ' &lt; ·¹ÀÌ½Ì¸ðµ¨';
		autog = ' &lt; ÀÚµ¿Â÷plus';


		document.write ('<title>');
		document.write (ttl + ' &lt; ');
	}

	for (i=0; i<menu01.length; i++) {
		if (div(menu01[i],1) != 9) {
			if (sub1 == div(div(menu01[i],2),1)) {
				if (sub2 == div(div(div(menu01[i],2),2),1)) {
					grp = div(menu01[i],1);
					murl = div(div(div(div(menu01[i],2),2),2),2);
					mname = div(div(div(div(menu01[i],2),2),2),1);
				}
			}
		}
	}
	document.write(mname);

}

//ÀÌ¸§&URL¾Ë¾Æ³»±â
function elmenu(sub1,sub2) {
	var rslt;
	switch (sub1) {
		case 0 :	rslt = div(div(div(div(sub2,2),2),2),1); break;	// menu name
		case 1 :	rslt = div(div(div(div(sub2,2),2),2),2); break;	// menu url
		default :	document.write ("ÀÎ¼öÀÇ »ç¿ëÀÌ Àß¸øµÇ¾ú½À´Ï´Ù");break;
	}
	return rslt;
}

// ¸Þ´ºÀÌ¸§ °¡Á®¿À±â
function mtitle(sub1,sub2){

    tempAry = menu01;
    var murl, mname, noname="";
    if (typeof(sub2) != 'number') sub2 = 0;

    if (sub1 != 0){
        for (i=0; i <= tempAry.length-1; i++) {
            mname = elmenu(0,tempAry[i]);
            if (sub1 == div(div(tempAry[i],2),1) && sub2 == div(div(div(tempAry[i],2),2),1)) {
                noname = mname;
                document.write (mname);
            }
        }
    }

    if (noname == "") document.write ("no title");
}

