var motherUrl = "https://www.lottetour.com"; function fnPromtionView(seq){ if(typeof(seq) != 'undefined' && seq != null){ location.href = motherUrl + "/promotion/" + seq; } } document.write(''); document.write(''); document.write(''); function fnClosePopup(name) { // 팝업닫기 var e = $("#"+name); e.hide(); if(e.find("input[type=checkbox]").is(":checked")) { fnSetCookie(name, true, 1); } } document.write('
'); document.write('
'); document.write('
'); document.write(' '); document.write(' '); document.write('
'); document.write('
'); document.write('
'); document.write('
'); document.write('

롯데관광 lotte tour

'); document.write(' '); document.write('
'); document.write(' '); document.write('
'); document.write(' '); document.write('
'); document.write('
'); document.write('
'); document.write('
'); document.write(''); document.write(''); document.write(''); $(function(){ resize(); $(window).resize(resize); //gnb all depth show $('#outgnb .all > a').click(function(){ m_GnbOpt.setTotal(); // 전체메뉴 만들기 if($(this).hasClass('on')){ $('.depth').hide(); $(this).removeClass('on'); }else{ $('.depth').hide(); $('#outgnb .inner > ul > li.on').removeClass('on'); $(this).addClass('on'); $(this).next().show(); //$(this).parent().find('.depth_tab li:first-child a').click(); $(this).parent().find('.depth_tab li:eq(0) > a').click(); gnb_all_dl(); } }); funNaviAirCss(); }); // 네비게이션 함수 function funNaviAirCss(){ //gnb depth show $('#outgnb .inner > ul > li > a').mouseenter(function () { // gnb 이벤트 if ($(this).next().is('.depth')) { if(parseInt($(this).closest('li').find('div.depth > div.dls:first').children().length) > 0){ // 하위메뉴가 있을때만 실행 //console.log('실행~!'); $('#suggestionsList').hide(); // 검색 자동완성 창 닫기 $('#outgnb > .inner > .all > a').removeClass('on'); // 전체메뉴보기 버튼 초기화 $('#outgnb .depth').hide(); $(this).siblings().show(); $(this).parent().addClass('on').siblings().removeClass('on'); $('#outgnb .depth').each(function(){ // sub 메뉴 좌표설정 var bw = $(window).width(), cw = $('#container > .inner').width(), offset_l = $(this).parent().offset().left; $(this).css('left',-(offset_l - ((bw - cw) / 2))); }); } } }); $('.depth').mouseleave(function () { $(this).hide(); //$('#outgnb .inner > ul > li').removeClass('on'); $('#outgnb > .inner > .all > a').removeClass('on'); // 전체메뉴보기 버튼 초기화 }); $('.mid').mouseenter(function () { $('#outgnb .depth').hide(); $('#outgnb .inner > ul > li').removeClass('on'); }); }; function gnb_depth(){} function gnb_all_dl(){ $('#outgnb .all .depth02').each(function(){ var h = 0, dl = $(this).children('dl'), ea = dl.length; for(i = 0; i < ea; i++){ if(i == 5){ h = 0; } if(h <= parseInt(dl.eq(i).height())){ h = dl.eq(i).height() }else{ dl.eq(i).height(h) } } $(this).css('min-height',$('#outgnb .all .depth').height()); }); } function resize(){ var bw = $(window).width(), bh = $(window).height(), cw = 1100; if(bw > cw){ $('.gray_box').css({ width : bw, marginLeft : -((bw-cw)/2) }); }else{ $('.gray_box').css({ width : cw, marginLeft : 0 }); } } var level = ""; if("852" != "" && 852 > 0){ level = "1"; }else if("-1" != "" && -1 > 0){ level = "2"; }else if("-1" != "" && -1 > 0){ level = "3"; }else if("-1" != "" && -1 > 0){ level = "4"; } document.write('
'); document.write(' 전체메뉴'); document.write(' '); document.write('
'); document.write(' '); } document.write('
'); document.write('
'); document.write('
'); document.write('
'); document.write('
'); document.write(''); document.write(''); document.write('');