document.write("if(typeof(window.console) == 'undefined') {console = { log: function () { } }; }/* Default Setting */window.adMall_setting_00SJ = { productname: 'TOUCH', pageid: '00SJ', spread: {from:\"2%\",to:\"2%\"}, speed: {showdelay:1000,fadein:400,animation:400}, adshowArea: {minscroll:50,top:0,bottom:99999}, adtagKind : 'scr"+"ipt', adStyle : {border:'none',height:'50px', top:'50px',bottom:'',margin:'0px 3px 0px 0px',padding:'10px 12px',background:'#f7f7f7'}, adpathUrl : 'http://ad.adinc.kr/cgi-bin/Pelicanc.dll?impr', adpathData : 'pageid={pageid}&slot={slot},0&nowdt={nowtime}&lang=&out=iframe'};(function () { console.log('adstart'); if (typeof(window.adMall_00SJ) != 'undefined') return; adMall_00SJ = new Object(); adMall_00SJ.ad = function (set) { this.setting = set; }; adMall_00SJ.ad.prototype.showAD = function () { var setting=this.setting; try {console.log(\"new2\"); if(typeof(jQuery(\"#adMall_popup_00SJ\").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_00SJAd.clearTimer(); adMall_00SJAd.getBanner(); jQuery(\"#adMall_popup_00SJ\").show(); jQuery(\"#adMall_popup_sub_00SJ\").show(); jQuery(\"#touch_00SJ_icon\").hide(); jQuery(\"#touch_00SJ_close\").hide(); jQuery(\"#adMall_popup_00SJ\").css({\"left\":setting.spread.from,\"right\":setting.spread.from}); adMall_00SJAd.moVing(); jQuery(\"#touch_00SJ_icon\").show(); jQuery(\"#touch_00SJ_close\").show(); }catch(e) { console.log('showAD error : '+e.message); } }; adMall_00SJ.ad.prototype.hideAD = function () { var setting=this.setting; try { adMall_00SJAd.clearTimer(); if(jQuery(\"#adMall_popup_00SJ\").css(\"display\") != \"none\") { jQuery(\"#adMall_popup_00SJ\").hide().css({\"left\":setting.spread.from,\"right\":setting.spread.from}); } }catch(e) { console.log('hideAD error : '+e.message); } }; adMall_00SJ.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_00SJ.ad.prototype.setTimer = function () { var setting=this.setting; try { adMall_00SJAd.clearTimer(); setting._show_timer=setInterval(\"adMall_00SJAd.showAD()\", setting.speed.showdelay); }catch(e) { console.log('setTimer error : '+e.message); } }; adMall_00SJ.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_00SJ\").css(\"left\"); var l_adMall_popupElement_right=jQuery(\"#adMall_popup_00SJ\").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()) return; adMall_00SJAd.setTimer(); }catch(e) { console.log('scRoll error : '+e.message); } }; adMall_00SJ.ad.prototype.closeWin = function () { var setting=this.setting; try { jQuery(\"#adMall_popup_00SJ\").attr(\"close\",\"1\"); jQuery(\"#adMall_popup_00SJ\").css(\"display\",\"none\"); }catch(e) { console.log('closeWin error : '+e.message); } }; adMall_00SJ.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_00SJ\").html(l_frametag); }catch(e) { console.log('getBanner error : '+e.message); } };})();try{ jQuery(document).ready(function(){ /*매체별 설정*/ /*파이넨셜*/ if(document.domain.toLowerCase().indexOf(\".fnnews.com\")>=0) { adMall_setting_00SJ.adStyle.top=\"10px\"; adMall_setting_00SJ.adshowArea.top=200; } /*뉴스원*/ if(document.domain.toLowerCase().indexOf(\".news1.kr\")>=0) { adMall_setting_00SJ.speed.showdelay=2000; adMall_setting_00SJ.spread.from=\"2%\"; adMall_setting_00SJ.adStyle.top=\"\"; adMall_setting_00SJ.adStyle.bottom=\"70px\"; adMall_setting_00SJ.adStyle.height=\"70px\"; } /*줌*/ if(document.domain.toLowerCase().indexOf(\"mediaxoom.co.kr\")>=0) { adMall_setting_00SJ.adStyle.height=\"70px\"; } /*TV리포트*/ if(document.domain.toLowerCase().indexOf(\".tvreport.co.kr\")>=0) { adMall_setting_00SJ.spread.from=\"2%\"; } /*뉴스엔*/ if(document.domain.toLowerCase().indexOf(\".newsen.com\")>=0) { adMall_setting_00SJ.spread.from=\"2%\"; } /*스포탈코리아*/ if(document.domain.toLowerCase().indexOf(\".sportalkorea.com\")>=0) { adMall_setting_00SJ.spread.from=\"2%\"; } /*이데일리*/ if(document.domain.toLowerCase().indexOf(\".edaily.co.kr\")>=0) { adMall_setting_00SJ.spread.from=\"2%\"; } /*조선일보*/ if(document.domain.toLowerCase().indexOf(\".chosun.com\")>=0 || document.domain.toLowerCase().indexOf(\".chosun.co.kr\")>=0) { adMall_setting_00SJ.speed.showdelay=2000; adMall_setting_00SJ.spread.from=\"2%\"; } /*헤럴드경제*/ if(document.domain.toLowerCase().indexOf(\".heraldbiz.com\")>=0) { adMall_setting_00SJ.spread.from=\"50%\"; } /*이투데이*/ if(document.domain.toLowerCase().indexOf(\".etoday.co.kr\")>=0) { adMall_setting_00SJ.spread.from=\"50%\"; } /*MK 스포츠 */ if(document.domain.toLowerCase().indexOf(\"m.mk.co.kr\")>=0) { adMall_setting_00SJ.adshowArea.minscroll=430; } /* MBN스타 */ if(document.domain.toLowerCase().indexOf(\"m.mbn.co.kr\")>=0) { adMall_setting_00SJ.adshowArea.minscroll=430; } /*서울신문*/ if(document.domain.toLowerCase().indexOf(\".seoul.co.kr\")>=0) { adMall_setting_00SJ.speed.showdelay=2000; } /*스포츠월드*/ if(document.domain.toLowerCase().indexOf(\".sportsworldi.com\")>=0) { adMall_setting_00SJ.speed.showdelay=2000; adMall_setting_00SJ.spread.from=\"50%\"; } /*세계일보 */ if(document.domain.toLowerCase().indexOf(\".segye.com\")>=0) { adMall_setting_00SJ.speed.showdelay=2000; adMall_setting_00SJ.spread.from=\"50%\"; } /*티브이데일리 */ if(document.domain.toLowerCase().indexOf(\".tvdaily.co.kr\")>=0) { adMall_setting_00SJ.adshowArea.top=150; adMall_setting_00SJ.spread.from=\"2%\"; } /* 탑피드 */ if(document.domain.toLowerCase().indexOf(\"topfeed.me\")>=0) { adMall_setting_00SJ.adStyle.height=\"70px\"; } /*광고 영역 속성값 설정 */ for (var key in adMall_setting_00SJ.adStyle) { jQuery(\"#adMall_popup_00SJ\").css(key,adMall_setting_00SJ.adStyle[key]); } /*객체생성*/ window.adMall_00SJAd = new adMall_00SJ.ad(adMall_setting_00SJ); /*스크롤 이벤트 추가 */ if (window.addEventListener) { window.addEventListener(\"scroll\", adMall_00SJAd.scRoll, false); } else { window.attachEvent('onscroll', adMall_00SJAd.scRoll);}; ;; });}catch(e){ ; };
"); document.write("window.foin_cookie_setting = { html5 : true, slotNum : \"\", cookieName : \"\", targetCode : \"\", cookieVal : \"\", adServerUrl : \"http://ad.adinc.kr/cgi-bin/PelicanC.dll\", refServerUrl : 'http://engine.tend-table.com/cgi-bin/WebLog.dll'}; ");