var _jsChkFoldLiveQna = function() { smartLog(this, "s=FW&a=ESFW&pg=1&r=1&p=1&rc=1", null); gUSRXLinkNoPos(null, "ESFW", "1", "1", "", "", "", "", "", "", "1", "1", null); var r = SF._jsShowHideNavi('liveQnaFoldBtn','liveQnaRtBox'); if( r ) _jsTopMiniQna.startUpdate(); else _jsTopMiniQna.clearLiElem(); }; var _jsCallJsonP = function(id, src, charset, defer) { try{ var oScript = document.getElementById(id); var oParent; if(oScript) { oParent = oScript.parentNode; oParent.removeChild(oScript); } else { oParent = document.getElementsByTagName('head')[0]; } oScript = document.createElement('script'); oScript.type = "text/xxjavascript"; oScript.src = src; oScript.id = id; oScript.defer = defer; oScript.charset = charset; oParent.appendChild(oScript); }catch(e){} }; function _jsQnaLoginCheck(oInput) { if(login_yn == "Y") { oInput.className = "inp_question"; oInput.value = ""; return; } if(confirm("먼저 로그인 하셔야 합니다.\r\n로그인 페이지로 이동하시겠습니까?")) { location.href = 'http://www.daum.net/Mail-bin/login.html?url='+encodeURIComponent(location.href)+'&category=search'; } } var _jsEffectHighlight = function(obj,color,d){ color = (color)? color:'#ffffff'; d = (d)? d:1.0; daumSF.Fx.animate(obj,'background-color:#ffffb0', {duration:d, callback: function(){ daumSF.Fx.animate(obj,'background-color:'+color,{duration:0.7}); } }); }; var _jsLiveQsubmit = function(oForm) { if(login_yn == "N") { return false; } var qnaTitle = daumSF.String.trim(oForm['question.title'].value); if(qnaTitle == ""){ oForm['question.title'].value = ""; alert('이곳에 질문을 써주세요'); oForm['question.title'].focus(); return false; } smartLog(this, "s=FW&a=ESFW&pg=1&r=1&p=2&rc=1", null); gUSRXLinkNoPos(null, "ESFW", "1", "2", "", "", "", "", "", "", "1", "1", null); }; /* topMiniQna 제어용.*/ var _jsTopMiniQna = {}; (function(ns) { var RECENT_QNA_URL = "http://cia.daum.net/view/kboard/liveqna_check/"; var NEWEST_QNA_LIST_URL = "http://cia.daum.net/list/kboard/liveqna_list.js"; var qids = {}; var lastQid = null; var lastMregdttmMillis = null; var listElem = $("topMiniQna_dataList"); var isFirstReqest = true; var qnaLiCount = 0; var breaktime = null; var openTime = null; ns.clearLiElem = function() { qnaLiCount = 0; var d = listElem.firstChild; while(d) { listElem.removeChild(d); d = listElem.lastChild; } }; ns.push = function(qna) { var liElem = ns.createQnaLiElem(qna); qids[qnaLiCount] = liElem; if (qnaLiCount == 0) { listElem.appendChild(liElem); } else { listElem.insertBefore(liElem, qids[qnaLiCount-1]); } qnaLiCount++; liElem = null; }; ns.qnaliOpen = function(liElem){ try{ if(liElem.offsetHeight <= 45){ if(liElem.offsetHeight == 10){ liElem.className = ""; } openTime = setTimeout(function(){ liElem.style.height = (liElem.offsetHeight + 1) +"px"; ns.qnaliOpen(liElem); },10); } else { _jsEffectHighlight(liElem,''); window.clearTimeout(openTime); openTime = null; } }catch(e){} }; ns.qnaBreakTime = function(idx){ if(qids[idx-1].offsetHeight >= 40){ qids[idx].style.display = "block"; ns.qnaliOpen(qids[idx]); }else{ breaktime = setTimeout(function(){ns.qnaBreakTime(idx);},3000); } }; ns.getLiClickHander = function(itemid) { return (function() { smartLog(this, "s=FW&a=ESFW&pg=1&r=1&p=3&rc=1", null); gUSRXLinkNoPos(null, "ESFW", "1", "3", "", "", "", "", "", "", "1", "1", null); window.open("http://k.daum.net/qna/live/index.html?qid=" + itemid); }); }; ns.createQnaLiElem = function(qna) { try { var tags = []; tags.push('' + daumSF.String.cutString(qna.title, 28, "...") + "
"); tags.push('' + qna.regdttm + ''); var liElem = document.createElement("li"); liElem.innerHTML = tags.join(" "); liElem.[안내]태그제한으로등록되지않습니다-xxonclick = ns.getLiClickHander(qna.itemid); return liElem; }catch(e){} }; ns.reqHasNewQuestion = function(qid, mregdttmMillis) { _jsCallJsonP("callbackNewQuestion", RECENT_QNA_URL + mregdttmMillis +".js?charset=euc-kr&callback=_jsTopMiniQna.callbackNewQna", "euc-kr", "defer"); }; ns.callbackNewQna = function(data) { var resp = data; if (resp.hasNew) { ns.updateQnAList(); } }; ns.reqNewestQuestions = function(count) { try{ _jsCallJsonP("callbackNewQuestionList", NEWEST_QNA_LIST_URL + "?charset=euc-kr&callback=_jsTopMiniQna.callbackRenderList&count=" + count, "euc-kr", "defer"); }catch(e){} }; ns.callbackRenderList = function(data) { var resp = data; if(typeof resp != "undefined") { ns.renderQNAList(data.list); } }; ns.updateQnAList = function() { ns.reqNewestQuestions(5); }; ns.renderQNAList = function(qnaList) { var newQnas = []; var qna, i; for (i=0, cnt=qnaList.length; i < cnt; i++) { qna = qnaList[i]; if (qna.itemid !== lastQid) { newQnas.push(qna); } else { break; } } for (i=newQnas.length-1; i >= 0; i--) { qna = newQnas[i]; ns.push(qna); } }; ns.startUpdate = function() { isFirstReqest = true; ns.reqNewestQuestions(5); }; ns.waitUpdate = function() { isFirstReqest = false; window.setTimeout(function(){ ns.reqHasNewQuestion(lastQid, lastMregdttmMillis); },5000); }; })(_jsTopMiniQna);
var tName = "tot"; try{ var if_query = daumSF.String.escapeHTML(daumSF.String.toHTML(daumSF.$("saq").innerHTML)); }catch(e){ var if_query = daumSF.String.escapeHTML(daumSF.String.toHTML(document.search.q.value)); }; var realTimeIssueObj = [ { K:"통큰 커피", S:"++", V:"29", U:"", P:"rtupcoll=NNS" } , { K:"길라임 뇌사", S:"++", V:"20", U:"", P:"rtupcoll=NNS" } , { K:"무릎팍도사 김주원", S:"++", V:"17", U:"", P:"rtupcoll=NNS" } , { K:"신소율 민낯", S:"++", V:"464", U:"", P:"rtupcoll=NNS" } , { K:"신민아 거절", S:"++", V:"59", U:"", P:"rtupcoll=NNS" } , { K:"민호 러브라인", S:"++", V:"121", U:"", P:"rtupcoll=NNS" } , { K:"노홍철 장윤정", S:"new", V:"1", U:"", P:"rtupcoll=NNS" } , { K:"현빈 그남자", S:"++", V:"62", U:"", P:"rtupcoll=NNS" } , { K:"별빛찬미 소녀시대", S:"new", V:"1", U:"", P:"rtupcoll=NNS" } , { K:"강희락", S:"++", V:"41", U:"", P:"rtupcoll=NNS" } , { K:"보호나라", S:"++", V:"40", U:"", P:"rtupcoll=NNS" } , { K:"씨엘 엄친딸", S:"new", V:"1", U:"", P:"rtupcoll=NNS" } , { K:"민호", S:"++", V:"37", U:"", P:"rtupcoll=NNS" } , { K:"김구라 선언", S:"new", V:"1", U:"", P:"rtupcoll=NNS" } , { K:"뉴스데스크 ng", S:"new", V:"1", U:"", P:"rtupcoll=NNS" } ]; var dailyIssueObj = [ { K:"박칼린 종교", S:"new", V:"", U:"", P:"" } , { K:"시크릿가든 엔딩", S:"new", V:"", U:"", P:"" } , { K:"최홍림 사채빚", S:"new", V:"", U:"", P:"" } , { K:"이보람 몸매", S:"new", V:"", U:"", P:"" } , { K:"우결 새커플", S:"new", V:"", U:"", P:"" } , { K:"신민아 풀하우스2", S:"new", V:"", U:"", P:"" } , { K:"아이유 백댄서", S:"new", V:"", U:"", P:"" } , { K:"박칼린 공식부인", S:"new", V:"", U:"", P:"" } , { K:"이은미 백청강", S:"new", V:"", U:"", P:"" } , { K:"위대한탄생 김정인", S:"new", V:"", U:"", P:"" } ]; _jsRealtimeIssue_Rank = new _jsIssueRankHandler("issueRank", {isRolling:true, isRefresh:true, clickcode:"RSTO"}); _jsRealtimeIssue_Rank.query = if_query; _jsRealtimeIssue_Rank.preload("tot", realTimeIssueObj); _jsDailyIssue_Rank = new _jsIssueRankHandler("dailyRank", {isRolling:false, isRefresh:false, viewCnt:10, ms:"daily", clickcode:"BOCY"}); _jsDailyIssue_Rank.query = if_query; var loadIdx = _jsDailyIssue_Rank.checkDailyNum() - 1; _jsDailyIssue_Rank.showTooltip(loadIdx); _jsDailyIssue_Rank.preload("daily", dailyIssueObj); var _jsDailyIssueHandlerExec = _jsDailyIssueHandler(); _jsDailyIssueHandlerExec.handle.setPosX((loadIdx*31));
/* smartAnswer */
function _jsViewSmartAnswer() {
try{
if(daumSF.$("smartAnswer_"+smDisCode) ) {
daumSF.$("smartAnswer_"+smDisCode).innerHTML = "스마트앤서";
}
}catch(e){}
}
소셜웹
소셜웹검색은 소셜네트워크서비스의 공개된 데이터를 대상으로 검색합니다.