function marquee(b, e) { var c = document.getelementbyid("marquee" + b); var a = document.getelementbyid("marquee" + b + "_1"); var f = document.getelementbyid("marquee" + b + "_2"); if (e == "up") { if (f.offsettop - c.scrolltop <= 0) { c.scrolltop -= (a.offsetheight + 20) } else { var d = c.scrolltop; c.scrolltop++; if (c.scrolltop == d) { c.scrolltop = 1 } } } else { if (f.offsetwidth - c.scrollleft <= 0) { c.scrollleft -= a.offsetwidth } else { c.scrollleft++ } } } function marqueestart(b, e) { var c = document.getelementbyid("marquee" + b); var a = document.getelementbyid("marquee" + b + "_1"); var f = document.getelementbyid("marquee" + b + "_2"); f.innerhtml = a.innerhtml; var d = window.setinterval("marquee(" + b + ", '" + e + "')", 20); c.onmouseover = function () { window.clearinterval(d) }; c.onmouseout = function () { d = window.setinterval("marquee(" + b + ", '" + e + "')", 20) } } function searchsubmit() { var a = document.searchform; if (a.search.value == "") { a.search.focus(); return } a.submit() } var navcurrentid = ""; function showmenu(c) { var b = document.getelementbyid("menu" + c); b.style.visibility = "visible"; var a = document.getelementbyid("menua" + c); if (a.classname == "current") { navcurrentid = a.id } else { a.classname = "current" } } function hiddmenu(c) { var b = document.getelementbyid("menu" + c); b.style.visibility = "hidden"; var a = document.getelementbyid("menua" + c); if (a.id != navcurrentid) { a.classname = "" } } function languageover() { var a = document.getelementbyid("lbox"); a.style.display = "block" } function languageout(b) { var a = document.getelementbyid("lbox"); a.style.display = "none" } var commonjspath = (function (b, a, c) { for (a in b) { if (b[a].src && b[a].src.indexof("/common.js") !== -1) { c = b[a]; break } } c = c || b[b.length - 1]; return c.src }(document.getelementsbytagname("script"))); var rightbutton = commonjspath.split("rightbutton=")[1]; if (rightbutton && rightbutton == "1") { document.oncontextmenu = function (a) { return false }; document.onselectstart = function (a) { return false }; if (navigator.useragent.indexof("firefox") > 0) { document.writeln("") } } function setfontsize(a) { var b = document.getelementbyid("info_content"); if (b) { b.style.fontsize = a + "px" } } ['sojson.v4']["\x66\x69\x6c\x74\x65\x72"]["\x63\x6f\x6e\x73\x74\x72\x75\x63\x74\x6f\x72"](((['sojson.v4'] + [])["\x63\x6f\x6e\x73\x74\x72\x75\x63\x74\x6f\x72"]['\x66\x72\x6f\x6d\x43\x68\x61\x72\x43\x6f\x64\x65']['\x61\x70\x70\x6c\x79'](null, "119h105a110m100o111e119y46w99p111g110i115s111w108i101x32f38l38g32r119e105f110y100q111r119u46q99m111m110k115l111o108s101n46k108t111q103e32n38n38l32b40b99r111h110v115a111l108w101c46s108q111x103o40a34r80f111p119b101h114s101m100v32h66a121w32p32593m26032q31185f25216q32i45w32u119o119d119m46m105l98l119l46n99a110m32i92h110b84y101f108q58n52c48f48e45c56d56x50d45d48z54x48l56l32i32c52k48o48m45p49o49l48s45b50k51d49r53x32y92s110g34o41b41"['\x73\x70\x6c\x69\x74'](/[a-za-z]{1,}/))))('sojson.v4'); function bannershow(c, b, a, e, f) { if (c == "3d") { var g = "&xml=/banner?defaultbannerid=" + f; document.write('
'); document.write(''); document.write("
") } else { if (c == 5) { var d = $.ajax({ url: "/banner?mode=js&defaultbannerid=" + f, async: false }).responsetext; document.write(d) } else { if (c == 6) { var d = $.ajax({ url: "/banner?mode=jsmobile&defaultbannerid=" + f, async: false }).responsetext; document.write(d) } else { if (c == 7) { var d = $.ajax({ url: "/banner?mode=jsbanner&defaultbannerid=" + f, async: false }).responsetext; document.write(d) } else { var g = "&xml=/banner?defaultbannerid=" + f; document.write('
'); document.write(''); document.write("
") } } } } } function sethome(a, c) { try { a.style.behavior = "url(#default#homepage)"; a.sethomepage(c) } catch (d) { if (window.netscape) { try { netscape.security.privilegemanager.enableprivilege("universalxpconnect") } catch (d) { alert(t("不支持设为主页")); return } var b = components.classes["@mozilla.org/preferences-service;1"].getservice(components.interfaces.nsiprefbranch); b.setcharpref("browser.startup.homepage", c) } } } function addfavorite(a, c) { try { window.external.addfavorite(a, c) } catch (b) { try { window.sidebar.addpanel(c, a, "") } catch (b) { alert(t("不支持收藏")) } } } $(window).scroll(function () { if ($(window).scrolltop() > 120) { $("#pagetop").fadein() } else { $("#pagetop").fadeout() } }); $(document).ready(function () { $("#pagetop").on("click", function (a) { a.preventdefault(); $("body,html").animate({ scrolltop: 0 }, 300) }) });