| 2013Baidu| F.use([\\\'/static/common/lib/tangram/base/base.js\\\', \\\'/static/common/ui/log/log.js\\\', \\\'/static/common/ui/event/event.js\\\', \\\'/static/common/ui/util/util.js\\\', \\\'/static/common/ui/submit/submit.js\\\', \\\'/static/common/ui/dialog/dialog.js\\\', \\\'/static/question/ui/file/file.js\\\', \\\'/static/question/ui/inner-link/inner-link.js\\\', \\\'/static/common/ui/baidu/baidu.js\\\'], function(T, log, ec, util, Submit, Dialog, File, innerLink){F.use(\\\'/static/question/ui/card/card.js\\\', function(card){T(\\\'.avatar-normal-a\\\').add(\\\'.user-name\\\').each(function(index, item){new card({ target: item, type: \\\'normal\\\' });});T(\\\'.avatar-expert-a\\\').add(\\\'.expert-name\\\').each(function(index, item){new card({target: item, type: \\\'expert\\\' });});T(\\\'.avatar-open-a\\\').add(\\\'.open-name\\\').each(function(index, item){new card({target: item, type: \\\'open\\\' });});T(\\\'.open-level\\\').each(function(index, item){new card({target: item, type: \\\'openLevel\\\' });});});F.use(\\\'/static/question/ui/lazyload/lazyload.js\\\', function(lazyload){lazyload.add(\\\'.wgt-replyer-best\\\', \\\'.avatar-48 a\\\');lazyload.add(\\\'.wgt-replyer-best\\\', \\\'.avatar-66 a\\\');lazyload.add(\\\'.wgt-replyer-special\\\', \\\'.avatar-66 a\\\');lazyload.add(\\\'#cms-company\\\', \\\'#cms-company a\\\');});T(\\\'.fixed-ask-e\\\').click(function(e){e.preventDefault();var username = T(this).attr(\\\'username\\\');F.use(\\\'/static/common/ui/fixed-ask/fixed-ask.js\\\', function(fixedAsk){fixedAsk(username);});});T(\\\'.replyask-shrink a\\\').click(function(e){e.preventDefault();var flag = this.innerHTML.indexOf(\\\'展开\\\') != -1;var dl = T(this).text( flag ? \\\'收起\\\' : \\\'展开全部对话\\\' ).parent().prevAll(\\\'dl\\\');dl.slice(flag ? 0 : 14, dl.length).css(\\\'display\\\', flag ? \\\'block\\\' : \\\'none\\\');});if (T(\\\'.recommend-text, .best-text, .answer-text\\\').size()) {F.use(\\\'/static/question/ui/ed2k/ed2k.js\\\', function(ed2k){ed2k.init();});}T(\\\'.ikqb-map\\\').each(function(index, item) {var ifreamObj = T(\\\"\\\").attr({frameborder: \\\'0\\\',width:\\\"430\\\" ,height:\\\"310\\\",style: \\\'display:none;\\\',className: \\\'answer-map\\\'}),tmpsrc = T(item).attr(\\\"map\\\") || T(item).attr(\\\"src\\\");ifreamObj.attr(\\\'src\\\', \\\"http://zhidao.baidu.com/html/map\\\" + tmpsrc.replace(/^iknow/i, \\\'\\\'));T(item).before(ifreamObj).remove();ifreamObj.after(T(\\\"\\\").addClass(\\\'f-aid\\\').html(\\\"本数据来源于百度地图,最终结果以百度地图最新数据为准。\\\")).show();});T.forEach(F.context(\\\'answers\\\'), function(item,index){if(item.user){var eSid = item.user.openSiteId;if(eSid}if (T(node).find(\\\'embed,img\\\').size() > 0){logData.params.push([\\\' \\\', node.className].join(\\\'|\\\'));}});if (logData.params.length > 0) {T.object.extend(logOptions, logData);}setTimeout(function(){log.send(logOptions, true);}, 100);}var myAnswerList = T(\\\'.wgt-best .answer-mine, .wgt-recommend .answer-mine, .wgt-special .answer-mine\\\'),myAnswer = null; if(myAnswerList.size()){ myAnswer = myAnswerList.first(); setTimeout(function(){T(document).scrollTop(myAnswer.offset().top - 10);}, 200); }if (F.context(\\\'egg\\\')) {F.use(\\\'/static/question/ui/egg/egg.js\\\', function(egg){egg.init(F.context(\\\'egg\\\'));});}var logType,userData = F.context(\\\'user\\\'),pageData = F.context(\\\'page\\\');if ( userData.isLogin == \\\"1\\\" ) {if ( userData.isAsker == \\\"1\\\" ) {logType = 1;} else if ( userData.isReplyer == \\\"1\\\" ) {logType = 2;} else if ( pageData.isView == \\\"1\\\" ) {logType = 5;} else {logType = 6;}} else {logType = pageData.isView == \\\"1\\\" ? 3 : 4;}T(document.body).attr(\\\"alog-page-type\\\", logType);F.use(\\\'/static/question/ui/comment/comment.js\\\', function(comm){comm.getCount();});var grid68 = T(\\\'.qb-content\\\'), qid = F.context(\\\'page\\\')[\\\'qid\\\'];T.each({\\\'qb-content\\\' : \\\'.q-content a@\\\', \\\'qb-supply-content\\\' : \\\'.q-supply-content a@\\\', \\\'qb-bast-text\\\' : \\\'.wgt-best .best-text a@\\\', \\\'qb-special-bast-text\\\' : \\\'.wgt-special .best-text a@\\\', \\\'qb-recommend-text\\\' : \\\'.wgt-recommend .recommend-text a@\\\', \\\'qb-answer-text\\\' : \\\'.answer-text a@\\\', \\\'qb-replyask-ask\\\' : \\\'.ask+dd a\\\', \\\'qb-replyask-reply\\\' : \\\'.reply+dd a\\\', \\\'qb-best-thank\\\' : \\\'.thank pre a\\\', \\\'qb-answer-refer\\\' : \\\'.answer-refer a\\\' }, function(key, val){var aLink = grid68.find( val.replace(/\\\\@$/, \\\'[title!=\\\"点击查看大图\\\"]\\\') ).not(\\\'.app-keyword\\\').filter(function(){ return this.innerHTML != \\\'\\\' if(aLink.length > 0){T(aLink).each(function(i,item){log.send({\\\'type\\\' : 2014,\\\'page\\\' : \\\'question\\\',\\\'qid\\\' : qid,\\\'area\\\' : key,\\\'action\\\': \\\'linkPv\\\',\\\'ua\\\' : ua,\\\'text\\\' : item.getAttribute(\\\'href\\\'),\\\'host\\\' : item.getAttribute(\\\'href\\\').split(\\\'/\\\')[2]});});}aLink.click(function(){log.send({\\\'type\\\' : 2059,\\\'area\\\' : key,\\\'qid\\\' : qid,\\\'action\\\': \\\'linkClick\\\',\\\'ua\\\' : ua,\\\'text\\\' : this.getAttribute(\\\'href\\\'),\\\'host\\\' : this.getAttribute(\\\'href\\\').split(\\\'/\\\')[2]});});grid68.find( val.replace(/\\\\@$/, \\\'\\\') ).attr(\\\'rel\\\', \\\'nofollow\\\');});T(\\\'.recommend-text, .best-text, .answer-text, .replyask-content\\\').each(function(i, answerText){T(answerText).find(\\\'pre[t=\\\"code\\\"]\\\').each(function(i, pre){var loadSyntax = function(){SyntaxHighlighter(pre);};T(pre).text(T(pre).html(T(pre).html().replace(//ig, \\\'##IK_LINEBREAK##\\\')).text().split(\\\'##IK_LINEBREAK##\\\').join(\\\'\\\\n\\\'));T(pre).addClass(\\\'brush:\\\'+T(pre).attr(\\\'l\\\')+\\\';toolbar:false;\\\');if (window.SyntaxHighlighter) {SyntaxHighlighter.highlight(pre);T(answerText).find(\\\'.syntaxhighlighter .code .line\\\').each(function(index, line){T(answerText).find(\\\'.syntaxhighlighter .gutter .line\\\').eq(index).height(T(line).height());});} else {T.sio(\\\'http://img.iknow.bdimg.com/libs/SyntaxHighlighter/shCore.min.js\\\').callByBrowser(function(){SyntaxHighlighter.defaults[\\\'quick-code\\\'] = false;SyntaxHighlighter.config.stripBrs = true;SyntaxHighlighter.highlight(pre);T(answerText).find(\\\'.syntaxhighlighter .code .line\\\').each(function(index, line){T(answerText).find(\\\'.syntaxhighlighter .gutter .line\\\').eq(index).height(T(line).height());});});}});T(answerText).find(\\\'ikvideo\\\').each(function(i, video){var id = \\\'VIDEO_\\\' + T.id(),src = T(video).attr(\\\'src\\\'),sid;var container = T(\\\'\\\').attr(\\\'id\\\', id).insertBefore(T(video));if (src.indexOf(\\\'youku\\\') > -1 }}container.html(\\\'\\\');});});log.addKey({rpRecommand: F.context(\\\'page\\\')[\\\'rpRecommand\\\'],showRelatedFloat: T(window).width()>=1440});if(T(\\\'file\\\').size() > 0){File.init(logPV);}else{logPV();}T(\\\'.layout-center a\\\').each(functio |