bj.attachEvent ? labelObj.attachEvent("onmouseout", function() { clearTimeout(labelObj._timeout) }) : labelObj.addEventListener("mouseout", function() { clearTimeout(labelObj._timeout) }, !1))), TempID == this.defaultID ? (labelID != "none" && this._setClassName(labelObj, "open"), this.$(contID) && (contObj.style.display = ""), this.ID != "none" && parentBg != null && (this.parentObj.style.background = parentBg), springEvent != null && eval(springEvent)) : (labelID != "none" && this._setClassName(labelObj, "close"), contObj && (contObj.style.display = "none")); var mouseInFunc = function() { t.mouseIn = !0 }, mouseOutFunc = function() { t.mouseIn = !1 }; contObj && (contObj.attachEvent ? contObj.attachEvent("onmouseover", mouseInFunc) : contObj.addEventListener("mouseover", mouseInFunc, !1), contObj.attachEvent ? contObj.attachEvent("onmouseout", mouseOutFunc) : contObj.addEventListener("mouseout", mouseOutFunc, !1)) }, select: function(num, force) { if (typeof num != "number") throw new Error("select(num)参数错误:num 不是 number 类型!(value:" + num + ")"); if (force != 1 && this.selectedIndex == num) return; var i; for (i = 0; i < this.label.length; i++) if (i == num) this.label[i][0] != "none" && this._setClassName(this.$(this.label[i][0]), "open"), this.$(this.label[i][1]) && (this.$(this.label[i][1]).style.display = ""), this.ID != "none" && this.label[i][2] != null && (this.parentObj.style.background = this.label[i][2]), this.label[i][3] != null && eval(this.label[i][3]); else if (this.selectedIndex == i || force == 1) this.label[i][0] != "none" && this._setClassName(this.$(this.label[i][0]), "close"), this.$(this.label[i][1]) && (this.$(this.label[i][1]).style.display = "none"), this.label[i][4] != null && eval(this.label[i][4]); this.selectedIndex = num }, random: function() { if (arguments.length != this.label.length) throw new Error("random()参数错误:参数数量与标签数量不符!(length:" + arguments.length + ")"); var e = 0, t; for (t = 0; t < arguments.length; t++) e += arguments[t]; var n = Math.random(), r = 0; for (t = 0; t < arguments.length; t++) { r += arguments[t] / e; if (n < r) { this.select(t); break } } }, order: function() { if (arguments.length != this.label.length) throw new Error("order()参数错误:参数数量与标签数量不符!(length:" + arguments.length + ")"); if (!/^\d+$/.test(SubShowClass.sum)) return; var e = 0, t; for (t = 0; t < arguments.length; t++) e += arguments[t]; var n = SubShowClass.sum % e; n == 0 && (n = e); var r = 0; for (t = 0; t < arguments.length; t++) { r += arguments[t]; if (r >= n) { this.select(t); break } } }, play: function(e) { var t = this; typeof e == "number" && (this.spaceTime = e), clearInterval(this.autoPlayTimeObj), this.autoPlayTimeObj = setInterval(function() { t.autoPlayFunc() }, this.spaceTime), this.autoPlay = !0 }, autoPlayFunc: function() { if (this.autoPlay == 0 || this.mouseIn == 1) return; this.nextLabel() }, nextLabel: function() { var e = this, t = this.selectedIndex; t++, t >= this.label.length && (t = 0), this.select(t), this.autoPlay == 1 && (clearInterval(this.autoPlayTimeObj), this.autoPlayTimeObj = setInterval(function() { e.autoPlayFunc() }, this.spaceTime)) }, previousLabel: function() { var e = this, t = this.selectedIndex; t--, t < 0 && (t = this.label.length - 1), this.select(t), this.autoPlay == 1 && (clearInterval(this.autoPlayTimeObj), this.autoPlayTimeObj = setInterval(function() { e.autoPlayFunc() }, this.spaceTime)) }, stop: function() { clearInterval(this.autoPlayTimeObj), this.autoPlay = !1 }, $: function(objName) { return document.getElementById ? eval('document.getElementById("' + objName + '")') : eval("document.all." + objName) } }, SubShowClass.readCookie = function(e) { var t = "", n = e + "="; if (document.cookie.length > 0) { var r = document.cookie.indexOf(n); if (r != -1) { r += n.length; var i = document.cookie.indexOf(";", r); i == -1 && (i = document.cookie.length), t = unescape(document.cookie.substring(r, i)) } } return t }, SubShowClass.writeCookie = function(e, t, n, r) { var i = "", s = ""; n != null && (i = new Date((new Date).getTime() + n * 36e5), i = "; expires=" + i.toGMTString()), r != null && (s = ";domain=" + r), document.cookie = e + "=" + escape(t) + i + s }, SubShowClass.sum = SubShowClass.readCookie("SSCSum"), /^\d+$/.test(SubShowClass.sum) ? SubShowClass.sum++:SubShowClass.sum = 1, SubShowClass.writeCookie("SSCSum", SubShowClass.sum, 12); // 排行榜tab var subShow = new SubShowClass('newsRankTab', 'click'); for(var i = 1; i <=2; i ++){ subShow.addLabel('newsRankTabT' + i, 'newsRankTabC' + i); }

视点话题

广东省参与丝绸之路经济带和21世纪海上丝绸之路建设实施方案

广东省参与丝绸之路经济带和21世纪海上丝绸之路建设实施方案

参与“一带一路”尤其是21世纪海上丝绸之路建设,是新时期广东贯彻落实中央政府部署、增创对外开放新优势的重要举措。

印发关于推进新疆丝绸之路经济带核心区医疗服务中心建设方案的通知

印发关于推进新疆丝绸之路经济带核心区医疗服务中心建设方案的通知

抢抓新疆发展历史新机遇,加快推进丝绸之路经济带核心区医疗服务中心建设,实现新疆经济社会更好更快发展,夯实新疆社会稳定和长治久安的基础,制定新疆丝绸之路经济带核心区医疗服务中心建设方案。

福建省21世纪海上丝绸之路核心区建设方案

福建省21世纪海上丝绸之路核心区建设方案

2015年3月,经国务院授权,国家发展改革委、外交部、商务部发布《推动共建丝绸之路经济带和21世纪海上丝绸之路的愿景与行动》,明确提出支持福建建设21世纪海上丝绸之路核心区。

建设中蒙俄经济走廊规划纲要

建设中蒙俄经济走廊规划纲要

中华人民共和国、蒙古国和俄罗斯联邦以发展传统友好、互利的经贸关系作为三国外交政策的战略方向之一,根据三方二0一五年七月九日在乌法签署的关于建设中蒙俄经济走廊规划纲要的谅解备忘录,制定建设中蒙俄经济走廊规划纲要。

推动共建丝绸之路经济带和21世纪海上丝绸之路的愿景与行动

推动共建丝绸之路经济带和21世纪海上丝绸之路的愿景与行动

“一带一路”是一条互尊互信之路,一条合作共赢之路,一条文明互鉴之路。只要沿线各国和衷共济、相向而行,就一定能够谱写建设丝绸之路经济带和21世纪海上丝绸之路的新篇章,让沿线各国人民共享“一带一路”共建成果。

互惠营销

联盟商家

热点资讯