var Browser = function() { this.uA = navigator.userAgent.toLowerCase(); this.aN = navigator.appName.toLowerCase(); this.iE = this.aN.indexOf("microsoft") != -1 ? 1 : 0; this.mac = this.uA.indexOf("mac") != -1 ? 1 : 0; this.win = this.uA.indexOf("windows") != -1 ? 1 : 0; this.safari = this.uA.indexOf("webkit") != -1 ? 1 : 0; this.opera = this.uA.indexOf("opera") != -1 ? 1 : 0; this.operaMini = this.uA.indexOf("mini") != -1 ? 1 : 0; this.winMozilla = (this.mozilla = this.aN.indexOf("netscape") != -1 && !this.safari ? 1 : 0) && this.win ? 1 : 0; this.winIE6Down = (this.winIE = this.iE && this.win && !this.opera ? 1 : 0) && /msie|MSIE 6/.test(navigator.userAgent) == 1 ? 1 : 0; this.macIE = this.iE && this.mac ? 1 : 0 }, browser = new Browser; jQuery.cookie = function(a, k, d) { if (typeof k != "undefined") { d = d || {}; if (k === null) { k = ""; d.expires = -1 } var c = ""; if (d.expires && (typeof d.expires == "number" || d.expires.toUTCString)) { if (typeof d.expires == "number") { c = new Date; c.setTime(c.getTime() + d.expires * 24 * 60 * 60 * 1E3) } else c = d.expires; c = "; expires=" + c.toUTCString() } var j = d.path ? "; path=" + d.path : "", e = d.domain ? "; domain=" + d.domain : ""; d = d.secure ? "; secure" : ""; document.cookie = [a, "=", encodeURIComponent(k), c, j, e, d].join("") } else { k = null; if (document.cookie && document.cookie != "") { d = document.cookie.split(";"); for (c = 0; c < d.length; c++) { j = jQuery.trim(d[c]); if (j.substring(0, a.length + 1) == a + "=") { k = decodeURIComponent(j.substring(a.length + 1)); break } } } return k } }; (function(a) { function k(g, b) { return parseInt(a.css(g, b)) || 0 } function d(g) { g = parseInt(g).toString(16); return g.length < 2 ? "0" + g : g } function c(g) { for (; g; ) { var b = a.css(g, "backgroundColor"); if (b && b != "transparent" && b != "rgba(0, 0, 0, 0)") { if (b.indexOf("rgb") >= 0) { g = b.match(/\d+/g); return "#" + d(g[0]) + d(g[1]) + d(g[2]) } return b } g = g.parentNode } return "#ffffff" } function j(g, b, f) { switch (g) { case "round": return Math.round(f * (1 - Math.cos(Math.asin(b / f)))); case "cool": return Math.round(f * (1 + Math.cos(Math.asin(b / f)))); case "sharp": return Math.round(f * (1 - Math.cos(Math.acos(b / f)))); case "bite": return Math.round(f * Math.cos(Math.asin((f - b - 1) / f))); case "slide": return Math.round(f * Math.atan2(b, f / b)); case "jut": return Math.round(f * Math.atan2(f, f - b - 1)); case "curl": return Math.round(f * Math.atan(b)); case "tear": return Math.round(f * Math.cos(b)); case "wicked": return Math.round(f * Math.tan(b)); case "long": return Math.round(f * Math.sqrt(b)); case "sculpt": return Math.round(f * Math.log(f - b - 1, f)); case "dogfold": case "dog": return b & 1 ? b + 1 : f; case "dog2": return b & 2 ? b + 1 : f; case "dog3": return b & 3 ? b + 1 : f; case "fray": return b % 2 * f; case "notch": return f; case "bevelfold": case "bevel": return b + 1 } } var e = document.createElement("div").style, l = e.MozBorderRadius !== undefined, n = e.WebkitBorderRadius !== undefined, o = e.borderRadius !== undefined || e.BorderRadius !== undefined; e = document.documentMode || 0; var m = a.browser.msie && (a.browser.version < 8 && !e || e < 8), v = a.browser.msie && function() { var g = document.createElement("div"); try { g.style.setExpression("width", "0+0"); g.style.removeExpression("width") } catch (b) { return false } return true } (); a.fn.corner = function(g) { if (this.length == 0) { if (!a.isReady && this.selector) { var b = this.selector, f = this.context; a(function() { a(b, f).corner(g) }) } return this } return this.each(function() { var q = a(this), h = [q.attr(a.fn.corner.defaults.metaAttr) || "", g || ""].join(" ").toLowerCase(), y = /keep/.test(h), r = (h.match(/cc:(#[0-9a-f]+)/) || [])[1], s = (h.match(/sc:(#[0-9a-f]+)/) || [])[1], p = parseInt((h.match(/(\d+)px/) || [])[1]) || 10, A = (h.match(/round|bevelfold|bevel|notch|bite|cool|sharp|slide|jut|curl|tear|fray|wicked|sculpt|long|dog3|dog2|dogfold|dog/) || ["round"])[0], C = /dogfold|bevelfold/.test(h), B = { T: 0, B: 1 }; h = { TL: /top|tl|left/.test(h), TR: /top|tr|right/.test(h), BL: /bottom|bl|left/.test(h), BR: /bottom|br|right/.test(h) }; if (!h.TL && !h.TR && !h.BL && !h.BR) h = { TL: 1, TR: 1, BL: 1, BR: 1 }; if (a.fn.corner.defaults.useNative && A == "round" && (o || l || n) && !r && !s) { if (h.TL) q.css(o ? "border-top-left-radius" : l ? "-moz-border-radius-topleft" : "-webkit-border-top-left-radius", p + "px"); if (h.TR) q.css(o ? "border-top-right-radius" : l ? "-moz-border-radius-topright" : "-webkit-border-top-right-radius", p + "px"); if (h.BL) q.css(o ? "border-bottom-left-radius" : l ? "-moz-border-radius-bottomleft" : "-webkit-border-bottom-left-radius", p + "px"); if (h.BR) q.css(o ? "border-bottom-right-radius" : l ? "-moz-border-radius-bottomright" : "-webkit-border-bottom-right-radius", p + "px") } else { q = document.createElement("div"); a(q).css({ overflow: "hidden", height: "1px", minHeight: "1px", fontSize: "1px", backgroundColor: s || "transparent", borderStyle: "solid" }); s = { T: parseInt(a.css(this, "paddingTop")) || 0, R: parseInt(a.css(this, "paddingRight")) || 0, B: parseInt(a.css(this, "paddingBottom")) || 0, L: parseInt(a.css(this, "paddingLeft")) || 0 }; if (typeof this.style.zoom != undefined) this.style.zoom = 1; if (!y) this.style.border = "none"; q.style.borderColor = r || c(this.parentNode); y = a(this).outerHeight(); for (var x in B) if ((r = B[x]) && (h.BL || h.BR) || !r && (h.TL || h.TR)) { q.style.borderStyle = "none " + (h[x + "R"] ? "solid" : "none") + " none " + (h[x + "L"] ? "solid" : "none"); var u = document.createElement("div"); a(u).addClass("jquery-corner"); var i = u.style; r ? this.appendChild(u) : this.insertBefore(u, this.firstChild); if (r && y != "auto") { if (a.css(this, "position") == "static") this.style.position = "relative"; i.position = "absolute"; i.bottom = i.left = i.padding = i.margin = "0"; if (v) i.setExpression("width", "this.parentNode.offsetWidth"); else i.width = "100%" } else if (!r && a.browser.msie) { if (a.css(this, "position") == "static") this.style.position = "relative"; i.position = "absolute"; i.top = i.left = i.right = i.padding = i.margin = "0"; if (v) { var t = k(this, "borderLeftWidth") + k(this, "borderRightWidth"); i.setExpression("width", "this.parentNode.offsetWidth - " + t + '+ "px"') } else i.width = "100%" } else { i.position = "relative"; i.margin = !r ? "-" + s.T + "px -" + s.R + "px " + (s.T - p) + "px -" + s.L + "px" : s.B - p + "px -" + s.R + "px -" + s.B + "px -" + s.L + "px" } for (i = 0; i < p; i++) { t = Math.max(0, j(A, i, p)); var z = q.cloneNode(false); z.style.borderWidth = "0 " + (h[x + "R"] ? t : 0) + "px 0 " + (h[x + "L"] ? t : 0) + "px"; r ? u.appendChild(z) : u.insertBefore(z, u.firstChild) } if (C && a.support.boxModel) if (!(r && m)) for (var w in h) if (h[w]) if (!(r && (w == "TL" || w == "TR"))) if (!(!r && (w == "BL" || w == "BR"))) { i = { position: "absolute", border: "none", margin: 0, padding: 0, overflow: "hidden", backgroundColor: q.style.borderColor }; t = a("<div/>").css(i).css({ width: p + "px", height: "1px" }); switch (w) { case "TL": t.css({ bottom: 0, left: 0 }); break; case "TR": t.css({ bottom: 0, right: 0 }); break; case "BL": t.css({ top: 0, left: 0 }); break; case "BR": t.css({ top: 0, right: 0 }); break } u.appendChild(t[0]); i = a("<div/>").css(i).css({ top: 0, bottom: 0, width: "1px", height: p + "px" }); switch (w) { case "TL": i.css({ left: p }); break; case "TR": i.css({ right: p }); break; case "BL": i.css({ left: p }); break; case "BR": i.css({ right: p }); break } u.appendChild(i[0]) } } } }) }; a.fn.uncorner = function() { if (o || l || n) this.css(o ? "border-radius" : l ? "-moz-border-radius" : "-webkit-border-radius", 0); a("div.jquery-corner", this).remove(); return this }; a.fn.corner.defaults = { useNative: true, metaAttr: "data-corner"} })(jQuery); (function(a) { var k = 1; a.fn.dropShadow = function(d) { var c = a.extend({ left: 4, top: 4, blur: 2, opacity: 0.5, color: "black", swap: false }, d), j = a([]); this.not(".dropShadow").each(function() { var e = a(this), l = [], n = c.blur <= 0 ? 0 : c.blur, o = n == 0 ? c.opacity : c.opacity / (n * 8), m = c.swap ? k : k + 1, v = c.swap ? k + 1 : k, g; g = this.id ? this.id + "_dropShadow" : "ds" + (1 + Math.floor(9999 * Math.random())); a.data(this, "shadowId", g); a.data(this, "shadowOptions", d); e.attr("shadowId", g).css("zIndex", m); e.css("position") != "absolute" && e.css({ position: "relative", zoom: 1 }); bgColor = e.css("backgroundColor"); l[0] = bgColor == "transparent" || e.css("backgroundImage") == "none" || this.nodeName == "SELECT" || this.nodeName == "INPUT" || this.nodeName == "TEXTAREA" ? a("<div></div>").css("background", c.color) : e.clone().removeAttr("id").removeAttr("name").removeAttr("shadowId").css("color", c.color); l[0].addClass("dropShadow").css({ height: e.outerHeight(), left: n, opacity: o, position: "absolute", top: n, width: e.outerWidth(), zIndex: v }); o = 8 * n + 1; for (m = 1; m < o; m++) l[m] = l[0].clone(); m = 1; for (var b = n; b > 0; ) { l[m].css({ left: b * 2, top: 0 }); l[m + 1].css({ left: b * 4, top: b * 2 }); l[m + 2].css({ left: b * 2, top: b * 4 }); l[m + 3].css({ left: 0, top: b * 2 }); l[m + 4].css({ left: b * 3, top: b }); l[m + 5].css({ left: b * 3, top: b * 3 }); l[m + 6].css({ left: b, top: b * 3 }); l[m + 7].css({ left: b, top: b }); m += 8; b-- } var f = a("<div></div>").attr("id", g).addClass("dropShadow").css({ left: e.position().left + c.left - n, marginTop: e.css("marginTop"), marginRight: e.css("marginRight"), marginBottom: e.css("marginBottom"), marginLeft: e.css("marginLeft"), position: "absolute", top: e.position().top + c.top - n, zIndex: v }); for (m = 0; m < o; m++) f.append(l[m]); e.after(f); j = j.add(f); a(window).resize(function() { try { f.css({ left: e.position().left + c.left - n, top: e.position().top + c.top - n }) } catch (q) { } }); k += 2 }); return this.pushStack(j) }; a.fn.redrawShadow = function() { this.removeShadow(); return this.each(function() { var d = a.data(this, "shadowOptions"); a(this).dropShadow(d) }) }; a.fn.removeShadow = function() { return this.each(function() { var d = a(this).shadowId(); a("div#" + d).remove() }) }; a.fn.shadowId = function() { return a.data(this[0], "shadowId") }; a(function() { var d = "<style type='text/css' media='print'>"; d += ".dropShadow{visibility:hidden;}</style>"; a("head").append(d) }) })(jQuery); (function() { jQuery.fn.pngFix = function(a) { a = jQuery.extend({ blankgif: "/Images/Frontend/blank.gif" }, a); var k = navigator.appName == "Microsoft Internet Explorer" && parseInt(navigator.appVersion) == 4 && navigator.appVersion.indexOf("MSIE 5.5") != -1, d = navigator.appName == "Microsoft Internet Explorer" && parseInt(navigator.appVersion) == 4 && navigator.appVersion.indexOf("MSIE 6.0") != -1; if (jQuery.browser.msie && (k || d)) { jQuery(this).find("img[src$=.png]").each(function() { jQuery(this).attr("width", jQuery(this).width()); jQuery(this).attr("height", jQuery(this).height()); var c = "", j = "", e = jQuery(this).attr("id") ? 'id="' + jQuery(this).attr("id") + '" ' : "", l = jQuery(this).attr("class") ? 'class="' + jQuery(this).attr("class") + '" ' : "", n = jQuery(this).attr("title") ? 'title="' + jQuery(this).attr("title") + '" ' : "", o = jQuery(this).attr("alt") ? 'alt="' + jQuery(this).attr("alt") + '" ' : "", m = jQuery(this).attr("align") ? "float:" + jQuery(this).attr("align") + ";" : "", v = jQuery(this).parent().attr("href") ? "cursor:hand;" : ""; if (this.style.border) { c += "border:" + this.style.border + ";"; this.style.border = "" } if (this.style.padding) { c += "padding:" + this.style.padding + ";"; this.style.padding = "" } if (this.style.margin) { c += "margin:" + this.style.margin + ";"; this.style.margin = "" } var g = this.style.cssText; j += "<span " + e + l + n + o; j += 'style="position:relative;white-space:pre-line;display:inline-block;background:transparent;' + m + v; j += "width:" + jQuery(this).width() + "px;height:" + jQuery(this).height() + "px;"; j += "filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='" + jQuery(this).attr("src") + "', sizingMethod='scale');"; j += g + '"></span>'; if (c != "") j = '<span style="position:relative;display:inline-block;' + c + v + "width:" + jQuery(this).width() + "px;height:" + jQuery(this).height() + 'px;">' + j + "</span>"; jQuery(this).hide(); jQuery(this).after(j) }); jQuery(this).find("*").each(function() { var c = jQuery(this).css("background-image"); if (c.indexOf(".png") != -1) { c = c.split('url("')[1].split('")')[0]; jQuery(this).css("background-image", "none"); jQuery(this).get(0).runtimeStyle.filter = "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='" + c + "',sizingMethod='scale')" } }); jQuery(this).find("input[src$=.png]").each(function() { var c = jQuery(this).attr("src"); jQuery(this).get(0).runtimeStyle.filter = "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='" + c + "', sizingMethod='scale');"; jQuery(this).attr("src", a.blankgif) }) } return jQuery } })(jQuery); function OpenLoadingFacetBase(a) { var k = document; if (window.frameElement) if (window.frameElement.refWindow) k = window.frameElement.refWindow.windowSystem.refBlockLayerElement.ownerDocument; a || (a = "Een moment geduld"); var d = [], c = k.createElement("div"); c.className = "loading"; var j = k.createElement("img"); j.src = "/images/backend/loading.gif"; j.alt = "Loading"; j.className = "loading"; c.appendChild(j); j = k.createElement("p"); j.appendChild(k.createTextNode(a)); c.appendChild(j); d.push(c); var e; if (window.frameElement) if (window.frameElement.refWindow) { e = window.frameElement.refWindow.windowSystem.OpenLoadingWindow(d, "aPopin", 480, 210); window.frameElement.refWindow.LoadingWin = e } e || (e = Aspacts.Idios3.I_CAP.Scripting.InlineWin.System.OpenLoadingWindow(d, "aPopin", 480, 210)); e.refElement2.style.position = "relative" };
