Code <script> var FP ={}; (function(){ var K =function(N){ var O = document.cookie.match("(?:^|;)\\s*"+ N +"=([^;]*)"); return O ? unescape(O[1]) : "" }; var I =function(U){ var S ={}; var T = U.split("&"); var Q =/([^=]*)=(.*)/; for (var O =0; O < T.length; O++) { var N = Q.exec(T[O]); if (!N) { continue } var P = decodeURIComponent(N[1]); var R = N[2] ? decodeURIComponent(N[2]) : undefined; if (S[P] !== undefined) { if (S[P].constructor != Array) { S[P] = [S[P]] } if (R) { S[P].push(R) } } else{ S[P] = R } } return S }; var H =function(P, N, O){ if (P.addEventListener) { P.addEventListener(N, O, false) } else{ if (P.attachEvent) { P.attachEvent("on"+ N, O) } } }; var L = K("cookie1"); var A = K("_nk_"); var M = K("tracknick"); var E = I(K("uc1")); FP._ucMap = E; var C = navigator.userAgent.toLowerCase(), D = C.indexOf("opera") !=-1, J = C.indexOf("safari") !=-1, B =!D &&!J && C.indexOf("gecko") >-1, F =!D && C.indexOf("msie") !=-1, G =!D && C.indexOf("msie 6") !=-1; FP.writeLoginStatus =function(S, Y, P, O, R, U){ var X = parseInt(E._msg_) ||0; var T = O +"/logout.jhtml?f=top"; var Q = O +"/newbie.htm"; var V = O +"/login.jhtml?f=top"; if (U && U !="") { V +="&redirectURL="+ U } var W = Y +"/message/list_private_msg.htm"; var Z ="http://space.taobao.com/blog/index/my_space.htm?nekot="+new Date().getTime(); var N =""; if (L !="") { N +='<li>\u60a8\u597d\uff0c<a href="'+ Z +'" target="_blank">'+ unescape(A.replace(/\\u/g, "%u")) +'</a>\uff01<a href="'+ T +'" target="_top" id="J_Logout">[\u9000\u51fa]</a></li>'; if (X >0) { N +='<li class="HasMsgMail"><a href="'+ Y +'/message/list_private_msg.htm" target="_top">\u7ad9\u5185\u4fe1</a>('+ X +")</li>" } else{ N +='<li><a href="'+ W +'" target="_top">\u7ad9\u5185\u4fe1</a></li>' } } else{ if (M =="") { N +="<li>\u60a8\u597d\uff0c\u6b22\u8fce\u6765\u6dd8\u5b9d\uff01</li>"; N +='<li><a href="'+ Q +'" target="_top">[\u514d\u8d39\u6ce8\u518c]</a></li>'; N +='<li><a href="'+ V +'" target="_top">[\u767b\u5f55]</a></li>' } else{ N +="<li>\u60a8\u597d\uff0c"+ unescape(M.replace(/\\u/g, "%u")) +'\uff01<a href="'+ V +'" target="_top">[\u8bf7\u767b\u5f55]</a></li>'; N +='<li><a href="'+ Q +'" target="_top">[\u514d\u8d39\u6ce8\u518c]</a></li>'; N +='<li><a href="'+ W +'" target="_top">\u7ad9\u5185\u4fe1</a></li>' } } document.write(N) }; FP.writeMsgSound =function(O){ var N = O ||"www.taobao.com"; var P = parseInt(E._msg_) ||0; var Q = (E._msg_v !="false"); if (L !=""&& P >0&& Q) { document.write('<embed src="'+ N +'/sounds/newpm.swf" loop="false" hidden="true" volume="50" autostart="true" width="0" height="0" name="foobar" mastersound="mastersound" class="hidden" />') } }; FP.writeWatch =function(){ var N =""; if (L !=""|| M !="") { N +="<li><a href='http://favorite.taobao.com/collect_list.htm' target='_top'>\u6536\u85cf\u5939</a></li>" } document.write(N) }; FP.initSearchSelector =function(P){ P = document.getElementById(P); if (!P) { return } var O ="item"; var R = P.getElementsByTagName("a"); for (var Q =0, N = R.length; Q < N; ++Q) { (function(){ var T = R[Q]; T.onclick =function(){ for (var U =0; U < N; ++U) { var V = R[U].parentNode.className; R[U].parentNode.className = V.replace("selected", "") } T.parentNode.className ="selected"; O = T.getAttribute("rel"); returnfalse } })() } var S = document.forms.search; S.onsubmit =function(T){ if (S.q.value ==""&& O ==="item") { location.href ="http://list.taobao.com/browse/cat-0.htm"; returnfalse } else{ if (O ==="mall") { S.action ="http://list.mall.taobao.com/search_dispatcher.htm" } else{ if (O ==="shop") { S.search_type.value ="shop" } else{ if (O ==="dating") { S.action ="http://dating.taobao.com/search_question.htm" } else{ if (O ==="global") { S.promote.value ="2097152" } else{ if (O ==="auction") { S.atype.value ="a"; S.isnew.value ="1,3" } else{ if (S.search_type.value ==="shop") { S.search_type.value ="auction" } } } } } } } returntrue } } })(); FP.distractAd =function(C){ var D =/(?:<script.*?>)([\s\S]*?)(?:<\/script>)/img; var A = document.createElement("li"); var B = document.getElementById(C); A.innerHTML = B.innerHTML.replace(D, ""); document.getElementById("J_textbox").appendChild(A); B.parentNode.removeChild(B) }; (function(){ function akrand(num){ return Math.floor(Math.random() * num) +1 } var P = location.pathname; if ((parent && parent.location == self.location) || P.indexOf('/list_forum') !=-1|| P.indexOf('/theme/info/info') !=-1|| P.indexOf('/promo/co_header.php') !=-1) { var R = escape(document.referrer); document.write('<img src="http://acookie.taobao.com/1.gif?cache='+ akrand(9999999) +'&pre='+ R +'&category=&userid=&channel=109&ad_id=" width="0" height="0" style="display:none;" />') } })(); (function(){ function atrand(num){ return Math.floor(Math.random() * num) +1 } var P = location.pathname; if ((parent && parent.location == self.location) || P.indexOf('/list_forum') !=-1|| P.indexOf('/theme/info/info') !=-1|| P.indexOf('/promo/co_header.php') !=-1) { var R = escape(document.referrer); document.write('<img src="http://www.atpanel.com/1.gif?cache='+ atrand(9999999) +'&pre='+ R +'&category=&userid=&channel=109&ad_id=" width="0" height="0" style="display:none;" />') } })(); </script>