(function(a) { a.anythingSlider = function(c, b) { var d = this; d.$el = a(c); d.el = c; d.currentPage = 1; d.timer = null; d.playing = false; d.$el.data("AnythingSlider", d); d.init = function() { d.options = a.extend({}, a.anythingSlider.defaults, b); d.$wrapper = d.$el.find("> div").css("overflow", "hidden"); d.$slider = d.$wrapper.find("> ul"); d.$items = d.$slider.find("> li"); d.$single = d.$items.filter(":first"); if (d.options.buildNavigation) { d.buildNavigation() } d.singleWidth = d.$single.outerWidth(); d.pages = d.$items.length; d.$items.filter(":first").before(d.$items.filter(":last").clone().addClass("cloned")); d.$items.filter(":last").after(d.$items.filter(":first").clone().addClass("cloned")); d.$items = d.$slider.find("> li"); d.buildNextBackButtons(); if (d.options.autoPlay) { d.playing = !d.options.startStopped; d.buildAutoPlay() } if (d.options.pauseOnHover) { d.$el.hover(function() { d.clearTimer() }, function() { d.startStop(d.playing) }) } if ((d.options.hashTags == true && !d.gotoHash()) || d.options.hashTags == false) { d.setCurrentPage(1) } }; d.gotoPage = function(g, f) { if (f !== true) { f = false } if (!f) { d.startStop(false) } if (typeof (g) == "undefined" || g == null) { g = 1; d.setCurrentPage(1) } if (g > d.pages + 1) { g = d.pages } if (g < 0) { g = 1 } var e = g < d.currentPage ? -1 : 1, j = Math.abs(d.currentPage - g), h = d.singleWidth * e * j; d.$wrapper.filter(":not(:animated)").animate({ scrollLeft: "+=" + h }, d.options.animationTime, d.options.easing, function() { if (g == 0) { d.$wrapper.scrollLeft(d.singleWidth * d.pages); g = d.pages } else { if (g > d.pages) { d.$wrapper.scrollLeft(d.singleWidth); g = 1 } } d.setCurrentPage(g) }) }; d.setCurrentPage = function(f, e) { if (d.options.buildNavigation) { d.$nav.find(".cur").removeClass("cur"); a(d.$navLinks[f - 1]).addClass("cur") } if (e !== false) { d.$wrapper.scrollLeft(d.singleWidth * f) } d.currentPage = f }; d.goForward = function(e) { if (e !== true) { e = false } d.gotoPage(d.currentPage + 1, e) }; d.goBack = function() { d.gotoPage(d.currentPage - 1) }; d.gotoHash = function() { if (/^#?panel-\d+$/.test(window.location.hash)) { var f = parseInt(window.location.hash.substr(7)); var e = d.$items.filter(":eq(" + f + ")"); if (e.length != 0) { d.setCurrentPage(f); return true } } return false }; d.buildNavigation = function() { d.$nav = a("<div id='thumbNav'></div>").appendTo(d.$el); d.$items.each(function(f, g) { var e = f + 1; var h = a("<a href='#'></a>"); if (typeof (d.options.navigationFormatter) == "function") { h.html(d.options.navigationFormatter(e, a(this))) } else { h.text(e) } h.click(function(j) { d.gotoPage(e); if (d.options.hashTags) { d.setHash("panel-" + e) } j.preventDefault() }); d.$nav.append(h) }); d.$navLinks = d.$nav.find("> a") }; d.buildNextBackButtons = function() { var e = a('<a class="arrow forward">&gt;</a>'), f = a('<a class="arrow back">&lt;</a>'); f.click(function(g) { d.goBack(); g.preventDefault() }); e.click(function(g) { d.goForward(); g.preventDefault() }); d.$wrapper.after(f).after(e) }; d.buildAutoPlay = function() { d.$startStop = a("<a href='#' id='start-stop'></a>").html(d.playing ? d.options.stopText : d.options.startText); d.$el.append(d.$startStop); d.$startStop.click(function(f) { d.startStop(!d.playing); f.preventDefault() }); d.startStop(d.playing) }; d.startStop = function(e) { if (e !== true) { e = false } d.playing = e; d.$startStop.toggleClass("playing", e).html(e ? d.options.stopText : d.options.startText); if (e) { d.clearTimer(); d.timer = window.setInterval(function() { d.goForward(true) }, d.options.delay) } else { d.clearTimer() } }; d.clearTimer = function() { if (d.timer) { window.clearInterval(d.timer) } }; d.setHash = function(e) { if (typeof window.location.hash !== "undefined") { if (window.location.hash !== e) { window.location.hash = e } } else { if (location.hash !== e) { location.hash = e } } return e }; d.init() }; a.anythingSlider.defaults = { easing: "swing", autoPlay: true, startStopped: false, delay: 3000, animationTime: 600, hashTags: true, buildNavigation: true, pauseOnHover: true, startText: "Start", stopText: "Stop", navigationFormatter: null }; a.fn.anythingSlider = function(b) { if (typeof (b) == "object") { return this.each(function(c) { (new a.anythingSlider(this, b)); b.hashTags = false }) } else { if (typeof (b) == "number") { return this.each(function(c) { var d = a(this).data("AnythingSlider"); if (d) { d.gotoPage(b) } }) } } } })(jQuery); jQuery.extend(jQuery.easing, { easeInQuad: function(e, f, a, h, g) { return h * (f /= g) * f + a }, easeOutQuad: function(e, f, a, h, g) { return -h * (f /= g) * (f - 2) + a }, easeInOutQuad: function(e, f, a, h, g) { if ((f /= g / 2) < 1) { return h / 2 * f * f + a } return -h / 2 * ((--f) * (f - 2) - 1) + a }, easeInCubic: function(e, f, a, h, g) { return h * (f /= g) * f * f + a }, easeOutCubic: function(e, f, a, h, g) { return h * ((f = f / g - 1) * f * f + 1) + a }, easeInOutCubic: function(e, f, a, h, g) { if ((f /= g / 2) < 1) { return h / 2 * f * f * f + a } return h / 2 * ((f -= 2) * f * f + 2) + a }, easeInQuart: function(e, f, a, h, g) { return h * (f /= g) * f * f * f + a }, easeOutQuart: function(e, f, a, h, g) { return -h * ((f = f / g - 1) * f * f * f - 1) + a }, easeInOutQuart: function(e, f, a, h, g) { if ((f /= g / 2) < 1) { return h / 2 * f * f * f * f + a } return -h / 2 * ((f -= 2) * f * f * f - 2) + a }, easeInQuint: function(e, f, a, h, g) { return h * (f /= g) * f * f * f * f + a }, easeOutQuint: function(e, f, a, h, g) { return h * ((f = f / g - 1) * f * f * f * f + 1) + a }, easeInOutQuint: function(e, f, a, h, g) { if ((f /= g / 2) < 1) { return h / 2 * f * f * f * f * f + a } return h / 2 * ((f -= 2) * f * f * f * f + 2) + a }, easeInSine: function(e, f, a, h, g) { return -h * Math.cos(f / g * (Math.PI / 2)) + h + a }, easeOutSine: function(e, f, a, h, g) { return h * Math.sin(f / g * (Math.PI / 2)) + a }, easeInOutSine: function(e, f, a, h, g) { return -h / 2 * (Math.cos(Math.PI * f / g) - 1) + a }, easeInExpo: function(e, f, a, h, g) { return (f == 0) ? a : h * Math.pow(2, 10 * (f / g - 1)) + a }, easeOutExpo: function(e, f, a, h, g) { return (f == g) ? a + h : h * (-Math.pow(2, -10 * f / g) + 1) + a }, easeInOutExpo: function(e, f, a, h, g) { if (f == 0) { return a } if (f == g) { return a + h } if ((f /= g / 2) < 1) { return h / 2 * Math.pow(2, 10 * (f - 1)) + a } return h / 2 * (-Math.pow(2, -10 * --f) + 2) + a }, easeInCirc: function(e, f, a, h, g) { return -h * (Math.sqrt(1 - (f /= g) * f) - 1) + a }, easeOutCirc: function(e, f, a, h, g) { return h * Math.sqrt(1 - (f = f / g - 1) * f) + a }, easeInOutCirc: function(e, f, a, h, g) { if ((f /= g / 2) < 1) { return -h / 2 * (Math.sqrt(1 - f * f) - 1) + a } return h / 2 * (Math.sqrt(1 - (f -= 2) * f) + 1) + a }, easeInElastic: function(f, h, e, m, l) { var j = 1.70158; var k = 0; var g = m; if (h == 0) { return e } if ((h /= l) == 1) { return e + m } if (!k) { k = l * 0.3 } if (g < Math.abs(m)) { g = m; var j = k / 4 } else { var j = k / (2 * Math.PI) * Math.asin(m / g) } return -(g * Math.pow(2, 10 * (h -= 1)) * Math.sin((h * l - j) * (2 * Math.PI) / k)) + e }, easeOutElastic: function(f, h, e, m, l) { var j = 1.70158; var k = 0; var g = m; if (h == 0) { return e } if ((h /= l) == 1) { return e + m } if (!k) { k = l * 0.3 } if (g < Math.abs(m)) { g = m; var j = k / 4 } else { var j = k / (2 * Math.PI) * Math.asin(m / g) } return g * Math.pow(2, -10 * h) * Math.sin((h * l - j) * (2 * Math.PI) / k) + m + e }, easeInOutElastic: function(f, h, e, m, l) { var j = 1.70158; var k = 0; var g = m; if (h == 0) { return e } if ((h /= l / 2) == 2) { return e + m } if (!k) { k = l * (0.3 * 1.5) } if (g < Math.abs(m)) { g = m; var j = k / 4 } else { var j = k / (2 * Math.PI) * Math.asin(m / g) } if (h < 1) { return -0.5 * (g * Math.pow(2, 10 * (h -= 1)) * Math.sin((h * l - j) * (2 * Math.PI) / k)) + e } return g * Math.pow(2, -10 * (h -= 1)) * Math.sin((h * l - j) * (2 * Math.PI) / k) * 0.5 + m + e }, easeInBack: function(e, f, a, j, h, g) { if (g == undefined) { g = 1.70158 } return j * (f /= h) * f * ((g + 1) * f - g) + a }, easeOutBack: function(e, f, a, j, h, g) { if (g == undefined) { g = 1.70158 } return j * ((f = f / h - 1) * f * ((g + 1) * f + g) + 1) + a }, easeInOutBack: function(e, f, a, j, h, g) { if (g == undefined) { g = 1.70158 } if ((f /= h / 2) < 1) { return j / 2 * (f * f * (((g *= (1.525)) + 1) * f - g)) + a } return j / 2 * ((f -= 2) * f * (((g *= (1.525)) + 1) * f + g) + 2) + a }, easeInBounce: function(e, f, a, h, g) { return h - jQuery.easing.easeOutBounce(e, g - f, 0, h, g) + a }, easeOutBounce: function(e, f, a, h, g) { if ((f /= g) < (1 / 2.75)) { return h * (7.5625 * f * f) + a } else { if (f < (2 / 2.75)) { return h * (7.5625 * (f -= (1.5 / 2.75)) * f + 0.75) + a } else { if (f < (2.5 / 2.75)) { return h * (7.5625 * (f -= (2.25 / 2.75)) * f + 0.9375) + a } else { return h * (7.5625 * (f -= (2.625 / 2.75)) * f + 0.984375) + a } } } }, easeInOutBounce: function(e, f, a, h, g) { if (f < g / 2) { return jQuery.easing.easeInBounce(e, f * 2, 0, h, g) * 0.5 + a } return jQuery.easing.easeOutBounce(e, f * 2 - g, 0, h, g) * 0.5 + h * 0.5 + a } });
(function(b) { b.fn.ajaxSubmit = function(t) { if (!this.length) { a("ajaxSubmit: skipping submit process - no element selected"); return this } if (typeof t == "function") { t = { success: t} } var e = b.trim(this.attr("action")); if (e) { e = (e.match(/^([^#]+)/) || [])[1] } e = e || window.location.href || ""; t = b.extend({ url: e, type: this.attr("method") || "GET", iframeSrc: /^https/i.test(window.location.href || "") ? "javascript:false" : "about:blank" }, t || {}); var v = {}; this.trigger("form-pre-serialize", [this, t, v]); if (v.veto) { a("ajaxSubmit: submit vetoed via form-pre-serialize trigger"); return this } if (t.beforeSerialize && t.beforeSerialize(this, t) === false) { a("ajaxSubmit: submit aborted via beforeSerialize callback"); return this } var o = this.formToArray(t.semantic); if (t.data) { t.extraData = t.data; for (var f in t.data) { if (t.data[f] instanceof Array) { for (var g in t.data[f]) { o.push({ name: f, value: t.data[f][g] }) } } else { o.push({ name: f, value: t.data[f] }) } } } if (t.beforeSubmit && t.beforeSubmit(o, this, t) === false) { a("ajaxSubmit: submit aborted via beforeSubmit callback"); return this } this.trigger("form-submit-validate", [o, this, t, v]); if (v.veto) { a("ajaxSubmit: submit vetoed via form-submit-validate trigger"); return this } var d = b.param(o); if (t.type.toUpperCase() == "GET") { t.url += (t.url.indexOf("?") >= 0 ? "&" : "?") + d; t.data = null } else { t.data = d } var u = this, m = []; if (t.resetForm) { m.push(function() { u.resetForm() }) } if (t.clearForm) { m.push(function() { u.clearForm() }) } if (!t.dataType && t.target) { var r = t.success || function() { }; m.push(function(k) { var j = t.replaceTarget ? "replaceWith" : "html"; b(t.target)[j](k).each(r, arguments) }) } else { if (t.success) { m.push(t.success) } } t.success = function(w, k, x) { for (var q = 0, j = m.length; q < j; q++) { m[q].apply(t, [w, k, x || u, u]) } }; var c = b("input:file", this).fieldValue(); var s = false; for (var l = 0; l < c.length; l++) { if (c[l]) { s = true } } var h = false; if ((c.length && t.iframe !== false) || t.iframe || s || h) { if (t.closeKeepAlive) { b.get(t.closeKeepAlive, p) } else { p() } } else { b.ajax(t) } this.trigger("form-submit-notify", [this, t]); return this; function p() { var x = u[0]; if (b(":input[name=submit]", x).length) { alert('Error: Form elements must not be named "submit".'); return } var q = b.extend({}, b.ajaxSettings, t); var I = b.extend(true, {}, b.extend(true, {}, b.ajaxSettings), q); var w = "jqFormIO" + (new Date().getTime()); var E = b('<iframe id="' + w + '" name="' + w + '" src="' + q.iframeSrc + '" onload="(jQuery(this).data(\'form-plugin-onload\'))()" />'); var G = E[0]; E.css({ position: "absolute", top: "-1000px", left: "-1000px" }); var H = { aborted: 0, responseText: null, responseXML: null, status: 0, statusText: "n/a", getAllResponseHeaders: function() { }, getResponseHeader: function() { }, setRequestHeader: function() { }, abort: function() { this.aborted = 1; E.attr("src", q.iframeSrc) } }; var F = q.global; if (F && !b.active++) { b.event.trigger("ajaxStart") } if (F) { b.event.trigger("ajaxSend", [H, q]) } if (I.beforeSend && I.beforeSend(H, I) === false) { I.global && b.active--; return } if (H.aborted) { return } var k = false; var B = 0; var j = x.clk; if (j) { var z = j.name; if (z && !j.disabled) { q.extraData = q.extraData || {}; q.extraData[z] = j.value; if (j.type == "image") { q.extraData[z + ".x"] = x.clk_x; q.extraData[z + ".y"] = x.clk_y } } } function y() { var L = u.attr("target"), J = u.attr("action"); x.setAttribute("target", w); if (x.getAttribute("method") != "POST") { x.setAttribute("method", "POST") } if (x.getAttribute("action") != q.url) { x.setAttribute("action", q.url) } if (!q.skipEncodingOverride) { u.attr({ encoding: "multipart/form-data", enctype: "multipart/form-data" }) } if (q.timeout) { setTimeout(function() { B = true; C() }, q.timeout) } var K = []; try { if (q.extraData) { for (var M in q.extraData) { K.push(b('<input type="hidden" name="' + M + '" value="' + q.extraData[M] + '" />').appendTo(x)[0]) } } E.appendTo("body"); E.data("form-plugin-onload", C); x.submit() } finally { x.setAttribute("action", J); L ? x.setAttribute("target", L) : u.removeAttr("target"); b(K).remove() } } if (q.forceSync) { y() } else { setTimeout(y, 10) } var A = 100; function C() { if (k) { return } var K = true; try { if (B) { throw "timeout" } var L, O; O = G.contentWindow ? G.contentWindow.document : G.contentDocument ? G.contentDocument : G.document; var P = q.dataType == "xml" || O.XMLDocument || b.isXMLDoc(O); a("isXml=" + P); if (!P && (O.body == null || O.body.innerHTML == "")) { if (--A) { a("requeing onLoad callback, DOM not available"); setTimeout(C, 250); return } a("Could not access iframe DOM after 100 tries."); return } a("response detected"); k = true; H.responseText = O.body ? O.body.innerHTML : null; H.responseXML = O.XMLDocument ? O.XMLDocument : O; H.getResponseHeader = function(R) { var Q = { "content-type": q.dataType }; return Q[R] }; if (q.dataType == "json" || q.dataType == "script") { var J = O.getElementsByTagName("textarea")[0]; if (J) { H.responseText = J.value } else { var N = O.getElementsByTagName("pre")[0]; if (N) { H.responseText = N.innerHTML } } } else { if (q.dataType == "xml" && !H.responseXML && H.responseText != null) { H.responseXML = D(H.responseText) } } L = b.httpData(H, q.dataType) } catch (M) { a("error caught:", M); K = false; H.error = M; b.handleError(q, H, "error", M) } if (K) { q.success(L, "success"); if (F) { b.event.trigger("ajaxSuccess", [H, q]) } } if (F) { b.event.trigger("ajaxComplete", [H, q]) } if (F && ! --b.active) { b.event.trigger("ajaxStop") } if (q.complete) { q.complete(H, K ? "success" : "error") } setTimeout(function() { E.removeData("form-plugin-onload"); E.remove(); H.responseXML = null }, 100) } function D(J, K) { if (window.ActiveXObject) { K = new ActiveXObject("Microsoft.XMLDOM"); K.async = "false"; K.loadXML(J) } else { K = (new DOMParser()).parseFromString(J, "text/xml") } return (K && K.documentElement && K.documentElement.tagName != "parsererror") ? K : null } } }; b.fn.ajaxForm = function(c) { return this.ajaxFormUnbind().bind("submit.form-plugin", function(d) { d.preventDefault(); b(this).ajaxSubmit(c) }).bind("click.form-plugin", function(j) { var h = j.target; var f = b(h); if (!(f.is(":submit,input:image"))) { var d = f.closest(":submit"); if (d.length == 0) { return } h = d[0] } var g = this; g.clk = h; if (h.type == "image") { if (j.offsetX != undefined) { g.clk_x = j.offsetX; g.clk_y = j.offsetY } else { if (typeof b.fn.offset == "function") { var k = f.offset(); g.clk_x = j.pageX - k.left; g.clk_y = j.pageY - k.top } else { g.clk_x = j.pageX - h.offsetLeft; g.clk_y = j.pageY - h.offsetTop } } } setTimeout(function() { g.clk = g.clk_x = g.clk_y = null }, 100) }) }; b.fn.ajaxFormUnbind = function() { return this.unbind("submit.form-plugin click.form-plugin") }; b.fn.formToArray = function(q) { var p = []; if (this.length == 0) { return p } var d = this[0]; var h = q ? d.getElementsByTagName("*") : d.elements; if (!h) { return p } for (var k = 0, m = h.length; k < m; k++) { var e = h[k]; var f = e.name; if (!f) { continue } if (q && d.clk && e.type == "image") { if (!e.disabled && d.clk == e) { p.push({ name: f, value: b(e).val() }); p.push({ name: f + ".x", value: d.clk_x }, { name: f + ".y", value: d.clk_y }) } continue } var r = b.fieldValue(e, true); if (r && r.constructor == Array) { for (var g = 0, c = r.length; g < c; g++) { p.push({ name: f, value: r[g] }) } } else { if (r !== null && typeof r != "undefined") { p.push({ name: f, value: r }) } } } if (!q && d.clk) { var l = b(d.clk), o = l[0], f = o.name; if (f && !o.disabled && o.type == "image") { p.push({ name: f, value: l.val() }); p.push({ name: f + ".x", value: d.clk_x }, { name: f + ".y", value: d.clk_y }) } } return p }; b.fn.formSerialize = function(c) { return b.param(this.formToArray(c)) }; b.fn.fieldSerialize = function(d) { var c = []; this.each(function() { var h = this.name; if (!h) { return } var f = b.fieldValue(this, d); if (f && f.constructor == Array) { for (var g = 0, e = f.length; g < e; g++) { c.push({ name: h, value: f[g] }) } } else { if (f !== null && typeof f != "undefined") { c.push({ name: this.name, value: f }) } } }); return b.param(c) }; b.fn.fieldValue = function(h) { for (var g = [], e = 0, c = this.length; e < c; e++) { var f = this[e]; var d = b.fieldValue(f, h); if (d === null || typeof d == "undefined" || (d.constructor == Array && !d.length)) { continue } d.constructor == Array ? b.merge(g, d) : g.push(d) } return g }; b.fieldValue = function(c, j) { var e = c.name, p = c.type, q = c.tagName.toLowerCase(); if (typeof j == "undefined") { j = true } if (j && (!e || c.disabled || p == "reset" || p == "button" || (p == "checkbox" || p == "radio") && !c.checked || (p == "submit" || p == "image") && c.form && c.form.clk != c || q == "select" && c.selectedIndex == -1)) { return null } if (q == "select") { var k = c.selectedIndex; if (k < 0) { return null } var m = [], d = c.options; var g = (p == "select-one"); var l = (g ? k + 1 : d.length); for (var f = (g ? k : 0); f < l; f++) { var h = d[f]; if (h.selected) { var o = h.value; if (!o) { o = (h.attributes && h.attributes.value && !(h.attributes.value.specified)) ? h.text : h.value } if (g) { return o } m.push(o) } } return m } return c.value }; b.fn.clearForm = function() { return this.each(function() { b("input,select,textarea", this).clearFields() }) }; b.fn.clearFields = b.fn.clearInputs = function() { return this.each(function() { var d = this.type, c = this.tagName.toLowerCase(); if (d == "text" || d == "password" || c == "textarea") { this.value = "" } else { if (d == "checkbox" || d == "radio") { this.checked = false } else { if (c == "select") { this.selectedIndex = -1 } } } }) }; b.fn.resetForm = function() { return this.each(function() { if (typeof this.reset == "function" || (typeof this.reset == "object" && !this.reset.nodeType)) { this.reset() } }) }; b.fn.enable = function(c) { if (c == undefined) { c = true } return this.each(function() { this.disabled = !c }) }; b.fn.selected = function(c) { if (c == undefined) { c = true } return this.each(function() { var d = this.type; if (d == "checkbox" || d == "radio") { this.checked = c } else { if (this.tagName.toLowerCase() == "option") { var e = b(this).parent("select"); if (c && e[0] && e[0].type == "select-one") { e.find("option").selected(false) } this.selected = c } } }) }; function a() { if (b.fn.ajaxSubmit.debug) { var c = "[jquery.form] " + Array.prototype.join.call(arguments, ""); if (window.console && window.console.log) { window.console.log(c) } else { if (window.opera && window.opera.postError) { window.opera.postError(c) } } } } })(jQuery); (function(a) { a.extend(a.fn, { validate: function(b) { if (!this.length) { b && b.debug && window.console && console.warn("nothing selected, can't validate, returning nothing"); return } var c = a.data(this[0], "validator"); if (c) { return c } c = new a.validator(b, this[0]); a.data(this[0], "validator", c); if (c.settings.onsubmit) { this.find("input, button").filter(".cancel").click(function() { c.cancelSubmit = true }); this.submit(function(d) { if (c.settings.debug) { d.preventDefault() } function e() { if (c.settings.submitHandler) { c.settings.submitHandler.call(c, c.currentForm); return false } return true } if (c.cancelSubmit) { c.cancelSubmit = false; return e() } if (c.form()) { if (c.pendingRequest) { c.formSubmitted = true; return false } return e() } else { c.focusInvalid(); return false } }) } return c }, valid: function() { if (a(this[0]).is("form")) { return this.validate().form() } else { var c = false; var b = a(this[0].form).validate(); this.each(function() { c |= b.element(this) }); return c } }, removeAttrs: function(d) { var b = {}, c = this; a.each(d.split(/\s/), function(e, f) { b[f] = c.attr(f); c.removeAttr(f) }); return b }, rules: function(e, b) { var g = this[0]; if (e) { var d = a.data(g.form, "validator").settings; var j = d.rules; var k = a.validator.staticRules(g); switch (e) { case "add": a.extend(k, a.validator.normalizeRule(b)); j[g.name] = k; if (b.messages) { d.messages[g.name] = a.extend(d.messages[g.name], b.messages) } break; case "remove": if (!b) { delete j[g.name]; return k } var h = {}; a.each(b.split(/\s/), function(l, m) { h[m] = k[m]; delete k[m] }); return h } } var f = a.validator.normalizeRules(a.extend({}, a.validator.metadataRules(g), a.validator.classRules(g), a.validator.attributeRules(g), a.validator.staticRules(g)), g); if (f.required) { var c = f.required; delete f.required; f = a.extend({ required: c }, f) } return f } }); a.extend(a.expr[":"], { blank: function(b) { return !a.trim(b.value) }, filled: function(b) { return !!a.trim(b.value) }, unchecked: function(b) { return !b.checked } }); a.format = function(b, c) { if (arguments.length == 1) { return function() { var d = a.makeArray(arguments); d.unshift(b); return a.format.apply(this, d) } } if (arguments.length > 2 && c.constructor != Array) { c = a.makeArray(arguments).slice(1) } if (c.constructor != Array) { c = [c] } a.each(c, function(d, e) { b = b.replace(new RegExp("\\{" + d + "\\}", "g"), e) }); return b }; a.validator = function(b, c) { this.settings = a.extend({}, a.validator.defaults, b); this.currentForm = c; this.init() }; a.extend(a.validator, { defaults: { messages: {}, groups: {}, rules: {}, errorClass: "error", errorElement: "label", focusInvalid: true, errorContainer: a([]), errorLabelContainer: a([]), onsubmit: true, ignore: [], ignoreTitle: false, onfocusin: function(b) { this.lastActive = b; if (this.settings.focusCleanup && !this.blockFocusCleanup) { this.settings.unhighlight && this.settings.unhighlight.call(this, b, this.settings.errorClass); this.errorsFor(b).hide() } }, onfocusout: function(b) { if (!this.checkable(b) && (b.name in this.submitted || !this.optional(b))) { this.element(b) } }, onkeyup: function(b) { if (b.name in this.submitted || b == this.lastElement) { this.element(b) } }, onclick: function(b) { if (b.name in this.submitted) { this.element(b) } }, highlight: function(c, b) { a(c).addClass(b) }, unhighlight: function(c, b) { a(c).removeClass(b) } }, setDefaults: function(b) { a.extend(a.validator.defaults, b) }, messages: { required: "This field is required.", remote: "Please fix this field.", email: "Please enter a valid email address.", url: "Please enter a valid URL.", date: "Please enter a valid date.", dateISO: "Please enter a valid date (ISO).", dateDE: "Bitte geben Sie ein gültiges Datum ein.", number: "Please enter a valid number.", numberDE: "Bitte geben Sie eine Nummer ein.", digits: "Please enter only digits", creditcard: "Please enter a valid credit card number.", equalTo: "Please enter the same value again.", accept: "Please enter a value with a valid extension.", maxlength: a.format("Please enter no more than {0} characters."), minlength: a.format("Please enter at least {0} characters."), rangelength: a.format("Please enter a value between {0} and {1} characters long."), range: a.format("Please enter a value between {0} and {1}."), max: a.format("Please enter a value less than or equal to {0}."), min: a.format("Please enter a value greater than or equal to {0}.") }, autoCreateRanges: false, prototype: { init: function() { this.labelContainer = a(this.settings.errorLabelContainer); this.errorContext = this.labelContainer.length && this.labelContainer || a(this.currentForm); this.containers = a(this.settings.errorContainer).add(this.settings.errorLabelContainer); this.submitted = {}; this.valueCache = {}; this.pendingRequest = 0; this.pending = {}; this.invalid = {}; this.reset(); var b = (this.groups = {}); a.each(this.settings.groups, function(e, f) { a.each(f.split(/\s/), function(h, g) { b[g] = e }) }); var d = this.settings.rules; a.each(d, function(e, f) { d[e] = a.validator.normalizeRule(f) }); function c(f) { var e = a.data(this[0].form, "validator"); e.settings["on" + f.type] && e.settings["on" + f.type].call(e, this[0]) } a(this.currentForm).delegate("focusin focusout keyup", ":text, :password, :file, select, textarea", c).delegate("click", ":radio, :checkbox", c); if (this.settings.invalidHandler) { a(this.currentForm).bind("invalid-form.validate", this.settings.invalidHandler) } }, form: function() { this.checkForm(); a.extend(this.submitted, this.errorMap); this.invalid = a.extend({}, this.errorMap); if (!this.valid()) { a(this.currentForm).triggerHandler("invalid-form", [this]) } this.showErrors(); return this.valid() }, checkForm: function() { this.prepareForm(); for (var b = 0, c = (this.currentElements = this.elements()); c[b]; b++) { this.check(c[b]) } return this.valid() }, element: function(c) { c = this.clean(c); this.lastElement = c; this.prepareElement(c); this.currentElements = a(c); var b = this.check(c); if (b) { delete this.invalid[c.name] } else { this.invalid[c.name] = true } if (!this.numberOfInvalids()) { this.toHide = this.toHide.add(this.containers) } this.showErrors(); return b }, showErrors: function(c) { if (c) { a.extend(this.errorMap, c); this.errorList = []; for (var b in c) { this.errorList.push({ message: c[b], element: this.findByName(b)[0] }) } this.successList = a.grep(this.successList, function(d) { return !(d.name in c) }) } this.settings.showErrors ? this.settings.showErrors.call(this, this.errorMap, this.errorList) : this.defaultShowErrors() }, resetForm: function() { if (a.fn.resetForm) { a(this.currentForm).resetForm() } this.submitted = {}; this.prepareForm(); this.hideErrors(); this.elements().removeClass(this.settings.errorClass) }, numberOfInvalids: function() { return this.objectLength(this.invalid) }, objectLength: function(d) { var c = 0; for (var b in d) { c++ } return c }, hideErrors: function() { this.addWrapper(this.toHide).hide() }, valid: function() { return this.size() == 0 }, size: function() { return this.errorList.length }, focusInvalid: function() { if (this.settings.focusInvalid) { try { a(this.findLastActive() || this.errorList.length && this.errorList[0].element || []).filter(":visible").focus() } catch (b) { } } }, findLastActive: function() { var b = this.lastActive; return b && a.grep(this.errorList, function(c) { return c.element.name == b.name }).length == 1 && b }, elements: function() { var c = this, b = {}; return a([]).add(this.currentForm.elements).filter(":input").not(":submit, :reset, :image, [disabled]").not(this.settings.ignore).filter(function() { !this.name && c.settings.debug && window.console && console.error("%o has no name assigned", this); if (this.name in b || !c.objectLength(a(this).rules())) { return false } b[this.name] = true; return true }) }, clean: function(b) { return a(b)[0] }, errors: function() { return a(this.settings.errorElement + "." + this.settings.errorClass, this.errorContext) }, reset: function() { this.successList = []; this.errorList = []; this.errorMap = {}; this.toShow = a([]); this.toHide = a([]); this.formSubmitted = false; this.currentElements = a([]) }, prepareForm: function() { this.reset(); this.toHide = this.errors().add(this.containers) }, prepareElement: function(b) { this.reset(); this.toHide = this.errorsFor(b) }, check: function(c) { c = this.clean(c); if (this.checkable(c)) { c = this.findByName(c.name)[0] } var h = a(c).rules(); var d = false; for (method in h) { var g = { method: method, parameters: h[method] }; try { var b = a.validator.methods[method].call(this, c.value.replace(/\r/g, ""), c, g.parameters); if (b == "dependency-mismatch") { d = true; continue } d = false; if (b == "pending") { this.toHide = this.toHide.not(this.errorsFor(c)); return } if (!b) { this.formatAndAdd(c, g); return false } } catch (f) { this.settings.debug && window.console && console.log("exception occured when checking element " + c.id + ", check the '" + g.method + "' method"); throw f } } if (d) { return } if (this.objectLength(h)) { this.successList.push(c) } return true }, customMetaMessage: function(b, d) { if (!a.metadata) { return } var c = this.settings.meta ? a(b).metadata()[this.settings.meta] : a(b).metadata(); return c && c.messages && c.messages[d] }, customMessage: function(c, d) { var b = this.settings.messages[c]; return b && (b.constructor == String ? b : b[d]) }, findDefined: function() { for (var b = 0; b < arguments.length; b++) { if (arguments[b] !== undefined) { return arguments[b] } } return undefined }, defaultMessage: function(b, c) { return this.findDefined(this.customMessage(b.name, c), this.customMetaMessage(b, c), !this.settings.ignoreTitle && b.title || undefined, a.validator.messages[c], "<strong>Warning: No message defined for " + b.name + "</strong>") }, formatAndAdd: function(b, d) { var c = this.defaultMessage(b, d.method); if (typeof c == "function") { c = c.call(this, d.parameters, b) } this.errorList.push({ message: c, element: b }); this.errorMap[b.name] = c; this.submitted[b.name] = c }, addWrapper: function(b) { if (this.settings.wrapper) { b = b.add(b.parents(this.settings.wrapper)) } return b }, defaultShowErrors: function() { for (var c = 0; this.errorList[c]; c++) { var b = this.errorList[c]; this.settings.highlight && this.settings.highlight.call(this, b.element, this.settings.errorClass); this.showLabel(b.element, b.message) } if (this.errorList.length) { this.toShow = this.toShow.add(this.containers) } if (this.settings.success) { for (var c = 0; this.successList[c]; c++) { this.showLabel(this.successList[c]) } } if (this.settings.unhighlight) { for (var c = 0, d = this.validElements(); d[c]; c++) { this.settings.unhighlight.call(this, d[c], this.settings.errorClass) } } this.toHide = this.toHide.not(this.toShow); this.hideErrors(); this.addWrapper(this.toShow).show() }, validElements: function() { return this.currentElements.not(this.invalidElements()) }, invalidElements: function() { return a(this.errorList).map(function() { return this.element }) }, showLabel: function(c, d) { var b = this.errorsFor(c); if (b.length) { b.removeClass().addClass(this.settings.errorClass); b.attr("generated") && b.html(d) } else { b = a("<" + this.settings.errorElement + "/>").attr({ "for": this.idOrName(c), generated: true }).addClass(this.settings.errorClass).html(d || ""); if (this.settings.wrapper) { b = b.hide().show().wrap("<" + this.settings.wrapper + "/>").parent() } if (!this.labelContainer.append(b).length) { this.settings.errorPlacement ? this.settings.errorPlacement(b, a(c)) : b.insertAfter(c) } } if (!d && this.settings.success) { b.text(""); typeof this.settings.success == "string" ? b.addClass(this.settings.success) : this.settings.success(b) } this.toShow = this.toShow.add(b) }, errorsFor: function(b) { return this.errors().filter("[for='" + this.idOrName(b) + "']") }, idOrName: function(b) { return this.groups[b.name] || (this.checkable(b) ? b.name : b.id || b.name) }, checkable: function(b) { return /radio|checkbox/i.test(b.type) }, findByName: function(b) { var c = this.currentForm; return a(document.getElementsByName(b)).map(function(d, e) { return e.form == c && e.name == b && e || null }) }, getLength: function(c, b) { switch (b.nodeName.toLowerCase()) { case "select": return a("option:selected", b).length; case "input": if (this.checkable(b)) { return this.findByName(b.name).filter(":checked").length } } return c.length }, depend: function(c, b) { return this.dependTypes[typeof c] ? this.dependTypes[typeof c](c, b) : true }, dependTypes: { "boolean": function(c, b) { return c }, string: function(c, b) { return !!a(c, b.form).length }, "function": function(c, b) { return c(b) } }, optional: function(b) { return !a.validator.methods.required.call(this, a.trim(b.value), b) && "dependency-mismatch" }, startRequest: function(b) { if (!this.pending[b.name]) { this.pendingRequest++; this.pending[b.name] = true } }, stopRequest: function(b, c) { this.pendingRequest--; if (this.pendingRequest < 0) { this.pendingRequest = 0 } delete this.pending[b.name]; if (c && this.pendingRequest == 0 && this.formSubmitted && this.form()) { a(this.currentForm).submit() } else { if (!c && this.pendingRequest == 0 && this.formSubmitted) { a(this.currentForm).triggerHandler("invalid-form", [this]) } } }, previousValue: function(b) { return a.data(b, "previousValue") || a.data(b, "previousValue", previous = { old: null, valid: true, message: this.defaultMessage(b, "remote") }) } }, classRuleSettings: { required: { required: true }, email: { email: true }, url: { url: true }, date: { date: true }, dateISO: { dateISO: true }, dateDE: { dateDE: true }, number: { number: true }, numberDE: { numberDE: true }, digits: { digits: true }, creditcard: { creditcard: true} }, addClassRules: function(b, c) { b.constructor == String ? this.classRuleSettings[b] = c : a.extend(this.classRuleSettings, b) }, classRules: function(c) { var d = {}; var b = a(c).attr("class"); b && a.each(b.split(" "), function() { if (this in a.validator.classRuleSettings) { a.extend(d, a.validator.classRuleSettings[this]) } }); return d }, attributeRules: function(c) { var e = {}; var b = a(c); for (method in a.validator.methods) { var d = b.attr(method); if (d) { e[method] = d } } if (e.maxlength && /-1|2147483647|524288/.test(e.maxlength)) { delete e.maxlength } return e }, metadataRules: function(b) { if (!a.metadata) { return {} } var c = a.data(b.form, "validator").settings.meta; return c ? a(b).metadata()[c] : a(b).metadata() }, staticRules: function(c) { var d = {}; var b = a.data(c.form, "validator"); if (b.settings.rules) { d = a.validator.normalizeRule(b.settings.rules[c.name]) || {} } return d }, normalizeRules: function(c, b) { a.each(c, function(f, e) { if (e === false) { delete c[f]; return } if (e.param || e.depends) { var d = true; switch (typeof e.depends) { case "string": d = !!a(e.depends, b.form).length; break; case "function": d = e.depends.call(b, b); break } if (d) { c[f] = e.param !== undefined ? e.param : true } else { delete c[f] } } }); a.each(c, function(d, e) { c[d] = a.isFunction(e) ? e(b) : e }); a.each(["minlength", "maxlength", "min", "max"], function() { if (c[this]) { c[this] = Number(c[this]) } }); a.each(["rangelength", "range"], function() { if (c[this]) { c[this] = [Number(c[this][0]), Number(c[this][1])] } }); if (a.validator.autoCreateRanges) { if (c.min && c.max) { c.range = [c.min, c.max]; delete c.min; delete c.max } if (c.minlength && c.maxlength) { c.rangelength = [c.minlength, c.maxlength]; delete c.minlength; delete c.maxlength } } if (c.messages) { delete c.messages } return c }, normalizeRule: function(c) { if (typeof c == "string") { var b = {}; a.each(c.split(/\s/), function() { b[this] = true }); c = b } return c }, addMethod: function(b, d, c) { a.validator.methods[b] = d; a.validator.messages[b] = c; if (d.length < 3) { a.validator.addClassRules(b, a.validator.normalizeRule(b)) } }, methods: { required: function(d, c, e) { if (!this.depend(e, c)) { return "dependency-mismatch" } switch (c.nodeName.toLowerCase()) { case "select": var b = a("option:selected", c); return b.length > 0 && (c.type == "select-multiple" || (a.browser.msie && !(b[0].attributes.value.specified) ? b[0].text : b[0].value).length > 0); case "input": if (this.checkable(c)) { return this.getLength(d, c) > 0 } default: return a.trim(d).length > 0 } }, remote: function(f, c, g) { if (this.optional(c)) { return "dependency-mismatch" } var d = this.previousValue(c); if (!this.settings.messages[c.name]) { this.settings.messages[c.name] = {} } this.settings.messages[c.name].remote = typeof d.message == "function" ? d.message(f) : d.message; g = typeof g == "string" && { url: g} || g; if (d.old !== f) { d.old = f; var b = this; this.startRequest(c); var e = {}; e[c.name] = f; a.ajax(a.extend(true, { url: g, mode: "abort", port: "validate" + c.name, dataType: "json", data: e, success: function(j) { if (j) { var h = b.formSubmitted; b.prepareElement(c); b.formSubmitted = h; b.successList.push(c); b.showErrors() } else { var k = {}; k[c.name] = j || b.defaultMessage(c, "remote"); b.showErrors(k) } d.valid = j; b.stopRequest(c, j) } }, g)); return "pending" } else { if (this.pending[c.name]) { return "pending" } } return d.valid }, minlength: function(c, b, d) { return this.optional(b) || this.getLength(a.trim(c), b) >= d }, maxlength: function(c, b, d) { return this.optional(b) || this.getLength(a.trim(c), b) <= d }, rangelength: function(d, b, e) { var c = this.getLength(a.trim(d), b); return this.optional(b) || (c >= e[0] && c <= e[1]) }, min: function(c, b, d) { return this.optional(b) || c >= d }, max: function(c, b, d) { return this.optional(b) || c <= d }, range: function(c, b, d) { return this.optional(b) || (c >= d[0] && c <= d[1]) }, email: function(c, b) { return this.optional(b) || /^((([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+(\.([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+)*)|((\x22)((((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(([\x01-\x08\x0b\x0c\x0e-\x1f\x7f]|\x21|[\x23-\x5b]|[\x5d-\x7e]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(\\([\x01-\x09\x0b\x0c\x0d-\x7f]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))))*(((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(\x22)))@((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.?$/i.test(c) }, url: function(c, b) { return this.optional(b) || /^(https?|ftp):\/\/(((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:)*@)?(((\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5]))|((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.?)(:\d*)?)(\/((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)+(\/(([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)*)*)?)?(\?((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|[\uE000-\uF8FF]|\/|\?)*)?(\#((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|\/|\?)*)?$/i.test(c) }, date: function(c, b) { return this.optional(b) || !/Invalid|NaN/.test(new Date(c)) }, dateISO: function(c, b) { return this.optional(b) || /^\d{4}[\/-]\d{1,2}[\/-]\d{1,2}$/.test(c) }, dateDE: function(c, b) { return this.optional(b) || /^\d\d?\.\d\d?\.\d\d\d?\d?$/.test(c) }, number: function(c, b) { return this.optional(b) || /^-?(?:\d+|\d{1,3}(?:,\d{3})+)(?:\.\d+)?$/.test(c) }, numberDE: function(c, b) { return this.optional(b) || /^-?(?:\d+|\d{1,3}(?:\.\d{3})+)(?:,\d+)?$/.test(c) }, digits: function(c, b) { return this.optional(b) || /^\d+$/.test(c) }, creditcard: function(f, c) { if (this.optional(c)) { return "dependency-mismatch" } if (/[^0-9-]+/.test(f)) { return false } var g = 0, e = 0, b = false; f = f.replace(/\D/g, ""); for (n = f.length - 1; n >= 0; n--) { var d = f.charAt(n); var e = parseInt(d, 10); if (b) { if ((e *= 2) > 9) { e -= 9 } } g += e; b = !b } return (g % 10) == 0 }, accept: function(c, b, d) { d = typeof d == "string" ? d : "png|jpe?g|gif"; return this.optional(b) || c.match(new RegExp(".(" + d + ")$", "i")) }, equalTo: function(c, b, d) { return c == a(d).val() } } }) })(jQuery); (function(c) { var b = c.ajax; var a = {}; c.ajax = function(e) { e = c.extend(e, c.extend({}, c.ajaxSettings, e)); var d = e.port; if (e.mode == "abort") { if (a[d]) { a[d].abort() } return (a[d] = b.apply(this, arguments)) } return b.apply(this, arguments) } })(jQuery); (function(a) { a.each({ focus: "focusin", blur: "focusout" }, function(c, b) { a.event.special[b] = { setup: function() { if (a.browser.msie) { return false } this.addEventListener(c, a.event.special[b].handler, true) }, teardown: function() { if (a.browser.msie) { return false } this.removeEventListener(c, a.event.special[b].handler, true) }, handler: function(d) { arguments[0] = a.event.fix(d); arguments[0].type = b; return a.event.handle.apply(this, arguments) } } }); a.extend(a.fn, { delegate: function(d, c, b) { return this.bind(d, function(e) { var f = a(e.target); if (f.is(c)) { return b.apply(f, arguments) } }) }, triggerEvent: function(b, c) { return this.triggerHandler(b, [a.event.fix({ type: b, target: c })]) } }) })(jQuery); var fnames = new Array(); var ftypes = new Array(); fnames[0] = "EMAIL"; ftypes[0] = "email"; fnames[1] = "FNAME"; ftypes[1] = "text"; fnames[2] = "LNAME"; ftypes[2] = "text"; var err_style = ""; $(document).ready(function(b) { var a = { errorClass: "mce_inline_error", errorElement: "div", onkeyup: function() { }, onfocusout: function() { }, onblur: function() { } }; var c = b("#mc-embedded-subscribe-form").validate(a); a = { url: "http://Adform.us1.list-manage.com/subscribe/post-json?u=cb143ef641fc12285df9d11a7&id=0eb4077096&c=?", type: "GET", dataType: "json", contentType: "application/json; charset=utf-8", beforeSubmit: function() { b("#mce_tmp_error_msg").remove(); b(".datefield", "#mc_embed_signup").each(function() { var e = "filled"; var d = new Array(); var f = 0; b(":text", this).each(function() { d[f] = this; f++ }); b(":hidden", this).each(function() { if (d[0].value == "MM" && d[1].value == "DD" && d[2].value == "YYYY") { this.value = "" } else { if (d[0].value == "" && d[1].value == "" && d[2].value == "") { this.value = "" } else { this.value = d[0].value + "/" + d[1].value + "/" + d[2].value } } }) }); return c.form() }, success: mce_success_cb }; b("#mc-embedded-subscribe-form").ajaxForm(a) }); function mce_success_cb(j) { $("#mce-success-response").hide(); $("#mce-error-response").hide(); if (j.result == "success") { $("#mce-" + j.result + "-response").show(); $("#mce-" + j.result + "-response").html(j.msg); $("#mc-embedded-subscribe-form").each(function() { this.reset() }) } else { var b = -1; var h; try { var g = j.msg.split(" - ", 2); if (g[1] == undefined) { h = j.msg } else { i = parseInt(g[0]); if (i.toString() == g[0]) { b = g[0]; h = g[1] } else { b = -1; h = j.msg } } } catch (d) { b = -1; h = j.msg } try { if (b == -1) { $("#mce-" + j.result + "-response").show(); $("#mce-" + j.result + "-response").html(h) } else { err_id = "mce_tmp_error_msg"; html = '<div id="' + err_id + '" style="' + err_style + '"> ' + h + "</div>"; var a = "#mc_embed_signup"; var c = $(a); if (ftypes[b] == "address") { a = "#mce-" + fnames[b] + "-addr1"; c = $(a).parent().parent().get(0) } else { if (ftypes[b] == "date") { a = "#mce-" + fnames[b] + "-month"; c = $(a).parent().parent().get(0) } else { a = "#mce-" + fnames[b]; c = $().parent(a).get(0) } } if (c) { $(c).append(html); $(a).focus() } else { $("#mce-" + j.result + "-response").show(); $("#mce-" + j.result + "-response").html(h) } } } catch (d) { $("#mce-" + j.result + "-response").show(); $("#mce-" + j.result + "-response").html(h) } } } (function(d) { var b = "bookmark"; function c() { this._uuid = new Date().getTime(); this._defaults = { url: "", sourceTag: "", title: "", description: "", sites: [], iconsStyle: "bookmark_icons", icons: "bookmarks.gif", iconSize: 16, iconCols: 16, target: "_blank", compact: true, hint: "Send to {s}", popup: false, popupText: "Bookmark this site...", addFavorite: false, favoriteText: "Favorite", favoriteIcon: 0, addEmail: false, emailText: "E-mail", emailIcon: 1, emailSubject: "Interesting page", emailBody: "I thought you might find this page interesting:\n{t} ({u})", manualBookmark: "Please close this dialog and\npress Ctrl-D to bookmark this page.", onSelect: null }; this._sites = { "100zakladok": { display: "Сто Закладок", icon: 201, lang: "en", url: "http://www.100zakladok.ru/save/?bmurl={u}&amp;bmtitle={t}" }, adifni: { display: "أضفني", icon: 202, lang: "en", url: "http://www.adifni.com/account/bookmark/?bookmark_url={u}" }, a1webmarks: { display: "A1 webmarks", icon: 179, lang: "en", url: "http://www.a1-webmarks.com/bm_edit.html?u={u}&amp;t={t}" }, alltagz: { display: "alltagz", icon: 69, lang: "de", url: "http://www.alltagz.de/bookmarks/?action=add&amp;address={u}&amp;title={t}" }, allvoices: { display: "Allvoices", icon: 75, lang: "en", url: "http://www.allvoices.com/post_event?url={u}&amp;title={t}" }, amenme: { display: "AmenMe", icon: 127, lang: "en", url: "http://www.amenme.com/AmenMe/Amens/AmenToThis.aspx?url={u}&amp;title={t}" }, aol: { display: "myAOL", icon: 2, lang: "en", url: "http://favorites.my.aol.com/ffclient/AddBookmark?url={u}&amp;title={t}" }, arto: { display: "Arto", icon: 76, lang: "en", url: "http://www.arto.com/section/linkshare/?lu={u}&amp;ln={t}" }, ask: { display: "Ask", icon: 3, lang: "en", url: "http://myjeeves.ask.com/mysearch/BookmarkIt?v=1.2&amp;t=webpages&amp;url={u}&amp;title={t}" }, aviary: { display: "Aviary", icon: 203, lang: "en", url: "http://aviary.com/capture?url={u}" }, baang: { display: "بانگ", icon: 204, lang: "fa", url: "http://www.baang.ir/submit.php?url={u}" }, backflip: { display: "Backflip", icon: 62, lang: "en", url: "http://www.backflip.com/add_page_pop.ihtml?url={u}&amp;title={t}" }, baidu: { display: "Baidu", icon: 128, lang: "zh", url: "http://cang.baidu.com/do/add?iu={u}&amp;it={t}&amp;fr=ien&amp;dc=" }, ballhype: { display: "BallHype", icon: 63, lang: "en", url: "http://ballhype.com/post/url/?url={u}&amp;title={t}" }, bebo: { display: "Bebo", icon: 64, lang: "en", url: "http://bebo.com/c/share?Url={u}&amp;Title={t}" }, bibsonomy: { display: "BibSonomy", icon: 77, lang: "en", url: "http://www.bibsonomy.org/BibtexHandler?requTask=upload&amp;url={u}&amp;description={t}" }, bitly: { display: "bit.ly", icon: 129, lang: "en", url: "http://bit.ly/?url={u}" }, bizsugar: { display: "bizSugar", icon: 130, lang: "en", url: "http://www.bizsugar.com/bizsugarthis.php?url={u}" }, bleetbox: { display: "bleetbox", icon: 180, lang: "en", url: "http://bleetbox.com/bar?url={u}" }, blinklist: { display: "BlinkList", icon: 4, lang: "en", url: "http://www.blinklist.com/index.php?Action=Blink/addblink.php&amp;Url={u}&amp;Title={t}" }, blip: { display: "blip", icon: 205, lang: "en", url: "http://blip.pl/dashboard?body={t}:+{u}" }, bloggy: { display: "Bloggy", icon: 131, lang: "sv", url: "http://bloggy.se/home?status={t}+{u}" }, blogmarks: { display: "Blogmarks", icon: 5, lang: "en", url: "http://blogmarks.net/my/new.php?mini=1&amp;simple=1&amp;url={u}&amp;title={t}" }, blurpalicious: { display: "blurpalicious", icon: 206, lang: "en", url: "http://www.blurpalicious.com/submit/?url={u}&amp;title={t}&amp;desc={d}" }, bobrdobr: { display: "БобрДобр", icon: 132, lang: "ru", url: "http://bobrdobr.ru/addext.html?url={u}&amp;title={t}&amp;desc={d}" }, bonzobox: { display: "BonzoBox", icon: 207, lang: "en", url: "http://bonzobox.com/toolbar/add?u={u}&amp;t={t}&amp;desc={d}" }, bookmarkit: { display: "bookmark.it", icon: 71, lang: "it", url: "http://www.bookmark.it/bookmark.php?url={u}" }, bookmarky: { display: "bookmarky", icon: 208, lang: "en", url: "http://www.bookmarky.cz/a.php?cmd=add&amp;url={u}&amp;title={t}" }, bookmarksfr: { display: "bookmarks.fr", icon: 78, lang: "fr", url: "http://www.bookmarks.fr/favoris/AjoutFavori?action=add&amp;address={u}&amp;title={t}" }, bordom: { display: "Bordom", icon: 181, lang: "en", url: "http://www.bordom.net/submit/?url={u}&amp;title={t}" }, boxnet: { display: "Box.net", icon: 209, lang: "en", url: "https://www.box.net/api/1.0/import?import_as=link&amp;url={u}&amp;name={t}&amp;description={d}" }, brainify: { display: "Brainify", icon: 133, lang: "en", url: "http://www.brainify.com/Bookmark.aspx?url={u}&amp;title={t}" }, bryderi: { display: "Bryderi", icon: 134, lang: "sv", url: "http://bryderi.se/add.html?u={u}" }, buddymarks: { display: "BuddyMarks", icon: 79, lang: "en", url: "http://buddymarks.com/add_bookmark.php?bookmark_url={u}&amp;bookmark_title={t}" }, bukmark: { display: "Bukmark", icon: 182, lang: "en", url: "http://www.buk-mark.com/submit.php?url={u}" }, bx: { display: "Business Exchange", icon: 73, lang: "en", url: "http://bx.businessweek.com/api/add-article-to-bx.tn?url={u}" }, bzzster: { display: "Bzzster", icon: 80, lang: "en", url: "http://bzzster.com/share?v=5;link={u}&amp;subject={t}" }, camyoo: { display: "camyoo", icon: 210, lang: "en", url: "http://www.camyoo.com/note.html?url={u}" }, care2: { display: "Care2", icon: 6, lang: "en", url: "http://www.care2.com/news/news_post.html?url={u}&amp;title={t}" }, cirip: { display: "Cirip", icon: 211, lang: "en", url: "http://www.cirip.ro/post/?url={u}&amp;bookmark={t}" }, citeulike: { display: "citeulike", icon: 81, lang: "en", url: "http://www.citeulike.org/posturl?url={u}&amp;title={t}" }, classicalplace: { display: "Classical Place", icon: 212, lang: "en", url: "http://www.classicalplace.com/?u={u}&amp;t={t}&amp;c={d}" }, clickazoo: { display: "Clickazoo", icon: 213, lang: "en", url: "http://www.clickazoo.com/?page=add&amp;location={u}&amp;title={t}" }, cndig: { display: "中国顶客", icon: 214, lang: "en", url: "http://www.cndig.org/submit/?url={u}&amp;title={t}" }, colivia: { display: "Colivia", icon: 215, lang: "en", url: "http://www.colivia.de/submit.php?url={u}" }, connotea: { display: "Connotea", icon: 82, lang: "en", url: "http://www.connotea.org/add?uri={u}&amp;title={t}" }, cosmiq: { display: "COSMiQ", icon: 216, lang: "en", url: "http://www.cosmiq.de/lili/my/add?url={u}" }, current: { display: "Current", icon: 49, lang: "en", url: "http://current.com/clipper.htm?url={u}&amp;title={t}" }, dealsplus: { display: "deals plus", icon: 74, lang: "en", url: "http://dealspl.us/add.php?ibm=1&amp;url={u}" }, delicious: { display: "del.icio.us", icon: 7, lang: "en", url: "http://del.icio.us/post?url={u}&amp;title={t}" }, designbump: { display: "designbump", icon: 217, lang: "en", url: "http://designbump.com/submit/?url={u}&amp;title={t}&amp;body={d}" }, designfloat: { display: "Design Float", icon: 50, lang: "en", url: "http://www.designfloat.com/submit.php?url={u}&amp;title={t}" }, designmoo: { display: "DesignMoo", icon: 135, lang: "en", url: "http://designmoo.com/submit?url={u}&amp;title={t}&amp;body={d}" }, digg: { display: "Digg", icon: 8, lang: "en", url: "http://digg.com/submit?phase=2&amp;url={u}&amp;title={t}" }, diggita: { display: "diggita", icon: 218, lang: "it", url: "http://www.diggita.it/submit.php?url={u}&amp;title={t}" }, diglog: { display: "Diglog", icon: 136, lang: "zh", url: "http://www.diglog.com/submit.aspx?url={u}&amp;title={t}&amp;description={d}" }, diigo: { display: "Diigo", icon: 9, lang: "en", url: "http://www.diigo.com/post?url={u}&amp;title={t}" }, dipdive: { display: "Dipdive", icon: 219, lang: "en", url: "http://dipdive.com/popup/share/?url={u}&amp;title={t}&amp;text={d}" }, domelhor: { display: "Do Melhor", icon: 183, lang: "pt", url: "http://domelhor.net/submit.php?url={u}&title={t}" }, dosti: { display: "Dosti", icon: 138, lang: "en", url: "http://dosti.webdunia.com/Api/Share.aspx?st=b&url={u}&amp;title={t}" }, dotnetkicks: { display: "DotNetKicks", icon: 139, lang: "en", url: "http://www.dotnetkicks.com/kick/?url={u}&amp;title={t}" }, dotnetshoutout: { display: ".net Shoutout", icon: 220, lang: "en", url: "http://dotnetshoutout.com/Submit?url={u}&title={t}" }, drimio: { display: "drimio", icon: 221, lang: "pt", url: "http://www.drimio.com/drimthis/index?url={u}&amp;title={t}" }, dropjack: { display: "Dropjack", icon: 222, lang: "en", url: "http://www.dropjack.com/submit.php?url={u}" }, dzone: { display: "DZone", icon: 10, lang: "en", url: "http://www.dzone.com/links/add.html?url={u}&amp;title={t}" }, edelight: { display: "edelight", icon: 140, lang: "de", url: "http://www.edelight.de/geschenk/neu?purl={u}" }, ekudos: { display: "eKudos", icon: 141, lang: "nl", url: "http://www.ekudos.nl/artikel/nieuw?url={u}&amp;title={t}&amp;desc={d}" }, elefanta: { display: "elefanta", icon: 223, lang: "pl", url: "http://elefanta.pl/member/bookmarkNewPage.action?url={u}&amp;title={t}&amp;bookmarkVO.notes={d}" }, elertgadget: { display: "eLert Gadget", icon: 224, lang: "en", url: "http://www.elertgadget.com/share.php?u={u}&amp;t={t}" }, embarkons: { display: "Embarkons", icon: 184, lang: "en", url: "http://www.embarkons.com/sharer.php?u={u}&t={t}" }, eucliquei: { display: "euCliquei", icon: 142, lang: "pt", url: "http://www.eucliquei.com.br/index.asp?a=clicar_novo&amp;url={u}&amp;titulo={t}&amp;trecho=" }, evernote: { display: "Evernote", icon: 83, lang: "en", url: "http://www.evernote.com/clip.action?url={u}&amp;title={t}" }, extraplay: { display: "extraplay", icon: 225, lang: "en", url: "http://www.extraplay.com/members/share.php?url={u}&amp;title={t}&amp;desc={d}" }, ezyspot: { display: "EzySpot", icon: 226, lang: "en", url: "http://www.ezyspot.com/submit?url={u}&amp;title={t}" }, fabulously40: { display: "Fabulously40", icon: 143, lang: "en", url: "http://fabulously40.com/writeblog?body={u}&amp;subject={t}" }, facebook: { display: "Facebook", icon: 11, lang: "en", url: "http://www.facebook.com/sharer.php?u={u}&amp;t={t}" }, fark: { display: "Fark", icon: 12, lang: "en", url: "http://cgi.fark.com/cgi/fark/submit.pl?new_url={u}&amp;new_comment={t}" }, farkinda: { display: "Farkinda", icon: 227, lang: "tr", url: "http://www.farkinda.com/submit?url={u}" }, faves: { display: "Faves", icon: 13, lang: "en", url: "http://faves.com/Authoring.aspx?u={u}&amp;t={t}" }, favlog: { display: "favlog", icon: 228, lang: "de", url: "http://www.favlog.de/submit.php?url={u}" }, favoritus: { display: "FavoritUs", icon: 144, lang: "en", url: "http://www.favoritus.com/post.php?getlink={u}&amp;gettitle={t}" }, flaker: { display: "Flaker", icon: 229, lang: "pl", url: "http://flaker.pl/add2flaker.php?url={u}&amp;title={t}" }, flosspro: { display: "FLOSS.pro", icon: 230, lang: "en", url: "http://floss.pro/index.php?action=newnotice&amp;status_textarea={t}: {u}" }, fnews: { display: "fnews", icon: 185, lang: "az", url: "http://fnews.az/node/add/drigg?url={u}&amp;title={t}&amp;body={d}" }, folkd: { display: "Folkd", icon: 85, lang: "en", url: "http://www.folkd.com/submit/{u}" }, fooxweb: { display: "fooxweb", icon: 231, lang: "en", url: "http://www.fooxweb.com/?urls={u}&amp;title={t}" }, forceindya: { display: "Force Indya", icon: 232, lang: "en", url: "http://www.forceindya.com/submit?url={u}&amp;title={t}" }, forgetfoo: { display: "forgetfoo", icon: 145, lang: "en", url: "http://www.forgetfoo.com/?inc=share&amp;url={u}&amp;title={t}&amp;desc={d}" }, fresqui: { display: "Fresqui", icon: 51, lang: "es", url: "http://ocio.fresqui.com/post?url={u}&amp;title={t}" }, friendfeed: { display: "FriendFeed", icon: 52, lang: "en", url: "http://friendfeed.com/share?url={u}&amp;title={t}" }, friendster: { display: "Friendster", icon: 233, lang: "en", url: "http://www.friendster.com/sharer.php?u={u}&amp;t={t}" }, funp: { display: "funP", icon: 53, lang: "zh", url: "http://funp.com/pages/submit/add.php?url={u}&amp;title={t}" }, fwisp: { display: "fwisp", icon: 234, lang: "en", url: "http://fwisp.com/submit.php?url={u}" }, gabbr: { display: "Gabbr", icon: 87, lang: "en", url: "http://www.gabbr.com/submit/?bookurl={u}" }, gacetilla: { display: "Gacetilla", icon: 146, lang: "it", url: "http://www.gacetilla.org/publish-form?url={u}&amp;title={t}" }, gamekicker: { display: "gamekicker", icon: 235, lang: "en", url: "http://www.gamekicker.com/node/add/drigg?url={u}&amp;title={t}&amp;body={d}" }, gamesnetworks: { display: "gamesnetworks", icon: 236, lang: "it", url: "http://www.gamesnetworks.it/submit.php?url={u}" }, givealink: { display: "givealink", icon: 237, lang: "en", url: "http://givealink.org/bookmark/add?url={u}&amp;title={t}" }, globalgrind: { display: "Global Grind", icon: 88, lang: "en", url: "http://globalgrind.com/submission/submit.aspx?url={u}&amp;type=Article&amp;title={t}" }, gluvsnap: { display: "GluvSnap", icon: 186, lang: "en", url: "http://www.gluvsnap.com/news/pin/submit.php?url={u}" }, google: { display: "Google", icon: 16, lang: "en", url: "http://www.google.com/bookmarks/mark?op=edit&amp;bkmk={u}&amp;title={t}" }, googlereader: { display: "Google Reader", icon: 238, lang: "en", url: "http://www.google.com/reader/link?url={u}&amp;title={t}&amp;srcTitle={u}" }, gravee: { display: "Gravee", icon: 89, lang: "en", url: "http://www.gravee.com/account/bookmarkpop?u={u}&amp;t={t}" }, greaterdebater: { display: "GreaterDebater", icon: 239, lang: "en", url: "http://greaterdebater.com/submit/?url={u}&amp;title={t}" }, grono: { display: "Grono", icon: 240, lang: "pl", url: "http://grono.net/pub/page/link/urlfetch/?url={u}&amp;title={t}" }, grumper: { display: "Grumper", icon: 147, lang: "en", url: "http://www.grumper.org/add.php?desc={u}&amp;title={t}" }, habergentr: { display: "haber.gen.tr", icon: 148, lang: "tr", url: "http://www.haber.gen.tr/edit?url={u}&amp;title={t}&amp;description={d}" }, hackernews: { display: "HackerNews", icon: 187, lang: "en", url: "http://news.ycombinator.com/submitlink?u={u}&amp;t={t}" }, hadashhot: { display: "Hadash Hot", icon: 149, lang: "he", url: "http://www.hadash-hot.co.il/submit.php?url={u}&amp;phase=1" }, hazarkor: { display: "Hazarkor", icon: 241, lang: "he", url: "http://www.hazarkor.co.il/add_story.php?story_url={u}&amp;story_title={t}&amp;story_desc={d}" }, healthranker: { display: "HealthRanker", icon: 90, lang: "en", url: "http://www.healthranker.com/submit.php?url={u}&amp;title={t}" }, hedgehogs: { display: "Hedgehogs", icon: 242, lang: "en", url: "http://www.hedgehogs.net/mod/bookmarks/add.php?address={u}&amp;title={t}" }, hellotxt: { display: "hellotxt", icon: 150, lang: "en", url: "http://hellotxt.com/?status={u}" }, hemidemi: { display: "HEMiDEMi", icon: 91, lang: "zh", url: "http://www.hemidemi.com/user_bookmark/new?url={u}&amp;title={t}" }, hipstr: { display: "hipstr", icon: 151, lang: "en", url: "http://www.hipstr.com/submit.php?burl={u}" }, hitmarks: { display: "hitmarks", icon: 188, lang: "en", url: "http://www.hitmarks.com/submit.php?url={u}&amp;t={t}" }, hotbookmark: { display: "Hot Bookmark", icon: 243, lang: "en", url: "http://hotbmark.com/submit.php?url={u}" }, hotklix: { display: "hotklix", icon: 152, lang: "en", url: "http://www.hotklix.com/?ref=share_this&amp;addurl={u}" }, hotmail: { display: "Hotmail", icon: 244, lang: "en", url: "http://www.hotmail.msn.com/secure/start?action=compose&amp;to=&amp;body={u}&amp;subject={t}" }, hotweb: { display: "HOTWeb.lt", icon: 245, lang: "lt", url: "http://hotweb.lt/submit?url={u}&amp;title={t}&amp;body={d}" }, hugg: { display: "Hugg", icon: 17, lang: "en", url: "http://www.hugg.com/submit?url={u}" }, hyves: { display: "Hyves", icon: 153, lang: "en", url: "http://www.hyves.net/profilemanage/add/tips/?text={u}&amp;name={t}&amp;type=12" }, identica: { display: "identi.ca", icon: 92, lang: "en", url: "http://identi.ca/notice/new?status_textarea={t}%20{u}" }, ihavegot: { display: "ihavegot", icon: 246, lang: "en", url: "http://www.ihavegot.com/share/?url={u}&amp;title={t}&amp;desc={d}" }, imera: { display: "Imera", icon: 93, lang: "pt", url: "http://www.imera.com.br/post_d.html?linkUrl={u}&amp;linkName={t}" }, informazione: { display: "informazione", icon: 247, lang: "it", url: "http://fai.informazione.it/submit.aspx?url={u}&amp;title={t}&amp;desc={d}" }, instapaper: { display: "Instapaper", icon: 94, lang: "en", url: "http://www.instapaper.com/b?u={u}&amp;t={y}" }, investorlinks: { display: "InvestorLinks", icon: 154, lang: "en", url: "http://www.investorlinks.com/zingiling/add/?url={u}&amp;title={t}" }, isociety: { display: "iSociety", icon: 248, lang: "en", url: "http://isociety.be/share/?url={u}&amp;title={t}&amp;desc={d}" }, iwiw: { display: "iwiw", icon: 249, lang: "hu", url: "http://iwiw.hu/pages/share/share.jsp?v=1&amp;u={u}&amp;t={t}" }, jamespot: { display: "Jamespot", icon: 95, lang: "en", url: "http://www.jamespot.com/?action=spotit&amp;url={u}&amp;t={t}" }, jisko: { display: "Jisko", icon: 250, lang: "en", url: "http://jisko.net/notes?note={t}%20{u}" }, jumptags: { display: "Jumptags", icon: 96, lang: "en", url: "http://www.jumptags.com/add/?url={u}&amp;title={t}" }, kaboodle: { display: "Kaboodle", icon: 65, lang: "en", url: "http://www.kaboodle.com/grab/addItemWithUrl?url={u}&amp;pidOrRid=pid=&amp;redirectToKPage=true" }, kaevur: { display: "Kaevur", icon: 189, lang: "et", url: "http://www.kaevur.com/submit.php?url={u}" }, khabbr: { display: "Khabbr", icon: 97, lang: "ar", url: "http://www.khabbr.com/submit.php?out=yes&amp;url={u}" }, kirtsy: { display: "Kirtsy", icon: 54, lang: "en", url: "http://www.kirtsy.com/submit.php?url={u}" }, kledy: { display: "Kledy", icon: 98, lang: "de", url: "http://www.kledy.de/submit.php?url={u}" }, kool: { display: "Koolontheweb", icon: 43, lang: "en", url: "http://www.koolontheweb.com/post?url={u}&amp;title={t}" }, koornk: { display: "koornk", icon: 251, lang: "en", url: "http://koornk.com/home/?status={t}%3A%20{u}" }, kudos: { display: "kudos", icon: 252, lang: "no", url: "http://www.kudos.no/giKudos.php?url={u}&amp;tittel={t}&amp;beskrivelse={d}" }, kwoff: { display: "Kwoff", icon: 155, lang: "en", url: "http://www.kwoff.com/submit.php?url={u}" }, laaikit: { display: "laaik.it", icon: 190, lang: "en", url: "http://laaik.it/NewStoryCompact.aspx?uri={u}&amp;headline={t}&amp;description={d}" }, ladenzeile: { display: "ladenzeile", icon: 253, lang: "de", url: "http://www.ladenzeile.de/bookmark/submission?url={u}&amp;t={t}" }, librerio: { display: "Librerio", icon: 191, lang: "en", url: "http://www.librerio.com/inbox?u={u}&amp;t={t}" }, linkarena: { display: "Linkarena", icon: 70, lang: "de", url: "http://linkarena.com/bookmarks/addlink/?url={u}&amp;title={t}&amp;desc={d}&amp;tags=" }, linkagogo: { display: "LinkaGoGo", icon: 18, lang: "en", url: "http://www.linkagogo.com/go/AddNoPopup?url={u}&amp;title={t}" }, linkedin: { display: "LinkedIn", icon: 66, lang: "en", url: "http://www.linkedin.com/shareArticle?mini=true&amp;url={u}&amp;title={t}&amp;ro=false&amp;summary={d}&amp;source=" }, linkninja: { display: "LinkNinja", icon: 156, lang: "pt", url: "http://linkninja.com.br/enviar_link.php?story_url={u}" }, linkshares: { display: "LinkShares", icon: 254, lang: "en", url: "http://www.linkshares.net/share?url={u}&amp;title={t}" }, linkuj: { display: "Linkuj", icon: 255, lang: "cz", url: "http://linkuj.cz/?id=linkuj&amp;url={u}&amp;title={t}&amp;description={d}" }, livefavoris: { display: "Livefavoris", icon: 256, lang: "fr", url: "http://www.mediapratique.com/home/bookmark.php?lien={u}&amp;titre={t}" }, livejournal: { display: "LiveJournal", icon: 19, lang: "en", url: "http://www.livejournal.com/update.bml?subject={u}" }, lunch: { display: "Lunch", icon: 157, lang: "en", url: "http://www.lunch.com/Bookmarklet/LunchThis.html?url={u}" }, lynki: { display: "Lynki", icon: 158, lang: "en", url: "http://www.lynki.com/submit.php?url={u}" }, maple: { display: "Maple", icon: 99, lang: "en", url: "http://www.maple.nu/bookmarks/bookmarklet?bookmark[url]={u}&amp;bookmark[description]={t}" }, mawindo: { display: "Mawindo", icon: 257, lang: "en", url: "http://www.mawindo.com/mod/bookmarks/add.php?address={u}&amp;title={t}" }, meccho: { display: "Meccho", icon: 258, lang: "en", url: "http://www.meccho.com/bookmark?url={u}&amp;title={t}" }, meinvz: { display: "MeinVZ", icon: 259, lang: "en", url: "http://www.meinvz.net/Suggest/Selection/?u={u}&amp;desc={t}" }, memori: { display: "memori.ru", icon: 192, lang: "ru", url: "http://memori.ru/link/?sm=1&amp;u_data[url]={u}" }, meneame: { display: "menéame", icon: 55, lang: "es", url: "http://meneame.net/submit.php?url={u}" }, mindbody: { display: "MindBodyGreen", icon: 21, lang: "en", url: "http://www.mindbodygreen.com/passvote.action?u={u}" }, misterwong: { display: "Mister Wong", icon: 22, lang: "en", url: "http://www.mister-wong.com/index.php?action=addurl&amp;bm_url={u}&amp;bm_description={t}" }, mixx: { display: "Mixx", icon: 23, lang: "en", url: "http://www.mixx.com/submit/story?page_url={u}&amp;title={t}" }, moemesto: { display: "МоеМесто", icon: 260, lang: "ru", url: "http://moemesto.ru/post.php?url={u}&amp;title={t}" }, multiply: { display: "Multiply", icon: 24, lang: "en", url: "http://multiply.com/gus/journal/compose/addthis?body=&amp;url={u}&amp;subject={t}" }, mylinkvault: { display: "MyLinkVault", icon: 100, lang: "en", url: "http://www.mylinkvault.com/link-page.php?u={u}&amp;n={t}" }, myspace: { display: "MySpace", icon: 25, lang: "en", url: "http://www.myspace.com/Modules/PostTo/Pages/?u={u}&amp;t={t}" }, n4g: { display: "N4G", icon: 56, lang: "en", url: "http://www.n4g.com/tips.aspx?url={u}&amp;title={t}" }, netlog: { display: "NetLog", icon: 101, lang: "en", url: "http://www.netlog.com/go/manage/links/view=save&amp;origin=external&amp;url={u}&amp;title={t}" }, netvibes: { display: "Netvibes", icon: 102, lang: "en", url: "http://www.netvibes.com/share?url={u}&amp;title={t}" }, netvouz: { display: "Netvouz", icon: 27, lang: "en", url: "http://netvouz.com/action/submitBookmark?url={u}&amp;title={t}&amp;popup=no" }, newstrust: { display: "NewsTrust", icon: 103, lang: "en", url: "http://newstrust.net/submit?url={u}&amp;title={t}&amp;ref=addtoany" }, newsvine: { display: "Newsvine", icon: 28, lang: "en", url: "http://www.newsvine.com/_wine/save?u={u}&amp;h={t}" }, nowpublic: { display: "NowPublic", icon: 29, lang: "en", url: "http://view.nowpublic.com/?src={u}&amp;t={t}" }, nujij: { display: "Nujij", icon: 159, lang: "nl", url: "http://nujij.nl/jij.lynkx?u={u}&amp;t={t}&amp;b={d}" }, oknotizie: { display: "OKNOtizie", icon: 57, lang: "it", url: "http://oknotizie.alice.it/post?url={u}&amp;title={t}" }, oneview: { display: "OneView", icon: 72, lang: "de", url: "http://www.oneview.de/quickadd/neu/addBookmark.jsf?URL={u}&amp;title={t}" }, orkut: { display: "Orkut", icon: 193, lang: "en", url: "http://promote.orkut.com/preview?nt=orkut.com&amp;du={u}&amp;tt={t}&amp;cn=" }, osmosus: { display: "Osmosus", icon: 194, lang: "en", url: "http://www.osmosus.com/share?url={u}&amp;title={t}&amp;description={d}" }, oyyla: { display: "Oyyla", icon: 160, lang: "tr", url: "http://www.oyyla.com/gonder?phase=2&amp;url={u}" }, phonefavs: { display: "PhoneFavs", icon: 161, lang: "en", url: "http://phonefavs.com/bookmarks?action=add&amp;address={u}&amp;title={t}" }, pimpthisblog: { display: "PimpThisBlog", icon: 162, lang: "en", url: "http://pimpthisblog.com/Submit?url={u}&amp;title={t}" }, ping: { display: "Ping", icon: 104, lang: "en", url: "http://ping.fm/ref/?link={u}&amp;title={t}" }, planypus: { display: "Planypus", icon: 163, lang: "en", url: "http://planyp.us/plans/new/?url={u}&amp;title={t}" }, plaxo: { display: "Plaxo Pulse", icon: 105, lang: "en", url: "http://www.plaxo.com/pulse/?share_link={u}" }, plurk: { display: "Plurk", icon: 164, lang: "en", url: "http://www.plurk.com/m?content={u}&amp;qualifier=shares" }, polladium: { display: "Polladium", icon: 165, lang: "en", url: "http://www.polladium.com/poll-this.php?u={u}&amp;t={t}" }, posteezy: { display: "Posteezy", icon: 261, lang: "en", url: "http://posteezy.com/node/add/story?body={u}&amp;title={t}" }, posterus: { display: "posterous", icon: 166, lang: "en", url: "http://posterous.com/share?linkto={u}&amp;title={t}" }, prati: { display: "Prati.ba", icon: 262, lang: "bs", url: "http://prati.ba/?objavi={u}" }, propeller: { display: "Propeller", icon: 58, lang: "en", url: "http://www.propeller.com/submit/?U={u}&amp;T={t}" }, protopage: { display: "Protopage", icon: 106, lang: "en", url: "http://www.protopage.com/add-button-site?url={u}&amp;label={t}&amp;type=page" }, pusha: { display: "Pusha", icon: 107, lang: "sv", url: "http://www.pusha.se/posta?url={u}" }, quantcast: { display: "quantcast", icon: 263, lang: "en", url: "http://www.quantcast.com/search.jsp?domain={u}" }, readitlater: { display: "Read it Later", icon: 264, lang: "en", url: "https://readitlaterlist.com/save?url={u}&amp;title={t}" }, reddit: { display: "reddit", icon: 30, lang: "en", url: "http://reddit.com/submit?url={u}&amp;title={t}" }, scoopat: { display: "Scoop.at", icon: 265, lang: "de", url: "http://scoop.at/submit?url={u}&amp;title={t}&amp;body={d}" }, scoopeo: { display: "Scoopeo", icon: 46, lang: "fr", url: "http://www.scoopeo.com/scoop/new?newurl={u}&amp;title={t}" }, segnalo: { display: "Segnalo", icon: 31, lang: "it", url: "http://segnalo.alice.it/post.html.php?url={u}&amp;title={t}" }, sekoman: { display: "Sekoman", icon: 266, lang: "lv", url: "http://sekoman.lv/home?url={u}&amp;status={t}" }, shaveh: { display: "Shaveh", icon: 267, lang: "he", url: "http://shaveh.co.il/submit.php?url={u}&amp;title={t}" }, shetoldme: { display: "She Told Me", icon: 167, lang: "en", url: "http://shetoldme.com/publish?url={u}&amp;title={t}&amp;body={d}" }, shoutwire: { display: "ShoutWire", icon: 108, lang: "en", url: "http://www.shoutwire.com/?s={u}" }, simpy: { display: "Simpy", icon: 32, lang: "en", url: "http://www.simpy.com/simpy/LinkAdd.do?href={u}&amp;title={t}" }, sitejot: { display: "Sitejot", icon: 109, lang: "en", url: "http://www.sitejot.com/addform.php?iSiteAdd={u}&amp;iSiteDes={t}" }, slashdot: { display: "Slashdot", icon: 33, lang: "en", url: "http://slashdot.org/bookmark.pl?url={u}&amp;title={t}" }, smaknews: { display: "SmakNews", icon: 110, lang: "en", url: "http://smaknews.com/submit.php?url={u}&amp;title={t}" }, smi: { display: "СМИ2", icon: 268, lang: "ru", url: "http://smi2.ru/add/?url={u}&amp;precaption={t}" }, social: { display: "Social Bookmarking", icon: 269, lang: "en", url: "http://www.social-bookmarking.net/submit.php?url={u}" }, sodahead: { display: "SodaHead", icon: 168, lang: "en", url: "http://www.sodahead.com/news/submit/?url={u}&amp;title={t}" }, sonico: { display: "Sonico", icon: 169, lang: "en", url: "http://www.sonico.com/share.php?url={u}&amp;title={t}" }, speedtile: { display: "speedtile", icon: 270, lang: "en", url: "http://www.speedtile.net/api/add/?u={u}&amp;t={t}" }, sphinn: { display: "Sphinn", icon: 44, lang: "en", url: "http://sphinn.com/submit.php?url={u}&amp;title={t}" }, spokentoyou: { display: "spoken to you", icon: 271, lang: "en", url: "http://www.spokentoyou.com/app/subscribe/index.html?url={u}&amp;title={t}" }, sportpost: { display: "Sportpost", icon: 272, lang: "en", url: "http://www.sportpost.com/debate/new?url={u}&amp;title={t}&amp;desc={d}" }, spruzer: { display: "Spruzer", icon: 273, lang: "en", url: "http://www.spruzer.com/submit.php?u={u}&amp;t={t}" }, spurl: { display: "Spurl", icon: 35, lang: "en", url: "http://www.spurl.net/spurl.php?url={u}&amp;title={t}" }, squidoo: { display: "Squidoo", icon: 42, lang: "en", url: "http://www.squidoo.com/lensmaster/bookmark?{u}&amp;title={t}" }, startaid: { display: "StartAid", icon: 111, lang: "en", url: "http://www.startaid.com/index.php?st=AddBrowserLink&amp;type=Detail&amp;v=3&amp;urlname={u}&amp;urltitle={t}" }, startlap: { display: "startlap", icon: 274, lang: "hu", url: "http://www.startlap.hu/sajat_linkek/addlink.php?url={u}&amp;title={t}" }, storyfollower: { display: "StoryFollower", icon: 275, lang: "en", url: "http://www.storyfollower.com/submit/?url={u}&amp;title={t}&amp;description={d}" }, strands: { display: "Strands", icon: 112, lang: "en", url: "http://www.strands.com/tools/share/webpage?url={u}&amp;title={t}" }, studivz: { display: "studiVZ", icon: 195, lang: "de", url: "http://www.studivz.net/Suggest/Selection/?u={u}&amp;desc={t}" }, stuffpit: { display: "Stuffpit", icon: 276, lang: "en", url: "http://www.stuffpit.com/add.php?produrl={u}" }, stumbleupon: { display: "StumbleUpon", icon: 36, lang: "en", url: "http://www.stumbleupon.com/submit?url={u}&amp;title={t}" }, stumpedia: { display: "Stumpedia", icon: 113, lang: "en", url: "http://www.stumpedia.com/submit?url={u}&amp;title={t}" }, stylehive: { display: "Stylehive", icon: 196, lang: "en", url: "http://www.stylehive.com/savebookmark/index.htm?url={u}" }, surfpeople: { display: "SurfPeople", icon: 277, lang: "en", url: "http://www.surfpeople.net/share-link.php?url={u}&amp;titless={t}" }, svejo: { display: "Svejo", icon: 170, lang: "ru", url: "http://svejo.net/story/submit_by_url?url={u}&amp;title={t}&amp;summary={d}" }, tagvn: { display: "Tagvn", icon: 278, lang: "vi", url: "http://www.tagvn.com/submit?url={u}" }, tagza: { display: "Tagza", icon: 115, lang: "en", url: "http://www.tagza.com/submit.php?url={u}" }, technorati: { display: "Technorati", icon: 38, lang: "en", url: "http://www.technorati.com/faves?add={u}" }, technotizie: { display: "Technotizie", icon: 117, lang: "it", url: "http://www.technotizie.it/posta_ok?action=f2&amp;url={u}&amp;title={t}" }, tellmypolitician: { display: "TellMyPolitician", icon: 171, lang: "en", url: "http://tellmypolitician.com/search?u={u}&amp;title={t}" }, thisnext: { display: "ThisNext", icon: 39, lang: "en", url: "http://www.thisnext.com/pick/new/submit/sociable/?url={u}&amp;name={t}" }, tipd: { display: "Tip'd", icon: 118, lang: "en", url: "http://tipd.com/submit.php?url={u}" }, transferr: { display: "Transferr", icon: 197, lang: "en", url: "http://www.transferr.com/link.php?url={u}" }, tulinq: { display: "tulinq", icon: 198, lang: "es", url: "http://www.tulinq.com/enviar?url={u}&amp;title={t}&amp;body={d}" }, tumblr: { display: "tumblr", icon: 119, lang: "en", url: "http://www.tumblr.com/share?v=3&amp;u={u}&amp;t={t}" }, tusul: { display: "tusul.com", icon: 199, lang: "tr", url: "http://www.tusul.com/submit.php?url={u}&amp;title={t}&amp;bodytext={d}" }, tweetmeme: { display: "tweetmeme", icon: 279, lang: "en", url: "http://api.tweetmeme.com/visit?url={u}" }, twitter: { display: "twitter", icon: 200, lang: "en", url: "http://twitter.com/home?status={t}%20{u}" }, twitthis: { display: "TwitThis", icon: 45, lang: "en", url: "http://twitthis.com/twit?url={u}" }, viadeo: { display: "Viadeo", icon: 120, lang: "en", url: "http://www.viadeo.com/shareit/share/?url={u}&amp;title={t}" }, virb: { display: "Virb", icon: 172, lang: "en", url: "http://virb.com/share?external&amp;v=2&amp;url={u}&amp;title={t}" }, visitezmonsite: { display: "Visitez mon Site", icon: 280, lang: "fr", url: "http://www.visitezmonsite.com/publier?url={u}&amp;title={t}&amp;body={d}" }, vodpod: { display: "Vodpod", icon: 121, lang: "en", url: "http://vodpod.com/account/add_video_page?p={u}" }, vyoom: { display: "vyoom", icon: 281, lang: "en", url: "http://www.vyoom.com/mod/bookmarks/add.php?address={u}&amp;title={t}" }, webnews: { display: "WebNews", icon: 122, lang: "de", url: "http://www.webnews.de/einstellen?url={u}&amp;title={t}" }, wikio: { display: "Wikio", icon: 47, lang: "en", url: "http://www.wikio.com/vote?newurl={u}" }, windows: { display: "Windows Live", icon: 40, lang: "en", url: "https://favorites.live.com/quickadd.aspx?marklet=1&amp;mkt=en-us&amp;url={u}&amp;title={t}" }, windycitizen: { display: "Windy Citizen", icon: 282, lang: "en", url: "http://www.windycitizen.com/submit?url={u}&amp;title={t}&amp;body={d}" }, wirefan: { display: "WireFan", icon: 283, lang: "en", url: "http://www.wirefan.com/grpost.php?d=&amp;u={u}&amp;h={t}&amp;d={d}" }, wishlist: { display: "Amazon WishList", icon: 123, lang: "en", url: "http://www.amazon.com/wishlist/add?u={u}&amp;t={t}" }, wists: { display: "Wists", icon: 124, lang: "en", url: "http://wists.com/r.php?r={u}&amp;title={t}" }, worio: { display: "Worio", icon: 173, lang: "en", url: "http://www.worio.com/search/preview/?action=save&amp;wref=addthis&amp;u={u}&amp;t={t}" }, wovre: { display: "Wovre", icon: 174, lang: "en", url: "http://www.wovre.com/share.php?link_url={u}" }, wykop: { display: "Wykop", icon: 175, lang: "pl", url: "http://www.wykop.pl/dodaj?url={u}&amp;title={t}&amp;desc={d}" }, xanga: { display: "Xanga", icon: 59, lang: "en", url: "http://www.xanga.com/private/editorx.aspx?u={u}&amp;t={t}" }, xerpi: { display: "Xerpi", icon: 125, lang: "en", url: "http://www.xerpi.com/block/add_link_from_extension?url={u}&amp;title={t}" }, yahoo: { display: "Yahoo Bookmarks", icon: 60, lang: "en", url: "http://bookmarks.yahoo.com/toolbar/savebm?opener=tb&amp;u={u}&amp;t={t}" }, yahoobuzz: { display: "Yahoo Buzz", icon: 67, lang: "en", url: "http://buzz.yahoo.com/submit?submitUrl={u}&amp;submitHeadline={t}" }, yammer: { display: "Yammer", icon: 176, lang: "en", url: "http://www.yammer.com/home?status={t} {u}" }, yazzem: { display: "yazzem", icon: 284, lang: "en", url: "http://www.yazzem.com/welcome?status={t}%3A+{u}" }, yigg: { display: "Yigg", icon: 61, lang: "de", url: "http://www.yigg.de/neu?exturl={u}&amp;exttitle={t}" }, yoolink: { display: "yoolink", icon: 126, lang: "en", url: "http://www.yoolink.fr/post/tag?f=aa&amp;url_value={u}&amp;title={t}" }, yorumcuyum: { display: "Yorumcuyum", icon: 177, lang: "tr", url: "http://www.yorumcuyum.com/?link={u}&amp;baslik={t}" }, youbookmarks: { display: "YouBookmarks", icon: 285, lang: "en", url: "http://youbookmarks.com/api/quick_add.php?version=1&amp;url={u}&amp;title={t}" }, youmob: { display: "YouMob", icon: 178, lang: "en", url: "http://youmob.com/mobit.aspx?mob={u}&amp;title={t}" }, zooloo: { display: "ZooLoo", icon: 286, lang: "en", url: "https://www.zooloo.com/redirecter/login?domainredirect=zGraffiti/share&amp;v=1&amp;u={u}&amp;t={t}"}} } d.extend(c.prototype, { markerClassName: "hasBookmark", setDefaults: function(e) { a(this._defaults, e || {}); return this }, addSite: function(g, f, k, j, h) { this._sites[g] = { display: f, icon: k, lang: j, url: h }; return this }, getSites: function() { return this._sites }, _attachBookmark: function(f, e) { f = d(f); if (f.hasClass(this.markerClassName)) { return } f.addClass(this.markerClassName); if (!f[0].id) { f[0].id = "bm" + (++this._uuid) } this._updateBookmark(f, e) }, _changeBookmark: function(f, e, h) { f = d(f); if (!f.hasClass(this.markerClassName)) { return } if (typeof e == "string") { var g = e; e = {}; e[g] = h } this._updateBookmark(f, e) }, _updateBookmark: function(B, A) { var z = d.data(B[0], b) || d.extend({}, this._defaults); A = a(z, A || {}); d.data(B[0], b, A); var y = A.sites; var x = this._sites; if (y.length == 0) { d.each(x, function(g) { y.push(g) }) } else { d.each(y, function(k, j) { var h = j.match(/lang:(.*)/); if (h) { var g = []; d.each(x, function(m, l) { if (l.lang == h[1]) { g.push(m) } }); y = y.slice(0, k).concat(g, y.slice(k + 1)) } }) } var w = A.hint || "{s}"; var v = (A.popup ? '<a href="#" class="bookmark_popup_text">' + A.popupText + '</a><div class="bookmark_popup">' : "") + '<ul class="bookmark_list' + (A.compact ? " bookmark_compact" : "") + '">'; var u = function(h, g, m, l) { var k = '<li><a href="' + m + '"' + (l ? ' onclick="' + l + '"' : (A.target ? ' target="' + A.target + '"' : "")) + ">"; if (g != null) { var j = w.replace(/\{s\}/, h); if (typeof g == "number") { k += '<span title="' + j + '" ' + (A.iconsStyle ? 'class="' + A.iconsStyle + '" ' : "") + 'style="' + (A.iconsStyle ? "background-position: " : "background: transparent url(" + A.icons + ") no-repeat ") + "-" + ((g % A.iconCols) * A.iconSize) + "px -" + (Math.floor(g / A.iconCols) * A.iconSize) + "px;" + (d.browser.mozilla && d.browser.version < "1.9" ? " padding-left: " + A.iconSize + "px; padding-bottom: " + (Math.max(0, A.iconSize - 16)) + "px;" : "") + '"></span>' } else { k += '<img src="' + g + '" alt="' + j + '" title="' + j + '"' + ((d.browser.mozilla && d.browser.version < "1.9") || (d.browser.msie && d.browser.version < "7.0") ? ' style="vertical-align: bottom;"' : (d.browser.msie ? ' style="vertical-align: middle;"' : (d.browser.opera || d.browser.safari ? ' style="vertical-align: baseline;"' : ""))) + "/>" } k += (A.compact ? "" : "&#xa0;") } k += (A.compact ? "" : h) + "</a></li>"; return k }; var t = A.url || window.location.href; var s = A.title || document.title; var f = A.description || ""; if (A.addFavorite) { v += u(A.favoriteText, A.favoriteIcon, "#", "jQuery.bookmark._addFavourite('" + t.replace(/'/g, "\\'") + "','" + s.replace(/'/g, "\\'") + "')") } if (A.addEmail) { v += u(A.emailText, A.emailIcon, "mailto:?subject=" + encodeURIComponent(A.emailSubject) + "&amp;body=" + encodeURIComponent(A.emailBody.replace(/\{u\}/, t).replace(/\{t\}/, s).replace(/\{d\}/, A.desc))) } var e = (!A.sourceTag ? "" : encodeURIComponent((t.indexOf("?") > -1 ? "&" : "?") + A.sourceTag + "=")); t = encodeURIComponent(t); s = encodeURIComponent(s); f = encodeURIComponent(f); var x = this._sites; d.each(y, function(h, g) { var j = x[g]; if (j) { v += u(j.display, j.icon, (A.onSelect ? "#" : j.url.replace(/\{u\}/, t + (e ? e + g : "")).replace(/\{t\}/, s).replace(/\{d\}/, f)), (A.onSelect ? "return jQuery.bookmark._selected('" + B[0].id + "','" + g + "')" : "")) } }); v += "</ul>" + (A.popup ? "</div>" : ""); B.html(v); if (A.popup) { B.find(".bookmark_popup_text").click(function() { var h = d(this).parent(); var g = h.offset(); h.find(".bookmark_popup").css("left", g.left).css("top", g.top + h.outerHeight()).toggle(); return false }); d(document).click(function(g) { B.find(".bookmark_popup").hide() }) } }, _destroyBookmark: function(e) { e = d(e); if (!e.hasClass(this.markerClassName)) { return } e.removeClass(this.markerClassName).empty(); d.removeData(e[0], b) }, _selected: function(s, r) { var q = d("#" + s)[0]; var p = d.data(q, b); var o = d.bookmark._sites[r]; var m = p.url || window.location.href; var l = (!p.sourceTag ? "" : encodeURIComponent((m.indexOf("?") > -1 ? "&" : "?") + p.sourceTag + "=")); var m = encodeURIComponent(m); var k = encodeURIComponent(p.title || document.title); var j = encodeURIComponent(p.description || ""); p.onSelect.apply(q, [r, o.display, o.url.replace(/\{u\}/, m + (l ? l + r : "")).replace(/\{t\}/, k).replace(/\{d\}/, j)]); return false }, _addFavourite: function(f, e) { if (d.browser.msie) { window.external.addFavorite(f, e) } else { alert(this._defaults.manualBookmark) } } }); function a(f, e) { d.extend(f, e); for (var g in e) { if (e[g] == null) { f[g] = null } } return f } d.fn.bookmark = function(f) { var e = Array.prototype.slice.call(arguments, 1); return this.each(function() { if (typeof f == "string") { d.bookmark["_" + f + "Bookmark"].apply(d.bookmark, [this].concat(e)) } else { d.bookmark._attachBookmark(this, f || {}) } }) }; d.bookmark = new c() })(jQuery); function formatText(b, a) { return linksList[b - 1] } function equalHeight(a) { tallest = 0; a.each(function() { thisHeight = $(this).height(); if (thisHeight > tallest) { tallest = thisHeight } }); a.height(tallest) } function carouselCallback(a) { a.buttonNext.bind("click", function() { a.startAuto(0) }); a.buttonPrev.bind("click", function() { a.startAuto(0) }); a.clip.hover(function() { a.stopAuto() }, function() { a.startAuto() }) } $(function() { $(".slideShow").anythingSlider({ easing: "easeInOutExpo", autoPlay: true, delay: 15000, startStopped: false, animationTime: 1000, hashTags: true, buildNavigation: false, pauseOnHover: true, startText: "", stopText: "", navigationFormatter: null }); $(".item-1").click(function() { $("#slideshow, #productsDescription").anythingSlider(1) }); $(".item-2").click(function() { $("#slideshow, #productsDescription").anythingSlider(2) }); $(".item-3").click(function() { $("#slideshow, #productsDescription").anythingSlider(3) }); $(".item-4").click(function() { $("#slideshow, #productsDescription").anythingSlider(4) }); $(".item-5").click(function() { $("#slideshow, #productsDescription").anythingSlider(5) }); var a = $("#reports div.box"); a.hide().filter(":first").show(); $("ul.tabsNav a").click(function() { a.hide(); a.filter(this.hash).show(); $("ul.tabsNav a").removeClass("selected"); $(this).addClass("selected"); sIFR.replace(myriad, { selector: "h3", css: { ".sIFR-root": { color: "#222222", "font-weight": "bold", leading: "-6"}} }); return false }).filter(":first").click(); $(".topicName").click(function(b) { $(this).parent().toggleClass("hidden") }); equalHeight($(".equal")); $("#bookmarks").bookmark({ sites: ["facebook", "twitter", "linkedin", "myspace", "email"], addEmail: true }); $("#bookmarks a").click(function() { Adform.Tracking.Track(28652, 99362, [""]) }) });