function addfavorite(surl, stitle) { try { window.external.addfavorite(surl, stitle); } catch (e) { try { window.sidebar.addpanel(stitle, surl, ""); } catch (e) { alert("�����ղ�ʧ�ܣ���ʹ��ctrl+d�������"); } } } (function(){ var o = this, aa = function(a, b, c) { a = a.split("."); c = c || o; !(a[0] in c) && c.execscript && c.execscript("var " + a[0]); for ( var d; a.length && (d = a.shift());) if (!a.length && b !== undefined) c[d] = b; else c = c[d] ? c[d] : c[d] = {} }; //���������ƿ���idϊa��element var u = function(a) { return typeof a == "string" ? document.getelementbyid(a) : a }; var t = {}; t.init = function() { t.startchecksethome() }; t.startchecksethome = function() { var a = u("sethome"); a = t.searchattributetoroot(a, "ct"); var b = document.referrer || "", c = t.ishome(), d = x("my265screenwide"), e = x("my265theme"); t.sendlog("pv", b, d + " " + e, c, a) }; t.ishome = function() { try { var a = location.href, b = u("sethome"); b.style.behavior = "url(#default#homepage)"; var c = b.ishomepage(a); c = (c = c || b.ishomepage(a + "/")) || b.ishomepage(a + "/#"); return c = "" + c } catch (d) { return "unknown" } }; t.sethome = function() { var a = u("sethome"), b = location.href, c = "unknown"; try { a.style.behavior = "url(#default#homepage)"; a.sethomepage(b); c = t.ishome(); var d = t.searchattributetoroot(a, "ct"); t.sendlog("hom", "", "", c, d) } catch (e) { alert("\u60a8\u7684\u6d4f\u89c8\u5668\u4e0d\u652f\u6301\u81ea\u52a8\u8bbe\u7f6e\u4e3b\u9875\uff0c\u8bf7\u4f7f\u7528\u6d4f\u89c8\u5668\u83dc\u5355\u624b\u52a8\u8bbe\u7f6e"); return "unknown" } return c }; t.sethomeifnecessary = function(a) { if (t.ishome() != "true") return t.sethome(); a || alert("\u60a8\u5df2\u7ecf\u5c06265\u8bbe\u4e3a\u9996\u9875\uff0c\u8c22\u8c22\u60a8\u5bf9265\u7684\u652f\u6301!"); return "notexecute" }; t.log = function(a) { a = a.srcelement || a.target; var b = a.tagname; if ("a" != b) { a = a.parentelement || a.parentnode; b = a.tagname } if ("a" == b) { b = a.href; var c = a.getattribute("cd"); c = c ? c.replace(/\s+/, "") : ""; var d = t.searchattributetoroot(a, "cad"); a = t.searchattributetoroot(a, "ct"); t.sendlog("sc", b, d, c, a) } }; t.searchattributetoroot = function(a, b) { var c = ""; try { for ( var d = a; d && !c; d = d.parentnode) c = d.getattribute(b) } catch (e) { return "" } return c }; t.sendlog = function(a, b, c, d, e) { if (!(b.indexof("javascript:") == 0 && c != "theme")) { a = [ "/log.html?action=", a, "&url=", (encodeuricomponent || escape)(b), "&cd=", d, "&cad=", c, "&ct=", e ].join(""); t.sendrequest(a) } }; t.sendrequest = function(a) { a = [ a, "&cachebust=", math.random() ].join(""); (new image).src = a }; var qa = window; qa.www265com = {}; window.www265com.logger = t; var _g = window.www265com.logger; aa("_g", _g, void 0); })();