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" } } function bannershow(c, b, a, e, f) { if (c == "3d") { var g = "&xml=/banner?defaultbannerid=" + f; document.write('