document.write("if(typeof(window.console) == 'undefined') { console = { log: function () { } }; }/* Default Setting */window.adMall_setting_06mx = { cloneid : 'header', productname: 'TOUCH', pageid: '06mx', spread: {from:\"0\",to:\"0\"}, speed: {showdelay:800,fadein:400,animation:400}, adshowArea: {minscroll:0,top:0,bottom:99999}, adtagKind : 'scr"+"ipt', adStyle : {border:'none', width:'100%', top:'',bottom:'0',margin:'0px 0px 0px 0px',padding:'0px 0px',background:'#fff'}, adpathUrl : 'http://ad.adinc.kr/cgi-bin/Pelicanc.dll?impr', adpathData : 'pageid={pageid}&slot={slot},0&nowdt={nowtime}&lang=&out=iframe'};$.fn.scrollEnd = function(callback, timeout) { $(this).scroll(function(){ var $this = $(this); if ($this.data('scrollTimeout')) { clearTimeout($this.data('scrollTimeout')); } $this.data('scrollTimeout', setTimeout(callback,timeout)); });};(function () { /* 스트립트 생성시 무조건 안보이게 광고 영역폼을 생성한다. */ /* adMall_popup_06mx 광고 전체 영역 adMall_popup_sub_06mx 하위영역 adMall_ad_area_06mx 표시영역 */ $(\"body\").append('
'+ '
'+ '
'+ '
'+ '
'); if (typeof(window.adMall_06mx) != 'undefined') return; adMall_06mx = new Object(); adMall_06mx.ad = function (set) { this.setting = set; }; /* 광고의 초기화 */ adMall_06mx.ad.prototype.init = function () { var setting=this.setting; var height; try { /*광고 영역 속성값 설정 */ for (var key in setting.adStyle) { jQuery(\"#adMall_popup_06mx\").css(key,setting.adStyle[key]); } }catch(e) { console.log('init error : '+e.message); } }; /* 배너 가져오기 */ adMall_06mx.ad.prototype.getBanner = function () { var setting=this.setting; try { $.ajax({ type: \"GET\", async: true, data: \"pageid=\" + setting.pageid + \"&slot=1,0&lang=utf-8&out=json\", url: \"http://ad.adinc.kr/cgi-bin/pelicanc.dll?impr\", cache: false, dataType: \"jsonp\", jsonp: \"jquerycallback\", success: function(data){ var tag = ''; jQuery(\"#adMall_ad_area_\" + setting.pageid).html(tag); }, error: function(xhr, status, error) { ; } }); }catch(e) { console.log('getBanner error : '+e.message); } };})();try{ jQuery(document).ready(function(){ /*객체생성*/ window.adMall_06mxAd = new adMall_06mx.ad(adMall_setting_06mx); /* 최초 광고 생성 */ adMall_06mxAd.init(); $(window).scroll(function(){ $(\"#adMall_popup_06mx\").animate({\"bottom\":\"-100px\"},100); }); $(window).scrollEnd(function(){ adMall_06mxAd.getBanner(); $(\"#adMall_popup_06mx\").stop(true,true).animate({\"bottom\":\"-3px\"}); },1000); });}catch(e){ ; };
")