<!--
var home_url="";
var img_url="";
var logo_url="/images/common/menu/top/logo.gif";
var currentUrl=unescape(location.href);

// url 스트립트 접근 차단
if(currentUrl.indexOf('<')>-1){
 var splitUrl = currentUrl.split('<');
 
 for(var i = 0; i < splitUrl.length; i++){
		currentUrl = currentUrl.replace("<","＜");
		currentUrl = currentUrl.replace(">","＞");
	}
 document.location.href = currentUrl;
}
if(currentUrl.indexOf('dht.lottejtb.com')>-1){
home_url="http://www.lottejtb.com";
img_url="http://www.lottejtb.com";
}else if(currentUrl.indexOf('dht1.lottejtb.com')>-1){
	if(getCookieTop('cust_id')!= "" && getCookieTop('dht_cust_id') == ""){
		var dhtloginurl = "https://security.lottejtb.com/jsp/sso/dht_login.jsp?returnurl=" + currentUrl;
		document.location.href = dhtloginurl;
	}
home_url="http://www.lottejtb.com";
img_url="http://www.lottejtb.com";
}else if(currentUrl.indexOf('air.lottejtb.com')>-1){
home_url="http://www.lottejtb.com";
img_url="http://www.lottejtb.com";
}else if(currentUrl.indexOf('security.lottejtb.com')>-1){
home_url="http://www.lottejtb.com";
img_url="";
}else if(currentUrl.indexOf('dmz.lottejtb.com')>-1){
home_url="http://dmz.lottejtb.com";
img_url="http://www.lottejtb.com";
logo_url="/images/biz_dmz/common/logo.gif";
}else{
home_url="";
img_url="";
//if(getCookieTop('mall_cd')=='10'){
//setCookieTop("mall_cd", "1", "");
//}
}

//롯데제이티비 유알엘을 치고 들어오는 경우
if(getCookieTop('mall_cd')=='10'){
if(document.location.href == "http://www.lottejtb.com/"){
	setCookieTop("mall_cd", "1", "");
} else if(document.location.href == "http://www.lottejtb.com/xhtml/index.xhtml"){
	setCookieTop("mall_cd", "1", "");
}
}

var data = "";
data += "<link href=\""+img_url+"/css/common.css\" type=\"text/css\" rel=\"stylesheet\" />";
data += "<link href=\""+img_url+"/css/common_add.css\" type=\"text/css\" rel=\"stylesheet\" />";
document.write(data);

var Request=function()
{
this.getParameter=function( name )
{
var rtnval = '';
var nowAddress=unescape(location.href);
var parameters=(nowAddress.slice(nowAddress.indexOf('?')+1,nowAddress.length)).split('&');
for(var i=0 ; i<parameters.length ; i++)
{
var varName=parameters[i].split('=')[0];
if(varName.toUpperCase()==name.toUpperCase())
{
rtnval=parameters[i].split('=')[1];
break;
}
}
return rtnval;
}
}
var request = new Request();
function getCookieTop(uName) {
var flag = document.cookie.indexOf(uName+'=');
if (flag != -1) {
flag += uName.length + 1
end = document.cookie.indexOf(';', flag)
if (end == -1) end = document.cookie.length
return unescape(document.cookie.substring(flag, end))
}else {
return '';
}
}
function setCookieTop( cookieName, cookieValue, expireDate )
{
var today = new Date();
today.setDate( today.getDate() + parseInt( expireDate ) );
document.cookie = cookieName + "=" + escape( cookieValue ) + "; path=/; ";
document.cookie = cookieName + "=" + escape( cookieValue ) + "; path=/; domain=lottejtb.com;";
}
function deleteCookieTop(cookieName)
{
document.cookie=cookieName+"= ; path=/; expires=Fri, 31 Dec 1999 23:59:59 GMT;";
}

//점 항공 쿠기
var connectType=getCookieTop('connectType');
//몰코드 쿠키굽기,iframe설정
var mall_cd='';
if(request.getParameter('mall_cd')!=''){
mall_cd=request.getParameter('mall_cd');
setCookieTop("mall_cd", mall_cd, "");
}
if(mall_cd==''){
if(getCookieTop('mall_cd')!=''){
mall_cd = getCookieTop('mall_cd');
}
}
if(mall_cd == '1'){
//document.write("<iframe name='ifmTop' src='' width='0' height='0'  frameborder='0' hspace='0' vspace='0' scrolling='no'></iframe>");
}else if(mall_cd == '2'){
document.write("<iframe name='ifmTop' src='http://www.lotte.com/lotte/layout/common/LCHeader_Aff.jsp?SHOPTP=LOTTEJTB' width='100%' height='28'  frameborder='0' hspace='0' vspace='0' scrolling='no'></iframe>");
}else if(mall_cd == '3'){
document.write("<iframe name='ifmTop' src='http://www.lotteimall.com/menu/TopMenuService.jsp' width='100%' height='132'  frameborder='0' hspace='0' vspace='0' scrolling='no'></iframe>");
}else if(mall_cd == '10'){
var jtbUrl = document.location.href;
var cardUrl = '';
var splitUrl = jtbUrl.split('/');
for(var i = 0; i < splitUrl.length; i++){

	//if(i==1){
	//	splitUrl[2] = splitUrl[2].replace("www.lottejtb.com","tour2.lottecard.co.kr");
	//}
	if(i==2){
		splitUrl[3] = splitUrl[3].replace("xhtml","xhtml_card");
	}
	if(splitUrl.length-1 > i){
		cardUrl += splitUrl[i]+"/";
	} else {
		cardUrl += splitUrl[i]
	}
}
document.location.href=cardUrl;
}else{
}
function toggleTab2(tab_id,img_id) {
var tab =  getObj(tab_id);
var img = document.images[img_id];
if ( tab.style.display=='block' ) {
tab.style.display = 'none';
if ( img_id != '' ) img.src=img_url+"/images/common/menu/top/select_btn_1.gif";
document.body.focus();
}
else {
//document.all.anOtherCtg.focus();
checkShowDiv();
tab.style.display='block';
if ( img_id != '' ){
img.src = img_url+"/images/common/menu/top/select_btn_2.gif";
}
if(mall_cd=='1'){
tab.style.top='130px';
}else if(mall_cd=='2'){
tab.style.top='158px';
}else if(mall_cd=='3'){
tab.style.top='262px';
}else{
tab.style.top='130px';
}
}
return false;
}
var sechKind="";
function sech(p) {
var o = p;
sechKind = o.value;
document.all.search.value=sechKind;
ss_Hidden();
return false;
}
var sechText="";
function setSearchValue(s) {
sechText = s;
document.all.searchKeyword.value=sechText;
}
function moveSech() {
/* 검색 2글자 이상	*/
function searchTrim(text){
	return text.replace(/(^[ \f\n\r\t]*)|([ \f\n\r\t]*$)/g, "");
}
var chkText = (searchTrim(document.getElementById('searchKeyword').value)).length;

if( chkText < 2 ){
	//alert("검색어를 2자 이상 넣어주세요.");
	alert(unescape("%uAC80%uC0C9%uC5B4%uB97C%202%uC790%20%uC774%uC0C1%20%uB123%uC5B4%uC8FC%uC138%uC694."));
	return false;
}

var url="";
sechText = encodeURIComponent(document.getElementById('searchKeyword').value);
sechKind = encodeURIComponent(document.getElementById("search").value);
if(sechText != ''){
if(sechKind == "%EC%97%AC%ED%96%89%EC%83%81%ED%92%88" || sechKind == "sechTraProduct") {
url=home_url+'/xhtml/search/tab_02.xhtml?sechKind=' + encodeURI("sechTraProduct") + '&sechText='+ encodeURI(sechText);
}else if(sechKind == "%EA%B8%B0%ED%9A%8D%EC%A0%84" || sechKind == "sechPlan") {
url=home_url+'/xhtml/search/tab_03.xhtml?sechKind=' + encodeURI("sechPlan") + '&sechText='+encodeURI(sechText);
}else if(sechKind == "%EC%97%AC%ED%96%89%EC%A0%95%EB%B3%B4" || sechKind == "sechTraInfo") {
url=home_url+'/xhtml/search/tab_04.xhtml?sechKind=' + encodeURI("sechTraInfo") + '&sechText='+encodeURI(sechText);
}else if(sechKind == "%EC%83%81%ED%92%88%ED%8F%89" || sechKind == "sechProduct") {
url=home_url+'/xhtml/search/tab_05.xhtml?sechKind=' + encodeURI("sechProduct") + '&sechText='+encodeURI(sechText);
}else {
sechKind = "";
url=home_url+'/xhtml/search/tab_01.xhtml?sechKind=' + encodeURI("sechAll") + '&sechText='+encodeURI(sechText);
}
document.location.href=url;
}else{
document.getElementById('searchKeyword').focus();
return false;
}
/* */
return false;	
}
function linkSech(link){
var url="";
sechText = encodeURIComponent(document.getElementById('searchKeyword').value);
if( link == "sechTraProduct" ){
url='/xhtml/search/tab_02.xhtml?sechKind=' + encodeURI(link) + '&sechText='+encodeURI(sechText);
}else if( link == "sechPlan" ){
url='/xhtml/search/tab_03.xhtml?sechKind=' + encodeURI(link) + '&sechText='+encodeURI(sechText);
}else if( link == "sechTraInfo" ){
url='/xhtml/search/tab_04.xhtml?sechKind=' + encodeURI(link) + '&sechText='+encodeURI(sechText);
} else if( link == "sechProduct" ){
url='/xhtml/search/tab_05.xhtml?sechKind=' + encodeURI(link) + '&sechText='+encodeURI(sechText);
}else{
link = "sechAll";
url='/xhtml/search/tab_01.xhtml?sechKind=' + encodeURI(link) + '&sechText='+encodeURI(sechText);
}
document.location.href=url;
}
function linkLinkSech(kind){
var url="";
sechText = encodeURIComponent(document.getElementById('searchKeyword').value);
if( kind == "overseas" ){
url='/xhtml/search/tab_02.xhtml?sechKind='+encodeURI("sechTraProduct")+'&sechText='+encodeURI(sechText)+'&productKind='+encodeURI(kind);
}else if( kind == "free" ){
url='/xhtml/search/tab_02.xhtml?sechKind='+encodeURI("sechTraProduct")+'&sechText='+encodeURI(sechText)+'&productKind='+encodeURI(kind);
}else if( kind == "honeymoon" ){
url='/xhtml/search/tab_02.xhtml?sechKind='+encodeURI("sechTraProduct")+'&sechText='+encodeURI(sechText)+'&productKind='+encodeURI(kind);
} else if( kind == "interior" ){
url='/xhtml/search/tab_02.xhtml?sechKind='+encodeURI("sechTraProduct")+'&sechText='+encodeURI(sechText)+'&productKind='+encodeURI(kind);
}else{
kind = "totalList";
url='/xhtml/search/tab_02.xhtml?sechKind='+encodeURI("sechTraProduct")+'&sechText='+encodeURI(sechText)+'&productKind='+encodeURI(kind);
}
document.location.href=url;
}

var nowOpenedSelectBox = "";
var mousePosition = "";
function selectThisValue(thisId,thisIndex,thisValue,thisString) {
var objId = thisId;
var nowIndex = thisIndex;
var valueString = thisString;
var sourceObj = document.getElementById(objId);
var nowSelectedValue = document.getElementById(objId+"SelectBoxOptionValue"+nowIndex).value;
hideOptionLayer(objId);
if (sourceObj) sourceObj.value = nowSelectedValue;
settingValue(objId,valueString);
selectBoxFocus(objId);
if (sourceObj.onchange) sourceObj.onchange();
}
function selectThisValueMyMenu(thisId,thisIndex,thisValue,thisString, className) {
var objId = thisId;
var nowIndex = thisIndex;
var valueString = thisString;
var sourceObj = document.getElementById(objId);
var nowSelectedValue = document.getElementById(objId+"SelectBoxOptionValue"+nowIndex).value;
hideOptionLayer(objId);
if (sourceObj) sourceObj.value = nowSelectedValue;
settingValue(objId,valueString);
selectBoxFocusMyMenu(objId, className);
if (sourceObj.onchange) sourceObj.onchange();
}
function settingValue(thisId,thisString) {
var objId = thisId;
var valueString = thisString;
var selectedArea = document.getElementById(objId+"selectBoxSelectedValue");
if (selectedArea) selectedArea.innerHTML = valueString.replace("&","&");
}
function viewOptionLayer(thisId) {
var objId = thisId;
var optionLayer = document.getElementById(objId+"selectBoxOptionLayer");
if (optionLayer) optionLayer.style.display = "";
nowOpenedSelectBox = objId;
setMousePosition("inBox");
}
function hideOptionLayer(thisId) {
var objId = thisId;
var optionLayer = document.getElementById(objId+"selectBoxOptionLayer");
if (optionLayer) optionLayer.style.display = "none";
}
function setMousePosition(thisValue) {
var positionValue = thisValue;
mousePosition = positionValue;
}
function clickMouse() {
if (mousePosition == "out") hideOptionLayer(nowOpenedSelectBox);
}
function selectBoxFocus(thisId) {
var objId = thisId;
var obj = document.getElementById(objId + "selectBoxSelectedValue");
obj.className = "selectBoxSelectedAreaFocus";
obj.focus();
}
function selectBoxFocusMyMenu(thisId, classNameFocus) { //MyMeny
var objId = thisId;
var obj = document.getElementById(objId + "selectBoxSelectedValue");
obj.className = classNameFocus;
obj.focus();
}
function selectBoxBlurMyMenu(thisId, classNameFocus) {
var objId = thisId;
var obj = document.getElementById(objId + "selectBoxSelectedValue");
obj.className = classNameFocus;
}
function selectBoxBlur(thisId) {
var objId = thisId;
var obj = document.getElementById(objId + "selectBoxSelectedValue");
obj.className = "selectBoxSelectedArea";
}
function makeSelectBoxGlobalChan(thisId, selectBoxSelectedArea, lineColor, downArrowSrcPath, selectBoxOption, selectBoxSelectedAreaFocus, selectBoxOptionOver) {
var downArrowSrc = downArrowSrcPath; //rightArrow
var downArrowSrcWidth = 16; //rightQrrow Image width
var optionHeight = 19; // option heigh
var optionMaxNum = 4; // option Maxnum
var optionInnerLayerHeight = "";
var objId = thisId;
var obj = document.getElementById(objId);
var selectBoxWidth = parseInt(obj.style.width);
var selectBoxHeight = parseInt(obj.style.height);
if (obj.options.length > optionMaxNum) optionInnerLayerHeight = "height:"+ (optionHeight * optionMaxNum + 7) + "px";
newSelect="<table id='" + objId + "selectBoxOptionLayer' cellpadding='0' cellspacing='0' border='0' style='position:absolute;z-index:0;display:none;' onMouseOver=\"viewOptionLayer('"+ objId + "')\" onMouseOut=\"setMousePosition('out')\">";
newSelect+="<tr>";
newSelect+="<td height='" + (selectBoxHeight - 1) + "' style='cursor:hand;' onClick=\"hideOptionLayer('"+ objId + "')\" onMouseOut=\"hideOptionLayer('"+ objId + "')\"></td>";
newSelect+="</tr>";
newSelect+="<tr>";
newSelect+="<td bgcolor='"+lineColor+"' style='padding:0px 1px 1px 1px'>";
newSelect+="<table cellpadding='0' cellspacing='0' border='0' width='100%'>";
newSelect+="<tr>";
newSelect+="<td height='3' bgcolor='#f5f5f5'></td>";
newSelect+="</tr>";
newSelect+="</table>";
newSelect+="<div id='"+ objId + "SelectBoxOptionArea' class='selectBoxOptionInnerLayer' style='width:" + (selectBoxWidth+5) + "px;" + optionInnerLayerHeight + "' onMouseOut=\"hideOptionLayer('"+ objId + "')\">";
newSelect+="<table cellpadding='0' cellspacing='0' border='0' width='"+(selectBoxWidth-downArrowSrcWidth-3)+"' style='table-layout:fixed;word-break:break-all;'>";
for (var i=0 ; i < obj.options.length ; i++) {
var nowValue = obj.options[i].value;
var nowText = obj.options[i].text;
if (nowValue != null && nowValue != "") {
newSelect+="<tr>";
newSelect+="<td height='" + optionHeight + "' class='"+selectBoxOption+"' onMouseOver=\"this.className='"+selectBoxOptionOver+"'\" onMouseOut=\"this.className='"+selectBoxOption+"'\" onClick=\"selectThisValueMyMenu('"+ objId + "'," + i + ",'" + nowValue + "','" + nowText + "','"+selectBoxSelectedAreaFocus+"')\" style='cursor:hand;width:500'>" + nowText + "</td>";
newSelect+="<input type='hidden' id='"+ objId + "SelectBoxOptionValue" + i + "' value='" + nowValue + "'>";
newSelect+="</tr>";
}
}
newSelect+="</table>";
newSelect+="</div>";
newSelect+="<table cellpadding='0'cellspacing='0'border='0'width='100%'>";
newSelect+="<tr>";
newSelect+="<td height='4' bgcolor='#f5f5f5'></td>";
newSelect+="</tr>";
newSelect+="</table>";
newSelect+="</td>";
newSelect+="</tr>";
newSelect+="</table>";
newSelect+="<table cellpadding='0'cellspacing='1'border='0'bgcolor='"+lineColor+"'onClick=\"viewOptionLayer('"+ objId + "')\" style='cursor:hand;' onMouseOut=\"setMousePosition('out')\">";
newSelect+="<tr>";
newSelect+="<td bgcolor='#ffffff'>";
newSelect+="<table cellpadding='0'cellspacing='0'border='0'>";
newSelect+="<tr>";
newSelect+="<td><div id='" + objId + "selectBoxSelectedValue' class='"+selectBoxSelectedArea+"' style='width:" + (selectBoxWidth - downArrowSrcWidth) + "px;height:" + (selectBoxHeight - 2) + "px;overflow:hidden;' onBlur=\"selectBoxBlurMyMenu('" + objId + "', '"+selectBoxSelectedAreaFocus+"')\"></div></td>";
newSelect+="<td><img src='" + downArrowSrc + "' width='" + downArrowSrcWidth + "' border='0'></td>";
newSelect+="</tr>";
newSelect+="</table>";
newSelect+="</td>";
newSelect+="</tr>";
newSelect+="</table>";
document.write(newSelect);

var haveSelectedValue = false;
for (var i=0 ; i < obj.options.length ; i++) {
if (obj.options[i].selected == true) {
haveSelectedValue = true;
settingValue(objId,obj.options[i].text);
}
}
if (!haveSelectedValue) settingValue(objId,obj.options[0].text);
}

function goLeftSelectBoxMenu(thisURL,thisTarget) {
if (thisURL == "" || thisURL == null || thisURL == "separator") return;
var nowTarget = "_blank";
if (thisTarget != null && thisTarget != "" ) nowTarget = thisTarget;
window.open(thisURL, nowTarget, "");
}

isNS4 = (document.layers) ? true : false;
isIE4 = (document.all && !document.getElementById) ? true : false;
isIE5 = (document.all && document.getElementById) ? true : false;
isNS6 = (!document.all && document.getElementById) ? true : false;
function getObj(idname) {
if (isNS4){
elm = document.layers[idname];
}
else if (isIE4) {
elm = document.all[idname];
}
else if (isIE5 || isNS6) {
elm = document.getElementById(idname);
}
return elm;
}
function f_topInit(){
document.getElementById("divPop").style.top = parseInt(document.body.clientHeight)-300;
document.getElementById("divPop").style.left = (screen.width-644)/2;
}
function setMallCode(addr){
	var newAddr='';
	if(mall_cd!=''){
		newAddr=addr+'&mall_cd='+mall_cd;
	}else{
		newAddr=addr;
	}
	return newAddr;
}
function setLoginPageUrl(){
var nowAddress=unescape(location.href);
var tempAddress=nowAddress.slice(nowAddress.indexOf('/')+2,nowAddress.length);
var editAddress=tempAddress.slice(tempAddress.indexOf('/'),tempAddress.length);
if(nowAddress.indexOf('dht.lottejtb.com')>-1){
	document.location.href='https://security.lottejtb.com/jsp/sso/dht_login.xhtml?returnurl='+setMallCode(nowAddress);
}else if(nowAddress.indexOf('dht1.lottejtb.com')>-1){
	document.location.href='https://security.lottejtb.com/jsp/sso/dht_login.xhtml?returnurl='+setMallCode(nowAddress);
}else if(nowAddress.indexOf('www.lottejtb.com')>-1){
	window.open(home_url+"/jsp/sso/login_popup.jsp","login","width=508,height=385");
}else if(nowAddress.indexOf('air.lottejtb.com')>-1){
	document.location.href='https://security.lottejtb.com/jsp/sso/login_member.xhtml?returnurl='+setMallCode(nowAddress);
}else{
	document.location.href='https://security.lottejtb.com/jsp/sso/login_member.xhtml?returnurl='+setMallCode(editAddress);
}
}
function f_login() {
setLoginPageUrl();
}
function f_loginByReturnUrl(returnUrl) {
window.open(home_url+"/jsp/sso/login_popup.jsp?returnurl="+returnUrl,"login","width=508,height=385");
}
function f_logout() {
if ( confirm(unescape("%uB85C%uADF8%uC544%uC6C3%20%uD558%uC2DC%uACA0%uC2B5%uB2C8%uAE4C%3F"))) {
//setCookieTop("mall_cd","1","");

thisCookie = document.cookie.split("; ")
expireDate = new Date();
expireDate.setDate(expireDate.getDate()-1);
           
for (i=0; i<thisCookie.length; i++) {
cookieName = thisCookie[i].split("=")[0];
document.cookie = cookieName + "=;expires=" + expireDate.toGMTString();
}
document.location.href=home_url+'/jsp/sso/logout_middle_page.jsp';
}
}
function f_join() {
window.open("http://member.lottetown.com/door/user/login_common.jsp?sid=LOTTEJTB&returnurl=http://www.lottejtb.com/index.xhtml",'_blank'
,'width=1024,height=768,scrollbars=yes,toolbar=yes,location=yes,resizable=yes,status=yes,menubar=yes,resizable=yes,left=0,top=0,fullscreen');
}
function f_findId() {
window.open("https://member.lottetown.com/door/user/requestId.jsp?sid=LOTTEJTB",'_blank'
,'width=1024,height=768,scrollbars=yes,toolbar=yes,location=yes,resizable=yes,status=yes,menubar=yes,resizable=yes,left=0,top=0,fullscreen');
}
function f_findPw() {
window.open("https://member.lottetown.com/door/user/requestPasswd.jsp?sid=LOTTEJTB",'_blank'
,'width=1024,height=768,scrollbars=yes,toolbar=yes,location=yes,resizable=yes,status=yes,menubar=yes,resizable=yes,left=0,top=0,fullscreen');
}
function f_contact() {
window.open('https://member.lottetown.com/door/user/change_user_info.jsp?sid=LOTTEJTB','_blank'
,'width=1024,height=768,scrollbars=yes,toolbar=yes,location=yes,resizable=yes,status=yes,menubar=yes,resizable=yes,left=0,top=0,fullscreen');
}
function movePlanDetPage(planSeq, templeteNo) {
document.location.href=home_url+'/xhtml/plan/templete/templete_' + templeteNo + '.xhtml?PLAN_SEQ=' + planSeq ;
}
function f_chkLogin(){
var cookie = document.cookie;
var info=document.cookie.split(";");
var cust_id = '';
for (var i=0; i<info.length; i++) {
if (info[i].replace(/(^\s*)|(\s*$)|($\s*)/g, "").indexOf("cust_id")==0) {
cust_id=info[i].substring(info[i].indexOf("=")+1,info[i].length);
}
}
if(cust_id==''||cust_id==null||cust_id=='null'){
return '0';
}else{
return '1';
}
}
function flash(width,height,flash_name) {
var flash_tag = '';
flash_tag = '<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" ';
flash_tag +='codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" ';
flash_tag +='WIDTH="'+width+'" HEIGHT="'+height+'" >';
flash_tag +='<param name="movie" value="'+flash_name+'">';
flash_tag +='<param name="allowScriptAccess" value="always">';
flash_tag +='<param name="quality" value="high">';
flash_tag +='<param name="wmode" value="transparent">';
flash_tag +='<embed src="'+flash_name+'" wmode="transparent" allowScriptAccess="always" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" ';
flash_tag +='type="application/x-shockwave-flash"  WIDTH="'+width+'" HEIGHT="'+height+'"></embed></object>';
document.write(flash_tag);
}
function anhiddenNew() {
document.all.an.style.display='none';
document.images['srhSelectBtn'].src=img_url+'/images/common/menu/top/select_btn_1.gif';
}
function planhiddenNew() {
document.all.plan_s2.style.display='none';
document.images['view02'].src=img_url+'/images/common/menu/top/select_btn.gif';
}
function checkShowDiv(){
an.style.display='none';
search_select.style.display='none';
searchKeyword_suggestions.style.display='none';
plan_s2.style.display='none';
}
function ss_Open(){
document.all.search_select.style.display='inline';
if(mall_cd=='1'){
document.all.search_select.style.top='108px';
}else if(mall_cd=='2'){
document.all.search_select.style.top='136px';
}else if(mall_cd=='3'){
document.all.search_select.style.top='240px';
}else{
document.all.search_select.style.top='108px';
}
return false;
}
function ss_Hidden() {
document.all.search_select.style.display = 'none';
return false;
}

function fnCallAjax(url,id){
var obj = document.topForm;
fnAjax(url,obj,id);
}

function mOver(obj){
obj.style.background='#E6E6E6';
return false;
}
function mDown(obj){
obj.style.background='#FFFFFF';
return false;
}
function sk_s_Open(){
document.all.searchKeyword_suggestions.style.display='inline';
if(mall_cd=='1'){
document.all.searchKeyword_suggestions.style.top='131px';
}else if(mall_cd=='2'){
document.all.searchKeyword_suggestions.style.top='159px';
}else if(mall_cd=='3'){
document.all.searchKeyword_suggestions.style.top='263px';
}else{
document.all.searchKeyword_suggestions.style.top='131px';
}
}
function sk_s_Hidden() {
document.all.searchKeyword_suggestions.style.display = 'none';
}
var stat_autoComplete=getCookieTop('stat_autoComplete');
if(stat_autoComplete !='0'){
stat_autoComplete = '1';
setCookieTop("stat_autoComplete",stat_autoComplete,"");
}
function setStatAuto(){
if(stat_autoComplete=='1'){
stat_autoComplete='0';
setCookieTop("stat_autoComplete",stat_autoComplete,"");
fnCallAjax(img_url+'/jsp/sso/auto_complete2.faces?keyword='+'&stat_autoComplete='+stat_autoComplete, 'searchKeyword_suggestions');
sk_s_Hidden();
}else{
stat_autoComplete='1';
setCookieTop("stat_autoComplete",stat_autoComplete,"");
var keyword = encodeURIComponent(document.getElementById('searchKeyword').value);
fnCallAjax(img_url+'/jsp/sso/auto_complete2.faces?keyword='+encodeURIComponent(keyword)+'&stat_autoComplete='+stat_autoComplete, 'searchKeyword_suggestions');
sk_s_Open();
}
return false;
}
function key_down(event){
if(event.keyCode==188||event.keyCode==190){
event.returnValue=false;
}
}
var autoList;
var keyword;
var index=-1;
function key_up(event){
if(!(event.keyCode==38||event.keyCode==40)){
checkShowDiv();
keyword = encodeURIComponent(document.getElementById('searchKeyword').value);
index=-1;
if(event.keyCode==13){
if(keyword!=''){
moveSech();
return false;
}
}
if(stat_autoComplete=='1'){
if ( keyword == '' ) {
sk_s_Hidden();
fnCallAjax(img_url+'/jsp/sso/auto_complete2.faces?keyword='+'&stat_autoComplete='+stat_autoComplete, 'searchKeyword_suggestions');
}else{
sk_s_Open();
fnCallAjax(img_url+'/jsp/sso/auto_complete2.faces?keyword='+keyword+'&stat_autoComplete='+stat_autoComplete, 'searchKeyword_suggestions');
}
}else{
return false;
}
}
autoList = document.getElementsByName("search_names");
if(event.keyCode==38){
if(index > 0) {
if(index > -1){
document.getElementById("search_div_"+index).style.background="";
}
document.getElementById("search_div_" + (--index)).style.backgroundColor="#E6E6E6";
document.getElementById("search_div_" + index).focus();
setSearchValue(autoList[index].value);
}else{
sk_s_Hidden();
}
}else if(event.keyCode==40&&index<autoList.length-1){
if(index > -1){
sk_s_Open();
document.getElementById("search_div_"+index).style.background="";
}
document.getElementById("search_div_" + (++index)).style.backgroundColor="#E6E6E6";
document.getElementById("search_div_" + index).focus();
setSearchValue(autoList[index].value);
}
return false;
}
function setPlanHeight(){
if(auto_plan.offsetHeight>408){
auto_plan.style.height='408px';
}
}
function Plan_Toggletab1(tab_id,img_id) {
var tab =  getObj(tab_id);
var img = document.images[img_id];
if ( tab.style.display=='inline' ) {			
tab.style.display = 'none';
if ( img_id != '' ) img.src = img_url+"/images/common/menu/top/select_btn.gif";
document.body.focus();
}
else {
var ctgValue = encodeURIComponent(request.getParameter('ctg'));
checkShowDiv();
tab.style.display='inline';
if ( img_id != '' ){ img.src = img_url+"/images/common/menu/top/select_btn_3.gif";}
if(mall_cd=='1'){
tab.style.top='129px';
}else if(mall_cd=='2'){
tab.style.top='157px';
}else if(mall_cd=='3'){
tab.style.top='261px';
}else{
tab.style.top='129px';
}
fnCallAjax(img_url+'/jsp/sso/auto_planning2.faces?ctg='+ctgValue,'plan_s2');
setPlanHeight();
}
return false;
}
function search_Toggletab(tab_id,img_id) {
if(mall_cd=='1'){
document.all.searchKeyword_suggestions.style.top='131px';
}else if(mall_cd=='2'){
document.all.searchKeyword_suggestions.style.top='159px';
}else if(mall_cd=='3'){
document.all.searchKeyword_suggestions.style.top='263px';
}else{
document.all.searchKeyword_suggestions.style.top='131px';
}
var keyword = encodeURIComponent(document.getElementById('searchKeyword').value);
var tab =  getObj(tab_id);
var img = document.images[img_id];
if ( tab.style.display=='inline' ) {
tab.style.display = 'none';
if ( img_id != '' ) img.src = img_url+"/images/common/menu/top/select_btn1.gif";
}
else {
checkShowDiv();
tab.style.display='inline';
if ( img_id != '' ){ img.src = img_url+"/images/common/menu/top/select_btn2.gif";}
fnCallAjax(img_url+'/jsp/sso/auto_complete2.faces?keyword='+keyword+'&stat_autoComplete='+stat_autoComplete, 'searchKeyword_suggestions');
}
return false;
}
var _skey;
function setSearch(){
var sKind = request.getParameter('sechKind');
var sText = request.getParameter('sechText');
if(sText!=''||sText!=null){
document.all.searchKeyword.value=decodeURI(sText);
_skey=decodeURI(sText);
}
var temp='';
if(sKind=='sechTraProduct') {
temp='%uC5EC%uD589%uC0C1%uD488';
}else if(sKind=='sechPlan') {
temp='%uAE30%uD68D%uC804';
}else if(sKind=='sechTraInfo') {
temp='%uC5EC%uD589%uC815%uBCF4';
}else if(sKind=='sechProduct') {
temp='%uC0C1%uD488%uD3C9';
}else {
temp='%uD1B5%uD569%uAC80%uC0C9';
}
document.all.search.value=unescape(temp);
}
function bluring(){
if(event.srcElement.tagName=="A"||event.srcElement.tagName=="IMG") document.body.focus();
}
document.onfocusin=bluring;
function delMallCd(){
if(navigator.appVersion.indexOf("MSIE 7") > -1){
if(event.clientY<0){
//setCookieTop("mall_cd", "1", "");
}
}else{
if(self.screenTop>9000){
//setCookieTop("mall_cd", "1", "");
}
}
}
window.onunload=delMallCd;

function layerSetup() {
if(navigator.appVersion.indexOf("MSIE 7")>-1 || navigator.appVersion.indexOf("MSIE 8")>-1){
if(990 > document.body.clientWidth) {
document.all.an.style.left='0px';
document.all.search_select.style.left='225px' ;
document.all.searchKeyword_suggestions.style.left='347px';
document.all.plan_s2.style.left='775px';
}else{
document.all.an.style.left=(document.body.clientWidth/2)-495;
document.all.search_select.style.left= (document.body.clientWidth/2)-270;
document.all.searchKeyword_suggestions.style.left=(document.body.clientWidth/2)-148;
document.all.plan_s2.style.left=(document.body.clientWidth/2)+280;
}
}else if(navigator.appVersion.indexOf("MSIE 6")>-1){
if(990 > document.documentElement.clientWidth) {
document.all.an.style.left='0px';
document.all.search_select.style.left='225px' ;
document.all.searchKeyword_suggestions.style.left='347px';
document.all.plan_s2.style.left='775px';
}else{
document.all.an.style.left=(document.documentElement.clientWidth/2)-495;
document.all.search_select.style.left= (document.documentElement.clientWidth/2)-270;
document.all.searchKeyword_suggestions.style.left=(document.documentElement.clientWidth/2)-148;
document.all.plan_s2.style.left=(document.documentElement.clientWidth/2)+280;
}
}
}

if (connectType != 'B') {
if(getCookieTop('mall_cd')=='10'){
}else{
window.onresize = layerSetup;
setTimeout('layerSetup()',500);
}
}

data = "";
data += "<input type='hidden' id='searchHidden' name='searchHidden' value='' />";
data += "<table width='100%' border='0' cellspacing='0' cellpadding='0'>";
data += "<form id='topForm' name='topForm' method='post' action=''>";
data += "<tr>";
data += "<td class='top'>";
data += "<table width='990' border='0' cellspacing='0' cellpadding='0' align='center'>";
data += "<input id='ctg' type='hidden' name='ctg' value='' />";
data += "<tr>";
data += "<td><table width='100%' border='0' cellspacing='0' cellpadding='0' background='"+img_url+"/images/common/menu/top/bg.jpg'>";
data += "<tr>";
data += "<td width='407' valign='bottom' style='padding-bottom: 7px;' class='left'>";
data += "<table width='314' border='0' cellspacing='0' cellpadding='0'>";
data += "<tr>";
data += "<td background='"+img_url+"/images/common/menu/top/table_bg.gif' style='padding:3px;'>";
data += "<img src='"+img_url+"/images/common/menu/top/lotte_1.gif' width='68' height='15' align='absmiddle' alt='&#47215;&#45936;&#54056;&#48128;&#47532;'title='&#47215;&#45936;&#54056;&#48128;&#47532;' />";
data += "<img src='"+img_url+"/images/common/bullet/blank.gif' width='10' height='1'/><a href='http://www.lotteshopping.com/' target='_blink'>";
data += "<img src='"+img_url+"/images/common/menu/top/lotte_2.gif' width='38' height='11' align='absmiddle' alt='&#48177;&#54868;&#51216;'title='&#48177;&#54868;&#51216;' style='cursor:hand'/></a><img src='"+img_url+"/images/common/bullet/blank.gif' width='10' height='1' /><a href='http://www.lottemart.com/lim/handler/Index' target='_blink' >";
data += "<img src='"+img_url+"/images/common/menu/top/lotte_3.gif' width='30' height='10' align='absmiddle' alt='&#47560;&#53944;'title='&#47560;&#53944;'/></a><img src='"+img_url+"/images/common/bullet/blank.gif' width='10' height='1' /><a href='http://www.lottedfs.com/handler/Index?tracking_no=000100110001&src=image&kw=010C9E' target='_blink' >";
data += "<img src='"+img_url+"/images/common/menu/top/lotte_4.gif' width='39' height='10' align='absmiddle' alt='&#47732;&#49464;&#51216;'title='&#47732;&#49464;&#51216;'/></a><img src='"+img_url+"/images/common/bullet/blank.gif' width='10' height='1' /><a href='http://www.lotteimall.com/main/Index.jsp' target='_blink' >";
data += "<img src='"+img_url+"/images/common/menu/top/lotte_5.gif' width='37' height='12' align='absmiddle' alt='&#54856;&#49660;&#54609;'title='&#54856;&#49660;&#54609;'/></a><img src='"+img_url+"/images/common/bullet/blank.gif' width='10' height='1' /><a href='http://cross.lotte.com/lotte/sitemap/lotte_index.jsp?check=N' target='_blink' >";
data += "<img src='"+img_url+"/images/common/menu/top/lotte_6.gif' width='38' height='12' align='absmiddle' alt='&#49660;&#54609;&#47792;'title='&#49660;&#54609;&#47792;'/></a>";
data += "</td>";
data += "</tr>";
data += "</table></td>";
data += "<td width='175'><a href='"+home_url+"/xhtml/index.xhtml'><img src='"+img_url+logo_url+"' width='175' height='69'/></a></td>";
data += "<td width='409' align='right' valign='top' style='padding:10px 0 0 0;'>";
data += "<table width='345' border='0' cellspacing='0' cellpadding='0'>";
data += "<tr>";

if (connectType != 'B'){
document.write(data);
}

if (f_chkLogin()=="0"){
data = "";
data += "<td width='50'align='center'><img src='"+img_url+"/images/common/menu/top/home_1.gif'onclick='javascript:f_login();'align='absmiddle'alt='&#47196;&#44536;&#51064;'title='&#47196;&#44536;&#51064;'style='cursor:hand;padding-left:7px;'/></td>";
data += "<td width='1'><img src='"+img_url+"/images/common/menu/top/home_bar.gif'width='1'height='8'/></td>";
data += "<td width='50'align='center'><img src='"+img_url+"/images/common/menu/top/home_2.gif'onclick='javascript:f_join();'align='absmiddle'alt='&#54924;&#50896;&#44032;&#51077;'title='&#54924;&#50896;&#44032;&#51077;'style='cursor:hand'/></td>";
data += "<td width='1'><img src='"+img_url+"/images/common/menu/top/home_bar.gif'width='1'height='8'/></td>";
data += "<td width='59' align='center'><a href='"+home_url+"/xhtml/mytour/submain/submain.xhtml?mall_cd="+mall_cd+"'><img src='"+img_url+"/images/common/menu/top/home_3.gif'align='absmiddle'alt='my tour'/></a></td>";
}else{
data = "";
data += "<td width='50'align='center'><img src='"+img_url+"/images/common/menu/top/home_7.gif'onclick='javascript:f_logout();'align='absmiddle'alt='&#47196;&#44536;&#50500;&#50883;'title='&#47196;&#44536;&#50500;&#50883;'style='cursor:hand'/></td>";
data += "<td width='1'><img src='"+img_url+"/images/common/menu/top/home_bar.gif'width='1'height='8'/></td>";
data += "<td width='50'align='center'><img src='"+img_url+"/images/common/menu/top/home_8.gif'onclick='javascript:f_contact();'align='absmiddle'alt='&#51221;&#48372;&#49688;&#51221;'title='&#51221;&#48372;&#49688;&#51221;'style='cursor:hand'/></td>";
data += "<td width='1'><img src='"+img_url+"/images/common/menu/top/home_bar.gif'width='1'height='8'/></td>";
data += "<td width='59' align='center'><a href='https://security.lottejtb.com/xhtml/mytour/submain/submain.xhtml'><img src='"+img_url+"/images/common/menu/top/home_3.gif'align='absmiddle'alt='my tour'/></a></td>";
}

if (connectType != 'B'){
document.write(data);
}

data = "";
data += "<td width='1'><img src='"+img_url+"/images/common/menu/top/home_bar.gif' width='1' height='8' /></td>";
data += "<td width='51' align='center'><a href='"+home_url+"/xhtml/pair/pair_travel.xhtml'><img src='"+img_url+"/images/common/menu/top/home_4.gif' align='absmiddle' alt='&#47582;&#52644;&#50668;&#54665;'title='&#47582;&#52644;&#50668;&#54665;' /></a></td>";
data += "<td width='1'><img src='"+img_url+"/images/common/menu/top/home_bar.gif' width='1' height='8' /></td>";
data += "<td width='51' align='center'><a href='"+home_url+"/xhtml/membership/charlotte/char_main.xhtml'><img src='"+img_url+"/images/common/menu/top/home_9.gif' align='absmiddle' alt='&#47716;&#48260;&#49828;'title='&#47716;&#48260;&#49828;' /></a></td>";
data += "<td width='1'><img src='"+img_url+"/images/common/menu/top/home_bar.gif' width='1' height='8' /></td>";
data += "<td width='51' align='center'><a href='"+home_url+"/xhtml/customer/submain/submain.xhtml'><img src='"+img_url+"/images/common/menu/top/home_5.gif' align='absmiddle' alt='&#44256;&#44061;&#49468;&#53552;'title='&#44256;&#44061;&#49468;&#53552;' /></a></td>";
data += "<td><img src='"+img_url+"/images/common/menu/top/home_6.gif' onclick=\"javascript:window.external.addfavorite('http://www.lottejtb.com/xhtml/index.xhtml', 'Travel&amp;Life LOTTEJTB');\" alt='&#51600;&#44200;&#52286;&#44592;&#52628;&#44032;'title='&#51600;&#44200;&#52286;&#44592;&#52628;&#44032;' style='cursor:hand' /></td>";
data += "</tr>";
data += "<tr>";
data += "<td colspan='10' height='11'></td>";
data += "</tr>";
data += "</table>";
data += "<table width='100%' border='0' cellspacing='0' cellpadding='0'>";
data += "<tr>";
data += "<td align='right'>";
data += "<a href='"+home_url+"/xhtml/theme/theme_travel.xhtml'><img src='"+img_url+"/images/common/menu/top/icon_1.gif' width='50' height='14' align='absmiddle' alt='&#53580;&#47560;&#50668;&#54665;'title='&#53580;&#47560;&#50668;&#54665;' style='cursor:hand' /></a>";
data += "<img src='"+img_url+"/images/common/bullet/blank.gif' width='10' height='1' />";
data += "<a href='"+home_url+"/xhtml/best/best_ranking.xhtml'><img src='"+img_url+"/images/common/menu/top/icon_2.gif' width='54' height='13' align='absmiddle' alt='BEST&#47021;&#53433;'title='BEST&#47021;&#53433;' /></a>";
data += "<img src='"+img_url+"/images/common/bullet/blank.gif' width='10' height='1' />";
data += "<a href='"+home_url+"/xhtml/event/event_list.xhtml'><img src='"+img_url+"/images/common/menu/top/icon_3.gif' width='41' height='13' align='absmiddle' alt='&#51060;&#48292;&#53944;'title='&#51060;&#48292;&#53944;' /></a>";
data += "<img src='"+img_url+"/images/common/bullet/blank.gif' width='10' height='1' />";
data += "<a href='"+home_url+"/xhtml/tourinfo/submain/submain.xhtml'><img src='"+img_url+"/images/common/menu/top/icon_4.gif' width='48' height='13' align='absmiddle' alt='&#50668;&#54665;&#51221;&#48372;'title='&#50668;&#54665;&#51221;&#48372;' /></a>";
data += "<img src='"+img_url+"/images/common/bullet/blank.gif' width='10' height='1' />";
data += "<a href='"+home_url+"/xhtml/tourinfo/opinion/list.xhtml'><img src='"+img_url+"/images/common/menu/top/icon_5.gif' width='48' height='13' align='absmiddle' alt='&#50668;&#54665;&#54980;&#44592;'title='&#50668;&#54665;&#54980;&#44592;' style='cursor:hand' /></a>";
data += "<img src='"+img_url+"/images/common/bullet/blank.gif' width='10' height='1' />";
data += "<a href='"+home_url+"/images/d_love/main/love_main.html'><img src='"+img_url+"/images/common/menu/top/icon_6.gif' align='absmiddle' alt='&#49324;&#46993;&#48169;'title='&#49324;&#46993;&#48169;' style='cursor:hand' /></a>";
data += "<img src='"+img_url+"/images/common/bullet/blank.gif' width='10' height='1'/>";
data += "<a href='"+home_url+"/xhtml/love/ah_korea/love_list.xhtml'><img src='"+img_url+"/images/common/menu/top/icon_7.gif' align='absmiddle' alt='&#50500;&#33;&#45824;&#54620;&#48124;&#44397; &#52404;&#54744;&#45800;'title='&#50500;&#33;&#45824;&#54620;&#48124;&#44397; &#52404;&#54744;&#45800;' style='cursor:hand'/></a>";
data += "</td>";
data += "</tr>";
data += "</table>";
data += "</td>";
data += "</tr>";
data += "<tr>";
data += "<td colspan='3' height='1'></td>";
data += "</tr>";
data += "</table>";
data += "<table width='100%' border='0' cellspacing='0' cellpadding='0' background='"+img_url+"/images/common/menu/top/bg_1.jpg' style='background-repeat: repeat-x'>";
data += "<tr>";
data += "<td width='180' height='32'><a href='"+home_url+"/xhtml/membership/charlotte/char_main.xhtml'><img src='"+img_url+"/images/common/menu/top/event_charlotte.jpg'/></a></td>";
data += "<td>";

if (connectType != 'B') {
document.write(data);
}

if (connectType != 'B') {	
if(currentUrl.indexOf('dht.lottejtb.com')>-1){
flash("630","32",img_url+"/images/flash/swf/MainNavi.swf");
}else if(currentUrl.indexOf('dht1.lottejtb.com')>-1){
flash("630","32",img_url+"/images/flash/swf/MainNavi.swf");
}else if(currentUrl.indexOf('air.lottejtb.com')>-1){
flash("630","32",img_url+"/images/flash/swf/MainNavi.swf");
}else if(currentUrl.indexOf('www.lottejtb.com')>-1){
flash("630","32",img_url+"/images/flash/swf/MainNavi.swf");
}else if(currentUrl.indexOf('security.lottejtb.com')>-1){
flash("630","32",img_url+"/images/flash/swf/MainNavi.swf");
}else{
flash("630","32",img_url+"/images/flash/swf/MainNavi_2.swf");
}
}

data = "";
data += "</td>";
data += "<td width='180'><script type='text/javascript'>flash('180','32', img_url+'/images/d_etc/notice/main_navi_fla.swf');</script></td>";
data += "</tr>";
data += "<tr>";
data += "<td height='5'></td>";
data += "</tr>";
data += "</table>";
data += "</td>";
data += "</tr>";
data += "<tr>";
data += "<td valign='top'>";
data += "<table width='100%' border='0' cellspacing='0' cellpadding='0'>";
data += "<tr>";

data += "<td width='215' height='25' valign='top' style='padding:1px 0 0 0;'>";
data += "<table width='100%' height='100%' border='0' cellspacing='0' cellpadding='0' style='border: solid 3px #0069c7;' bgcolor='#ffffff'>";
data += "<tr>";
data += "<td valign='middle'>";
data += "<input readonly onmousedown=\"toggleTab2('an','srhSelectBtn');\" onblur='anhiddenNew();' id='anOtherCtg' type='text' name='anOtherCtg' value='&#45796;&#47480; &#52852;&#53580;&#44256;&#47532; &#51060;&#46041;' class='search_input' style='cursor:hand;border:solid 0px;width:188px;height:15px;color:#0090ff;line-height:13px;'/></td>";
data += "<td><img id='srhSelectBtn' src='"+img_url+"/images/common/menu/top/select_btn_1.gif' onmousedown=\"toggleTab2('an','srhSelectBtn');\" style='cursor:hand' width='16' height='19' /></td>";
data += "</tr>";
data += "</table>";
data += "</td>";
data += "<td width='10'>&nbsp;</td>";

data += "<td width='118' height='25' valign='top' style='padding:1px 0 0 0;'>";
data += "<table width='100%' height='100%' border='0' cellspacing='0' cellpadding='0' style='border: solid 3px #878787;' bgcolor='#ffffff'>";
data += "<tr>";
data += "<td valign='middle'>";
data += "<input readonly onclick='checkShowDiv();ss_Open();' onblur='ss_Hidden();' id='search' type='text' name='search' value='&#53685;&#54633;&#44160;&#49353;' class='search_input' style='cursor:hand;border:solid 0px;width:91px;height:15px;color:#8e8e8e;line-height:13px;'/>";
data += "</td>";
data += "<td><img src='"+img_url+"/images/common/menu/top/select_btn.gif' onclick='checkShowDiv();ss_Open();' style='cursor:hand;' width='16' height='17' />";
data += "</td>";
data += "</tr>";
data += "</table>";
data += "</td>";
data += "<td width='4'>&nbsp;</td>";

data += "<td width='349' hight='25' valign='top' style='padding:1px 0 0 0;'>";
data += "<table width='100%' height='100%' border='0' cellspacing='0' cellpadding='0' style='border: solid 3px #767676;' bgcolor='#ffffff'>";
data += "<tr>";
data += "<td valign='middle'>";
data += "<input type='text' id='searchKeyword' name='searchKeyword' onkeydown='key_down(event);'onkeyup='key_up(event);'onblur='sk_s_Hidden();'onfocus='sk_s_Open();' class='search_input' style='border:solid 0px;width:322px;height:15px;color:#8e8e8e;line-height:13px;'/>";
data += "</td>";
data += "<td>";
data += "<img id='inputSuggestButton' src='"+img_url+"/images/common/menu/top/select_btn1.gif' onmousedown=\"search_Toggletab('searchKeyword_suggestions','inputSuggestButton');\" style='cursor:hand'/>";
data += "</td> ";
data += "</tr>";
data += "</table>";
data += "</td>";
data += "<td width='4'>&nbsp;</td>";

data += "<td width='65' height='25' valign='top' style='padding:1px 0 0 0;'>";
data += "<a href='#' onclick='moveSech();'><img src='"+img_url+"/images/common/button/btn_search.gif' alt='&#44160;&#49353;'title='&#44160;&#49353;' /></a></td>";
data += "<td width='10'>&nbsp;</td>";

data += "<td width='212' height='25' style='padding:1px 0 0 0;'>";
data += "<table width='100%' height='100%' border='0' cellspacing='0' cellpadding='0' style='border: solid 3px #878787;' bgcolor='#ffffff'>";
data += "<tr>";
data += "<td valign='middle'>";
data += "<input readonly onmousedown=\"Plan_Toggletab1('plan_s2','view02');\"  id='text2342342field' type='text' name='text2342342field' value='&#51204;&#52404; &#50668;&#54665; &#44592;&#54925;&#51204; &#48372;&#44592;' class='search_input' style='cursor:hand;width:188px;height:15px;border:solid 0px;padding: 1px 0 0 5px;line-height:13px;'/>";
data += "</td>";
data += "<td style='padding:1px 0 0 0;'>";
data += "<img src='"+img_url+"/images/common/menu/top/select_btn.gif' width='16' height='17' style='cursor: hand' onmousedown=\"Plan_Toggletab1('plan_s2','view02');\" id='view02'/>";
data += "</td>";
data += "</tr>";
data += "</table>";
data += "</td>";
data += "</tr>";
data += "</table>";
data += "</td>";

data += "</tr>";
data += "<tr>";
data += "<td height='8' colspan='9' valign='top'></td>";
data += "</tr>";
data += "</table>";
data += "</td>";
data += "</tr>";
data += "</form>";
data += "</table>";
data += '<div id="an"style="display:none">';
data += '<table width="990" height="190" border="0" cellspacing="1" cellpadding="0" bgcolor="#127cd5" id="link03" >';
data += '<tr>';
data += '<td  width="100%">';
data += '<table width="100%" border="0" cellspacing="1" cellpadding="0" bgcolor="#2e92de">';
data += '<tr>';
data += '<td  width="100%">';
data += '<table width="100%" border="0" cellspacing="1" cellpadding="0" bgcolor="#0069c7">';
data += '<tr>';
data += '<td width="100%" height="186" valign="top" bgcolor="#FFFFFF" style="padding:10px;">';
data += '<table width="100%" border="0" cellspacing="0" cellpadding="0">';
data += '<tr>';
data += '<td colspan="2">';
data += '<table width="960" border="0" cellspacing="0" cellpadding="0">';
data += '<tr>';
data += '<td width="175" valign="top">';
data += '<table border="0" cellspacing="0" cellpadding="0">';
data += '<tr>';
data += '<td class="b col_gray2 font_over_b left"><img src="'+img_url+'/images/common/bullet/icon2.gif" width="3" height="3" align="absmiddle" /> <a href="'+home_url+'/xhtml/plan/templete/templete_A.xhtml?PLAN_SEQ=326">&#49828;&#54168;&#49500;&#50668;&#54665;</a></td>';
data += '</tr>';
data += '<tr>';
data += '<td height="10"> </td>';
data += '</tr>';
data += '<tr>';
data += '<td class="font_over_b1 left">';
data += '<a href="#" onmousedown="javascript:document.location.href=\''+home_url+'/xhtml/plan/templete/templete_A.xhtml?PLAN_SEQ=326\';"> <b>&#52264;&#48324;&#54868; &#46108; &#53580;&#47560;&#50668;&#54665;</b></a><br/>';
data += '</tr>';
data += '</table>';
data += '</td>';
data += '<td width="1" class="bg_gray3"></td>';
data += '<td width="100" valign="top" style="padding:0 10px;">';
data += '<table border="0" cellspacing="0" cellpadding="0">';
data += '<tr>';
data += '<td class="b col_gray2 font_over_b left"><img src="'+img_url+'/images/common/bullet/icon2.gif" width="3" height="3" align="absmiddle" /> <a href="'+home_url+'/xhtml/goods/overseas/main.xhtml?ctg=2">&#54644;&#50808;&#50668;&#54665;</a></td>';
data += '</tr>';
data += '<tr>';
data += '<td height="10"></td>';
data += '</tr>';
data += '<tr>';
data += '<td class="font_over_b1 left">';
data += '<a href="#" onmousedown="javascript:document.location.href=\''+home_url+'/xhtml/goods/submain/submain.xhtml?ctg=37\';">&#51068;&#48376;</a><br/>';
data += '<a href="#" onmousedown="javascript:document.location.href=\''+home_url+'/xhtml/goods/submain/submain.xhtml?ctg=36\';">&#46041;&#45224;&#50500;</a><br/>';
data += '<a href="#" onmousedown="javascript:document.location.href=\''+home_url+'/xhtml/goods/submain/submain.xhtml?ctg=26\';">&#51473;&#44397;</a><br/>';
data += '<a href="#" onmousedown="javascript:document.location.href=\''+home_url+'/xhtml/goods/submain/submain.xhtml?ctg=6\';">&#45224;&#53468;&#54217;&#50577;</a><br/>';
data += '<a href="#" onmousedown="javascript:document.location.href=\''+home_url+'/xhtml/goods/submain/submain.xhtml?ctg=7\';">&#48120;&#51452;&#47;&#51473;&#45224;&#48120;</a><br/>';
data += '<a href="#" onmousedown="javascript:document.location.href=\''+home_url+'/xhtml/goods/submain/submain.xhtml?ctg=30\';">&#50976;&#47101;&#47;&#50500;&#54532;&#47532;&#52852;</a><br/>';
data += '<a href="#" onmousedown="javascript:document.location.href=\''+home_url+'/xhtml/goods/submain/submain.xhtml?ctg=620\';">&#48512;&#49328;&#52636;&#48156;</a><br/>';
data += '<a href="#" onmousedown="javascript:document.location.href=\''+home_url+'/xhtml/goods/submain/submain.xhtml?ctg=2640\';">&#44305;&#51452;&#40;&#47924;&#50504;&#41;&#52636;&#48156;</a><br/>';
data += '<a href="#" onmousedown="javascript:document.location.href=\''+home_url+'/xhtml/goods/submain/list.xhtml?ctg=301\';">&#53364;&#47101;&#47700;&#46300;</a><br/>';
data += '<a href="#" onmousedown="javascript:document.location.href=\''+home_url+'/xhtml/goods/submain/submain.xhtml?ctg=9\';">&#53356;&#47336;&#51592;</a><br/>';
data += '<a href="#" onmousedown="javascript:document.location.href=\''+home_url+'/xhtml/goods/submain/list.xhtml?ctg=127\';">&#44264;&#54532;</a></td>';
data += '</tr>';
data += '</table>';
data += '</td>';
data += '<td width="1" class="bg_gray3"></td>';
data += '<td width="100" valign="top" style="padding:0 10px;">';
data += '<table border="0" cellspacing="0" cellpadding="0">';
data += '<tr>';
data += '<td class="b col_gray2 font_over_b left"><img src="'+img_url+'/images/common/bullet/icon2.gif" width="3" height="3" align="absmiddle" /> <a href="'+home_url+'/xhtml/goods/honey/main.xhtml?ctg=4">&#54728;&#45768;&#47928;</a></td>';
data += '</tr>';
data += '<tr>';
data += '<td height="10"></td>';
data += '</tr>';
data += '<tr>';
data += '<td class="font_over_b1 left">';
data += '<a href="#" onmousedown="javascript:document.location.href=\''+home_url+'/xhtml/goods/submain/submain.xhtml?ctg=385\';">&#46041;&#45224;&#50500;</a><br/>';
data += '<a href="#" onmousedown="javascript:document.location.href=\''+home_url+'/xhtml/goods/submain/submain.xhtml?ctg=395\';">&#45224;&#53468;&#54217;&#50577;</a><br/>';
data += '<a href="#" onmousedown="javascript:document.location.href=\''+home_url+'/xhtml/goods/submain/submain.xhtml?ctg=404\';">&#50976;&#47101;</a><br/>';
data += '<a href="#" onmousedown="javascript:document.location.href=\''+home_url+'/xhtml/goods/submain/submain.xhtml?ctg=410\';">&#48120;&#51452;</a><br/>';
data += '<a href="#" onmousedown="javascript:document.location.href=\''+home_url+'/xhtml/goods/submain/submain.xhtml?ctg=414\';">&#51068;&#48376;</a><br/>';
data += '<a href="#" onmousedown="javascript:document.location.href=\''+home_url+'/xhtml/goods/submain/submain.xhtml?ctg=420\';">&#51473;&#44397;</a><br/>';
data += '<a href="#" onmousedown="javascript:document.location.href=\''+home_url+'/xhtml/goods/submain/submain.xhtml?ctg=660\';">&#48512;&#49328;&#52636;&#48156;</a><br/>';
data += '<a href="#" onmousedown="javascript:document.location.href=\''+home_url+'/xhtml/goods/submain/list.xhtml?ctg=668\';">&#53364;&#47101;&#47700;&#46300;</a><br/>';
data += '<a href="#" onmousedown="javascript:document.location.href=\''+home_url+'/xhtml/goods/submain/list.xhtml?ctg=669\';">&#53356;&#47336;&#51592;</a><br />';
data += '<a href="#" onmousedown="javascript:document.location.href=\''+home_url+'/xhtml/goods/submain/list.xhtml?ctg=2077\';">&#44256;&#54408;&#44201; &#47532;&#51312;&#53944;</a><br/>';
data += '<a href="#" onmousedown="javascript:document.location.href=\''+home_url+'/xhtml/goods/submain/submain.xhtml?ctg=2450\';">&#51228;&#51452;&#46020;</a></td>';
data += '</tr>';
data += '</table>';
data += '</td>';
data += '<td width="1" class="bg_gray3"></td>';
data += '<td width="100" valign="top" style="padding:0 10px;">';
data += '<table border="0" cellspacing="0" cellpadding="0">';
data += '<tr>';
data += '<td class="b col_gray2 font_over_b left"><img src="'+img_url+'/images/common/bullet/icon2.gif" width="3" height="3" align="absmiddle" /> <a href="'+home_url+'/xhtml/goods/free/main.xhtml?ctg=3">&#51088;&#50976;&#50668;&#54665;</a></td>';
data += '</tr>';
data += '<tr>';
data += '<td height="10"></td>';
data += '</tr>';
data += '<tr>';
data += '<td class="font_over_b1 left">';
data += '<a href="#" onmousedown="javascript:document.location.href=\''+home_url+'/xhtml/goods/submain/submain.xhtml?ctg=331\';">&#51068;&#48376;</a><br />';
data += '<a href="#" onmousedown="javascript:document.location.href=\''+home_url+'/xhtml/goods/submain/submain.xhtml?ctg=338\';">&#46041;&#45224;&#50500;</a><br />';
data += '<a href="#" onmousedown="javascript:document.location.href=\''+home_url+'/xhtml/goods/submain/submain.xhtml?ctg=353\';">&#51473;&#44397;</a><br/>';
data += '<a href="#" onmousedown="javascript:document.location.href=\''+home_url+'/xhtml/goods/submain/submain.xhtml?ctg=356\';">&#45224;&#53468;&#54217;&#50577;</a><br/>';
data += '<a href="#" onmousedown="javascript:document.location.href=\''+home_url+'/xhtml/goods/submain/submain.xhtml?ctg=370\';">&#48120;&#51452;</a></td>';
data += '</tr>';
data += '</table>';
data += '</td>';
data += '<td width="1" class="bg_gray3"></td>';
data += '<td width="90" valign="top" style="padding:0 10px;">';
data += '<table border="0" cellspacing="0" cellpadding="0">';
data += '<tr>';
data += '<td class="b col_gray2 font_over_b left"><img src="'+img_url+'/images/common/bullet/icon2.gif" width="3" height="3" align="absmiddle" /> <a href="'+home_url+'/xhtml/hotel/air_submain.xhtml">&#54637;&#44277;&#47;&#54840;&#53588;</a></td>';
data += '</tr>';
data += '<tr>';
data += '<td height="10"></td>';
data += '</tr>';
data += '<tr>';
data += '<td class="font_over_b1 left">';
data += '<a href="#" onmousedown="javascript:document.location.href=\'http://air.lottejtb.com/web/b2c/air/international/doTripInput.action?trip_mode=intTripMain&mall_cd='+mall_cd+'\';">&#49892;&#49884;&#44036;&#54637;&#44277;</a><br/>';
data += '<a href="#" onmousedown="javascript:document.location.href=\''+home_url+'/xhtml/hotel/air_zonelive_1.xhtml\';">&#49892;&#49884;&#44036;&#54840;&#53588;</a><br/>';
data += '<a href="#" onmousedown="javascript:document.location.href=\'http://air.lottejtb.com/web/b2c/air/international/doTripInput.action?trip_mode=airTel&mall_cd='+mall_cd+'\';">&#50640;&#50612;&#53588;</a><br/>';
data += '<a href="#" onmousedown="javascript:document.location.href=\'http://air.lottejtb.com/web/b2c/air/international/doSaleFareList.action?sfSaleType=Early&mall_cd='+mall_cd+'\';">&#50508;&#46896;&#54637;&#44277;&#44428;</a></td>';
data += '</tr>';
data += '</table>';
data += '</td>';
data += '<td width="1" class="bg_gray3"></td>';
data += '<td width="105" valign="top" style="padding:0 10px;">';
data += '<table border="0" cellspacing="0" cellpadding="0">';
data += '<tr>';
data += '<td class="b col_gray2 font_over_b left"><img src="'+img_url+'/images/common/bullet/icon2.gif" width="3" height="3" align="absmiddle" /> <a href="'+home_url+'/xhtml/goods/domestic/main.xhtml?ctg=5">&#44397;&#45236;&#50668;&#54665;</a></td>';
data += '</tr>';
data += '<tr>';
data += '<td height="10"></td>';
data += '</tr>';
data += '<tr>';
data += '<td class="font_over_b1 left">';
data += '<a href="#" onmousedown="javascript:document.location.href=\''+home_url+'/xhtml/goods/submain/submain.xhtml?ctg=2625\';">&#47749;&#54408;&#44397;&#45236;</a><br />';
data += '<a href="#" onmousedown="javascript:document.location.href=\''+home_url+'/xhtml/goods/submain/submain.xhtml?ctg=2450\';">&#51228;&#51452;&#50668;&#54665;</a><br />';
data += '<a href="#" onmousedown="javascript:document.location.href=\''+home_url+'/xhtml/goods/submain/submain.xhtml?ctg=2460\';">&#45236;&#47449;&#47;&#49452;&#50668;&#54665;</a><br />';
data += '<a href="#" onmousedown="javascript:document.location.href=\''+home_url+'/xhtml/goods/submain/submain.xhtml?ctg=2498\';">&#48512;&#49328;&#52636;&#48156;</a><br />';
data += '<a href="#" onmousedown="javascript:document.location.href=\'http://dht1.lottejtb.com/s/index.jejudo\';">&#44397;&#45236;&#49689;&#48149;</a><br />';
data += '<a href="#" onmousedown="javascript:document.location.href=\''+home_url+'/xhtml/goods/domestic/domestic_jeju.xhtml\';">&#47116;&#53552;&#52852;</a><br />';
data += '<a href="#" onmousedown="javascript:document.location.href=\'http://dht1.lottejtb.com/a/index.jejudo\';">&#51228;&#51452;&#46020;&#54624;&#51064;&#54637;&#44277;</a><br />';
data += '</tr>';
data += '</table>';
data += '</td>';
data += '<td width="1" class="bg_gray3"></td>';
data += '<td width="120" valign="top" style="padding:0 10px;">';
data += '<table border="0" cellspacing="0" cellpadding="0">';
data += '<tr>';
data += '<td class="b col_gray2 font_over_b left"><img src="'+img_url+'/images/common/bullet/icon2.gif" width="3" height="3" align="absmiddle" /> <a href="'+home_url+'/xhtml/goods/submain/list.xhtml?ctg=442">&#50500;&#33;&#45824;&#54620;&#48124;&#44397;</a></td>';
data += '</tr>';
data += '<tr>';
data += '<td height="10"></td>';
data += '</tr>';
data += '<tr>';
data += '<td class="font_over_b1 left">';
data += '<a href="#" onmousedown="javascript:document.location.href=\''+home_url+'/xhtml/goods/submain/submain.xhtml?ctg=2625\';">&#47215;&#45936;&#44032; &#47564;&#46304; &#47749;&#54408;&#50668;&#54665; </a><br/>';
data += '</tr>';
data += '</table>';
data += '</td>';
data += '</tr>';
data += '</table>';
data += '</td>';
data += '</tr>';
data += '</table>';
data += '</td>';
data += '</tr>';
data += '</table>';
data += '</td>';
data += '</tr>';
data += '</table>';
data += '</td>';
data += '</tr>';
data += '</table>';
data += '</div>';
data += "<div id='search_select'class='left'style='display: none;cursor:hand;'>";
data += "<table width='118' height='100' border='0' cellspacing='0' cellpadding='0' bgcolor='#FFFFFF'>";
data += "<tr>";
data += "<td class='left'valign='top'style='padding:0 0 0 3px;border:solid 3px #878787'>";
data += "<table width='100%' height='100%' border='0' cellspacing='0' cellpadding='0'>";
data += "<tr>";
data += "<td class='left'width='89' style='padding: 2px 2px 2px 2px;' valign='top'>";
data += "<div id='search.popup'>";
data += "<div id='search.item0'class='left'style='width:85px;height:18px;'value='&#53685;&#54633;&#44160;&#49353;'onmousedown='sech(this);'onmouseover='mOver(this);'onmouseout='mDown(this);'>&#53685;&#54633;&#44160;&#49353;</div>";
data += "<div id='search.item1'class='left'style='width:85px;height:18px;'value='&#50668;&#54665;&#49345;&#54408;'onmousedown='sech(this);'onmouseover='mOver(this);'onmouseout='mDown(this);'>&#50668;&#54665;&#49345;&#54408;</div>";
data += "<div id='search.item2'class='left'style='width:85px;height:18px;'value='&#44592;&#54925;&#51204;'onmousedown='sech(this);'onmouseover='mOver(this);'onmouseout='mDown(this);'>&#44592;&#54925;&#51204;</div>";
data += "<div id='search.item3'class='left'style='width:85px;height:18px;'value='&#50668;&#54665;&#51221;&#48372;'onmousedown='sech(this);'onmouseover='mOver(this);'onmouseout='mDown(this);'>&#50668;&#54665;&#51221;&#48372;</div>";
data += "<div id='search.item4'class='left'style='width:85px;height:18px;'value='&#49345;&#54408;&#54217;'onmousedown='sech(this);'onmouseover='mOver(this);'onmouseout='mDown(this);'>&#49345;&#54408;&#54217;</div>";
data += "</div>";
data += "</td>";
data += "<td valign='top' style='padding:1px 0 0 1px;'>";
data += "<img src='"+img_url+"/images/common/menu/top/select_btn_3.gif' onclick='ss_Hidden();' style='cursor:hand' width='16' height='17' />";
data += "</td>";
data += "</tr>";
data += "</table>";
data += "</td>";
data += "</tr>";
data += "</table>";
data += "</div>";
data += "<div id='searchKeyword_suggestions' style='display: none;'>";
data +="</div>";
data += "<div id='plan_s2' style='display: none;'>";
data += "</div>";

if (connectType != 'B') {
document.write(data);
}

var fnAjax = new Object();
var fnAjax = function(url,obj,layer,hit) {
var Req = newXMLHttp();
var url   = url ;
if(typeof obj == null) {
var method = 'GET';
var data   = null;
url   += '&' + obj;
}
else {
var method    = "POST";
var data    = dataEncode(obj);
var historyData = data;
}
Req.onreadystatechange = function () {
if(Req.readyState == 4) {
try {
var error = (Req.status != 200 && Req.statusText);
if(error == false) ReqDataParser(Req, historyData, hit,layer);
//else alert(Req.status +' : '+ Req.statusText);
} catch(e) {
if(Req.status == 200){
ReqDataParser(Req, historyData, hit,layer);
}
}
}
}
Req.open(method, url, false);
Req.send(data);
return false;
}
function dataEncode(docForm) {
var formElement = '';
var lastElementName = '';
var submitString = '';
for(i = 0 ; i < docForm.elements.length ; i++) {
formElement = docForm.elements[i];
switch(formElement.type){
case 'hidden':
submitString += encodeURIComponent(formElement.name) + '=' + encodeURIComponent(formElement.value) + '&';
break;
case 'text':
submitString += encodeURIComponent(formElement.name) + '=' + encodeURIComponent(formElement.value) + '&';
break;
case 'password':
submitString += encodeURIComponent(formElement.name) + '=' + encodeURIComponent(formElement.value) + '&';
break;
}
}
submitString = submitString.substring(0, submitString.length -1 ); 
return submitString;
}
function ReqDataParser(Req, historyData, hit, layer) {
var searchKeywordDiv= document.getElementById(layer);
searchKeywordDiv.innerHTML= Req.responseText; 
searchKeywordDiv.style.visibility= "visible"; 
}
function newXMLHttp() {
var xmlHttpRequest = false;
if(window.ActiveXObject) { // IE
try {
xmlHttpRequest = new ActiveXObject("Msxml2.XMLHTTP");
} catch (e) {
try {
xmlHttpRequest = new ActiveXObject("Microsoft.XMLHTTP");
} catch (e) {}
}
}
else if(window.XMLHttpRequest) { // Mozilla, Safari,...
xmlHttpRequest = new XMLHttpRequest();
if(xmlHttpRequest.overrideMimeType) {
xmlHttpRequest.overrideMimeType('text/html');  // See note below about this line
}
}
return xmlHttpRequest;
}
//-->