(function (c) { var e = window, d = document, a = "", b = "object"; c.flashPlayerVersion = (function () { var h, f = null, m = false, l = "ShockwaveFlash.ShockwaveFlash"; if (!(h = navigator.plugins["Shockwave Flash"])) { try { f = new ActiveXObject(l + ".7") } catch (k) { try { f = new ActiveXObject(l + ".6"); h = [6, 0, 21]; f.AllowScriptAccess = "always" } catch (j) { if (h && h[0] === 6) { m = true } } if (!m) { try { f = new ActiveXObject(l) } catch (i) { h = "X 0,0,0" } } } if (!m && f) { try { h = f.GetVariable("$version") } catch (g) { } } } else { h = h.description } h = h.match(/^[A-Za-z\s]*?(\d+)(\.|,)(\d+)(\s+r|,)(\d+)/); return [h[1] * 1, h[3] * 1, h[5] * 1] } ()); c.flashExpressInstaller = "expressInstall.swf"; c.hasFlashPlayer = (c.flashPlayerVersion[0] !== 0); c.hasFlashPlayerVersion = function (g) { var f = c.flashPlayerVersion; g = (/string|integer/.test(typeof g)) ? g.toString().split(".") : g; g = [g.major || g[0] || f[0], g.minor || g[1] || f[1], g.release || g[2] || f[2]]; return (c.hasFlashPlayer && (g[0] > f[0] || (g[0] === f[0] && (g[1] > f[1] || (g[1] === f[1] && g[2] >= f[2]))))) }; c.flash = function (q) { if (!c.hasFlashPlayer) { return false } var g = q.swf || a, o = q.params || {}, i = d.createElement("body"), f, p, l, h, n, m, k, j; q.height = q.height || 180; q.width = q.width || 320; if (q.hasVersion && !c.hasFlashPlayerVersion(q.hasVersion)) { c.extend(q, { id: "SWFObjectExprInst", height: Math.max(q.height, 137), width: Math.max(q.width, 214) }); g = q.expressInstaller || c.flashExpressInstaller; o = { flashvars: { MMredirectURL: e.location.href, MMplayerType: (c.browser.msie && c.browser.win) ? "ActiveX" : "PlugIn", MMdoctitle: d.title.slice(0, 47) + " - Flash Player Installation"}} } if (typeof o === b) { if (q.flashvars) { o.flashvars = q.flashvars } if (q.wmode) { o.wmode = q.wmode } } for (n in (m = ["swf", "expressInstall", "hasVersion", "params", "flashvars", "wmode"])) { delete q[m[n]] } f = []; for (n in q) { if (typeof q[n] === b) { p = []; for (m in q[n]) { p.push(m.replace(/([A-Z])/, "-$1").toLowerCase() + ":" + q[n][m] + ";") } q[n] = p.join(a) } f.push(n + '="' + q[n] + '"') } q = f.join(" "); if (typeof o === b) { f = []; for (n in o) { if (typeof o[n] === b) { p = []; for (m in o[n]) { if (typeof o[n][m] === b) { l = []; for (k in o[n][m]) { if (typeof o[n][m][k] === b) { h = []; for (j in o[n][m][k]) { h.push([j.replace(/([A-Z])/, "-$1").toLowerCase(), ":", o[n][m][k][j], ";"].join(a)) } o[n][m][k] = h.join(a) } l.push([k, "{", o[n][m][k], "}"].join(a)) } o[n][m] = l.join(a) } p.push([m, "=", o[n][m]].join(a)) } o[n] = p.join("&amp;") } f.push(['<PARAM NAME="', n, '" VALUE="', o[n], '">'].join(a)) } o = f.join(a) } if (!(/style=/.test(q))) { q += ' style="vertical-align:text-top;"' } if (!(/style=(.*?)vertical-align/.test(q))) { q = q.replace(/style="/, 'style="vertical-align:text-top;') } if (c.browser.msie) { q += ' classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"'; o = '<PARAM NAME="movie" VALUE="' + g + '">' + o } else { q += ' type="application/x-shockwave-flash" data="' + g + '"' } i.innerHTML = ["<OBJECT ", q, ">", o, "</OBJECT>"].join(a); return c(i.firstChild) }; c.fn.flash = function (g) { if (!c.hasFlashPlayer) { return this } var f = 0, h; while ((h = this.eq(f++))[0]) { h.html(c.flash(c.extend({}, g))); if (document.getElementById("SWFObjectExprInst")) { f = this.length } } return this } } (jQuery)); jQuery.ui || (function (p) { var j = p.fn.remove, o = p.browser.mozilla && (parseFloat(p.browser.version) < 1.9); p.ui = { version: "1.7.2", plugin: { add: function (c, b, e) { var a = p.ui[c].prototype; for (var d in e) { a.plugins[d] = a.plugins[d] || []; a.plugins[d].push([b, e[d]]) } }, call: function (d, b, c) { var e = d.plugins[b]; if (!e || !d.element[0].parentNode) { return } for (var a = 0; a < e.length; a++) { if (d.options[e[a][0]]) { e[a][1].apply(d.element, c) } } } }, contains: function (a, b) { return document.compareDocumentPosition ? a.compareDocumentPosition(b) & 16 : a !== b && a.contains(b) }, hasScroll: function (a, c) { if (p(a).css("overflow") == "hidden") { return false } var d = (c && c == "left") ? "scrollLeft" : "scrollTop", b = false; if (a[d] > 0) { return true } a[d] = 1; b = (a[d] > 0); a[d] = 0; return b }, isOverAxis: function (b, c, a) { return (b > c) && (b < (c + a)) }, isOver: function (e, c, f, a, d, b) { return p.ui.isOverAxis(e, f, d) && p.ui.isOverAxis(c, a, b) }, keyCode: { BACKSPACE: 8, CAPS_LOCK: 20, COMMA: 188, CONTROL: 17, DELETE: 46, DOWN: 40, END: 35, ENTER: 13, ESCAPE: 27, HOME: 36, INSERT: 45, LEFT: 37, NUMPAD_ADD: 107, NUMPAD_DECIMAL: 110, NUMPAD_DIVIDE: 111, NUMPAD_ENTER: 108, NUMPAD_MULTIPLY: 106, NUMPAD_SUBTRACT: 109, PAGE_DOWN: 34, PAGE_UP: 33, PERIOD: 190, RIGHT: 39, SHIFT: 16, SPACE: 32, TAB: 9, UP: 38} }; if (o) { var m = p.attr, n = p.fn.removeAttr, k = "http://www.w3.org/2005/07/aaa", r = /^aria-/, q = /^wairole:/; p.attr = function (c, d, b) { var a = b !== undefined; return (d == "role" ? (a ? m.call(this, c, d, "wairole:" + b) : (m.apply(this, arguments) || "").replace(q, "")) : (r.test(d) ? (a ? c.setAttributeNS(k, d.replace(r, "aaa:"), b) : m.call(this, c, d.replace(r, "aaa:"))) : m.apply(this, arguments))) }; p.fn.removeAttr = function (a) { return (r.test(a) ? this.each(function () { this.removeAttributeNS(k, a.replace(r, "")) }) : n.call(this, a)) } } p.fn.extend({ remove: function () { p("*", this).add(this).each(function () { p(this).triggerHandler("remove") }); return j.apply(this, arguments) }, enableSelection: function () { return this.attr("unselectable", "off").css("MozUserSelect", "").unbind("selectstart.ui") }, disableSelection: function () { return this.attr("unselectable", "on").css("MozUserSelect", "none").bind("selectstart.ui", function () { return false }) }, scrollParent: function () { var a; if ((p.browser.msie && (/(static|relative)/).test(this.css("position"))) || (/absolute/).test(this.css("position"))) { a = this.parents().filter(function () { return (/(relative|absolute|fixed)/).test(p.curCSS(this, "position", 1)) && (/(auto|scroll)/).test(p.curCSS(this, "overflow", 1) + p.curCSS(this, "overflow-y", 1) + p.curCSS(this, "overflow-x", 1)) }).eq(0) } else { a = this.parents().filter(function () { return (/(auto|scroll)/).test(p.curCSS(this, "overflow", 1) + p.curCSS(this, "overflow-y", 1) + p.curCSS(this, "overflow-x", 1)) }).eq(0) } return (/fixed/).test(this.css("position")) || !a.length ? p(document) : a } }); p.extend(p.expr[":"], { data: function (a, b, c) { return !!p.data(a, c[3]) }, focusable: function (b) { var a = b.nodeName.toLowerCase(), c = p.attr(b, "tabindex"); return (/input|select|textarea|button|object/.test(a) ? !b.disabled : "a" == a || "area" == a ? b.href || !isNaN(c) : !isNaN(c)) && !p(b)["area" == a ? "parents" : "closest"](":hidden").length }, tabbable: function (a) { var b = p.attr(a, "tabindex"); return (isNaN(b) || b >= 0) && p(a).is(":focusable") } }); function l(a, f, e, b) { function c(g) { var h = p[a][f][g] || []; return (typeof h == "string" ? h.split(/,?\s+/) : h) } var d = c("getter"); if (b.length == 1 && typeof b[0] == "string") { d = d.concat(c("getterSetter")) } return (p.inArray(e, d) != -1) } p.widget = function (b, c) { var a = b.split(".")[0]; b = b.split(".")[1]; p.fn[b] = function (e) { var g = (typeof e == "string"), f = Array.prototype.slice.call(arguments, 1); if (g && e.substring(0, 1) == "_") { return this } if (g && l(a, b, e, f)) { var d = p.data(this[0], b); return (d ? d[e].apply(d, f) : undefined) } return this.each(function () { var h = p.data(this, b); (!h && !g && p.data(this, b, new p[a][b](this, e))._init()); (h && g && p.isFunction(h[e]) && h[e].apply(h, f)) }) }; p[a] = p[a] || {}; p[a][b] = function (e, f) { var d = this; this.namespace = a; this.widgetName = b; this.widgetEventPrefix = p[a][b].eventPrefix || b; this.widgetBaseClass = a + "-" + b; this.options = p.extend({}, p.widget.defaults, p[a][b].defaults, p.metadata && p.metadata.get(e)[b], f); this.element = p(e).bind("setData." + b, function (h, i, g) { if (h.target == e) { return d._setData(i, g) } }).bind("getData." + b, function (g, h) { if (g.target == e) { return d._getData(h) } }).bind("remove", function () { return d.destroy() }) }; p[a][b].prototype = p.extend({}, p.widget.prototype, c); p[a][b].getterSetter = "option" }; p.widget.prototype = { _init: function () { }, destroy: function () { this.element.removeData(this.widgetName).removeClass(this.widgetBaseClass + "-disabled " + this.namespace + "-state-disabled").removeAttr("aria-disabled") }, option: function (b, a) { var c = b, d = this; if (typeof b == "string") { if (a === undefined) { return this._getData(b) } c = {}; c[b] = a } p.each(c, function (f, e) { d._setData(f, e) }) }, _getData: function (a) { return this.options[a] }, _setData: function (b, a) { this.options[b] = a; if (b == "disabled") { this.element[a ? "addClass" : "removeClass"](this.widgetBaseClass + "-disabled " + this.namespace + "-state-disabled").attr("aria-disabled", a) } }, enable: function () { this._setData("disabled", false) }, disable: function () { this._setData("disabled", true) }, _trigger: function (b, a, g) { var e = this.options[b], d = (b == this.widgetEventPrefix ? b : this.widgetEventPrefix + b); a = p.Event(a); a.type = d; if (a.originalEvent) { for (var c = p.event.props.length, f; c; ) { f = p.event.props[--c]; a[f] = a.originalEvent[f] } } this.element.trigger(a, g); return !(p.isFunction(e) && e.call(this.element[0], a, g) === false || a.isDefaultPrevented()) } }; p.widget.defaults = { disabled: false }; p.ui.mouse = { _mouseInit: function () { var a = this; this.element.bind("mousedown." + this.widgetName, function (b) { return a._mouseDown(b) }).bind("click." + this.widgetName, function (b) { if (a._preventClickEvent) { a._preventClickEvent = false; b.stopImmediatePropagation(); return false } }); if (p.browser.msie) { this._mouseUnselectable = this.element.attr("unselectable"); this.element.attr("unselectable", "on") } this.started = false }, _mouseDestroy: function () { this.element.unbind("." + this.widgetName); (p.browser.msie && this.element.attr("unselectable", this._mouseUnselectable)) }, _mouseDown: function (b) { b.originalEvent = b.originalEvent || {}; if (b.originalEvent.mouseHandled) { return } (this._mouseStarted && this._mouseUp(b)); this._mouseDownEvent = b; var c = this, a = (b.which == 1), d = (typeof this.options.cancel == "string" ? p(b.target).parents().add(b.target).filter(this.options.cancel).length : false); if (!a || d || !this._mouseCapture(b)) { return true } this.mouseDelayMet = !this.options.delay; if (!this.mouseDelayMet) { this._mouseDelayTimer = setTimeout(function () { c.mouseDelayMet = true }, this.options.delay) } if (this._mouseDistanceMet(b) && this._mouseDelayMet(b)) { this._mouseStarted = (this._mouseStart(b) !== false); if (!this._mouseStarted) { b.preventDefault(); return true } } this._mouseMoveDelegate = function (e) { return c._mouseMove(e) }; this._mouseUpDelegate = function (e) { return c._mouseUp(e) }; p(document).bind("mousemove." + this.widgetName, this._mouseMoveDelegate).bind("mouseup." + this.widgetName, this._mouseUpDelegate); (p.browser.safari || b.preventDefault()); b.originalEvent.mouseHandled = true; return true }, _mouseMove: function (a) { if (p.browser.msie && !a.button) { return this._mouseUp(a) } if (this._mouseStarted) { this._mouseDrag(a); return a.preventDefault() } if (this._mouseDistanceMet(a) && this._mouseDelayMet(a)) { this._mouseStarted = (this._mouseStart(this._mouseDownEvent, a) !== false); (this._mouseStarted ? this._mouseDrag(a) : this._mouseUp(a)) } return !this._mouseStarted }, _mouseUp: function (a) { p(document).unbind("mousemove." + this.widgetName, this._mouseMoveDelegate).unbind("mouseup." + this.widgetName, this._mouseUpDelegate); if (this._mouseStarted) { this._mouseStarted = false; this._preventClickEvent = (a.target == this._mouseDownEvent.target); this._mouseStop(a) } return false }, _mouseDistanceMet: function (a) { return (Math.max(Math.abs(this._mouseDownEvent.pageX - a.pageX), Math.abs(this._mouseDownEvent.pageY - a.pageY)) >= this.options.distance) }, _mouseDelayMet: function (a) { return this.mouseDelayMet }, _mouseStart: function (a) { }, _mouseDrag: function (a) { }, _mouseStop: function (a) { }, _mouseCapture: function (a) { return true } }; p.ui.mouse.defaults = { cancel: null, distance: 1, delay: 0} })(jQuery); (function (b) { b.widget("ui.draggable", b.extend({}, b.ui.mouse, { _init: function () { if (this.options.helper == "original" && !(/^(?:r|a|f)/).test(this.element.css("position"))) { this.element[0].style.position = "relative" } (this.options.addClasses && this.element.addClass("ui-draggable")); (this.options.disabled && this.element.addClass("ui-draggable-disabled")); this._mouseInit() }, destroy: function () { if (!this.element.data("draggable")) { return } this.element.removeData("draggable").unbind(".draggable").removeClass("ui-draggable ui-draggable-dragging ui-draggable-disabled"); this._mouseDestroy() }, _mouseCapture: function (a) { var d = this.options; if (this.helper || d.disabled || b(a.target).is(".ui-resizable-handle")) { return false } this.handle = this._getHandle(a); if (!this.handle) { return false } return true }, _mouseStart: function (a) { var d = this.options; this.helper = this._createHelper(a); this._cacheHelperProportions(); if (b.ui.ddmanager) { b.ui.ddmanager.current = this } this._cacheMargins(); this.cssPosition = this.helper.css("position"); this.scrollParent = this.helper.scrollParent(); this.offset = this.element.offset(); this.offset = { top: this.offset.top - this.margins.top, left: this.offset.left - this.margins.left }; b.extend(this.offset, { click: { left: a.pageX - this.offset.left, top: a.pageY - this.offset.top }, parent: this._getParentOffset(), relative: this._getRelativeOffset() }); this.originalPosition = this._generatePosition(a); this.originalPageX = a.pageX; this.originalPageY = a.pageY; if (d.cursorAt) { this._adjustOffsetFromHelper(d.cursorAt) } if (d.containment) { this._setContainment() } this._trigger("start", a); this._cacheHelperProportions(); if (b.ui.ddmanager && !d.dropBehaviour) { b.ui.ddmanager.prepareOffsets(this, a) } this.helper.addClass("ui-draggable-dragging"); this._mouseDrag(a, true); return true }, _mouseDrag: function (a, e) { this.position = this._generatePosition(a); this.positionAbs = this._convertPositionTo("absolute"); if (!e) { var f = this._uiHash(); this._trigger("drag", a, f); this.position = f.position } if (!this.options.axis || this.options.axis != "y") { this.helper[0].style.left = this.position.left + "px" } if (!this.options.axis || this.options.axis != "x") { this.helper[0].style.top = this.position.top + "px" } if (b.ui.ddmanager) { b.ui.ddmanager.drag(this, a) } return false }, _mouseStop: function (f) { var e = false; if (b.ui.ddmanager && !this.options.dropBehaviour) { e = b.ui.ddmanager.drop(this, f) } if (this.dropped) { e = this.dropped; this.dropped = false } if ((this.options.revert == "invalid" && !e) || (this.options.revert == "valid" && e) || this.options.revert === true || (b.isFunction(this.options.revert) && this.options.revert.call(this.element, e))) { var a = this; b(this.helper).animate(this.originalPosition, parseInt(this.options.revertDuration, 10), function () { a._trigger("stop", f); a._clear() }) } else { this._trigger("stop", f); this._clear() } return false }, _getHandle: function (a) { var d = !this.options.handle || !b(this.options.handle, this.element).length ? true : false; b(this.options.handle, this.element).find("*").andSelf().each(function () { if (this == a.target) { d = true } }); return d }, _createHelper: function (f) { var e = this.options; var a = b.isFunction(e.helper) ? b(e.helper.apply(this.element[0], [f])) : (e.helper == "clone" ? this.element.clone() : this.element); if (!a.parents("body").length) { a.appendTo((e.appendTo == "parent" ? this.element[0].parentNode : e.appendTo)) } if (a[0] != this.element[0] && !(/(fixed|absolute)/).test(a.css("position"))) { a.css("position", "absolute") } return a }, _adjustOffsetFromHelper: function (a) { if (a.left != undefined) { this.offset.click.left = a.left + this.margins.left } if (a.right != undefined) { this.offset.click.left = this.helperProportions.width - a.right + this.margins.left } if (a.top != undefined) { this.offset.click.top = a.top + this.margins.top } if (a.bottom != undefined) { this.offset.click.top = this.helperProportions.height - a.bottom + this.margins.top } }, _getParentOffset: function () { this.offsetParent = this.helper.offsetParent(); var a = this.offsetParent.offset(); if (this.cssPosition == "absolute" && this.scrollParent[0] != document && b.ui.contains(this.scrollParent[0], this.offsetParent[0])) { a.left += this.scrollParent.scrollLeft(); a.top += this.scrollParent.scrollTop() } if ((this.offsetParent[0] == document.body) || (this.offsetParent[0].tagName && this.offsetParent[0].tagName.toLowerCase() == "html" && b.browser.msie)) { a = { top: 0, left: 0} } return { top: a.top + (parseInt(this.offsetParent.css("borderTopWidth"), 10) || 0), left: a.left + (parseInt(this.offsetParent.css("borderLeftWidth"), 10) || 0)} }, _getRelativeOffset: function () { if (this.cssPosition == "relative") { var a = this.element.position(); return { top: a.top - (parseInt(this.helper.css("top"), 10) || 0) + this.scrollParent.scrollTop(), left: a.left - (parseInt(this.helper.css("left"), 10) || 0) + this.scrollParent.scrollLeft()} } else { return { top: 0, left: 0} } }, _cacheMargins: function () { this.margins = { left: (parseInt(this.element.css("marginLeft"), 10) || 0), top: (parseInt(this.element.css("marginTop"), 10) || 0)} }, _cacheHelperProportions: function () { this.helperProportions = { width: this.helper.outerWidth(), height: this.helper.outerHeight()} }, _setContainment: function () { var f = this.options; if (f.containment == "parent") { f.containment = this.helper[0].parentNode } if (f.containment == "document" || f.containment == "window") { this.containment = [0 - this.offset.relative.left - this.offset.parent.left, 0 - this.offset.relative.top - this.offset.parent.top, b(f.containment == "document" ? document : window).width() - this.helperProportions.width - this.margins.left, (b(f.containment == "document" ? document : window).height() || document.body.parentNode.scrollHeight) - this.helperProportions.height - this.margins.top] } if (!(/^(document|window|parent)$/).test(f.containment) && f.containment.constructor != Array) { var h = b(f.containment)[0]; if (!h) { return } var g = b(f.containment).offset(); var a = (b(h).css("overflow") != "hidden"); this.containment = [g.left + (parseInt(b(h).css("borderLeftWidth"), 10) || 0) + (parseInt(b(h).css("paddingLeft"), 10) || 0) - this.margins.left, g.top + (parseInt(b(h).css("borderTopWidth"), 10) || 0) + (parseInt(b(h).css("paddingTop"), 10) || 0) - this.margins.top, g.left + (a ? Math.max(h.scrollWidth, h.offsetWidth) : h.offsetWidth) - (parseInt(b(h).css("borderLeftWidth"), 10) || 0) - (parseInt(b(h).css("paddingRight"), 10) || 0) - this.helperProportions.width - this.margins.left, g.top + (a ? Math.max(h.scrollHeight, h.offsetHeight) : h.offsetHeight) - (parseInt(b(h).css("borderTopWidth"), 10) || 0) - (parseInt(b(h).css("paddingBottom"), 10) || 0) - this.helperProportions.height - this.margins.top] } else { if (f.containment.constructor == Array) { this.containment = f.containment } } }, _convertPositionTo: function (j, d) { if (!d) { d = this.position } var l = j == "absolute" ? 1 : -1; var k = this.options, a = this.cssPosition == "absolute" && !(this.scrollParent[0] != document && b.ui.contains(this.scrollParent[0], this.offsetParent[0])) ? this.offsetParent : this.scrollParent, i = (/(html|body)/i).test(a[0].tagName); return { top: (d.top + this.offset.relative.top * l + this.offset.parent.top * l - (b.browser.safari && this.cssPosition == "fixed" ? 0 : (this.cssPosition == "fixed" ? -this.scrollParent.scrollTop() : (i ? 0 : a.scrollTop())) * l)), left: (d.left + this.offset.relative.left * l + this.offset.parent.left * l - (b.browser.safari && this.cssPosition == "fixed" ? 0 : (this.cssPosition == "fixed" ? -this.scrollParent.scrollLeft() : i ? 0 : a.scrollLeft()) * l))} }, _generatePosition: function (n) { var k = this.options, a = this.cssPosition == "absolute" && !(this.scrollParent[0] != document && b.ui.contains(this.scrollParent[0], this.offsetParent[0])) ? this.offsetParent : this.scrollParent, j = (/(html|body)/i).test(a[0].tagName); if (this.cssPosition == "relative" && !(this.scrollParent[0] != document && this.scrollParent[0] != this.offsetParent[0])) { this.offset.relative = this._getRelativeOffset() } var o = n.pageX; var p = n.pageY; if (this.originalPosition) { if (this.containment) { if (n.pageX - this.offset.click.left < this.containment[0]) { o = this.containment[0] + this.offset.click.left } if (n.pageY - this.offset.click.top < this.containment[1]) { p = this.containment[1] + this.offset.click.top } if (n.pageX - this.offset.click.left > this.containment[2]) { o = this.containment[2] + this.offset.click.left } if (n.pageY - this.offset.click.top > this.containment[3]) { p = this.containment[3] + this.offset.click.top } } if (k.grid) { var l = this.originalPageY + Math.round((p - this.originalPageY) / k.grid[1]) * k.grid[1]; p = this.containment ? (!(l - this.offset.click.top < this.containment[1] || l - this.offset.click.top > this.containment[3]) ? l : (!(l - this.offset.click.top < this.containment[1]) ? l - k.grid[1] : l + k.grid[1])) : l; var m = this.originalPageX + Math.round((o - this.originalPageX) / k.grid[0]) * k.grid[0]; o = this.containment ? (!(m - this.offset.click.left < this.containment[0] || m - this.offset.click.left > this.containment[2]) ? m : (!(m - this.offset.click.left < this.containment[0]) ? m - k.grid[0] : m + k.grid[0])) : m } } return { top: (p - this.offset.click.top - this.offset.relative.top - this.offset.parent.top + (b.browser.safari && this.cssPosition == "fixed" ? 0 : (this.cssPosition == "fixed" ? -this.scrollParent.scrollTop() : (j ? 0 : a.scrollTop())))), left: (o - this.offset.click.left - this.offset.relative.left - this.offset.parent.left + (b.browser.safari && this.cssPosition == "fixed" ? 0 : (this.cssPosition == "fixed" ? -this.scrollParent.scrollLeft() : j ? 0 : a.scrollLeft())))} }, _clear: function () { this.helper.removeClass("ui-draggable-dragging"); if (this.helper[0] != this.element[0] && !this.cancelHelperRemoval) { this.helper.remove() } this.helper = null; this.cancelHelperRemoval = false }, _trigger: function (a, f, e) { e = e || this._uiHash(); b.ui.plugin.call(this, a, [f, e]); if (a == "drag") { this.positionAbs = this._convertPositionTo("absolute") } return b.widget.prototype._trigger.call(this, a, f, e) }, plugins: {}, _uiHash: function (a) { return { helper: this.helper, position: this.position, absolutePosition: this.positionAbs, offset: this.positionAbs} } })); b.extend(b.ui.draggable, { version: "1.7.2", eventPrefix: "drag", defaults: { addClasses: true, appendTo: "parent", axis: false, cancel: ":input,option", connectToSortable: false, containment: false, cursor: "auto", cursorAt: false, delay: 0, distance: 1, grid: false, handle: false, helper: "original", iframeFix: false, opacity: false, refreshPositions: false, revert: false, revertDuration: 500, scope: "default", scroll: true, scrollSensitivity: 20, scrollSpeed: 20, snap: false, snapMode: "both", snapTolerance: 20, stack: false, zIndex: false} }); b.ui.plugin.add("draggable", "connectToSortable", { start: function (j, h) { var i = b(this).data("draggable"), g = i.options, a = b.extend({}, h, { item: i.element }); i.sortables = []; b(g.connectToSortable).each(function () { var c = b.data(this, "sortable"); if (c && !c.options.disabled) { i.sortables.push({ instance: c, shouldRevert: c.options.revert }); c._refreshItems(); c._trigger("activate", j, a) } }) }, stop: function (h, f) { var g = b(this).data("draggable"), a = b.extend({}, f, { item: g.element }); b.each(g.sortables, function () { if (this.instance.isOver) { this.instance.isOver = 0; g.cancelHelperRemoval = true; this.instance.cancelHelperRemoval = false; if (this.shouldRevert) { this.instance.options.revert = true } this.instance._mouseStop(h); this.instance.options.helper = this.instance.options._helper; if (g.options.helper == "original") { this.instance.currentItem.css({ top: "auto", left: "auto" }) } } else { this.instance.cancelHelperRemoval = false; this.instance._trigger("deactivate", h, a) } }) }, drag: function (j, g) { var h = b(this).data("draggable"), a = this; var i = function (r) { var d = this.offset.click.top, e = this.offset.click.left; var t = this.positionAbs.top, o = this.positionAbs.left; var q = r.height, f = r.width; var c = r.top, s = r.left; return b.ui.isOver(t + d, o + e, c, s, q, f) }; b.each(h.sortables, function (c) { this.instance.positionAbs = h.positionAbs; this.instance.helperProportions = h.helperProportions; this.instance.offset.click = h.offset.click; if (this.instance._intersectsWith(this.instance.containerCache)) { if (!this.instance.isOver) { this.instance.isOver = 1; this.instance.currentItem = b(a).clone().appendTo(this.instance.element).data("sortable-item", true); this.instance.options._helper = this.instance.options.helper; this.instance.options.helper = function () { return g.helper[0] }; j.target = this.instance.currentItem[0]; this.instance._mouseCapture(j, true); this.instance._mouseStart(j, true, true); this.instance.offset.click.top = h.offset.click.top; this.instance.offset.click.left = h.offset.click.left; this.instance.offset.parent.left -= h.offset.parent.left - this.instance.offset.parent.left; this.instance.offset.parent.top -= h.offset.parent.top - this.instance.offset.parent.top; h._trigger("toSortable", j); h.dropped = this.instance.element; h.currentItem = h.element; this.instance.fromOutside = h } if (this.instance.currentItem) { this.instance._mouseDrag(j) } } else { if (this.instance.isOver) { this.instance.isOver = 0; this.instance.cancelHelperRemoval = true; this.instance.options.revert = false; this.instance._trigger("out", j, this.instance._uiHash(this.instance)); this.instance._mouseStop(j, true); this.instance.options.helper = this.instance.options._helper; this.instance.currentItem.remove(); if (this.instance.placeholder) { this.instance.placeholder.remove() } h._trigger("fromSortable", j); h.dropped = false } } }) } }); b.ui.plugin.add("draggable", "cursor", { start: function (h, g) { var a = b("body"), f = b(this).data("draggable").options; if (a.css("cursor")) { f._cursor = a.css("cursor") } a.css("cursor", f.cursor) }, stop: function (a, f) { var e = b(this).data("draggable").options; if (e._cursor) { b("body").css("cursor", e._cursor) } } }); b.ui.plugin.add("draggable", "iframeFix", { start: function (a, f) { var e = b(this).data("draggable").options; b(e.iframeFix === true ? "iframe" : e.iframeFix).each(function () { b('<div class="ui-draggable-iframeFix" style="background: #fff;"></div>').css({ width: this.offsetWidth + "px", height: this.offsetHeight + "px", position: "absolute", opacity: "0.001", zIndex: 1000 }).css(b(this).offset()).appendTo("body") }) }, stop: function (a, d) { b("div.ui-draggable-iframeFix").each(function () { this.parentNode.removeChild(this) }) } }); b.ui.plugin.add("draggable", "opacity", { start: function (h, g) { var a = b(g.helper), f = b(this).data("draggable").options; if (a.css("opacity")) { f._opacity = a.css("opacity") } a.css("opacity", f.opacity) }, stop: function (a, f) { var e = b(this).data("draggable").options; if (e._opacity) { b(f.helper).css("opacity", e._opacity) } } }); b.ui.plugin.add("draggable", "scroll", { start: function (f, e) { var a = b(this).data("draggable"); if (a.scrollParent[0] != document && a.scrollParent[0].tagName != "HTML") { a.overflowOffset = a.scrollParent.offset() } }, drag: function (i, h) { var j = b(this).data("draggable"), g = j.options, a = false; if (j.scrollParent[0] != document && j.scrollParent[0].tagName != "HTML") { if (!g.axis || g.axis != "x") { if ((j.overflowOffset.top + j.scrollParent[0].offsetHeight) - i.pageY < g.scrollSensitivity) { j.scrollParent[0].scrollTop = a = j.scrollParent[0].scrollTop + g.scrollSpeed } else { if (i.pageY - j.overflowOffset.top < g.scrollSensitivity) { j.scrollParent[0].scrollTop = a = j.scrollParent[0].scrollTop - g.scrollSpeed } } } if (!g.axis || g.axis != "y") { if ((j.overflowOffset.left + j.scrollParent[0].offsetWidth) - i.pageX < g.scrollSensitivity) { j.scrollParent[0].scrollLeft = a = j.scrollParent[0].scrollLeft + g.scrollSpeed } else { if (i.pageX - j.overflowOffset.left < g.scrollSensitivity) { j.scrollParent[0].scrollLeft = a = j.scrollParent[0].scrollLeft - g.scrollSpeed } } } } else { if (!g.axis || g.axis != "x") { if (i.pageY - b(document).scrollTop() < g.scrollSensitivity) { a = b(document).scrollTop(b(document).scrollTop() - g.scrollSpeed) } else { if (b(window).height() - (i.pageY - b(document).scrollTop()) < g.scrollSensitivity) { a = b(document).scrollTop(b(document).scrollTop() + g.scrollSpeed) } } } if (!g.axis || g.axis != "y") { if (i.pageX - b(document).scrollLeft() < g.scrollSensitivity) { a = b(document).scrollLeft(b(document).scrollLeft() - g.scrollSpeed) } else { if (b(window).width() - (i.pageX - b(document).scrollLeft()) < g.scrollSensitivity) { a = b(document).scrollLeft(b(document).scrollLeft() + g.scrollSpeed) } } } } if (a !== false && b.ui.ddmanager && !g.dropBehaviour) { b.ui.ddmanager.prepareOffsets(j, i) } } }); b.ui.plugin.add("draggable", "snap", { start: function (h, g) { var a = b(this).data("draggable"), f = a.options; a.snapElements = []; b(f.snap.constructor != String ? (f.snap.items || ":data(draggable)") : f.snap).each(function () { var c = b(this); var d = c.offset(); if (this != a.element[0]) { a.snapElements.push({ item: this, width: c.outerWidth(), height: c.outerHeight(), top: d.top, left: d.left }) } }) }, drag: function (r, D) { var J = b(this).data("draggable"), B = J.options; var d = B.snapTolerance; var i = D.offset.left, l = i + J.helperProportions.width, K = D.offset.top, L = K + J.helperProportions.height; for (var o = J.snapElements.length - 1; o >= 0; o--) { var t = J.snapElements[o].left, E = t + J.snapElements[o].width, F = J.snapElements[o].top, C = F + J.snapElements[o].height; if (!((t - d < i && i < E + d && F - d < K && K < C + d) || (t - d < i && i < E + d && F - d < L && L < C + d) || (t - d < l && l < E + d && F - d < K && K < C + d) || (t - d < l && l < E + d && F - d < L && L < C + d))) { if (J.snapElements[o].snapping) { (J.options.snap.release && J.options.snap.release.call(J.element, r, b.extend(J._uiHash(), { snapItem: J.snapElements[o].item }))) } J.snapElements[o].snapping = false; continue } if (B.snapMode != "inner") { var M = Math.abs(F - L) <= d; var a = Math.abs(C - K) <= d; var H = Math.abs(t - l) <= d; var G = Math.abs(E - i) <= d; if (M) { D.position.top = J._convertPositionTo("relative", { top: F - J.helperProportions.height, left: 0 }).top - J.margins.top } if (a) { D.position.top = J._convertPositionTo("relative", { top: C, left: 0 }).top - J.margins.top } if (H) { D.position.left = J._convertPositionTo("relative", { top: 0, left: t - J.helperProportions.width }).left - J.margins.left } if (G) { D.position.left = J._convertPositionTo("relative", { top: 0, left: E }).left - J.margins.left } } var I = (M || a || H || G); if (B.snapMode != "outer") { var M = Math.abs(F - K) <= d; var a = Math.abs(C - L) <= d; var H = Math.abs(t - i) <= d; var G = Math.abs(E - l) <= d; if (M) { D.position.top = J._convertPositionTo("relative", { top: F, left: 0 }).top - J.margins.top } if (a) { D.position.top = J._convertPositionTo("relative", { top: C - J.helperProportions.height, left: 0 }).top - J.margins.top } if (H) { D.position.left = J._convertPositionTo("relative", { top: 0, left: t }).left - J.margins.left } if (G) { D.position.left = J._convertPositionTo("relative", { top: 0, left: E - J.helperProportions.width }).left - J.margins.left } } if (!J.snapElements[o].snapping && (M || a || H || G || I)) { (J.options.snap.snap && J.options.snap.snap.call(J.element, r, b.extend(J._uiHash(), { snapItem: J.snapElements[o].item }))) } J.snapElements[o].snapping = (M || a || H || G || I) } } }); b.ui.plugin.add("draggable", "stack", { start: function (a, h) { var f = b(this).data("draggable").options; var g = b.makeArray(b(f.stack.group)).sort(function (c, d) { return (parseInt(b(c).css("zIndex"), 10) || f.stack.min) - (parseInt(b(d).css("zIndex"), 10) || f.stack.min) }); b(g).each(function (c) { this.style.zIndex = f.stack.min + c }); this[0].style.zIndex = f.stack.min + g.length } }); b.ui.plugin.add("draggable", "zIndex", { start: function (h, g) { var a = b(g.helper), f = b(this).data("draggable").options; if (a.css("zIndex")) { f._zIndex = a.css("zIndex") } a.css("zIndex", f.zIndex) }, stop: function (a, f) { var e = b(this).data("draggable").options; if (e._zIndex) { b(f.helper).css("zIndex", e._zIndex) } } }) })(jQuery); var sIFR = new function () {
    var O = this; var E = { ACTIVE: "sIFR-active", REPLACED: "sIFR-replaced", IGNORE: "sIFR-ignore", ALTERNATE: "sIFR-alternate", CLASS: "sIFR-class", LAYOUT: "sIFR-layout", FLASH: "sIFR-flash", FIX_FOCUS: "sIFR-fixfocus", DUMMY: "sIFR-dummy" }; E.IGNORE_CLASSES = [E.REPLACED, E.IGNORE, E.ALTERNATE]; this.MIN_FONT_SIZE = 6; this.MAX_FONT_SIZE = 126; this.FLASH_PADDING_BOTTOM = 5; this.VERSION = "436"; this.isActive = false; this.isEnabled = true; this.fixHover = true; this.autoInitialize = true; this.setPrefetchCookie = true; this.cookiePath = "/"; this.domains = []; this.forceWidth = true; this.fitExactly = false; this.forceTextTransform = true; this.useDomLoaded = true; this.useStyleCheck = false; this.hasFlashClassSet = false; this.repaintOnResize = true; this.replacements = []; var L = 0; var R = false; function Y() { } function D(c) { function d(e) { return e.toLocaleUpperCase() } this.normalize = function (e) { return e.replace(/\n|\r|\xA0/g, D.SINGLE_WHITESPACE).replace(/\s+/g, D.SINGLE_WHITESPACE) }; this.textTransform = function (e, f) { switch (e) { case "uppercase": return f.toLocaleUpperCase(); case "lowercase": return f.toLocaleLowerCase(); case "capitalize": return f.replace(/^\w|\s\w/g, d) } return f }; this.toHexString = function (e) { if (e.charAt(0) != "#" || e.length != 4 && e.length != 7) { return e } e = e.substring(1); return "0x" + (e.length == 3 ? e.replace(/(.)(.)(.)/, "$1$1$2$2$3$3") : e) }; this.toJson = function (g, f) { var e = ""; switch (typeof (g)) { case "string": e = '"' + f(g) + '"'; break; case "number": case "boolean": e = g.toString(); break; case "object": e = []; for (var h in g) { if (g[h] == Object.prototype[h]) { continue } e.push('"' + h + '":' + this.toJson(g[h])) } e = "{" + e.join(",") + "}"; break } return e }; this.convertCssArg = function (e) { if (!e) { return {} } if (typeof (e) == "object") { if (e.constructor == Array) { e = e.join("") } else { return e } } var l = {}; var m = e.split("}"); for (var h = 0; h < m.length; h++) { var k = m[h].match(/([^\s{]+)\s*\{(.+)\s*;?\s*/); if (!k || k.length != 3) { continue } if (!l[k[1]]) { l[k[1]] = {} } var g = k[2].split(";"); for (var f = 0; f < g.length; f++) { var n = g[f].match(/\s*([^:\s]+)\s*\:\s*([^;]+)/); if (!n || n.length != 3) { continue } l[k[1]][n[1]] = n[2].replace(/\s+$/, "") } } return l }; this.extractFromCss = function (g, f, i, e) { var h = null; if (g && g[f] && g[f][i]) { h = g[f][i]; if (e) { delete g[f][i] } } return h }; this.cssToString = function (f) { var g = []; for (var e in f) { var j = f[e]; if (j == Object.prototype[e]) { continue } g.push(e, "{"); for (var i in j) { if (j[i] == Object.prototype[i]) { continue } var h = j[i]; if (D.UNIT_REMOVAL_PROPERTIES[i]) { h = parseInt(h, 10) } g.push(i, ":", h, ";") } g.push("}") } return g.join("") }; this.escape = function (e) { return escape(e).replace(/\+/g, "%2B") }; this.encodeVars = function (e) { return e.join("&").replace(/%/g, "%25") }; this.copyProperties = function (g, f) { for (var e in g) { if (f[e] === undefined) { f[e] = g[e] } } return f }; this.domain = function () { var f = ""; try { f = document.domain } catch (g) { } return f }; this.domainMatches = function (h, g) { if (g == "*" || g == h) { return true } var f = g.lastIndexOf("*"); if (f > -1) { g = g.substr(f + 1); var e = h.lastIndexOf(g); if (e > -1 && (e + g.length) == h.length) { return true } } return false }; this.uriEncode = function (e) { return encodeURI(decodeURIComponent(e)) }; this.delay = function (f, h, g) { var e = Array.prototype.slice.call(arguments, 3); setTimeout(function () { h.apply(g, e) }, f) } } D.UNIT_REMOVAL_PROPERTIES = { leading: true, "margin-left": true, "margin-right": true, "text-indent": true }; D.SINGLE_WHITESPACE = " "; function U(e) { var d = this; function c(g, j, h) { var k = d.getStyleAsInt(g, j, e.ua.ie); if (k == 0) { k = g[h]; for (var f = 3; f < arguments.length; f++) { k -= d.getStyleAsInt(g, arguments[f], true) } } return k } this.getBody = function () { return document.getElementsByTagName("body")[0] || null }; this.querySelectorAll = function (f) { return window.parseSelector(f) }; this.addClass = function (f, g) { if (g) { g.className = ((g.className || "") == "" ? "" : g.className + " ") + f } }; this.removeClass = function (f, g) { if (g) { g.className = g.className.replace(new RegExp("(^|\\s)" + f + "(\\s|$)"), "").replace(/^\s+|(\s)\s+/g, "$1") } }; this.hasClass = function (f, g) { return new RegExp("(^|\\s)" + f + "(\\s|$)").test(g.className) }; this.hasOneOfClassses = function (h, g) { for (var f = 0; f < h.length; f++) { if (this.hasClass(h[f], g)) { return true } } return false }; this.ancestorHasClass = function (g, f) { g = g.parentNode; while (g && g.nodeType == 1) { if (this.hasClass(f, g)) { return true } g = g.parentNode } return false }; this.create = function (f, g) { var h = document.createElementNS ? document.createElementNS(U.XHTML_NS, f) : document.createElement(f); if (g) { h.className = g } return h }; this.getComputedStyle = function (h, i) { var f; if (document.defaultView && document.defaultView.getComputedStyle) { var g = document.defaultView.getComputedStyle(h, null); f = g ? g[i] : null } else { if (h.currentStyle) { f = h.currentStyle[i] } } return f || "" }; this.getStyleAsInt = function (g, i, f) { var h = this.getComputedStyle(g, i); if (f && !/px$/.test(h)) { return 0 } return parseInt(h) || 0 }; this.getWidthFromStyle = function (f) { return c(f, "width", "offsetWidth", "paddingRight", "paddingLeft", "borderRightWidth", "borderLeftWidth") }; this.getHeightFromStyle = function (f) { return c(f, "height", "offsetHeight", "paddingTop", "paddingBottom", "borderTopWidth", "borderBottomWidth") }; this.getDimensions = function (j) { var h = j.offsetWidth; var f = j.offsetHeight; if (h == 0 || f == 0) { for (var g = 0; g < j.childNodes.length; g++) { var k = j.childNodes[g]; if (k.nodeType != 1) { continue } h = Math.max(h, k.offsetWidth); f = Math.max(f, k.offsetHeight) } } return { width: h, height: f} }; this.getViewport = function () { return { width: window.innerWidth || document.documentElement.clientWidth || this.getBody().clientWidth, height: window.innerHeight || document.documentElement.clientHeight || this.getBody().clientHeight} }; this.blurElement = function (g) { try { g.blur(); return } catch (h) { } var f = this.create("input"); f.style.width = "0px"; f.style.height = "0px"; g.parentNode.appendChild(f); f.focus(); f.blur(); f.parentNode.removeChild(f) } } U.XHTML_NS = "http://www.w3.org/1999/xhtml"; function H(r) {
        var g = navigator.userAgent.toLowerCase(); var q = (navigator.product || "").toLowerCase(); var h = navigator.platform.toLowerCase(); this.parseVersion = H.parseVersion; this.macintosh = /^mac/.test(h); this.windows = /^win/.test(h); this.linux = /^linux/.test(h); this.quicktime = false; this.opera = /opera/.test(g); this.konqueror = /konqueror/.test(g); this.ie = false
        /*@cc_on || true@*/
; this.ieSupported = this.ie && !/ppc|smartphone|iemobile|msie\s5\.5/.test(g)
        /*@cc_on && @_jscript_version >= 5.5@*/
; this.ieWin = this.ie && this.windows
        /*@cc_on && @_jscript_version >= 5.1@*/
; this.windows = this.windows && (!this.ie || this.ieWin); this.ieMac = this.ie && this.macintosh
        /*@cc_on && @_jscript_version < 5.1@*/
; this.macintosh = this.macintosh && (!this.ie || this.ieMac); this.safari = /safari/.test(g); this.webkit = !this.konqueror && /applewebkit/.test(g); this.khtml = this.webkit || this.konqueror; this.gecko = !this.khtml && q == "gecko"; this.ieVersion = this.ie && /.*msie\s(\d\.\d)/.exec(g) ? this.parseVersion(RegExp.$1) : "0"; this.operaVersion = this.opera && /.*opera(\s|\/)(\d+\.\d+)/.exec(g) ? this.parseVersion(RegExp.$2) : "0"; this.webkitVersion = this.webkit && /.*applewebkit\/(\d+).*/.exec(g) ? this.parseVersion(RegExp.$1) : "0"; this.geckoVersion = this.gecko && /.*rv:\s*([^\)]+)\)\s+gecko/.exec(g) ? this.parseVersion(RegExp.$1) : "0"; this.konquerorVersion = this.konqueror && /.*konqueror\/([\d\.]+).*/.exec(g) ? this.parseVersion(RegExp.$1) : "0"; this.flashVersion = 0; if (this.ieWin) { var l; var o = false; try { l = new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7") } catch (m) { try { l = new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6"); this.flashVersion = this.parseVersion("6"); l.AllowScriptAccess = "always" } catch (m) { o = this.flashVersion == this.parseVersion("6") } if (!o) { try { l = new ActiveXObject("ShockwaveFlash.ShockwaveFlash") } catch (m) { } } } if (!o && l) { this.flashVersion = this.parseVersion((l.GetVariable("$version") || "").replace(/^\D+(\d+)\D+(\d+)\D+(\d+).*/g, "$1.$2.$3")) } } else { if (navigator.plugins && navigator.plugins["Shockwave Flash"]) { var n = navigator.plugins["Shockwave Flash"].description.replace(/^.*\s+(\S+\s+\S+$)/, "$1"); var p = n.replace(/^\D*(\d+\.\d+).*$/, "$1"); if (/r/.test(n)) { p += n.replace(/^.*r(\d*).*$/, ".$1") } else { if (/d/.test(n)) { p += ".0" } } this.flashVersion = this.parseVersion(p); var j = false; for (var k = 0, c = this.flashVersion >= H.MIN_FLASH_VERSION; c && k < navigator.mimeTypes.length; k++) { var f = navigator.mimeTypes[k]; if (f.type != "application/x-shockwave-flash") { continue } if (f.enabledPlugin) { j = true; if (f.enabledPlugin.description.toLowerCase().indexOf("quicktime") > -1) { c = false; this.quicktime = true } } } if (this.quicktime || !j) { this.flashVersion = this.parseVersion("0") } } } this.flash = this.flashVersion >= H.MIN_FLASH_VERSION; this.transparencySupport = this.macintosh || this.windows || this.linux && (this.flashVersion >= this.parseVersion("10") && (this.gecko && this.geckoVersion >= this.parseVersion("1.9") || this.opera)); this.computedStyleSupport = this.ie || !!document.defaultView.getComputedStyle; this.fixFocus = this.gecko && this.windows; this.nativeDomLoaded = this.gecko || this.webkit && this.webkitVersion >= this.parseVersion("525") || this.konqueror && this.konquerorMajor > this.parseVersion("03") || this.opera; this.mustCheckStyle = this.khtml || this.opera; this.forcePageLoad = this.webkit && this.webkitVersion < this.parseVersion("523"); this.properDocument = typeof (document.location) == "object"; this.supported = this.flash && this.properDocument && (!this.ie || this.ieSupported) && this.computedStyleSupport && (!this.opera || this.operaVersion >= this.parseVersion("9.61")) && (!this.webkit || this.webkitVersion >= this.parseVersion("412")) && (!this.gecko || this.geckoVersion >= this.parseVersion("1.8.0.12")) && (!this.konqueror)
    } H.parseVersion = function (c) { return c.replace(/(^|\D)(\d+)(?=\D|$)/g, function (f, e, g) { f = e; for (var d = 4 - g.length; d >= 0; d--) { f += "0" } return f + g }) }; H.MIN_FLASH_VERSION = H.parseVersion("8"); function F(c) { this.fix = c.ua.ieWin && window.location.hash != ""; var d; this.cache = function () { d = document.title }; function e() { document.title = d } this.restore = function () { if (this.fix) { setTimeout(e, 0) } } } function S(l) { var e = null; function c() { try { if (l.ua.ie || document.readyState != "loaded" && document.readyState != "complete") { document.documentElement.doScroll("left") } } catch (n) { return setTimeout(c, 10) } i() } function i() { if (l.useStyleCheck) { h() } else { if (!l.ua.mustCheckStyle) { d(null, true) } } } function h() { e = l.dom.create("div", E.DUMMY); l.dom.getBody().appendChild(e); m() } function m() { if (l.dom.getComputedStyle(e, "marginLeft") == "42px") { g() } else { setTimeout(m, 10) } } function g() { if (e && e.parentNode) { e.parentNode.removeChild(e) } e = null; d(null, true) } function d(n, o) { l.initialize(o); if (n && n.type == "load") { if (document.removeEventListener) { document.removeEventListener("DOMContentLoaded", d, false) } if (window.removeEventListener) { window.removeEventListener("load", d, false) } } } function j() { l.prepareClearReferences(); if (document.readyState == "interactive") { document.attachEvent("onstop", f); setTimeout(function () { document.detachEvent("onstop", f) }, 0) } } function f() { document.detachEvent("onstop", f); k() } function k() { l.clearReferences() } this.attach = function () { if (window.addEventListener) { window.addEventListener("load", d, false) } else { window.attachEvent("onload", d) } if (!l.useDomLoaded || l.ua.forcePageLoad || l.ua.ie && window.top != window) { return } if (l.ua.nativeDomLoaded) { document.addEventListener("DOMContentLoaded", i, false) } else { if (l.ua.ie || l.ua.khtml) { c() } } }; this.attachUnload = function () { if (!l.ua.ie) { return } window.attachEvent("onbeforeunload", j); window.attachEvent("onunload", k) } } var Q = "sifrFetch"; function N(c) { var e = false; this.fetchMovies = function (f) { if (c.setPrefetchCookie && new RegExp(";?" + Q + "=true;?").test(document.cookie)) { return } try { e = true; d(f) } catch (g) { } if (c.setPrefetchCookie) { document.cookie = Q + "=true;path=" + c.cookiePath } }; this.clear = function () { if (!e) { return } try { var f = document.getElementsByTagName("script"); for (var g = f.length - 1; g >= 0; g--) { var h = f[g]; if (h.type == "sifr/prefetch") { h.parentNode.removeChild(h) } } } catch (j) { } }; function d(f) { for (var g = 0; g < f.length; g++) { document.write('<script defer type="sifr/prefetch" src="' + f[g].src + '"><\/script>') } } } function b(e) { var g = e.ua.ie; var f = g && e.ua.flashVersion < e.ua.parseVersion("9.0.115"); var d = {}; var c = {}; this.fixFlash = f; this.register = function (h) { if (!g) { return } var i = h.getAttribute("id"); this.cleanup(i, false); c[i] = h; delete d[i]; if (f) { window[i] = h } }; this.reset = function () { if (!g) { return false } for (var j = 0; j < e.replacements.length; j++) { var h = e.replacements[j]; var k = c[h.id]; if (!d[h.id] && (!k.parentNode || k.parentNode.nodeType == 11)) { h.resetMovie(); d[h.id] = true } } return true }; this.cleanup = function (l, h) { var i = c[l]; if (!i) { return } for (var k in i) { if (typeof (i[k]) == "function") { i[k] = null } } c[l] = null; if (f) { window[l] = null } if (i.parentNode) { if (h && i.parentNode.nodeType == 1) { var j = document.createElement("div"); j.style.width = i.offsetWidth + "px"; j.style.height = i.offsetHeight + "px"; i.parentNode.replaceChild(j, i) } else { i.parentNode.removeChild(i) } } }; this.prepareClearReferences = function () { if (!f) { return } __flash_unloadHandler = function () { }; __flash_savedUnloadHandler = function () { } }; this.clearReferences = function () { if (f) { var j = document.getElementsByTagName("object"); for (var h = j.length - 1; h >= 0; h--) { c[j[h].getAttribute("id")] = j[h] } } for (var k in c) { if (Object.prototype[k] != c[k]) { this.cleanup(k, true) } } } } function K(d, g, f, c, e) { this.sIFR = d; this.id = g; this.vars = f; this.movie = null; this.__forceWidth = c; this.__events = e; this.__resizing = 0 } K.prototype = { getFlashElement: function () { return document.getElementById(this.id) }, getAlternate: function () { return document.getElementById(this.id + "_alternate") }, getAncestor: function () { var c = this.getFlashElement().parentNode; return !this.sIFR.dom.hasClass(E.FIX_FOCUS, c) ? c : c.parentNode }, available: function () { var c = this.getFlashElement(); return c && c.parentNode }, call: function (c) { var d = this.getFlashElement(); if (!d[c]) { return false } return Function.prototype.apply.call(d[c], d, Array.prototype.slice.call(arguments, 1)) }, attempt: function () { if (!this.available()) { return false } try { this.call.apply(this, arguments) } catch (c) { if (this.sIFR.debug) { throw c } return false } return true }, updateVars: function (c, e) { for (var d = 0; d < this.vars.length; d++) { if (this.vars[d].split("=")[0] == c) { this.vars[d] = c + "=" + e; break } } var f = this.sIFR.util.encodeVars(this.vars); this.movie.injectVars(this.getFlashElement(), f); this.movie.injectVars(this.movie.html, f) }, storeSize: function (c, d) { this.movie.setSize(c, d); this.updateVars(c, d) }, fireEvent: function (c) { if (this.available() && this.__events[c]) { this.sIFR.util.delay(0, this.__events[c], this, this) } }, resizeFlashElement: function (c, d, e) { if (!this.available()) { return } this.__resizing++; var f = this.getFlashElement(); f.setAttribute("height", c); this.getAncestor().style.minHeight = ""; this.updateVars("renderheight", c); this.storeSize("height", c); if (d !== null) { f.setAttribute("width", d); this.movie.setSize("width", d) } if (this.__events.onReplacement) { this.sIFR.util.delay(0, this.__events.onReplacement, this, this); delete this.__events.onReplacement } if (e) { this.sIFR.util.delay(0, function () { this.attempt("scaleMovie"); this.__resizing-- }, this) } else { this.__resizing-- } }, blurFlashElement: function () { if (this.available()) { this.sIFR.dom.blurElement(this.getFlashElement()) } }, resetMovie: function () { this.sIFR.util.delay(0, this.movie.reset, this.movie, this.getFlashElement(), this.getAlternate()) }, resizeAfterScale: function () { if (this.available() && this.__resizing == 0) { this.sIFR.util.delay(0, this.resize, this) } }, resize: function () { if (!this.available()) { return } this.__resizing++; var g = this.getFlashElement(); var f = g.offsetWidth; if (f == 0) { return } var e = g.getAttribute("width"); var l = g.getAttribute("height"); var m = this.getAncestor(); var o = this.sIFR.dom.getHeightFromStyle(m); g.style.width = "1px"; g.style.height = "1px"; m.style.minHeight = o + "px"; var c = this.getAlternate().childNodes; var n = []; for (var k = 0; k < c.length; k++) { var h = c[k].cloneNode(true); n.push(h); m.appendChild(h) } var d = this.sIFR.dom.getWidthFromStyle(m); for (var k = 0; k < n.length; k++) { m.removeChild(n[k]) } g.style.width = g.style.height = m.style.minHeight = ""; g.setAttribute("width", this.__forceWidth ? d : e); g.setAttribute("height", l); if (sIFR.ua.ie) { g.style.display = "none"; var j = g.offsetHeight; g.style.display = "" } if (d != f) { if (this.__forceWidth) { this.storeSize("width", d) } this.attempt("resize", d) } this.__resizing-- }, replaceText: function (g, j) { var d = this.sIFR.util.escape(g); if (!this.attempt("replaceText", d)) { return false } this.updateVars("content", d); var f = this.getAlternate(); if (j) { while (f.firstChild) { f.removeChild(f.firstChild) } for (var c = 0; c < j.length; c++) { f.appendChild(j[c]) } } else { try { f.innerHTML = g } catch (h) { } } return true }, changeCSS: function (c) { c = this.sIFR.util.escape(this.sIFR.util.cssToString(this.sIFR.util.convertCssArg(c))); this.updateVars("css", c); return this.attempt("changeCSS", c) }, remove: function () { if (this.movie && this.available()) { this.movie.remove(this.getFlashElement(), this.id) } } }; var X = new function () { this.create = function (p, n, j, i, f, e, g, o, l, h, m) { var k = p.ua.ie ? d : c; return new k(p, n, j, i, f, e, g, o, ["flashvars", l, "wmode", h, "bgcolor", m, "allowScriptAccess", "always", "quality", "best"]) }; function c(s, q, l, h, f, e, g, r, n) { var m = s.dom.create("object", E.FLASH); var p = ["type", "application/x-shockwave-flash", "id", f, "name", f, "data", e, "width", g, "height", r]; for (var o = 0; o < p.length; o += 2) { m.setAttribute(p[o], p[o + 1]) } var j = m; if (h) { j = W.create("div", E.FIX_FOCUS); j.appendChild(m) } for (var o = 0; o < n.length; o += 2) { if (n[o] == "name") { continue } var k = W.create("param"); k.setAttribute("name", n[o]); k.setAttribute("value", n[o + 1]); m.appendChild(k) } l.style.minHeight = r + "px"; while (l.firstChild) { l.removeChild(l.firstChild) } l.appendChild(j); this.html = j.cloneNode(true) } c.prototype = { reset: function (e, f) { e.parentNode.replaceChild(this.html.cloneNode(true), e) }, remove: function (e, f) { e.parentNode.removeChild(e) }, setSize: function (e, f) { this.html.setAttribute(e, f) }, injectVars: function (e, g) { var h = e.getElementsByTagName("param"); for (var f = 0; f < h.length; f++) { if (h[f].getAttribute("name") == "flashvars") { h[f].setAttribute("value", g); break } } } }; function d(p, n, j, h, f, e, g, o, k) { this.dom = p.dom; this.broken = n; this.html = '<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" id="' + f + '" width="' + g + '" height="' + o + '" class="' + E.FLASH + '"><param name="movie" value="' + e + '"></param></object>'; var m = ""; for (var l = 0; l < k.length; l += 2) { m += '<param name="' + k[l] + '" value="' + k[l + 1] + '"></param>' } this.html = this.html.replace(/(<\/object>)/, m + "$1"); j.style.minHeight = o + "px"; j.innerHTML = this.html; this.broken.register(j.firstChild) } d.prototype = { reset: function (f, g) { g = g.cloneNode(true); var e = f.parentNode; e.innerHTML = this.html; this.broken.register(e.firstChild); e.appendChild(g) }, remove: function (e, f) { this.broken.cleanup(f) }, setSize: function (e, f) { this.html = this.html.replace(e == "height" ? /(height)="\d+"/ : /(width)="\d+"/, '$1="' + f + '"') }, injectVars: function (e, f) { if (e != this.html) { return } this.html = this.html.replace(/(flashvars(=|\"\svalue=)\")[^\"]+/, "$1" + f) } } }; this.errors = new Y(O); var A = this.util = new D(O); var W = this.dom = new U(O); var T = this.ua = new H(O); var G = { fragmentIdentifier: new F(O), pageLoad: new S(O), prefetch: new N(O), brokenFlashIE: new b(O) }; this.__resetBrokenMovies = G.brokenFlashIE.reset; var J = { kwargs: [], replaceAll: function (d) { for (var c = 0; c < this.kwargs.length; c++) { O.replace(this.kwargs[c]) } if (!d) { this.kwargs = [] } } }; this.activate = function () { if (!T.supported || !this.isEnabled || this.isActive || !C() || a()) { return } G.prefetch.fetchMovies(arguments); this.isActive = true; this.setFlashClass(); G.fragmentIdentifier.cache(); G.pageLoad.attachUnload(); if (!this.autoInitialize) { return } G.pageLoad.attach() }; this.setFlashClass = function () { if (this.hasFlashClassSet) { return } W.addClass(E.ACTIVE, W.getBody() || document.documentElement); this.hasFlashClassSet = true }; this.removeFlashClass = function () { if (!this.hasFlashClassSet) { return } W.removeClass(E.ACTIVE, W.getBody()); W.removeClass(E.ACTIVE, document.documentElement); this.hasFlashClassSet = false }; this.initialize = function (c) { if (!this.isActive || !this.isEnabled) { return } if (R) { if (!c) { J.replaceAll(false) } return } R = true; J.replaceAll(c); if (O.repaintOnResize) { if (window.addEventListener) { window.addEventListener("resize", Z, false) } else { window.attachEvent("onresize", Z) } } G.prefetch.clear() }; this.replace = function (x, u) { if (!T.supported) { return } if (u) { x = A.copyProperties(x, u) } if (!R) { return J.kwargs.push(x) } if (this.onReplacementStart) { this.onReplacementStart(x) } var AM = x.elements || W.querySelectorAll(x.selector); if (AM.length == 0) { return } var w = M(x.src); var AR = A.convertCssArg(x.css); var v = B(x.filters); var AN = x.forceSingleLine === true; var AS = x.preventWrap === true && !AN; var q = AN || (x.fitExactly == null ? this.fitExactly : x.fitExactly) === true; var AD = q || (x.forceWidth == null ? this.forceWidth : x.forceWidth) === true; var s = x.ratios || []; var AE = x.pixelFont === true; var r = parseInt(x.tuneHeight) || 0; var z = !!x.onRelease || !!x.onRollOver || !!x.onRollOut; if (q) { A.extractFromCss(AR, ".sIFR-root", "text-align", true) } var t = A.extractFromCss(AR, ".sIFR-root", "font-size", true) || "0"; var e = A.extractFromCss(AR, ".sIFR-root", "background-color", true) || "#FFFFFF"; var o = A.extractFromCss(AR, ".sIFR-root", "kerning", true) || ""; var AW = A.extractFromCss(AR, ".sIFR-root", "opacity", true) || "100"; var k = A.extractFromCss(AR, ".sIFR-root", "cursor", true) || "default"; var AP = parseInt(A.extractFromCss(AR, ".sIFR-root", "leading")) || 0; var AJ = x.gridFitType || (A.extractFromCss(AR, ".sIFR-root", "text-align") == "right") ? "subpixel" : "pixel"; var h = this.forceTextTransform === false ? "none" : A.extractFromCss(AR, ".sIFR-root", "text-transform", true) || "none"; t = /^\d+(px)?$/.test(t) ? parseInt(t) : 0; AW = parseFloat(AW) < 1 ? 100 * parseFloat(AW) : AW; var AC = x.modifyCss ? "" : A.cssToString(AR); var AG = x.wmode || ""; if (!AG) { if (x.transparent) { AG = "transparent" } else { if (x.opaque) { AG = "opaque" } } } if (AG == "transparent") { if (!T.transparencySupport) { AG = "opaque" } else { e = "transparent" } } else { if (e == "transparent") { e = "#FFFFFF" } } for (var AV = 0; AV < AM.length; AV++) { var AF = AM[AV]; if (W.hasOneOfClassses(E.IGNORE_CLASSES, AF) || W.ancestorHasClass(AF, E.ALTERNATE)) { continue } var AO = W.getDimensions(AF); var f = AO.height; var c = AO.width; var AA = W.getComputedStyle(AF, "display"); if (!f || !c || !AA || AA == "none") { continue } c = W.getWidthFromStyle(AF); var n, AH; if (!t) { var AL = I(AF); n = Math.min(this.MAX_FONT_SIZE, Math.max(this.MIN_FONT_SIZE, AL.fontSize)); if (AE) { n = Math.max(8, 8 * Math.round(n / 8)) } AH = AL.lines } else { n = t; AH = 1 } var d = W.create("span", E.ALTERNATE); var AX = AF.cloneNode(true); AF.parentNode.appendChild(AX); for (var AU = 0, AT = AX.childNodes.length; AU < AT; AU++) { var m = AX.childNodes[AU]; if (!/^(style|script)$/i.test(m.nodeName)) { d.appendChild(m.cloneNode(true)) } } if (x.modifyContent) { x.modifyContent(AX, x.selector) } if (x.modifyCss) { AC = x.modifyCss(AR, AX, x.selector) } var p = P(AX, h, x.uriEncode); AX.parentNode.removeChild(AX); if (x.modifyContentString) { p.text = x.modifyContentString(p.text, x.selector) } if (p.text == "") { continue } var AK = Math.round(AH * V(n, s) * n) + this.FLASH_PADDING_BOTTOM + r; if (AH > 1 && AP) { AK += Math.round((AH - 1) * AP) } var AB = AD ? c : "100%"; var AI = "sIFR_replacement_" + L++; var AQ = ["id=" + AI, "content=" + A.escape(p.text), "width=" + c, "renderheight=" + AK, "link=" + A.escape(p.primaryLink.href || ""), "target=" + A.escape(p.primaryLink.target || ""), "size=" + n, "css=" + A.escape(AC), "cursor=" + k, "tunewidth=" + (x.tuneWidth || 0), "tuneheight=" + r, "offsetleft=" + (x.offsetLeft || ""), "offsettop=" + (x.offsetTop || ""), "fitexactly=" + q, "preventwrap=" + AS, "forcesingleline=" + AN, "antialiastype=" + (x.antiAliasType || ""), "thickness=" + (x.thickness || ""), "sharpness=" + (x.sharpness || ""), "kerning=" + o, "gridfittype=" + AJ, "flashfilters=" + v, "opacity=" + AW, "blendmode=" + (x.blendMode || ""), "selectable=" + (x.selectable == null || AG != "" && !sIFR.ua.macintosh && sIFR.ua.gecko && sIFR.ua.geckoVersion >= sIFR.ua.parseVersion("1.9") ? "true" : x.selectable === true), "fixhover=" + (this.fixHover === true), "events=" + z, "delayrun=" + G.brokenFlashIE.fixFlash, "version=" + this.VERSION]; var y = A.encodeVars(AQ); var g = new K(O, AI, AQ, AD, { onReplacement: x.onReplacement, onRollOver: x.onRollOver, onRollOut: x.onRollOut, onRelease: x.onRelease }); g.movie = X.create(sIFR, G.brokenFlashIE, AF, T.fixFocus && x.fixFocus, AI, w, AB, AK, y, AG, e); this.replacements.push(g); this.replacements[AI] = g; if (x.selector) { if (!this.replacements[x.selector]) { this.replacements[x.selector] = [g] } else { this.replacements[x.selector].push(g) } } d.setAttribute("id", AI + "_alternate"); AF.appendChild(d); W.addClass(E.REPLACED, AF) } G.fragmentIdentifier.restore() }; this.getReplacementByFlashElement = function (d) { for (var c = 0; c < O.replacements.length; c++) { if (O.replacements[c].id == d.getAttribute("id")) { return O.replacements[c] } } }; this.redraw = function () { for (var c = 0; c < O.replacements.length; c++) { O.replacements[c].resetMovie() } }; this.prepareClearReferences = function () { G.brokenFlashIE.prepareClearReferences() }; this.clearReferences = function () { G.brokenFlashIE.clearReferences(); G = null; J = null; delete O.replacements }; function C() { if (O.domains.length == 0) { return true } var d = A.domain(); for (var c = 0; c < O.domains.length; c++) { if (A.domainMatches(d, O.domains[c])) { return true } } return false } function a() { if (document.location.protocol == "file:") { if (O.debug) { O.errors.fire("isFile") } return true } return false } function M(c) { if (T.ie && c.charAt(0) == "/") { c = window.location.toString().replace(/([^:]+)(:\/?\/?)([^\/]+).*/, "$1$2$3") + c } return c } function V(d, e) { for (var c = 0; c < e.length; c += 2) { if (d <= e[c]) { return e[c + 1] } } return e[e.length - 1] || 1 } function B(g) { var e = []; for (var d in g) { if (g[d] == Object.prototype[d]) { continue } var c = g[d]; d = [d.replace(/filter/i, "") + "Filter"]; for (var f in c) { if (c[f] == Object.prototype[f]) { continue } d.push(f + ":" + A.escape(A.toJson(c[f], A.toHexString))) } e.push(d.join(",")) } return A.escape(e.join(";")) } function Z(d) { var e = Z.viewport; var c = W.getViewport(); if (e && c.width == e.width && c.height == e.height) { return } Z.viewport = c; if (O.replacements.length == 0) { return } if (Z.timer) { clearTimeout(Z.timer) } Z.timer = setTimeout(function () { delete Z.timer; for (var f = 0; f < O.replacements.length; f++) { O.replacements[f].resize() } }, 200) } function I(f) { var g = W.getComputedStyle(f, "fontSize"); var d = g.indexOf("px") == -1; var e = f.innerHTML; if (d) { f.innerHTML = "X" } f.style.paddingTop = f.style.paddingBottom = f.style.borderTopWidth = f.style.borderBottomWidth = "0px"; f.style.lineHeight = "2em"; f.style.display = "block"; g = d ? f.offsetHeight / 2 : parseInt(g, 10); if (d) { f.innerHTML = e } var c = Math.round(f.offsetHeight / (2 * g)); f.style.paddingTop = f.style.paddingBottom = f.style.borderTopWidth = f.style.borderBottomWidth = f.style.lineHeight = f.style.display = ""; if (isNaN(c) || !isFinite(c) || c == 0) { c = 1 } return { fontSize: g, lines: c} } function P(c, g, s) { s = s || A.uriEncode; var q = [], m = []; var k = null; var e = c.childNodes; var o = false, p = false; var j = 0; while (j < e.length) { var f = e[j]; if (f.nodeType == 3) { var t = A.textTransform(g, A.normalize(f.nodeValue)).replace(/</g, "&lt;"); if (o && p) { t = t.replace(/^\s+/, "") } m.push(t); o = /\s$/.test(t); p = false } if (f.nodeType == 1 && !/^(style|script)$/i.test(f.nodeName)) { var h = []; var r = f.nodeName.toLowerCase(); var n = f.className || ""; if (/\s+/.test(n)) { if (n.indexOf(E.CLASS) > -1) { n = n.match("(\\s|^)" + E.CLASS + "-([^\\s$]*)(\\s|$)")[2] } else { n = n.match(/^([^\s]+)/)[1] } } if (n != "") { h.push('class="' + n + '"') } if (r == "a") { var d = s(f.getAttribute("href") || ""); var l = f.getAttribute("target") || ""; h.push('href="' + d + '"', 'target="' + l + '"'); if (!k) { k = { href: d, target: l} } } m.push("<" + r + (h.length > 0 ? " " : "") + h.join(" ") + ">"); p = true; if (f.hasChildNodes()) { q.push(j); j = 0; e = f.childNodes; continue } else { if (!/^(br|img)$/i.test(f.nodeName)) { m.push("</", f.nodeName.toLowerCase(), ">") } } } if (q.length > 0 && !f.nextSibling) { do { j = q.pop(); e = f.parentNode.parentNode.childNodes; f = e[j]; if (f) { m.push("</", f.nodeName.toLowerCase(), ">") } } while (j == e.length - 1 && q.length > 0) } j++ } return { text: m.join("").replace(/^\s+|\s+$|\s*(<br>)\s*/g, "$1"), primaryLink: k || {}} } 
}; var parseSelector = (function () { var c = /\s*,\s*/; var d = /\s*([\s>+~(),]|^|$)\s*/g; var f = /([\s>+~,]|[^(]\+|^)([#.:@])/g; var l = /(^|\))[^\s>+~]/g; var e = /(\)|^)/; var g = /[\s#.:>+~()@]|[^\s#.:>+~()@]+/g; function j(t, v) { v = v || document.documentElement; var s = t.split(c), n = []; for (var q = 0; q < s.length; q++) { var x = [v], o = k(s[q]); for (var r = 0; r < o.length; ) { var u = o[r++], w = o[r++], p = ""; if (o[r] == "(") { while (o[r++] != ")" && r < o.length) { p += o[r] } p = p.slice(0, -1) } x = i(x, u, w, p) } n = n.concat(x) } return n } function k(o) { var n = o.replace(d, "$1").replace(f, "$1*$2").replace(l, a); return n.match(g) || [] } function a(n) { return n.replace(e, "$1 ") } function i(q, o, n, p) { return (j.selectors[o]) ? j.selectors[o](q, n, p) : [] } var m = { toArray: function (o) { var p = []; for (var n = 0; n < o.length; n++) { p.push(o[n]) } return p } }; var b = { isTag: function (n, o) { return (o == "*") || (o.toLowerCase() == n.nodeName.toLowerCase()) }, previousSiblingElement: function (n) { do { n = n.previousSibling } while (n && n.nodeType != 1); return n }, nextSiblingElement: function (n) { do { n = n.nextSibling } while (n && n.nodeType != 1); return n }, hasClass: function (o, n) { return (n.className || "").match("(^|\\s)" + o + "(\\s|$)") }, getByTag: function (o, n) { return n.getElementsByTagName(o) } }; var h = { "#": function (p, n) { for (var o = 0; o < p.length; o++) { if (p[o].getAttribute("id") == n) { return [p[o]] } } return [] }, " ": function (p, n) { var q = []; for (var o = 0; o < p.length; o++) { q = q.concat(m.toArray(b.getByTag(n, p[o]))) } return q }, ">": function (s, p) { var t = []; for (var q = 0, o; q < s.length; q++) { o = s[q]; for (var r = 0, n; r < o.childNodes.length; r++) { n = o.childNodes[r]; if (n.nodeType == 1 && b.isTag(n, p)) { t.push(n) } } } return t }, ".": function (q, o) { var r = []; for (var p = 0, n; p < q.length; p++) { n = q[p]; if (b.hasClass([o], n)) { r.push(n) } } return r }, ":": function (p, n, o) { return (j.pseudoClasses[n]) ? j.pseudoClasses[n](p, o) : [] } }; j.selectors = h; j.pseudoClasses = {}; j.util = m; j.dom = b; return j })(); if (!/MSIE (6|7)/.test(navigator.userAgent)) { var AvantGarBoo = { src: "/scripts/sifr3/AvantGarBoo.swf" }; var AvantGarExtLig = { src: "/scripts/sifr3/AvantGarExtLig.swf" }; sIFR.useStyleCheck = true; sIFR.activate(AvantGarExtLig); sIFR.replace(AvantGarExtLig, { selector: ".home #gamme .items li span", offsetLeft: 10, tuneHeight: 124, modifyContentString: function addBR(b, a) { return b.replace('">', '"><br/>') }, css: [".sIFR-root {color: #FFFFFF;background-color: #000000;}", "a {text-decoration:none; color:#ffffff;leading:95;}", "a:hover {color:#c22921}"], selectable: false, transparent: true }); sIFR.replace(AvantGarExtLig, { selector: ".carrefour #title h1", css: ".sIFR-root {color: #FFFFFF;background-color: #000000;leading:-5;}", fitExactly: true, selectable: true, transparent: true }); sIFR.replace(AvantGarExtLig, { selector: ".carrefour #title h2", css: ".sIFR-root {color: #FFFFFF;background-color: #000000;text-transform:lowercase}", fitExactly: true, selectable: true, transparent: true }); sIFR.replace(AvantGarExtLig, { selector: "h1,h2", css: ".sIFR-root {color: #4b4337;background-color: #FFFFFF;}", fitExactly: true, selectable: true, transparent: true }); sIFR.replace(AvantGarExtLig, { selector: "#nav1 #sec1", offsetLeft: 10, modifyContentString: function addBR(b, a) { return b.replace("</a>", "<br/><br/><br/></a>") }, css: [".sIFR-root {color: #4b4337;background-color: #FFFFFF;leading:-5;cursor: pointer;}", "a {text-decoration:none;color:#4b4337;}", "a:hover {color:#c22921}"], selectable: true, transparent: true }); sIFR.replace(AvantGarExtLig, { selector: "#nav1 #sec1-2", offsetLeft: 10, offsetTop: 36, modifyContentString: function addBR(b, a) { return b.replace("</a>", "<br/></a>") }, css: [".sIFR-root {color: #4b4337;background-color: #FFFFFF;leading:-5;cursor: pointer;}", "a {text-decoration:none;color:#4b4337;}", "a:hover {color:#c22921}"], selectable: true, transparent: true }); sIFR.replace(AvantGarExtLig, { selector: "#nav1 #sec2", offsetLeft: 10, modifyContentString: function addBR(b, a) { return b.replace("</a>", "<br/><br/><br/><br/><br/></a>") }, css: [".sIFR-root {color: #4b4337;background-color: #FFFFFF;leading:-5;cursor: pointer;}", "a {text-decoration:none;color:#4b4337}", "a:hover {color:#c22921}"], selectable: true, transparent: true }); sIFR.replace(AvantGarExtLig, { selector: "#nav1 #sec3", offsetLeft: 10, modifyContentString: function addBR(b, a) { return b.replace("</a>", "<br/><br/><br/><br/><br/></a>") }, css: [".sIFR-root {color: #4b4337;background-color: #FFFFFF;leading:-5;cursor: pointer;}", "a {text-decoration:none;color:#4b4337;font-size:92%;}", "a:hover {color:#c22921}"], selectable: true, transparent: true }) };
