

function TopMenu1() {
document.write("<table border='0' cellpadding='0' cellspacing='0'  width='990'>");
document.write("<tr><td><OBJECT classid=clsid:D27CDB6E-AE6D-11cf-96B8-444553540000  codebase=https://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0  WIDTH=950 HEIGHT=105 id=navagation>");
document.write("    <PARAM NAME=movie VALUE='"+pub+"/inc/flash/top_navi_20080508.swf?XMLpath="+XMLpath+"&m_def="+OneDepth+"&s_def="+TwoDepth+"&logchk="+getLoginState()+"'>");
document.write("    <PARAM NAME=quality VALUE=high><param name=menu value=false><param name=wmode value=transparent><param name=allowScriptAccess value=always>");
document.write("	<EMBED src='"+pub+"/inc/flash/top_navi_200800508.swf?XMLpath="+XMLpath+"&m_def="+OneDepth+"&s_def="+TwoDepth+"&logchk="+getLoginState()+"' quality=high menu=false  WIDTH=950 HEIGHT=105 NAME=navigation   TYPE=application/x-shockwave-flash PLUGINSPAGE=https://www.macromedia.com/go/getflashplayer ></EMBED></OBJECT></td>");
document.write("</tr>");
document.write("</table>");
}

function login_chk_top(frm){
	if ( frm.userid.value=="" ){
		alert("¾ÆÀÌµð¸¦ ÀÔ·ÂÇØ ÁÖ¼¼¿ä.");
		frm.userid.focus();
		return false;
	}

	if ( frm.pwd.value=="" ){
		alert("ºñ¹Ð¹øÈ£¸¦ ÀÔ·ÂÇØ ÁÖ¼¼¿ä.");
		frm.pwd.focus();
		return false;
	}

	return true;
}

function TopMenu(logo,link,index) {

	document.write("<div class='header'>");
	document.write("	<div class='top_area'>");
	document.write("		<div class='topbox' id='top_bx1' style='display:"+(index=='index'?'block':'block')+"'>");
	document.write("			<a href=\"javascript:top_box('2');\"><img src='/img/main/btn_open.gif' alt=''/></a>");
	document.write("			<img src='/img/main/@top_01.jpg' alt='' border='0' usemap='#Map4'/>");
	document.write("			<map name='Map4' id='Map4'>");
	document.write("				<area shape='rect' coords='25,9,424,72' href='http://www.ajcarian.co.kr' target='_blank' alt='Ä«¸®¾È'  />");
	document.write("				<area shape='rect' coords='505,10,897,70' href='/story/event/event_read.jsp?idx=23487' alt='AJÁ¦ÁÖ ¿©Çà»óÇ° Ãâ½Ã' />");
	document.write("			</map>");
	document.write("		</div>");
	document.write("		<div class='topbox' id='top_bx2' style='display:"+(index=='index'?'none':'none')+"'>");
	document.write("			<a href=\"javascript:top_box('1');\"><img src='/img/main/btn_close.gif' alt=''/></a>");
	document.write("			<img src='/img/main/@top_02.png' alt='' border='0' usemap='#Map3'/>");
	document.write("				<map name='Map3' id='Map3'>");
	document.write("			<area shape='rect' coords='20,4,440,79' href='http://www.ajcarian.co.kr' target='_blank' alt='Ä«¸®¾È'>");
	document.write("			<area shape='rect' coords='502,1,922,76' href='/story/event/event_read.jsp?idx=23487' alt='AJÁ¦ÁÖ ¿©Çà»óÇ° Ãâ½Ã'>");
	document.write("			<area shape='rect' coords='20,82,438,154' href='/myavis/cooper/cooper_card02.jsp' alt='·Ôµ¥Ä«µåÁ¦ÈÞ' />");
	document.write("			<area shape='rect' coords='502,81,924,152' href='/story/event/event_read.jsp?idx=23327' alt='ÇÏÀÌÆÐ½º ¿î¿µ½Ç½Ã' />");	
	document.write("			<area shape='rect' coords='19,159,440,229' href='/story/news/notice_read.jsp?idx=20311&cate=0' alt='ÇÑ±¹¼­ºñ½ºÇ°Áú¿ì¼ö±â¾÷' />");
	document.write("			<area shape='rect' coords='502,160,926,231' href='/story/news/notice_read.jsp?idx=22393&cate=0' alt='ÇÁ·ÐÆ¼¾î ´ë»ó' />");
	document.write("			</map>");
	document.write("		</div>");
	document.write("	</div>");
	document.write("	<div class='head'>");	
	document.write("		<h1><a href='"+link+"'><img src='"+logo+"' alt=''/></a></h1>");
	document.write("		<div class='head_bt'>");
	document.write("			<img src='/img/main/bt_utilarea.gif' alt='' border='0' usemap='#Map'/>");
	document.write("			<map name='Map' id='Map'>");
	document.write("				<area shape='rect' coords='5,2,120,18' href='/tour/cpbook/cpbook01.jsp' alt='¾Ë¶ãÄíÆùºÏ'/>");
	document.write("				<area shape='rect' coords='130,2,206,18' href=\"javascript:bookmarksite('AJ·»ÅÍÄ«¿¡ ¿À½Å°ÍÀ» È¯¿µÇÕ´Ï´Ù', 'http://ajrentacar.co.kr/');\" alt='Áñ°ÜÃ£±âÃß°¡'/>");
	document.write("				<area shape='rect' coords='207,1,303,18' href=\"javascript:void(window.open('/common/popup_letter.jsp','','status=no,toolbar=no,resizable=no,scrollbars=no, menubar=no,width=560,height=440,top=10,left=10'));\" alt='´º½º·¹ÅÍ½ÅÃ»'/>");
	document.write("			</map>");
	document.write("		</div>");	

	document.write("		<ul class='util'>");
	if ( getLoginState() == "2" ) { //·Î±×ÀÎ µÇ¾î ÀÖ´Ù¸é
		document.write("			<li class='bg_no'>"+getLoginUserName()+" ´Ô È¯¿µÇÕ´Ï´Ù.</li>");
		document.write("			<li class='nobg'><a href='/member/logout.jsp'><img src='/img/main/util_logout.gif' alt='·Î±×¾Æ¿ô'/></a></li>");
		document.write("			<li><a href='/myavis/member/my_info_correct.jsp'><img src='/img/main/util_chinge.gif' alt='È¸¿ø¼öÁ¤'/></a></li>");
	} else {
		document.write("			<li class='nobg'><a href='/member/login.jsp'><img src='/img/main/util_login.gif' alt='·Î±×ÀÎ'/></a></li>");
		document.write("			<li><a href='/member/member_check.jsp'><img src='/img/main/util_join.gif' alt='È¸¿ø°¡ÀÔ'/></a></li>");
	}
	document.write("			<li><a href='/myavis/reserve/current_reserve.jsp'><img src='/img/main/utilcheck.gif' alt='¿¹¾àÈ®ÀÎ'/></a></li>");
	document.write("			<li><a href='/etc/sitemap.jsp'><img src='/img/main/util_sitemap.gif' alt='»çÀÌÆ®¸Ê'/></a></li>");
	document.write("			<li><a href='/eng/index.jsp'><img src='/img/main/util_english.gif' alt='English'/></a></li>");
	document.write("		</ul>");
		document.write("		<div class='ap_down'>");
	document.write("			<!----<img src='/img/common/header_banner20111206.gif' alt='Á¦ÁÖ7´ë°æ°üÃàÇÏ¹è³Ê'>---->");	
	document.write("		</div>");
	document.write("		<div class='flash01'>");
	document.write("			<sc"+"ript type='text/javasc"+"ript'> psFlash('/swf/top_fban.swf', '246', '57', ''); </sc"+"ript>");
	document.write("		</div>");
	document.write("	</div>");
	document.write("	<div class='menu'>");
	document.write("		<sc"+"ript type='text/javascr"+"ipt'> psFlash('/swf/topmenu.swf', '950', '59', ''); </sc"+"ript>");
	document.write("	</div>");
	document.write("</div>");

}

/*
document.write("	<td style='height:30px; padding-left:400px; vertical-align:middle;'>");
	if ( getLoginState() == "2" ) { //·Î±×ÀÎ µÇ¾î ÀÖ´Ù¸é
	document.write("<table width='240' border='0' cellspacing='0' cellpadding='0' style='float:left;'>");
	document.write("<tr>");
	document.write("	<td align=right>"+getLoginUserName()+"´Ô È¯¿µÇÕ´Ï´Ù.</td>");
	document.write("	<td align=right><a href=/member/logout.jsp><img src='/img/main_new/abtn_logout.gif' alt='' border='0' onFocus='blur();'></a></td>");
	document.write("</tr>");
	document.write("</table>");
	} else {
	document.write("<table width='240' border='0' cellspacing='0' cellpadding='0' style='float:left;'>");
	document.write("<form method='post' name='loginForm' action='http://localhost:8080/member/login_process.jsp?hoho=null' onSubmit='return login_chk_top(this);'>");
	document.write("<input type='hidden' name='reUrl' value='/'>");
	document.write("	<tr>");
	document.write("		<td width='14'><img src='/img/main_new/atxt_id.gif'></td>");
	document.write("		<td><INPUT name='userid' TYPE='text' style='height:17px;' TABINDEX='1' size='8'></td>");
	document.write("		<td width='19'><img src='/img/main_new/atxt_pw.gif'></td>");
	document.write("		<td><INPUT type='Password' size='8' name='pwd' TABINDEX='2' style='height:17px;'></td>");
	document.write("		<td><input type='image' src='/img/main_new/abtn_login.gif' alt='' border='0' onFocus='blur();'></td>");
	document.write("	</tr>");
	document.write("</form>");
	document.write("</table>");
	}
	document.write("<table width=286 border=0 cellpadding=0 cellspacing=0>");
	document.write("  <tr>");
	document.write("    <td><a href=/myavis/reserve/current_reserve.jsp><img src=/img/common/btn_rsvconf.gif alt='¿¹¾àÈ®ÀÎ' width=47 height=16 border=0></a></td>");
	if ( getLoginState() == "2" ) { //·Î±×ÀÎ µÇ¾î ÀÖ´Ù¸é
	document.write("    <td><a href=/myavis/member/my_info_correct.jsp><img src=/img/common/btn_memedit.gif border=0 alt='È¸¿ø¼öÁ¤'></a></td>");
	} else {
	document.write("    <td><a href=/member/member_check.jsp><img src=/img/common/btn_memjoin.gif alt='È¸¿ø°¡ÀÔ' width='42' height='16' border='0'></a></td>");
	}
	document.write("    <td><a href='/eng/index.jsp'><img src='/img/common/btn_english.gif' alt='English' width='41' height='16' border='0'></a></td>");
	document.write("    <td><a href='/etc/sitemap.jsp'><img src='/img/common/btn_sitemap.gif' alt='Sitemap' width='43' height='16' border='0'></a></td>");
	document.write("    <td style='width:20px;'>&nbsp;</td>");
	document.write("    <td><a href='http://ajuautozone.co.kr' target='_blank'><img src='/img/common/ajuautozone.gif' alt='Áß°íÂ÷¸ô' width='94' height='21' border='0'></a></td>");
	document.write("  </tr>");
	document.write("</table>");
document.write("</td></tr>");
document.write("<tr><td>");
	document.write("	<OBJECT classid=clsid:D27CDB6E-AE6D-11cf-96B8-444553540000  codebase=http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0  WIDTH=950 HEIGHT=70 id=navagation>");
	document.write("    <PARAM NAME=movie VALUE='"+pub+"/inc/flash/top_navi_20090506.swf?XMLpath="+XMLpath+"&m_def="+OneDepth+"&s_def="+TwoDepth+"&logchk="+getLoginState()+"'>");
	document.write("    <PARAM NAME=quality VALUE=high><param name=menu value=false><param name=wmode value=transparent><param name=allowScriptAccess value=always>");
	document.write(" 	<EMBED src='"+pub+"/inc/flash/top_navi_20090506.swf?XMLpath="+XMLpath+"&m_def="+OneDepth+"&s_def="+TwoDepth+"&logchk="+getLoginState()+"' quality=high menu=false  WIDTH=950 HEIGHT=70 NAME=navigation   TYPE=application/x-shockwave-flash PLUGINSPAGE=http://www.macromedia.com/go/getflashplayer ></EMBED></OBJECT>");
document.write("</td></tr>");
document.write("</table>");
}

// 20071231vtex backup function TopMenu() {
//document.write("<table border='0' cellpadding='0' cellspacing='0'  width='990'>");
//document.write("<tr><td><OBJECT classid=clsid:D27CDB6E-AE6D-11cf-96B8-444553540000  codebase=http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0  WIDTH=950 HEIGHT=105 id=navagation>");
//document.write("    <PARAM NAME=movie VALUE='"+pub+"/inc/flash/top_navi.swf?XMLpath="+XMLpath+"&m_def="+OneDepth+"&s_def="+TwoDepth+"&logchk="+getLoginState()+"'>");
//document.write("    <PARAM NAME=quality VALUE=high><param name=menu value=false><param name=wmode value=transparent><param name=allowScriptAccess value=always>");
//document.write("	<EMBED src='"+pub+"/inc/flash/top_navi.swf?XMLpath="+XMLpath+"&m_def="+OneDepth+"&s_def="+TwoDepth+"&logchk="+getLoginState()+"' quality=high menu=false  WIDTH=950 HEIGHT=105 NAME=navigation   TYPE=application/x-shockwave-flash PLUGINSPAGE=http://www.macromedia.com/go/getflashplayer ></EMBED></OBJECT></td>");
//document.write("</tr>");
//document.write("</table>");
//}

*/

function LMenu() {

var flashSrc = "left_navi"+OneDepth+"_new2010.swf";

//myavis ¸Þ´ºÀÌ°í ·Î±×ÀÎ ÇÏÁö ¾Ê¾Ò´Ù¸é ºñÈ¸¿ø ÁÂÃø ¸Þ´º¸¦ ³ëÃâ½ÃÅ²´Ù.
//if (OneDepth == 7 && getLoginState() == "1") {
//	flashSrc = "left_navi13.swf";
//}

document.write("<table border='0' cellpadding='0' cellspacing='0'>");
document.write("<tr><td><OBJECT classid=clsid:D27CDB6E-AE6D-11cf-96B8-444553540000  codebase=https://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0  WIDTH=156 HEIGHT=820 id=navagation>");
document.write("    <PARAM NAME=movie VALUE='/img/main_new2/"+flashSrc+"?XMLpath="+XMLpath+"&m_def="+TwoDepth+"&s_def="+ThreeDepth+"'>");
document.write("    <PARAM NAME=quality VALUE=high><param name=wmode value=transparent><param name=menu value=false><param name=allowScriptAccess value=always>");
document.write("	<EMBED src='/img/main_new2/"+flashSrc+"?XMLpath="+XMLpath+"&m_def="+TwoDepth+"&s_def="+ThreeDepth+"' quality=high menu=false  WIDTH=156 HEIGHT=820 NAME=navigation   TYPE=application/x-shockwave-flash PLUGINSPAGE=https://www.macromedia.com/go/getflashplayer ></EMBED></OBJECT></td>");
document.write("</tr>");
document.write("</table>");

//document.write("<table border='0' cellpadding='0' cellspacing='0'>");
//document.write("<tr><td><OBJECT classid=clsid:D27CDB6E-AE6D-11cf-96B8-444553540000  codebase=http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0  WIDTH=150 HEIGHT=820 id=navagation>");
//document.write("    <PARAM NAME=movie VALUE='"+pub+"/inc/flash/"+flashSrc+"?XMLpath="+XMLpath+"&m_def="+TwoDepth+"&s_def="+ThreeDepth+"'>");
//document.write("    <PARAM NAME=quality VALUE=high><param name=wmode value=transparent><param name=menu value=false><param name=allowScriptAccess value=always>");
//document.write("	<EMBED src='"+pub+"/inc/flash/"+flashSrc+"?XMLpath="+XMLpath+"&m_def="+TwoDepth+"&s_def="+ThreeDepth+"' quality=high menu=false  WIDTH=150 HEIGHT=820 NAME=navigation   TYPE=application/x-shockwave-flash PLUGINSPAGE=http://www.macromedia.com/go/getflashplayer ></EMBED></OBJECT></td>");
//document.write("</tr>");
//document.write("</table>");
}


function TopVisual() {
//if (OneDepth ==1 ) { SecName = "reservation" }
//else if (OneDepth ==2 ) { SecName = "use" }
document.write("<table border='0' cellpadding='0' cellspacing='0' width='100%'>");
document.write("<tr><td><OBJECT classid=clsid:D27CDB6E-AE6D-11cf-96B8-444553540000  codebase=https://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0  WIDTH=777 HEIGHT=95 id=navagation>");
document.write("    <PARAM NAME=movie VALUE='"+pub+"/inc/flash/wvtex/sub_visual_0"+OneDepth+".swf'>");
document.write("    <PARAM NAME=quality VALUE=high><param name=menu value=false><param name=wmode value=transparent>");
document.write("	<EMBED src='"+pub+"/inc/flash/wvtex/sub_visual_0"+OneDepth+".swf' quality=high menu=false  WIDTH=777 HEIGHT=75 NAME=navigation   TYPE=application/x-shockwave-flash PLUGINSPAGE=https://www.macromedia.com/go/getflashplayer ></EMBED></OBJECT></td>");
document.write("</tr>");
document.write("</table>");
}

function TopButton() {  //Top ¹öÆ°
document.writeln("<div id='divMenu' style='position:absolute;width:13px; height:14px; top:202px;left:960px;z-index:2'>");
document.writeln("<a href=javascript:goTop()  onfocus=blur()><img src='"+pub+"/img/common/top.gif' width=13 height=14></a>");
document.writeln("</div>");
}
function my_promotion() {
javascript:popup('/reservation/pop_promotion.jsp','pr',416,280,'yes')
}


function BranchMap() { //ÁöÁ¡¾È³»
document.write("<table border='0' cellpadding='0' cellspacing='0'>");
document.write("<tr><td><OBJECT classid=clsid:D27CDB6E-AE6D-11cf-96B8-444553540000  codebase=https://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0  WIDTH=228 HEIGHT=356 id=navagation>");
document.write("    <PARAM NAME=movie VALUE='branch_map.swf?depth="+ThreeDepth+"'>");
document.write("    <PARAM NAME=quality VALUE=high><param name=menu value=false><param name=wmode value=transparent>");
document.write("	<EMBED src='branch_map.swf?depth="+ThreeDepth+"' quality=high menu=false  WIDTH=228 HEIGHT=356 NAME=navigation   TYPE=application/x-shockwave-flash PLUGINSPAGE=https://www.macromedia.com/go/getflashplayer ></EMBED></OBJECT></td>");
document.write("</tr>");
document.write("</table>");
}


//¸ÞÀÎ ¹è³Ê
function main_banner(){
document.write('<a href="'+_SITE_URL_+'/story/event/event_read.jsp?idx=7322">');
//document.write('<img src="'+pub+'/img/main/banner_event.jpg" width="356" height="79" alt="" border="0">');
document.write('<img src="'+pub+'/img/main/main_bener.gif" width="356" height="79" alt="" border="0">');
document.write('</a>');
}

//·Î±×ÀÎ ¿ìÃø ÀÌ¹ÌÁö ¹è³Ê
function login_banner(){
document.write('<a href="'+_SITE_URL_+'/jeju/tour/tour_cartel.jsp">');
//document.write('<img src="'+pub+'/img/member/login_banner.jpg" width="350" height="246" alt="" border="0">');
document.write('<img src="'+pub+'/img/member/login_box.jpg" width="350" height="246" alt="" border="0">');
document.write('</a>');
}
