function goMediaLink(mediaUrl){ window.open(mediaUrl, "media_pop", "width=780,height=560, toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=no,copyhistory=yes, resizable=yes"); } function getQuickLink(title){ title = (title!="") ? ""+title+"" : "

퀵링크 

"; document.write(""); } function getQuickLinkArray(){ var arr = [ ]; return arr; } function getQuickLinkCount(){ return 0; } function getGoldLink(){ document.write(""); } function getGoldLinkArray(){ var arr = [ ]; return arr; } function getGoldLinkCount(){ return 0; } document.write(""); var maxPage = 0; var maxPageNumber = 0; var keyword = "삼성물산"; var address = ""; var lat = "37.566826"; var lng = "126.9786567"; var wplMapData = ''; function getPremiumMap(listNum){ document.nutMap.location.href='//adsvc.wisenut.co.kr/map/showMap_utf8.asp?num='+listNum+'&map='+wplMapData } function getPremiumLink(title){ title = (title!="") ? title : "

와이즈플레이스

와이즈플레이스 등록
"; title = title.replace('$wisenut_link$', '//marketing.wisenut.co.kr/mkt/wisenut.jsp'); title = title.replace('$wisenut_adimg$', '//image.wisenut.co.kr/WisenutAD/images/admark/kw_ad_mark.gif'); document.write(""); if(document.wisenut_frm){ document.wisenut_frm.target = 'nutMap'; document.wisenut_frm.action = '//adsvc.wisenut.co.kr/map/showMap2_utf8.asp'; document.wisenut_frm.submit(); } } function getPremiumLinkArray(){ var arr = [ ]; return arr; } function getPremiumLinkCount(){ return 0; } var getJSON = function(url, callback) { xhr = new XMLHttpRequest(); xhr.open('GET', url, true); xhr.onload = function() { var status = xhr.status; if (status === 200) { callback(null, JSON.parse(xhr.response)); } else { callback(status, xhr.response); } }; xhr.send(); }; var page = 1; var pageNumber = 0; function goNextLocalPlace(){ if(pageNumber == maxPageNumber) return; pageNumber = pageNumber + 1; var pageNum = document.getElementsByClassName("localPageNumber"); for(var i = 0; i < pageNum.length; i++){ if(i==0) { pageNum[i].innerHTML = ""+(pageNumber*10 + i + 1)+""; } else { pageNum[i].innerHTML = pageNumber*10 + i + 1; } if(pageNumber*10 + i + 1 > maxPage){ pageNum[i].style.display = "none"; } } page = pageNumber*10 + 1; localPlacePage(1); if(pageNumber == 1) { document.getElementById("localPageLeftImg").style.opacity = "1"; document.getElementById("localPageLeftImg").style.cursor = "pointer"; } else if (pageNumber == maxPageNumber){ document.getElementById("localPageRightImg").style.opacity = "0.4"; document.getElementById("localPageRightImg").style.cursor = "default"; } } function goPreLocalPlace(){ if(pageNumber == maxPageNumber){ document.getElementById("localPageRightImg").style.opacity = "1"; document.getElementById("localPageRightImg").style.cursor = "pointer"; var pageNum = document.getElementsByClassName("localPageNumber"); for(var k = 0; k < pageNum.length; k++){ pageNum[k].style.display = ""; } } else if(pageNumber == 0){ return; } pageNumber = pageNumber - 1; var pageNum = document.getElementsByClassName("localPageNumber"); for(var i = 0; i < pageNum.length; i++){ if(i==0) { pageNum[i].innerHTML = ""+(pageNumber*10 + i + 1)+""; } else { pageNum[i].innerHTML = pageNumber*10 + i + 1; } } page = pageNumber*10 + 1; localPlacePage(1); if(pageNumber == 0) { document.getElementById("localPageLeftImg").style.opacity = "0.4"; document.getElementById("localPageLeftImg").style.cursor = "default"; } } var mapData = ""; function localPlacePage(p){ p = pageNumber*10 + p var result = new Array(); getJSON(encodeURI("//adsvc.wisenut.co.kr/localplace_json_utf8.asp?keyword="+keyword+"&address="+address+"&lat="+lat+"&lng="+lng+"&page="+p+"&scode=1803"), function(err, data) { if (err !== null) { alert('Something went wrong: ' + err); } else { result =data.list; var localUl = document.getElementsByClassName("nutpremium_pre_local"); mapData = ""; for(var i = 0; i < result.length; i++){ var strHtml = ""; strHtml = strHtml + "
  • " + ""+result[i].title+"" + "
  • "; if("N"=="N"){ strHtml = strHtml + "
  • " + "위치보기 " + "" + "지도상세보기" + " " + "" + "길찾기" + "" + "
  • "; } var telUrl = ""; if("N"=="Y" && result[i].telNum != ""){ telUrl = "tel:"+result[i].telNum; } else { telUrl = result[i].clickUrl; } strHtml = strHtml + "
  • " + ""+ result[i].telNum +"" + " "+ result[i].addr +" " + "
  • "; if("N"=="Y"){ strHtml = strHtml + "
  • " + "위치보기 " + "" + "지도상세보기" + " " + "" + "길찾기" + "" + "
  • "; } strHtml = strHtml + result[i].pv; localUl[i].innerHTML = strHtml; mapData = mapData + "{" + " \"lat\" : \""+ result[i].lat + "\", " + " \"lng\" : \""+ result[i].lng + "\", " + " \"title\" : \""+ result[i].title + "\", " + " \"addr\" : \""+ result[i].addr + "\", " + " \"idx\" : \""+ i + "\", " + " \"lpl\" : \"Y\" " + "}, " } mapData = mapData + "{" + " \"count\" : "+ result.length + ","+ " \"map\" : [" + mapData + "]" + "}" var pageNum = document.getElementsByClassName("localPageNumber"); pageNum[(page-1)%10].innerHTML = page; pageNum[(p-1)%10].innerHTML = ""+p+""; page = p; document.nutMap.location.href = "//adsvc.wisenut.co.kr/map/showMap_utf8.asp?num=0&isLocalPlace=Y&map="+mapData; } for(var i=result.length; i

    와이즈링크

    와이즈링크등록
    "; title = (title!="") ? title : "

    와이즈링크

    와이즈링크등록
    "; title = title.replace('$wisenut_link$', '//marketing.wisenut.co.kr/mkt/wisenut.jsp'); title = title.replace('$wisenut_adimg$', '//image.wisenut.co.kr/WisenutAD/images/admark/kw_ad_mark.gif'); document.write("
    "); } function getWiseLinkArray(){ var arr = [ { "title":"키움증권 계좌개설", "description":"모바일로 계좌개설부터 거래까지 한번에! 주식거래 점유율 13년연속 1위 키움증권!", "comment":"모바일로 계좌개설부터 거래까지 한번에! 주식거래 점유율 13년연속 1위 키움증권!", "img":"http://pimage.ncimage.co.kr/favicon/kiwoom.com/favicon.ico", "url":"https://www.kiwoom.com", "click_url":"http://amclick.wisenut.co.kr/adclick/lowClick2.jsp?forward=000061685200052700091803^http%3A%2F%2Fcl%2Encclick%2Eco%2Ekr%2FKeywordClickLog%5FEC%2Easp%3FNCID%3D8E907123C6824877AA7BAAC1C78DBDE5%26nk%3D58519979%26np%3DODA%3D%26nc%3D21117%26cg%3D3%26sl%3Dhttps%253A%252F%252Fwww%252Ekiwoom%252Ecom%252F%26ac%3DbXBrX3dpc2VudXRfNTczNF9ta3NlYXJjaA%3D%3D%26na%3D4%26ns%3D186403%26ryn%3D130", "media_use":"", "media_url":"javascript:goMediaLink('모바일로 계좌개설부터 거래까지 한번에! 주식거래 점유율 13년연속 1위 키움증권!')" } ,{ "title":"취업전문포털 1위 잡코리아", "description":"채용분야 소비자 만족도1위, 일15,000개 실시간공고 업데이트! new 잡코리아", "comment":"채용분야 소비자 만족도1위, 일15,000개 실시간공고 업데이트! new 잡코리아", "img":"http://pimage.ncimage.co.kr/favicon/jobkorea.co.kr/favicon.ico", "url":"http://www.jobkorea.co.kr", "click_url":"http://amclick.wisenut.co.kr/adclick/lowClick2.jsp?forward=000061685200052700091803^http%3A%2F%2Fcl%2Encclick%2Eco%2Ekr%2FKeywordClickLog%5FEC%2Easp%3FNCID%3D8E907123C6824877AA7BAAC1C78DBDE5%26nk%3D40825940%26np%3DNzA%3D%26nc%3D15448%26cg%3D3%26sl%3Dhttp%253A%252F%252Fntracker%252Ensm%252Dcorp%252Ecom%252Ft%252Frd%252Ephp%253Faf%253D10023wnc295360%2526ak%253D9559%2526cl%253D45%2526fw%253Dhttp%25253A%25252F%25252Fwww%252Ejobkorea%252Eco%252Ekr%25252F%25253Fcmpid%25253Dsa%255Fna%252526cmpid%25253Dsa%255Fneo%26ac%3DbXBrX3dpc2VudXRfNTczNF9ta3NlYXJjaA%3D%3D%26na%3D4%26ns%3D213868%26ryn%3D130", "media_use":"", "media_url":"javascript:goMediaLink('채용분야 소비자 만족도1위, 일15,000개 실시간공고 업데이트! new 잡코리아')" } ,{ "title":"롯데홈쇼핑 가구", "description":"시즌별 신상품, 인기아이템 쇼핑! 매일 추천상품 퍼스트딜, 제휴카드 청구할인. ", "comment":"시즌별 신상품, 인기아이템 쇼핑! 매일 추천상품 퍼스트딜, 제휴카드 청구할인. ", "img":"http://pimage.ncimage.co.kr/favicon/lotteimall.com/favicon.ico", "url":"http://www.lotteimall.com", "click_url":"http://amclick.wisenut.co.kr/adclick/lowClick2.jsp?forward=000061685200052700091803^http%3A%2F%2Fcl%2Encclick%2Eco%2Ekr%2FKeywordClickLog%5FEC%2Easp%3FNCID%3D8E907123C6824877AA7BAAC1C78DBDE5%26nk%3D57174171%26np%3DOTA%3D%26nc%3D8336%26cg%3D3%26sl%3Dhttp%253A%252F%252Fwww%252Elotteimall%252Ecom%252Fcoop%252FaffilGate%252Elotte%253Fchl%255Fno%253D138%2526chl%255Fdtl%255Fno%253D001107%2526%255Fitsid%253Dne14876432443441137%2526returnUrl%253D%252Fplanshop%252FviewPlanShopDetail%252Elotte%253Fspdp%255Fno%253D5417101%26ac%3DbXBrX3dpc2VudXRfNTczNF9ta3NlYXJjaA%3D%3D%26na%3D4%26ns%3D176302%26ryn%3D130", "media_use":"", "media_url":"javascript:goMediaLink('시즌별 신상품, 인기아이템 쇼핑! 매일 추천상품 퍼스트딜, 제휴카드 청구할인. ')" } ,{ "title":"나이키 공식 온라인스토어", "description":"신상, 베스트셀러, 나이키정품, 공식 온라인스토어에서 다양한 제품을 만나보세요", "comment":"신상, 베스트셀러, 나이키정품, 공식 온라인스토어에서 다양한 제품을 만나보세요", "img":"http://pimage.ncimage.co.kr/favicon/nike.com/favicon.ico", "url":"http://www.nike.com/kr/", "click_url":"http://amclick.wisenut.co.kr/adclick/lowClick2.jsp?forward=000061685200052700091803^http%3A%2F%2Fcl%2Encclick%2Eco%2Ekr%2FKeywordClickLog%5FEC%2Easp%3FNCID%3D8E907123C6824877AA7BAAC1C78DBDE5%26nk%3D29143024%26np%3DNjA%3D%26nc%3D11940%26cg%3D3%26sl%3Dhttps%253A%252F%252Fwww%252Enike%252Ecom%252Fkr%252Fko%255Fkr%252F%253Fctnakey%253D02%252D1015%252D24%252D9362380%2526%2526utm%255Fsource%253Dneoclick%2526utm%255Fmedium%253DCPC%2526cp%253Dkr%255Fpf%255Fps%255Fnc%26ac%3DbXBrX3dpc2VudXRfNTczNF9ta3NlYXJjaA%3D%3D%26na%3D4%26ns%3D154655%26ryn%3D130", "media_use":"", "media_url":"javascript:goMediaLink('신상, 베스트셀러, 나이키정품, 공식 온라인스토어에서 다양한 제품을 만나보세요')" } ]; return arr; } function getWiseLinkCount(){ return 0; } function mobionPv(){ var dt = new Date(); var year = dt.getFullYear()+''; var month = (dt.getMonth()+1)+''; if(month.length == 1) month = '0'+month; var day = dt.getDate()+''; if(day.length == 1) day = '0'+day; var url = 'http://www.dreamsearch.or.kr/servlet/API/ver2.0/JSON/sNo/17410/VIEW?'; var data = 'viewDate='+year+month+day+'&adGubun=IB&productType=banner'; var xhr = new XMLHttpRequest(); xhr.open('POST', url+data, true); xhr.send(); }