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":"취업성공률 1위 잡코리아", "description":"끝이 다른 시작, 기업정보 500만건, 채용공고 일평균 13만건, 선배답변 4만건", "comment":"끝이 다른 시작, 기업정보 500만건, 채용공고 일평균 13만건, 선배답변 4만건", "img":"http://image.mmnneo.com/favicon/j.png", "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%3DD3AAA09E0FCB4F75BF6637A72E2F7F08%26nk%3D40825940%26np%3DODA%3D%26nc%3D15448%26cg%3D3%26sl%3Dhttps%253A%252F%252Fntracker%252Ensm%252Dcorp%252Ecom%252Ft%252Frd%252Ephp%253Faf%253D10023wnc299025%2526ak%253D9559%2526cl%253D45%2526fw%253Dhttps%25253A%25252F%25252Fwww%252Ejobkorea%252Eco%252Ekr%25252F%25253Futm%255Fsource%25253DNeo%252526utm%255Fmedium%25253DSearch%252526utm%255Fcampaign%25253Dbridge%252526cmpid%25253Dsa%255Fneo%26ac%3DbXBrX3dpc2VudXRfNTczNF9ta3NlYXJjaA%3D%3D%26na%3D2%26ns%3D213868%26ryn%3D130", "media_use":"", "media_url":"javascript:goMediaLink('끝이 다른 시작, 기업정보 500만건, 채용공고 일평균 13만건, 선배답변 4만건')" } ,{ "title":"SSG.COM 제일모직", "description":"비즈룩 추천, 남성 수트 제안, 비즈니스 캐주얼, 할인쿠폰 증정", "comment":"비즈룩 추천, 남성 수트 제안, 비즈니스 캐주얼, 할인쿠폰 증정", "img":"http://image.mmnneo.com/favicon/s.png", "url":"http://www.ssg.com/", "click_url":"http://amclick.wisenut.co.kr/adclick/lowClick2.jsp?forward=000061685200052700091803^http%3A%2F%2Fcl%2Encclick%2Eco%2Ekr%2FKeywordClickLog%5FEC%2Easp%3FNCID%3DD3AAA09E0FCB4F75BF6637A72E2F7F08%26nk%3D56272805%26np%3DNjA%3D%26nc%3D13853%26cg%3D3%26sl%3Dhttp%253A%252F%252Fwww%252Essg%252Ecom%252Fsearch%252Essg%253Fquery%253D%2525EC%2525A0%25259C%2525EC%25259D%2525BC%2525EB%2525AA%2525A8%2525EC%2525A7%252581%2526ckwhere%253Dneo%255Fssg%255Fem%2526EKAMS%253Dyahoo%252E723%252E2413%252E310%252E1393837466932%252E23270407%2526trackingDays%253D1%26ac%3DbXBrX3dpc2VudXRfNTczNF9ta3NlYXJjaA%3D%3D%26na%3D2%26ns%3D163578%26ryn%3D1", "media_use":"", "media_url":"javascript:goMediaLink('비즈룩 추천, 남성 수트 제안, 비즈니스 캐주얼, 할인쿠폰 증정')" } ]; return arr; } function getWiseLinkCount(){ return 0; }