(function (b) { b.ifixpng = function (c) { b.ifixpng.pixel = c }; b.ifixpng.regexp = { bg: /^url\(["']?(.*\.png([?].*)?)["']?\)$/i, img: /.*\.png([?].*)?$/i }, b.ifixpng.getPixel = function () { return b.ifixpng.pixel || "/images/pixel.gif" }; var a = { base: b("base").attr("href"), ltie7: b.browser.msie && b.browser.version < 7, filter: function (c) { return "progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=true,sizingMethod=crop,src='" + c + "')" } }; b.fn.ifixpng = a.ltie7 ? function () { function c(h, g, e, d, f) { h.css({ filter: a.filter(g), width: e, height: d }).attr({ src: b.ifixpng.getPixel() }).positionFix() } return this.each(function () { var f = b(this); if (f.is("img") || f.is("input")) { var h, e; if (this.src && this.src.match(b.ifixpng.regexp.img)) { h = (a.base && this.src.substring(0, 1) != "/" && this.src.indexOf(a.base) === -1) ? a.base + this.src: this.src; if (!this.width || !this.height) { b(new Image()).one("load", function () { c(f, h, this.width, this.height); b(this).remove() }).attr("src", h) } else { c(f, h, this.width, this.height) } } } else { if (this.style) { var j = f.css("backgroundImage"); if (j && j.match(b.ifixpng.regexp.bg) && this.currentStyle.backgroundRepeat == "no-repeat") { j = RegExp.$1; var d = this.currentStyle.backgroundPositionX || 0, k = this.currentStyle.backgroundPositionY || 0; if (d || k) { var g = {}, e; if (typeof d != "undefined") { if (d == "left") { g.left = 0 } else { if (d == "right") { g.right = f.width() % 2 === 1 ? -1 : 0 } else { g.left = d } } } if (typeof k != "undefined") { if (k == "bottom") { g.bottom = f.height() % 2 === 1 ? -1 : 0 } else { if (k == "top") { g.top = 0 } else { g.top = k } } } e = new Image(); b(e).one("load", function () { var l, p, n = {}, o; if (/center|%/.test(g.top)) { n.top = "(this.parentNode.offsetHeight - this.offsetHeight) * " + (g.top == "center" ? 0.5 : (parseInt(g.top) / 100)); delete g.top } if (/center|%/.test(g.left)) { n.left = "(this.parentNode.offsetWidth - this.offsetWidth) * " + (g.left == "center" ? 0.5 : (parseInt(g.left) / 100)); delete g.left } f.positionFix().css({ backgroundImage: "none" }).prepend(b("
").css(g).css({ width: this.width, height: this.height, position: "absolute", filter: a.filter(j) })); if (n.top || n.left) { var m = f.children(":first")[0]; for (o in n) { m.style.setExpression(o, n[o], "JavaScript") } } b(this).remove() }); e.src = j } else { f.css({ backgroundImage: "none", filter: a.filter(j) }) } } } } }) }: function () { return this }; b.fn.positionFix = function () { return this.each(function () { var c = b(this); if (c.css("position") != "absolute") { c.css({ position: "relative" }) } }) } })(jQuery); (function (a) { a.fn.jMarquee = function (d) { d = a.extend({ speed: 120, step: 1, direction: "up", visible: 1 }, d || {}); var g = 0; var b = a(this); var j = a("ul", b); var c = a("li", j); var e = c.size(); if (d.direction == "left") { c.css("float", "left") } var m = c.innerWidth(); var k = c.height(); var h = k * e; var f = m * e; if (e > d.visible) { j.append(c.slice(0, d.visible).clone()); li = a("li", j); e = li.size(); b.css({ position: "relative", overflow: "hidden" }); j.css({ position: "relative", margin: "0", padding: "0", "list-style": "none" }); li.css({ margin: "0", padding: "0", position: "relative" }); switch (d.direction) { case "left": b.css("width", (m * d.visible) + "px"); j.css("width", (m * e) + "px"); li.css("float", "left"); break; case "up": b.css({ height: (k * d.visible) + "px" }); j.css("height", (k * e) + "px"); break } var l = setInterval(n, d.speed); j.hover(function () { clearInterval(l) }, function () { l = setInterval(n, d.speed) }) } function n() { if (d.direction == "left") { if (b.scrollLeft() >= f) { b.scrollLeft(0) } else { var p = b.scrollLeft(); p += parseInt(d.step); b.scrollLeft(p) } } if (d.direction == "up") { if (b.scrollTop() >= h) { b.scrollTop(0) } else { var o = b.scrollTop(); o += parseInt(d.step); b.scrollTop(o) } } } } })(jQuery); $(function () { if ($.browser.msie) { if ($.browser.version == "6.0") { $(".ifixpng").ifixpng() } } }); var scrollTable = function (e) { if (!document.getElementById(e)) { return false } var c = 50; var g = document.getElementById(e); var f = document.getElementById(e + "-a"); var d = document.getElementById(e + "-b"); d.innerHTML = f.innerHTML; function a() { if (d.offsetHeight - g.scrollTop <= 0) { g.scrollTop -= f.offsetHeight } else { g.scrollTop++ } } var b = setInterval(a, c); g.onmouseover = function () { clearInterval(b) }; g.onmouseout = function () { b = setInterval(a, c) } }; var sysScrollLeft = function (h) { if (!document.getElementById(h)) { return false } if (!$.support.opacity) { var g = $("#" + h); g.width(0); g.width(g.parent().width()) } var c = 20; var f = document.getElementById(h + "-b"); var e = document.getElementById(h + "-a"); var d = document.getElementById(h); f.innerHTML = e.innerHTML; function a() { if (f.offsetWidth - d.scrollLeft <= 0) { d.scrollLeft -= e.offsetWidth } else { d.scrollLeft++ } } var b = setInterval(a, c); d.onmouseover = function () { clearInterval(b) }; d.onmouseout = function () { b = setInterval(a, c) } }; $(function () { $("#menuSitenav li").hover(function () { $("#menuSitenav div").hide(); $(this).addClass("open").find("div").fadeIn("slow"); $(this).css({ "z-index": "1" }).siblings().css({ "z-index": "0" }); }, function () { $(this).removeClass("open").find("div").hide() }); });