document.write("if(typeof(window.console) == 'undefined') {console = { log: function () { } }; }/* Default Setting */window.adMall_setting_05hp = { productname: 'TOUCH', pageid: '08X5', spread: {from:\"2%\",to:\"2%\"}, speed: {showdelay:1000,fadein:400,animation:400}, adshowArea: {minscroll:50,top:0,bottom:99999}, adtagKind : 'scr"+"ipt', adStyle : {height:'90px', top:'110px',bottom:''}, adpathUrl : 'https://ad.adinc.kr/cgi-bin/Pelicanc.dll?impr', adpathData : 'pageid={pageid}&nowdt={nowtime}&lang=&out=iframe'};(function () { console.log('adstart'); if (typeof(window.adMall_05hp) != 'undefined') return; adMall_05hp = new Object(); adMall_05hp.ad = function (set) { this.setting = set; }; adMall_05hp.ad.prototype.showAD = function () { var setting=this.setting; try {console.log(\"new2\"); if(typeof(jQuery(\"#adMall_popup_05hp\").attr(\"close\"))!='undefined') return; if(isNaN(setting.adshowArea.top)==true) { try { setting.adshowArea.top=jQuery(setting.adshowArea.top).offset().top; }catch(e3){ setting.adshowArea.top=0; }; } if(isNaN(setting.adshowArea.bottom)==true) { try { setting.adshowArea.bottom=jQuery(setting.adshowArea.bottom).offset().top; }catch(e3){ setting.adshowArea.bottom=99999; }; } /*광고가 노출되는 화면 위치를 계산 */ var l_adTop=0; var l_adBottom=jQuery(window).height(); /*top우선 적용됨*/ if(setting.adStyle.top.length>0) { l_adTop+=jQuery(document).scrollTop(); if(setting.adStyle.top.indexOf(\"%\")>=0) { l_adTop+=Math.floor(jQuery(document).height()*Number(setting.adStyle.top.replace(/[^0-9.]/g, ''))/100); } else { l_adTop+=Number(setting.adStyle.top.replace(/[^0-9.]/g, '')); } l_adBottom=l_adTop+Number(setting.adStyle.height.replace(/[^0-9.]/g, '')); } else if(setting.adStyle.bottom.length>0) { l_adBottom+=jQuery(document).scrollTop(); if(setting.adStyle.bottom.indexOf(\"%\")>=0) { l_adBottom-=Math.floor(jQuery(document).height()*Number(setting.adStyle.bottom.replace(/[^0-9.]/g, ''))/100); } else { l_adBottom-=Number(setting.adStyle.bottom.replace(/[^0-9.]/g, '')); } l_adTop=l_adBottom-Number(setting.adStyle.height.replace(/[^0-9.]/g, '')); } if(l_adTopsetting.adshowArea.bottom) return; adMall_05hpAd.clearTimer(); adMall_05hpAd.getBanner(); jQuery(\"#adMall_popup_05hp\").show(); jQuery(\"#adMall_popup_sub_05hp\").show(); jQuery(\"#touch_05hp_icon\").hide(); jQuery(\"#touch_05hp_close\").hide(); jQuery(\"#adMall_popup_05hp\").css({\"left\":setting.spread.from,\"right\":setting.spread.from}); adMall_05hpAd.moVing(); jQuery(\"#touch_05hp_icon\").show(); jQuery(\"#touch_05hp_close\").show(); }catch(e) { console.log('showAD error : '+e.message); } }; adMall_05hp.ad.prototype.hideAD = function () { var setting=this.setting; try { adMall_05hpAd.clearTimer(); if(jQuery(\"#adMall_popup_05hp\").css(\"display\") != \"none\") { jQuery(\"#adMall_popup_05hp\").hide().css({\"left\":setting.spread.from,\"right\":setting.spread.from}); } }catch(e) { console.log('hideAD error : '+e.message); } }; adMall_05hp.ad.prototype.clearTimer = function () { var setting=this.setting; try { if(!(typeof(setting._moVing_Timer)=='undefined' || setting._moVing_Timer==null)) { clearInterval(setting._moVing_Timer); setting._moVing_Timer=null; } if(!(typeof(setting._show_timer)=='undefined' || setting._show_timer==null)) { clearInterval(setting._show_timer); setting._show_timer=null; } }catch(e) { console.log('clearTimer error : '+e.message); } }; adMall_05hp.ad.prototype.setTimer = function () { var setting=this.setting; try { adMall_05hpAd.clearTimer(); setting._show_timer=setInterval(\"adMall_05hpAd.showAD()\", setting.speed.showdelay); }catch(e) { console.log('setTimer error : '+e.message); } }; adMall_05hp.ad.prototype.moVing = function () { var setting=this.setting; if(typeof(setting._moVing_status)=='undefined' || setting._moVing_status==null || setting._moVing_status=='end') { setting._moVing_status=\"begin\"; } try { var l_adMall_popupElement_left=jQuery(\"#adMall_popup_05hp\").css(\"left\"); var l_adMall_popupElement_right=jQuery(\"#adMall_popup_05hp\").css(\"right\"); var l_adMall_document_width=jQuery(document).width(); var l_adMall_popupElement_move=setting.spread.to; if(l_adMall_popupElement_move.indexOf(\"%\")>=0) { l_adMall_popupElement_move=Math.floor(l_adMall_document_width*l_adMall_popupElement_move.replace(/[^0-9.]/g, '')/100); } else { l_adMall_popupElement_move=l_adMall_popupElement_move.replace(/[^0-9.]/g, ''); l_adMall_popupElement_move=Math.floor(Number(l_adMall_popupElement_move)); } var l_adMall_isAnimate=false; if(l_adMall_popupElement_left.indexOf(\"%\")>=0) l_adMall_popupElement_left=Math.floor(l_adMall_document_width*l_adMall_popupElement_left.replace(/[^0-9.]/g, '')/100); else l_adMall_popupElement_left=Number(l_adMall_popupElement_left.replace(/[^0-9.]/g, '')); if(l_adMall_popupElement_right.indexOf(\"%\")>=0) l_adMall_popupElement_right=Math.floor(l_adMall_document_width*l_adMall_popupElement_right.replace(/[^0-9.]/g, '')/100); else l_adMall_popupElement_right=Number(l_adMall_popupElement_right.replace(/[^0-9.]/g, '')); if(l_adMall_popupElement_left>l_adMall_popupElement_move) { var l_adMall_move_px=l_adMall_popupElement_left-10; if(l_adMall_move_pxl_adMall_popupElement_move) { var l_adMall_move_px=l_adMall_popupElement_right-10; if(l_adMall_move_pxjQuery(document).scrollTop()) { adMall_05hpAd.hideAD(); return; } adMall_05hpAd.setTimer(); }catch(e) { console.log('scRoll error : '+e.message); } }; adMall_05hp.ad.prototype.closeWin = function () { var setting=this.setting; try { jQuery(\"#adMall_popup_05hp\").attr(\"close\",\"1\"); jQuery(\"#adMall_popup_05hp\").css(\"display\",\"none\"); }catch(e) { console.log('closeWin error : '+e.message); } }; adMall_05hp.ad.prototype.getBanner = function () { var setting=this.setting; try {/* var l_adMall_system_date=new Date(); var adUrl=setting.adpathUrl; adUrl+=\"?\"; adUrl+=setting.adpathData; adUrl=adUrl.replace(\"{slot}\",\"1\"); adUrl=adUrl.replace(\"{pageid}\",setting.pageid); adUrl=adUrl.replace(\"{nowtime}\",l_adMall_system_date.getTime()); var l_frametag=\"\"; jQuery(\"#adMall_ad_area_05hp\").html(l_frametag);*/ }catch(e) { console.log('getBanner error : '+e.message); } };})();try{/* jQuery(document).ready(function(){ */jQuery(function(){ /*매체별 설정*/ /*파이넨셜*/ if(document.domain.toLowerCase().indexOf(\".fnnews.com\")>=0) { adMall_setting_05hp.adStyle.top=\"10px\"; adMall_setting_05hp.adshowArea.top=200; } /*뉴스원*/ if(document.domain.toLowerCase().indexOf(\".news1.kr\")>=0) { adMall_setting_05hp.speed.showdelay=2000; adMall_setting_05hp.spread.from=\"2%\"; adMall_setting_05hp.adStyle.top=\"\"; adMall_setting_05hp.adStyle.bottom=\"50px\"; } /*TV리포트*/ if(document.domain.toLowerCase().indexOf(\".tvreport.co.kr\")>=0) { adMall_setting_05hp.spread.from=\"2%\"; } /*뉴스엔*/ if(document.domain.toLowerCase().indexOf(\".newsen.com\")>=0) { jQuery('#adMall_popup_05hp').css({'z-index':'99999'}); adMall_setting_05hp.spread.from=\"2%\"; } /*스포탈코리아*/ if(document.domain.toLowerCase().indexOf(\".sportalkorea.com\")>=0) { adMall_setting_05hp.spread.from=\"2%\"; } /*이데일리*/ if(document.domain.toLowerCase().indexOf(\".edaily.co.kr\")>=0) { adMall_setting_05hp.spread.from=\"2%\"; } /*조선일보*/ if(document.domain.toLowerCase().indexOf(\".chosun.com\")>=0 || document.domain.toLowerCase().indexOf(\".chosun.co.kr\")>=0) { adMall_setting_05hp.speed.showdelay=2000; adMall_setting_05hp.spread.from=\"2%\"; } /*헤럴드경제*/ if(document.domain.toLowerCase().indexOf(\".heraldbiz.com\")>=0) { adMall_setting_05hp.spread.from=\"50%\"; } /*이투데이*/ if(document.domain.toLowerCase().indexOf(\".etoday.co.kr\")>=0) { adMall_setting_05hp.spread.from=\"50%\"; } /*MK 스포츠 */ if(document.domain.toLowerCase().indexOf(\"m.mk.co.kr\")>=0) { adMall_setting_05hp.adshowArea.top=100; adMall_setting_05hp.spread.from=\"2%\"; } /* MBN스타 */ if(document.domain.toLowerCase().indexOf(\"m.mbn.co.kr\")>=0) { adMall_setting_05hp.adshowArea.top=100; adMall_setting_05hp.spread.from=\"2%\"; } /*서울신문*/ if(document.domain.toLowerCase().indexOf(\".seoul.co.kr\")>=0) { adMall_setting_05hp.speed.showdelay=2000; } /*스포츠월드*/ if(document.domain.toLowerCase().indexOf(\".sportsworldi.com\")>=0) { adMall_setting_05hp.speed.showdelay=2000; adMall_setting_05hp.spread.from=\"50%\"; } /*세계일보 */ if(document.domain.toLowerCase().indexOf(\".segye.com\")>=0) { adMall_setting_05hp.speed.showdelay=2000; adMall_setting_05hp.spread.from=\"50%\"; } /*티브이데일리 */ if(document.domain.toLowerCase().indexOf(\".tvdaily.co.kr\")>=0) { adMall_setting_05hp.adshowArea.top=150; adMall_setting_05hp.spread.from=\"2%\"; } /* 탑피드 */ if(document.domain.toLowerCase().indexOf(\".topfeed.me\")>=0) { adMall_setting_05hp.adStyle.height=70; } /* 마이데일리 */ if(document.domain.toLowerCase().indexOf(\".mydaily.co.kr\")>=0) { adMall_setting_05hp.adStyle.height=\"70px\"; } /* 더리더 */ if(document.domain.toLowerCase().indexOf(\".mt.co.kr\")>=0) { adMall_setting_05hp.adStyle.height=\"70px\"; } /* 팸타임즈 */ if(document.domain.toLowerCase().indexOf(\"famtimes.co.kr\")>=0) { adMall_setting_05hp.adStyle.height=\"70px\"; } /*광고 영역 속성값 설정 */ for (var key in adMall_setting_05hp.adStyle) { jQuery(\"#adMall_popup_05hp\").css(key,adMall_setting_05hp.adStyle[key]); } /*객체생성*/ window.adMall_05hpAd = new adMall_05hp.ad(adMall_setting_05hp); /*스크롤 이벤트 추가 */ if (window.addEventListener) { window.addEventListener(\"scroll\", adMall_05hpAd.scRoll, false); } else { window.attachEvent('onscroll', adMall_05hpAd.scRoll);}; ;; });}catch(e){ ; };
x
")