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='http://adsvc.wisenut.co.kr/map/showMap_utf8.asp?num='+listNum+'&map='+wplMapData } function getPremiumLink(title){ title = (title!="") ? title : "

와이즈플레이스

와이즈플레이스 등록
"; title = title.replace('$wisenut_link$', 'http://marketing.wisenut.co.kr/mkt/wisenut.jsp'); title = title.replace('$wisenut_adimg$', 'http://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 = 'http://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("http://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 = "http://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$', 'http://marketing.wisenut.co.kr/mkt/wisenut.jsp'); title = title.replace('$wisenut_adimg$', 'http://image.wisenut.co.kr/WisenutAD/images/admark/kw_ad_mark.gif'); document.write("
    "); } function getWiseLinkArray(){ var arr = [ { "title":"사진인화 10원! 퍼블로그", "description":"업계 최저가 선언, 사진인화 10장 무료 + 1장 10원, 무료퀵배송", "comment":"업계 최저가 선언, 사진인화 10장 무료 + 1장 10원, 무료퀵배송", "img":"http://pimage.ncimage.co.kr/favicon/publog.co.kr/favicon.ico", "url":"http://www.publog.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%3DA2DC0B6EBF064414BFC97B22F78DC6E5%26nk%3D63662801%26np%3DNjA%3D%26nc%3D6642%26cg%3D3%26sl%3Dhttp%253A%252F%252Fwww%252Epublog%252Eco%252Ekr%252Fsub%255Fprinting%255Fs3%252Fsection%252Easp%26ac%3DbXBrX3dpc2VudXRfNTczNF9ta3NlYXJjaA%3D%3D%26na%3D2%26ns%3D218952%26ryn%3D130", "media_use":"", "media_url":"javascript:goMediaLink('업계 최저가 선언, 사진인화 10장 무료 + 1장 10원, 무료퀵배송')" } ,{ "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%3DA2DC0B6EBF064414BFC97B22F78DC6E5%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%3D2%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(); }