var Browser = new Object(); Browser.isMozilla = (typeof document.implementation != 'undefined') && (typeof document.implementation.createDocument != 'undefined') && (typeof HTMLDocument != 'undefined'); Browser.isIE = window.ActiveXObject ? true : false; Browser.isGecko = navigator.userAgent.indexOf("Gecko") != -1; Browser.isOpera = (navigator.userAgent.toLowerCase().indexOf("opera") != -1); if (Browser.isMozilla && !Browser.isOpera) { HTMLElement.prototype.removeNode = function () { this.parentNode.removeChild(this); }; extendEventObject(); emulateAttachEvent(); var eventArr = ["click", "dblclick", "mouseover", "mouseout", "mouseleave", "mouseenter", "mousedown", "mouseup", "mousemove", "keydown", "keypress", "keyup"]; emulateEventHandlers(eventArr); emulateCurrentStyle(); Event.LEFT = 0; Event.MIDDLE = 1; Event.RIGHT = 2; } else { Event = {}; Event.LEFT = 1; Event.MIDDLE = 4; Event.RIGHT = 2; } ;function extendEventObject() { Event.prototype.__defineGetter__("srcElement", function () { var node = this.target; while (node.nodeType != 1)node = node.parentNode; return node; }); };function emulateAttachEvent() { HTMLDocument.prototype.attachEvent = HTMLElement.prototype.attachEvent = function (sType, fHandler) { var shortTypeName = sType.replace(/on/, ""); fHandler._ieEmuEventHandler = function (e) { window.event = e; return fHandler(); }; this.addEventListener(shortTypeName, fHandler._ieEmuEventHandler, false); }; HTMLDocument.prototype.detachEvent = HTMLElement.prototype.detachEvent = function (sType, fHandler) { var shortTypeName = sType.replace(/on/, ""); if (typeof fHandler._ieEmuEventHandler == "function")this.removeEventListener(shortTypeName, fHandler._ieEmuEventHandler, false); else this.removeEventListener(shortTypeName, fHandler, true); }; };function emulateEventHandlers(eventNames) { for (var i = 0; i < eventNames.length; i++) { document.addEventListener(eventNames[i], function (e) { window.event = e; }, true); } };var __sto = setInterval; window.setInterval = function (callback, timeout, param) { if (param) { var args = Array.prototype.slice.call(arguments, 2); var _cb = function () { callback.apply(null, args); }; return __sto(_cb, timeout); } else { return __sto(callback, timeout); } }; var __stoo = setTimeout; window.setTimeout = function (callback, timeout, param) { if (param) { var args = Array.prototype.slice.call(arguments, 2); var _cb = function () { callback.apply(null, args); }; return __stoo(_cb, timeout); } else { return __stoo(callback, timeout); } }; function emulateAllModel() { var allGetter = function () { var a = this.getElementsByTagName("*"); var node = this; a.tags = function (sTagName) { return node.getElementsByTagName(sTagName); }; return a; }; HTMLDocument.prototype.__defineGetter__("all", allGetter); HTMLElement.prototype.__defineGetter__("all", allGetter); };function extendElementModel() { HTMLElement.prototype.__defineGetter__("parentElement", function () { if (this.parentNode == this.ownerDocument)return null; return this.parentNode; }); HTMLElement.prototype.__defineGetter__("children", function () { var tmp = []; var j = 0; var n; for (var i = 0; i < this.childNodes.length; i++) { n = this.childNodes[i]; if (n.nodeType == 1) { tmp[j++] = n; if (n.name) { if (!tmp[n.name])tmp[n.name] = []; tmp[n.name][tmp[n.name].length] = n; } ; if (n.id)tmp[n.id] = n } } ; return tmp; }); HTMLElement.prototype.contains = function (oEl) { if (oEl == this)return true; if (oEl == null)return false; return this.contains(oEl.parentNode); }; };function errorimg(mypic) { mypic.src = "images/common/none.gif"; };function emulateCurrentStyle() { HTMLElement.prototype.__defineGetter__("currentStyle", function () { return this.ownerDocument.defaultView.getComputedStyle(this, null) }) } function getrand() { var random1 = (Math.floor(Math.random() * 10000)); var random2 = (Math.floor(Math.random() * random1)); var random3 = 's' + random1 + random2; return random3 } function getscrollTop() { if (typeof window.pageYOffset != 'undefined') { return window.pageYOffset } else if (typeof document.compatMode != 'undefined' && document.compatMode != 'BackCompat') { return document.documentElement.scrollTop } else if (typeof document.body != 'undefined') { return document.body.scrollTop } };function $(s) { return document.getElementById(s); } function $$(s) { return document.frames ? document.frames[s] : $(s).contentWindow; };Array.prototype.shellSort = function () { for (var step = this.length >> 1; step > 0; step >>= 1) { for (var i = 0; i < step; ++i) { for (var j = i + step; j < this.length; j += step) { var k = j, value = this[j]; while (k >= step && this[k - step] > value) { this[k] = this[k - step]; k -= step } this[k] = value } } } }; function ExpJSON(objname) { var tmpobj = eval(objname); return tmpobj.toJSONString() } function in_array(needle, haystack) { if (typeof needle == 'string' || typeof needle == 'number') { for (var i in haystack) { if (haystack[i] == needle) { return true } } } return false } function del_array(needle, haystack) { if (typeof needle == 'string' || typeof needle == 'number') { var num = haystack.length; for (var i = 0; i < num; i++) { if (haystack[i] == needle) { haystack.splice(i, 1) } } } return haystack };function startRequest(method, urlstr, postDatastr, callback) { var http_5617 = null; msxml_progid = ['MSXML2.XMLHTTP.3.0', 'MSXML2.XMLHTTP', 'Microsoft.XMLHTTP']; try { http_5617 = new XMLHttpRequest() } catch (e) { for (var i = 0; i < msxml_progid.length; ++i) { try { http_5617 = new ActiveXObject(msxml_progid[i]); break } catch (e) { } } } if (http_5617) { var url = ""; var poststr = ""; if (method == 'GET') { url = urlstr + "?" + postDatastr } else if (method == 'POST') { url = urlstr; poststr = postDatastr } http_5617.onreadystatechange = function () { if (http_5617.readyState == 4 && http_5617.status == 200) { if (callback) { callback(http_5617.responseText) } http_5617 = null } }; http_5617.open(method, url, true); http_5617.setRequestHeader("Content-Type", "application/x-www-form-urlencoded"); http_5617.send(poststr) } };function getLowDiv() { var num = all_div_id.length; if (num == 1 && all_div_id[0] == '') { return 0; } ; var tmp_a = []; if (num > 0) { for (var j = 0; j < num; j++) { if ($('ohid_' + all_div_id[j]) && $('ohid_' + all_div_id[j]).style.display == '') { var t = parseInt($('ohid_' + all_div_id[j]).style.height); if (isNaN(t)) { t = 0; } ; var t1 = parseInt($('ohid_' + all_div_id[j]).style.top); if (isNaN(t1)) { t1 = 0; } ; var h = t + t1; if (h > 20) { tmp_a.push(h); } } } ; tmp_a.shellSort(); return tmp_a[tmp_a.length - 1]; } else { return 0; } };function openKefutong(url) { openWindow(url, 650, 490); };function openWindow(url, w, h) { window.open(url, '', 'top=50,left=200,width=' + w + ',height=' + h); };function downLowDiv3(v, vv) { var lowerd = $('ohid_' + v).getAttribute("LowerD"); if (!lowerd) { getAllLowDiv(v, [], [], '0', '0'); var lowerd = $('ohid_' + v).getAttribute("LowerD"); } ; if (lowerd) { var l_a = lowerd.split(','); var num = l_a.length; for (var j = 0; j < num; j++) { if (l_a[j]) { var t1 = parseInt($('ohid_' + l_a[j]).style.top); if ((t1 + vv) > 0) { $('ohid_' + l_a[j]).style.top = (t1 + vv) + 'px'; } } } } };function adjust_d() { var v = $('alltable').style.width; var r = v.search('%'); if (r > 0) { v = parseFloat(v); var tmp = document.body.clientWidth; if (isNaN(tmp) || tmp < 2) { var tmp = document.documentElement.clientWidth; } ; v = tmp * v / 100; v = parseFloat(v); var vv = (tmp - v) / 2; } else { v = parseInt(v); var tmp = document.body.clientWidth; if (isNaN(tmp) || tmp < 2) { var tmp = document.documentElement.clientWidth; } ; var vv = (tmp - v) / 2; } ; $('alltable').style.right = ''; $('alltable').style.left = vv + 'px'; };function adjust_fix() { for (var i = 0; i < _fix_a.length; i++) { var o_id = _fix_a[i]; var o_left = _fix_b[i]; var v = parseInt($('alltable').style.left); if (isNaN(v)) { v = 0; } ; $(o_id).style.left = o_left + v + 'px'; } };function adjust_fix1() { for (var i = 0; i < _fix_a.length; i++) { var o_id = _fix_a[i]; var o_top = _fix_c[i]; $(o_id).style.position = 'absolute'; var st = document.documentElement.scrollTop || window.pageYOffset; if (isNaN(st)) { st = 0; } ; var v = parseInt($('alltable').style.top); if (isNaN(v)) { v = 0; } ; $(o_id).style.top = st + o_top + v + "px"; } };function mozillaAdjust() { if (Browser.isMozilla && a_ba != 'right' && a_ba != 'left') { adjust_d(); adjust_fix(); window.onresize = function () { // adjust_d(); // adjust_fix(); } } else { if (navigator.appVersion.indexOf("MSIE 7.0") > 1 || navigator.appVersion.indexOf("MSIE 8.0") > 1) { adjust_fix(); window.onresize = function () { // adjust_fix(); } } else { adjust_fix1(); window.onscroll = function () { adjust_fix1(); } } } };function getcontop() { contop = parseInt($('table_header').style.height); var t = parseInt($('table_header').style.borderWidth); if (isNaN(contop)) { contop = 0; } ; if (isNaN(t)) { var t = parseInt($('table_header').style.borderTopWidth); if (!isNaN(t)) { contop = contop + t; } ; var t = parseInt($('table_header').style.borderBottomWidth); if (!isNaN(t)) { contop = contop + t; } } else { contop = contop + t * 2; } ; headerheight = contop; if (json_command_bs != '') { $('bd_0').style.top = headerheight + 'px'; } ; var t = parseInt($('bd_10').style.padding); if (isNaN(t)) { var t = parseInt($('bd_10').style.paddingTop); if (!isNaN(t)) { contop = contop + t; } } else { contop = contop + t; } };function setInitAllLow() { for (var j = 0; j < _content_id_a.length; j++) { var v = _content_id_a[j]; if ($('ohid_' + v)) { getAllLowDiv(v, [], [], '0', '0'); } } };function adjust_center_bd() { var v = getLowDiv(); if (v == 0) { $('bd').height = 200; } else { var v = getLowDiv() - contop; if (isNaN(v)) { $('bd').height = 200; } else { try { $('bd').height = v; } catch (e) { } } } ; try { $('bd_10').style.height = parseInt($('bd').height) + 'px'; } catch (e) { } ; var a = parseInt($('bd').offsetHeight); if (json_command_bs != '' && a > 100) { $('bd_4').style.height = a - 100 + 'px'; } ; adjust_ya_mod(); };function adjust_ya_mod() { var c = _ya_a.length; if (c == 0) { return 0; } ; var a = parseInt($('bd').offsetHeight) + headerheight; for (var i = 0; i < c; i++) { var t = $('ohid_' + _ya_a[i]).style.top; t = parseInt(t); var h = a - _ya_b[i] - t; if (!isNaN(h) && h > 20) { $('ohid_' + _ya_a[i]).style.height = h + 'px'; try { $(_ya_a[i] + '_4').style.height = h - 100 + 'px'; } catch (e) { } } } };function content_down(c_no) { var c = _content_id_a.length; if (c == 0) { return 0; } ; c_no = parseInt(c_no); if (isNaN(c_no)) { c_no = 0; } ; if (c_no == 0) { _content_have = 0; } ; _content_id = _content_id_a[c_no]; if ($('ohid_' + _content_id)) { var str = $(_content_id + '_c').style.top; var sTemp = parseInt(str); if (isNaN(sTemp)) { str = 0; } else { str = sTemp; } ; var vv = $(_content_id + '_content').offsetHeight + 0 + str; var v = $('ohid_' + _content_id).offsetHeight; if ($('ohid_' + _content_id).style.display == 'none') { } else if (vv > v) { _content_have = 1; var vvv = vv - v; var ya = $('ohid_' + _content_id).getAttribute('ya'); ya = parseInt(ya); if (isNaN(ya)) { ya = 50; } else if (ya < 2) { ya = 2; } ; vvv = vvv + ya; downLowDiv3(_content_id, vvv); $('ohid_' + _content_id).style.height = vv + ya + 'px'; try { $(_content_id + '_4').style.height = (vv + ya - 100) + 'px'; } catch (e) { } } ; if (c_no + 1 < c) { c_no = c_no + 1; content_down(c_no); } } };function checherror() { var c = _content_id_a.length; if (c == 0) { return 0; } ; _content_id = _content_id_a[0]; if (_content_id != '' && _content_id && _content_have == 1) { content_down(0); getcontop(); adjust_center_bd(); setTimeout(checherror, 100); } };function checherror1() { var c = _content_id_a.length; if (c == 0) { return 0; } ; _content_id = _content_id_a[0]; if (_content_id != '' && _content_id) { content_down(0); getcontop(); adjust_center_bd(); } else { return; } ; if (_content_no + 1 > c) { _content_no = 0; c_error = c_error + 1; } else { _content_no = _content_no + 1; } ; if (c_error > 20) { setTimeout(checherror, 100); } else { setTimeout(checherror1, 100); } };function isMultLeaveOrEnter(handler, count, id, mult) { var e = window.event; if (e.type != 'mouseout' && e.type != 'mouseover')return false; var reltg = e.relatedTarget ? e.relatedTarget : e.type == 'mouseout' ? e.toElement : e.fromElement; if (!mult) { var mult = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]; } else { var mult = mult.split(','); } ; var tmp_a = []; for (var i = 1; i <= count; i++) { if (i == id) { var v3 = mult[i]; if (v3 != 0) { var v3_a = v3.split('|'); var c = v3_a.length; if (c > 0) { for (var j = 0; j < c; j++) { if (v3_a[j]) { var d = v3_a[j]; tmp_a.push(d); } } } } } } ; while (reltg && reltg != handler) { if (reltg.id && in_array(reltg.id, tmp_a)) { return false; } ; reltg = reltg.parentNode; } ; return (reltg != handler); };var setMultHidden = function (bid, blockid, count, id, mult) { return function () { if (isMultLeaveOrEnter($(bid), count, id, mult)) { setMultHidden1(blockid, count, id, mult); } } }; function setMultHidden1(blockid, count, id, mult) { var v1 = $(blockid + '_h3').style.cssText; var v5 = $(blockid + '_h5').style.cssText; var v6 = $(blockid + '_h7').style.cssText; var link1 = $(blockid + '_h1').getAttribute("link"); for (var i = 1; i <= count; i++) { $(blockid + '_la' + i).style.cssText = v1; $(blockid + '_lb' + i).style.cssText = v5; $(blockid + '_lc' + i).style.cssText = v6; if (!isNaN(link1) && link1 > 0) { $(blockid + '_lb' + i).className = 'link_' + link1; } } ; if (!mult) { var mult = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]; } else { var mult = mult.split(','); } ; for (var i = 1; i <= count; i++) { if (i == id) { var v3 = mult[i]; if (v3 != 0) { var v3_a = v3.split('|'); var c = v3_a.length; if (c > 0) { for (var j = 0; j < c; j++) { if (v3_a[j]) { var d = v3_a[j]; try { if ($(d)) { $(d).style.display = 'none'; } } catch (e) { } } } } } } } };var MultMouseObj = {}; function multi(blockid, count, id, mult, ifmenu) { if (typeof(ifmenu) == 'undefined') { var ifmenu = 0; } ; var mult_s = mult; var v1 = $(blockid + '_h3').style.cssText; var v2 = $(blockid + '_h4').style.cssText; var v5 = $(blockid + '_h5').style.cssText; var v4 = $(blockid + '_h6').style.cssText; var v6 = $(blockid + '_h7').style.cssText; var v7 = $(blockid + '_h8').style.cssText; var link1 = $(blockid + '_h1').getAttribute("link"); var link2 = $(blockid + '_h2').getAttribute("link"); if (!mult) { var mult = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]; } else { var mult = mult.split(','); } ; var tmp_width = 0; var tmp_id = ''; for (var i = 1; i <= count; i++) { if (i == id) { $(blockid + '_la' + i).style.cssText = v2; $(blockid + '_lb' + i).style.cssText = v4; $(blockid + '_lc' + i).style.cssText = v7; if (!isNaN(link2) && link2 > 0) { $(blockid + '_lb' + i).className = 'link_' + link2; } ; var v3 = mult[i]; if (v3 != 0) { var v3_a = v3.split('|'); var c = v3_a.length; if (c > 0) { for (var j = 0; j < c; j++) { if (v3_a[j]) { var d = v3_a[j]; try { if ($(d)) { $(d).style.display = ''; if (ifmenu == 1) { $(d).attachEvent('onmouseout', setMultHidden(d, blockid, count, id, mult_s)); } } } catch (e) { } } } } } } else { $(blockid + '_la' + i).style.cssText = v1; $(blockid + '_lb' + i).style.cssText = v5; $(blockid + '_lc' + i).style.cssText = v6; if (!isNaN(link1) && link1 > 0) { $(blockid + '_lb' + i).className = 'link_' + link1; } ; var v3 = mult[i]; if (v3 != 0) { var v3_a = v3.split('|'); var c = v3_a.length; if (c > 0) { for (var j = 0; j < c; j++) { if (v3_a[j]) { var d = v3_a[j]; try { $(d).style.display = 'none'; } catch (e) { } } } } } } } };function MultiScroll(blockid) { var mult = $(blockid + '_h1').getAttribute("mult"); var count = $(blockid + '_h1').getAttribute("count"); var v2 = $(blockid + '_h4').style.cssText; var v4 = $(blockid + '_h6').style.cssText; var v7 = $(blockid + '_h8').style.cssText; var c_id = 1; var n_id = 1; for (var i = 1; i <= count; i++) { if ($(blockid + '_la' + i).style.cssText == v2 && $(blockid + '_lb' + i).style.cssText == v4 && $(blockid + '_lc' + i).style.cssText == v7) { c_id = i; break; } } ; if (c_id == count) { n_id = 1; } else { n_id = c_id + 1; } ; multi(blockid, count, n_id, mult); };function automuti() { for (var i = 0; i < _muti_roll_a.length; i++) { var v = _muti_roll_a[i]; if (v != '') { var v_a = v.split('|'); if (!isNaN(v_a[1]) && v_a[0] != '') { var j = v_a[1] * 1000; if (in_array(v_a[0], all_div_id)) { window.setInterval(MultiScroll, j, v_a[0]); } } } } };function mscrolls(v, t) { if ($(v + '_f1').offsetWidth - $(v + '_content').scrollLeft <= 0) { $(v + '_content').scrollLeft -= $(v + '_f').offsetWidth; if (!isNaN(t) && t > 0) { $(v + '_content').onmouseover(); window.setTimeout(mscrolls2, t * 1000, v); } } else { $(v + '_content').scrollLeft++; } };function mscrolls1(v, t) { var a = $(v + '_content').scrollTop; $(v + '_content').scrollTop++; var b = $(v + '_content').scrollTop; var c = $('ohid_' + v).style.height; var c = c.replace('px', ''); if (a == b) { $(v + '_content').scrollTop = 0; if (!isNaN(t) && t > 0) { $(v + '_content').onmouseover(); window.setTimeout(mscrolls2, t * 1000, v); } } };function mscrolls2(v) { $(v + '_content').onmouseout(); };function popgg(obj) { if (typeof obj != 'object') { return; } ; var popgg_h = obj.height; var popgg_w = obj.width; var popgg_t = 10; var popgg_l = 10; var popgg_c = obj.content; var editor_win = window.open('', "_blank", 'height=' + popgg_h + ',width=' + popgg_w + ',top=' + popgg_t + ',left=' + popgg_l + ',toolbar=no,menubar=no,scrollbars=no, resizable=yes,location=no, status=no'); editor_win.document.open('text/html', 'replace'); editor_win.opener = null; editor_win.document.writeln(''); editor_win.document.writeln(''); editor_win.document.writeln('
'); editor_win.document.writeln(''); editor_win.document.writeln(''); editor_win.document.writeln(''); editor_win.document.writeln(''); editor_win.document.writeln(''); editor_win.document.writeln(''); editor_win.document.writeln(popgg_c); editor_win.document.writeln(''); editor_win.document.writeln(''); editor_win.document.close(); };function floatgg(obj) { if (typeof obj != 'object') { return; } ; var tmpDiv = document.createElement("div"); tmpDiv.innerHTML = obj.content + ''; tmpDiv.style.cssText = "position:absolute; z-index:1000;"; var w = parseInt(obj.width); var h = parseInt(obj.height); var speed = parseInt(obj.place); if (isNaN(w) || w < 1) { tmpDiv.x = 200; } else { tmpDiv.x = w; } ; if (isNaN(h) || h < 1) { tmpDiv.y == 200; } else { tmpDiv.y = h; } ; if (isNaN(speed) || speed < 1) { tmpDiv.delay = 10; } else { tmpDiv.delay = speed; } ; document.body.appendChild(tmpDiv); showfloat.init(tmpDiv); };function coupletsgg(obj) { if (typeof obj != 'object') { return; } ; var speed = parseInt(obj.place); if (speed == 2) { var id1 = getrand(); var id2 = getrand(); var tmpDiv = document.createElement("div"); var tmpDiv1 = document.createElement("div"); tmpDiv1.innerHTML = tmpDiv.innerHTML = obj.content + ''; tmpDiv1.style.cssText = tmpDiv.style.cssText = "position:absolute; z-index:1000;"; tmpDiv.id = id1; tmpDiv1.id = id2; tmpDiv.style.right = '5px'; tmpDiv1.style.left = '5px'; document.body.appendChild(tmpDiv); document.body.appendChild(tmpDiv1); tmpDiv.itl = window.setInterval(setcoupletgg, 500, tmpDiv); document.body.appendChild(tmpDiv1); tmpDiv1.itl = window.setInterval(setcoupletgg, 500, tmpDiv1); } else { var tmpDiv = document.createElement("div"); tmpDiv.innerHTML = obj.content + ''; tmpDiv.style.cssText = "position:absolute; z-index:1000;"; if (speed == 1) { tmpDiv.style.right = '5px'; } else { tmpDiv.style.left = '5px'; } ; document.body.appendChild(tmpDiv); tmpDiv.itl = window.setInterval(setcoupletgg, 500, tmpDiv); } };function kefugg(obj) { if (typeof obj != 'object') { return; } ; var speed = parseInt(obj.place); var tmpDiv = document.createElement("div"); tmpDiv.setAttribute('exaint', obj.exaint); tmpDiv.innerHTML = obj.content; tmpDiv.style.cssText = "position:absolute; z-index:1000;"; if (speed == 1) { tmpDiv.style.right = '5px'; } else { tmpDiv.style.left = '5px'; } ; document.body.appendChild(tmpDiv); tmpDiv.itl = window.setInterval(setcoupletgg, 500, tmpDiv); };function showOrNot(id) { if ($(id).style.display == 'none') { $(id).style.display = ''; } else { $(id).style.display = 'none'; } }; function setcoupletgg(obj) { var exaint = parseInt(obj.getAttribute('exaint')); if (isNaN(exaint)) { obj.style.top = 5 + getscrollTop() + 'px'; } else { obj.style.top = exaint + getscrollTop() + 'px'; } };var Marqueen = { "init": function (a, c, d, t) { var b = a.id.replace('_content', ''); try { a.style.height = ''; a.style.width = ''; eval("clearInterval(Marqueen.scroll_" + b + ");"); } catch (e) { } ; if (c == 1) { if ($('ohid_' + b).style.display == 'none') { $('ohid_' + b).style.visibility = "hidden"; $('ohid_' + b).style.display = ''; } ; var tmp = parseInt(a.offsetWidth); var c = $('ohid_' + b).offsetWidth; if (c < tmp) { tmp = c - 2; } ; $(b + '_f2').width = tmp * 2; a.style.width = tmp + 'px'; a.style.overflow = 'hidden'; if ($('ohid_' + b).style.visibility == "hidden") { $('ohid_' + b).style.visibility = ""; $('ohid_' + b).style.display = 'none'; } ; eval("Marqueen.scroll_" + b + "=window.setInterval(mscrolls,d,b,t);"); a.onmouseover = function () { eval("clearInterval(Marqueen.scroll_" + b + ");"); }; a.onmouseout = function () { eval("Marqueen.scroll_" + b + "=window.setInterval(mscrolls,d,b,t);"); } } else if (c == 2) { if ($('ohid_' + b).style.display == 'none') { $('ohid_' + b).style.visibility = "hidden"; $('ohid_' + b).style.display = ''; } ; var tmp = parseInt(a.offsetHeight / 2); a.style.height = tmp + 'px'; a.style.overflow = 'hidden'; if ($('ohid_' + b).style.visibility == "hidden") { $('ohid_' + b).style.visibility = ""; $('ohid_' + b).style.display = 'none'; } ; eval("Marqueen.scroll_" + b + "=window.setInterval(mscrolls1,d,b,t);"); a.onmouseover = function () { eval("clearInterval(Marqueen.scroll_" + b + ");"); }; a.onmouseout = function () { eval("Marqueen.scroll_" + b + "=window.setInterval(mscrolls1,d,b,t);"); } } } }; var showfloat = { "obj": null, "x": 150, "y": 160, "xin": true, "yin": true, "step": 1, "itl": 1, "delay": 10, "init": function (obj) { showfloat.obj = obj; obj.xin = showfloat.xin; obj.yin = showfloat.yin; obj.step = showfloat.step; obj.it1 = showfloat.it1; obj.itl = window.setInterval(showfloat.float, showfloat.delay, obj); obj.onmouseover = showfloat.start; obj.onmouseout = showfloat.end; }, "float": function (obj) { var L = T = 0; var tmp = document.body.clientWidth; if (isNaN(tmp) || tmp < 2) { var tmp = document.documentElement.clientWidth; } ; var R = tmp - obj.offsetWidth; var C = $('alltable').offsetHeight; var B = C - obj.offsetHeight; if (B > 500) { B = 500; } ; obj.style.left = obj.x + document.body.scrollLeft; obj.style.top = obj.y + getscrollTop(); obj.x = obj.x + obj.step * (obj.xin ? 1 : -1); if (obj.x < L) { obj.xin = true; obj.x = L; } ; if (obj.x > R) { obj.xin = false; obj.x = R; } ; obj.y = obj.y + obj.step * (obj.yin ? 1 : -1); if (obj.y < T) { obj.yin = true; obj.y = T; } ; if (obj.y > B) { obj.yin = false; obj.y = B; } }, "start": function (a) { var b = this; clearInterval(b.itl); return false; }, "end": function (a) { var b = this; b.itl = window.setInterval(showfloat.float, showfloat.delay, b); return false; } }; function special_asqewrqdfad(t) { var b = t.getAttribute("sbgimg"); var b1 = t.getAttribute("sbg"); var b2 = t.getAttribute("sfg"); if (b != 'undefined') { t.setAttribute("sbgimg1", t.style.backgroundImage); t.style.backgroundImage = "url(" + b + ")"; } if (b1 != 'undefined') { t.setAttribute("sbg1", t.style.backgroundColor); t.style.backgroundColor = b1; } if (b2 != 'undefined') { t.setAttribute("sfg1", t.style.color); t.style.color = b2; } } function special_asqewrqdfad1(t) { var b = t.getAttribute("sbgimg1"); var b1 = t.getAttribute("sbg1"); var b2 = t.getAttribute("sfg1"); if (b != 'undefined') { t.style.backgroundImage = b; } if (b1 != 'undefined') { t.style.backgroundColor = b1; } if (b2 != 'undefined') { t.style.color = b2; } } function special_asqewrqdfad2(t) { var b = t.getAttribute("sbgimg"); if (b != 'undefined') { t.setAttribute("sbgimg1", t.src); t.src = b; } } function special_asqewrqdfad3(t) { var b = t.getAttribute("sbgimg1"); if (b != 'undefined') { t.src = b; } };function AjaxReflash(id, bfid, exa) { var postdata = "_mod=" + _mod + "&id=" + id + "&bfid=" + bfid + "&mod=" + mod + "&fid=" + fid + "&tid=" + tid + "&_exa=" + exa; startRequest('POST', 'design/block_s_default.php', postdata, block_s_default); };function block_s_default(str) { var s, u_block_id, u_block_html; s = str.split('==c=+a+=b=++='); u_block_id = s[0]; u_block_html = s[1]; if (s[2] == 1 || s[2] == 2) { } else { } ; var _tmp_a_oid = u_block_id.replace('_content', ''); if (typeof u_block_html != 'undefined' && u_block_html) { $(u_block_id).innerHTML = u_block_html; } ; content_down(0); getcontop(); adjust_center_bd(); if (typeof u_block_html != 'undefined' && u_block_html) { $(u_block_id).innerHTML = u_block_html; } };function setAlltableHeight() { var h = parseInt($('quanpinggg_div').style.height); if (isNaN(h)) { h = 0; } ; $('alltable').style.top = (alltabletop + h) + 'px'; };function closeQuanpinggg() { $('quanpinggg_div').movefun = 'setAlltableHeight();'; $('quanpinggg_div').clearContent = '1'; ohoexpand.cl($('quanpinggg_div')); };function reloadok() { var tmp_num = marqueen_a.length; if (tmp_num > 1) { for (var i = 0; i < tmp_num - 1; i++) { var tmp_a = marqueen_a[i].split('|'); if (in_array(tmp_a[0], all_div_id)) { Marqueen.init($(tmp_a[0] + '_content'), tmp_a[1], tmp_a[2], tmp_a[3]); } } } ; content_down(0); getcontop(); adjust_center_bd(); for (var i = 0; i <= popgg_a.length; i++) { if (typeof popgg_a[i] == 'object') { popgg(popgg_a[i]) } } ; for (var i = 0; i <= floatgg_a.length; i++) { if (typeof floatgg_a[i] == 'object') { floatgg(floatgg_a[i]) } } ; for (var i = 0; i <= coupletsgg_a.length; i++) { if (typeof coupletsgg_a[i] == 'object') { coupletsgg(coupletsgg_a[i]) } } ; for (var i = 0; i <= kefugg_a.length; i++) { if (typeof kefugg_a[i] == 'object') { kefugg(kefugg_a[i]) } } ; if (typeof quanpinggg_a == 'object') { var gh = parseInt(quanpinggg_a.height); if (!isNaN(gh)) { var showid = parseInt(quanpinggg_a.showid); if (showid > 1) { setTimeout(closeQuanpinggg, showid * 1000); } } } ; for (var i = 0; i <= _autoc_id_a.length; i++) { _autoh_gg(_autoc_id_a[i]); } ; mozillaAdjust(); setTimeout(checherror1, 100); };function _autoh_gg(v) { if ($('ohid_' + v)) { var t = parseInt($('ohid_' + v).getAttribute("closet")); if (!isNaN(t)) { window.setTimeout(closeOhoBlocks, t * 1000, v); } } };function adminlogin() { w = 600; h = 335; t = (window.screen.height - h) / 2; l = (window.screen.width - w) / 2; window.open('login/weblogin.php?pre_url=' + _pre_url, 'newwindow' + new Date().getTime(), 'width=' + w + ',height=' + h + ',top=' + t + ',left=' + l + ',location=no'); };function HideFlyBar() { divFlyBar.style.visibility = "hidden"; myFlyBarRestorButton.style.display = ''; };function large_pic(obj) { var s = obj.src; s = s.replace('_m.', '.'); window.open(s); };function catchFlyBar(e) { if (window.event.srcElement.tagName == "DIV") { bIsCatchFlyBar = true; var x = event.x + document.body.scrollLeft; var y = event.y + document.body.scrollTop; dragClickX = x - divFlyBar.style.pixelLeft; dragClickY = y - divFlyBar.style.pixelTop; divFlyBar.setCapture(); document.onmousemove = moveFlyBar; } };function releaseFlyBar(e) { bIsCatchFlyBar = false; divFlyBar.releaseCapture(); document.onmousemove = null; };function moveFlyBar(e) { if (bIsCatchFlyBar) { divFlyBar.style.left = event.x + document.body.scrollLeft - dragClickX; divFlyBar.style.top = event.y + document.body.scrollTop - dragClickY; var dtop = parseInt(divFlyBar.style.top); var dleft = parseInt(divFlyBar.style.left); if (dtop < 1) { divFlyBar.style.top = '1px'; } ; if (dleft < 1) { divFlyBar.style.left = '1px'; } } };function myload_flybar() { divFlyBar.style.top = document.body.scrollTop; divFlyBar.style.left = document.body.offsetWidth - divFlyBar.clientWidth - 30 + document.body.scrollLeft; };function getscrollHeight() { if (document.body.scrollHeight > document.documentElement.clientHeight) { return document.body.scrollHeight } else { return document.documentElement.clientHeight; } };var MYDrag = { "obj": null, "init": function (a) { a.onmousedown = MYDrag.start; }, "start": function (a) { var b = MYDrag.obj = this; a = MYDrag.fixE(a); var c = parseInt(b.style.top); var d = parseInt(b.style.left); b.lastMouseX = a.clientX; b.lastMouseY = a.clientY; document.onmousemove = MYDrag.MYDrag; document.onmouseup = MYDrag.end; return false; }, "MYDrag": function (a) { a = MYDrag.fixE(a); var b = MYDrag.obj; var c = a.clientY; var d = a.clientX; var e = parseInt(b.style.top); var f = parseInt(b.style.left); var h, g; h = f + d - b.lastMouseX; g = e + c - b.lastMouseY; b.style.left = h + "px"; b.style.top = g + "px"; b.lastMouseX = d; b.lastMouseY = c; return false; }, "end": function (a) { document.onmousemove = null; document.onmouseup = null; MYDrag.obj = null; }, "r": function () { return false; }, "fixE": function (a) { if (typeof a == "undefined")a = window.event; if (typeof a.layerX == "undefined")a.layerX = a.offsetX; if (typeof a.layerY == "undefined")a.layerY = a.offsetY; return a; } }; function showmask() { try { closeMaskDiv(); } catch (e) { } ; if (maskDiv == null || !maskDiv) { maskDiv = document.createElement("span"); maskDiv.style.cssText = "position:absolute;top:0px;left:0px;"; if (Browser.isMozilla) { } else { } ; maskDiv.style.height = getscrollHeight(); var tmp = document.body.clientWidth; if (isNaN(tmp) || tmp < 2) { var tmp = document.documentElement.clientWidth; } ; maskDiv.style.width = tmp; document.body.appendChild(maskDiv); } };function cre_winlist(v, h, w, t) { var h = h - 20; var str = ''; if (t == 1) { str += ''; } else { str += ''; } ; str += ' | '; } ; str += '';
str += v;
if (b == 1) {
str += ' '; str += ''; } else if (b == 2) { str += ' '; str += ''; } ; str += ' | ';
str += '
\ 您有' + info.table + '\ 条待评价的信件,点击前往\
'; } if (info.bstable > 0) { cont += '\ 您有' + info.bstable + '\ 条待评价的办事,点击前往\
'; } if (info.yuyue > 0) { cont += '\ 您有' + info.yuyue + '\ 条待预约的办事,点击前往\
'; } if(!cont){ return false; } art.dialog.notice({ title: '消息提醒', width: 300,// 必须指定一个像素宽度值或者百分比,否则浏览器窗口改变可能导致artDialog收缩 content: '