
/*
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_20090421.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_20090421.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 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=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_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=http://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() {
document.write("<style type=text/css>");
document.write("#apDiv1 {");
document.write("	position:absolute;");
document.write("	left:400px;");
document.write("	top:7px;");
document.write("	width:269px;");
document.write("	height:26px;");
document.write("	z-index:1;");
document.write("}");
document.write("</style>");
if ( getLoginState() == "2" ) { //·Î±×ÀÎ µÇ¾î ÀÖ´Ù¸é
document.write("<div id='apDiv1'>");
document.write("<table width='240' border='0' cellspacing='0' cellpadding='0'>");
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>");
document.write("</div>");
} else {
document.write("<div id='apDiv1'>");
document.write("<table width='240' border='0' cellspacing='0' cellpadding='0'>");
document.write("<form method='post' name='loginForm' action='https://www.avis.co.kr/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("</div>");
}
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_20090421.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_20090421.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 TopMenu() {
document.write("<table width='990' border='0' cellspacing='0' cellpadding='0' align='center' style='padding-left:20px;'>");
document.write("<tr>");
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='https://www.avis.co.kr/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+"_new.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=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=http://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=http://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=http://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=http://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_+'/story/event/event_read.jsp?idx=18633">');
//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>');	
}