window.addEvent("domready", function () { initIssuu(); initAccordion(); initFlashCases(); initMenu(); initTabs(); setBoxHeight(); initFlashbox(); initRelatedContentWidth(); initNewsIntroWidth(); initEditDropdown(); initTestimonials(); initReferenties(); moreDownloads(); replaceInlineBlock(); emptyInputBox(); initSearchJobBox(); $("cu3er-container") && embedCu3er() }); window.addEvent("load", function () { insertYoutube(); insertJWplayer(); initCEOvideo() });
function makeEqualHeight(a, b) { var c = 0, d = []; a.each(function (a, g) { a.setStyle("height", "auto"); var f = a.getSize().y; f > c && (c = f); d.push(a); (g + 1) % b == 0 && (d.each(function (a) { a.setStyle("height", c - a.getStyle("padding-top").toInt() - a.getStyle("padding-bottom").toInt()) }), c = 0, d = []) }); d.each(function (a) { a.setStyle("height", c) }) }
function initIssuu() {
    var a = $(document.body).getElement("div#issuuoverlay"), b = $(document.body).getElements("a.issuu"); b.length > 0 && b.each(function (b) {
        b.removeEvents(); b.addEvents({ click: function (d) {
            d.stop(); objPos = b.getPosition(); clone = a.clone(!0, !0); clone.setStyles({ position: "absolute", left: objPos.x - 10 + "px", top: objPos.y + 20 + "px", display: "block" }); clone.fade("hide"); clone.inject($(document.body)); closebut = clone.getElement("div.closebut"); viewbut = clone.getElement("a.view"); dlbut = clone.getElement("a.download");
            closebut.removeEvents(); closebut.addEvents({ click: function () { clone.fade(0).get("tween").chain(function () { clone.dispose() }) } }); viewbut.removeEvents(); viewbut.addEvents({ click: function (a) { a.stop(); urlissuu = "http://issuu.com/ordinanv/docs/" + b.get("rel") + "?mode=embed&layout=http%3A%2F%2Fskin.issuu.com%2Fv%2Flight%2Flayout.xml&showFlipBtn=true"; injectIssuu(urlissuu); clone.fade("hide").get("tween").chain(function () { clone.dispose() }) } .bind(this) }); dlbut.removeEvents(); dlbut.addEvents({ click: function (a) {
                urlpdf =
b.get("href"); a.stop(); window.open(urlpdf, "_blank"); clone.fade("hide").get("tween").chain(function () { clone.dispose() })
            } .bind(this)
            }); clone.fade("in")
        } 
        })
    })
}
function initFlashCases() {
    var a = $("f5_cases_flash"); if (a) if (Browser.Plugins.Flash.version >= 9) {
        var b = ["color_monday", "color_tuesday", "color_wednesday", "color_thursday", "color_friday", "color_saturday", "color_sunday"], c = document.getElement("body").className.split(" ")[0]; b.indexOf(c); b[0] = "e98300"; b[1] = "bb133e"; b[2] = "d71f85"; b[3] = "652d86"; b[4] = "7ab800"; b[5] = "00b9e4"; b[6] = "0046ad"; b = new SWFObject("/swf/cases/output/Main.swf", "movie", "890", "347", "9", "#ffffff"); b.addParam("wmode", "transparent"); a.getElement("span").get("text") ==
"en" ? b.addVariable("xml", "/swf/cases/xml/mappenEN.xml") : b.addVariable("xml", "/swf/cases/xml/mappenNL.xml"); b.addVariable("baseColor", "0xe98300"); b.write(a)
    } else a.getElement("img").setStyle("display", "block")
}
function emptyInputBox() {
    if ($$("div.f10_searchresults input.search").length > 0) { var a = $$("div.f10_searchresults input.search"); a.each(function (a) { a.addEvent("click", function () { a.value = "" }) }) } $$("div.f17_vestigingsinformatie input.search").length > 0 && (a = $$("div.f17_vestigingsinformatie input.search"), a.each(function (a) { a.addEvent("click", function () { a.value = "" }) })); $$("div.f28_eventdetail input.search").length > 0 && (a = $$("div.f28_eventdetail input.search"), a.each(function (a) {
        a.addEvent("click", function () {
            a.value =
""
        })
    }))
} function initContentWidth() { if ($$("div.f3_submenu").length > 0) return !1; if ($$("div.top_jobs_cluster").length > 0) return !1; $$("div.column_left")[0] && $$("div.column_middle_notstretched")[0] && ($$("div.column_left")[0].addClass("hide_column_left"), $$("div.column_middle_notstretched")[0].addClass("hide_column_middle_notstretched")) }
function initNewsIntroWidth() { var a = $$("div.f4_news_intro"); if (a.length > 0) for (var b = 0; b < a.length; b++) { var c = a[b].getElement("div.details"); a[b].getElement("img") == null && c && c.addClass("details_large") } } function initRelatedContentWidth() { var a = $$("div.f14_related div.details"); if (a.length > 0) for (var b = 0; b < a.length; b++) { var c = a[b].getChildren(); a[b].getElement("img") == null && c.length > 0 && a[b].addClass("details_large") } }
function initFlashbox() {
    var a = $$("div.flashbox"), b = ["color_monday", "color_tuesday", "color_wednesday", "color_thursday", "color_friday", "color_saturday", "color_sunday"], c = document.getElement("body").className.split(" ")[0]; b.indexOf(c); b[0] = "e98300"; b[1] = "bb133e"; b[2] = "d71f85"; b[3] = "652d86"; b[4] = "7ab800"; b[5] = "00b9e4"; b[6] = "0046ad"; if (a.length > 0) for (b = 0; b < a.length; b++) c = new SWFObject("/swf/actieblok.swf", "movie", "250", "250", "9", "#ffffff"), c.addParam("wmode", "transparent"), a[b].getElement("img") && c.addVariable("silhouetImg",
a[b].getElement("img").src), a[b].getElement("h2") && c.addVariable("silhouetTitle", a[b].getElement("h2").get("html")), a[b].getElement("h3") && c.addVariable("silhouetSubtitle", a[b].getElement("h3").get("html")), a[b].getElement("h5") && c.addVariable("silhouetTitle", a[b].getElement("h5").get("html")), a[b].getElement("ul.flashlinks li a") && c.addVariable("silhouetLink", $$("ul.flashlinks li a")[0]), c.addVariable("silhouetScale", "1"), c.addVariable("silhouetColor", "0xe98300"), c.write(a[b].id)
}
function initMenu() {
    if ($$("ul.nav").length < 1) return !1; for (var a = $$("ul.nav")[0].getElements("li"), b = 0; b < a.length; b++) a[b].getElement("ul") && (a[b].addEvent("mouseenter", function () { this.addClass("sfhover"); Browser.Engine.name == "trident" && Browser.Engine.version == 4 && showHideSelects(!1) }), a[b].addEvent("mouseleave", function () { this.removeClass("sfhover"); Browser.Engine.name == "trident" && Browser.Engine.version == 4 && showHideSelects(!0) })); if ($$("li.subnav_open").length > 0 && (a = $$("li.subnav_open")[0].getElement("ul"))) {
        for (var c =
0, b = 0; b < a.getElements("li").length; b++) { var d = Number(a.getElements("li")[b].getStyle("width").toInt()); c += d + 16 } a.setStyle("width", c)
    } $$("div.f3_submenu ul li").length > 0 && $$("div.f3_submenu ul li").each(function (a) { a.getElement("ul") && a.addClass("subnav") })
} function showHideSelects(a) { $$("select").each(function (b) { a == !1 ? b.setStyle("visibility", "hidden") : a == !0 && b.setStyle("visibility", "visible") }) }
function setBoxHeight() { if ($$("ul.f37_2columns_layout")) for (var a = $$("div.f37_underlyingpages ul.f37_2columns_layout li"), b = 0, c = 0; c < a.length; c++) c < 2 && a[c].setStyle("border-top", 0), c % 2 == 0 ? (b = a[c].getSize().y, a[c].setStyle("padding-bottom", 20)) : (thisHeight = a[c].getSize().y, thisHeight > b ? (a[c - 1].setStyle("padding-bottom", thisHeight - b + 20), a[c].setStyle("padding-bottom", 20)) : b == thisHeight ? a[c].setStyle("padding-bottom", 20) : a[c].setStyle("padding-bottom", b - thisHeight + 20)) }
function initSifr() {
    var a = { src: "/swf/neutra.swf", ratios: [6, 1.41, 9, 1.35, 15, 1.29, 21, 1.25, 22, 1.22, 27, 1.24, 29, 1.21, 34, 1.22, 41, 1.21, 45, 1.2, 46, 1.21, 59, 1.2, 68, 1.19, 69, 1.2, 96, 1.19, 97, 1.18, 102, 1.19, 103, 1.18, 107, 1.19, 108, 1.18, 112, 1.19, 114, 1.18, 116, 1.19, 120, 1.18, 121, 1.19, 1.18] }; sIFR.activate(a); sIFR.replace(a, { selector: "div.top_jobs h2.sifr, div.top_jobs h5.sifr", css: [".sIFR-root { text-align: center; font-weight: bold; text-align: left; color: #000000; text-transform: uppercase; leading: -6 }"], wmode: "transparent" });
    sIFR.replace(a, { selector: "div.call_to_action_grey h2.sifr, div.call_to_action_grey h5.sifr", css: [".sIFR-root { text-align: center; font-weight: bold; text-align: left; color: #ffffff; text-transform: uppercase; leading: -6 }"], wmode: "transparent" }); sIFR.replace(a, { selector: "div.call_to_action_orange h2.sifr, div.call_to_action_orange h5.sifr", css: [".sIFR-root { text-align: center; font-weight: bold; text-align: left; color: #ffffff; text-transform: uppercase; leading: -6 }"], wmode: "transparent" });
    sIFR.replace(a, { selector: "div.cluster_content h1, div.cluster_content h2.sifr, div.cluster_content h5.sifr", css: [".sIFR-root { text-align: center; font-weight: bold; text-align: left; color: #e98300; text-transform: uppercase; leading: -6 }", "strong { color: #565a5c; }"], wmode: "transparent" }); sIFR.replace(a, { selector: "div.f4_news h2, div.f14_related h2.sifr, div.f42_beurskoers h2, div.f21_sitemap h2, div.f33_accordion div.slides h2, div.blogs ul.bloglist li h2, div.bloginfo h2", css: [".sIFR-root { text-align: center; font-weight: bold; text-align: left; color: #a5acaf; text-transform: uppercase; leading: -6}",
"a { color: #a5acaf; text-decoration: none;  }", "a:hover { color: #e98300; text-decoration: none;  }"], wmode: "transparent"
    }); sIFR.replace(a, { selector: "div.f4_news h5, div.f14_related h5.sifr, div.f42_beurskoers h5, div.f21_sitemap h5, div.f33_accordion div.slides h5, div.blogs ul.bloglist li h5, div.bloginfo h5", css: [".sIFR-root { text-align: center; font-weight: bold; text-align: left; color: #a5acaf; text-transform: uppercase; leading: -6}", "a { color: #a5acaf; text-decoration: none;  }", "a:hover { color: #e98300; text-decoration: none;  }"],
        wmode: "transparent"
    })
}
function initAccordion() {
    if ($$("div.f33_accordion")[0]) {
        var a = $$(".slides"), b = $$("div.f33_accordion")[0].getStyle("width").toInt() - 130 * (a.length - 1), c = 0, d = a.filter(function (a, b) { if (b > 0) return a }), e = ["color_monday", "color_tuesday", "color_wednesday", "color_thursday", "color_friday", "color_saturday", "color_sunday"], g = document.getElement("body").className.split(" ")[0]; e.indexOf(g); var f = a[0], h = !1; e[0] = "e98300"; e[1] = "bb133e"; e[2] = "d71f85"; e[3] = "652d86"; e[4] = "7ab800"; e[5] = "00b9e4"; e[6] = "0046ad"; a.setStyle("width",
b - a[0].getStyle("padding-right").toInt()); a.getElement("ul li span.readmore")[0].addClass("hide"); a.getElement("ul li span.newtext")[0].addClass("show"); for (var j = b - a[0].getStyle("padding-right").toInt(), e = 0; e < a.length; e++) g = a[e], g.getElement("h2") && g.getElement("h2").setStyle("width", j - 40), g.getElement("h5") && g.getElement("h5").setStyle("width", j - 40), g.getElements("ul li a.openvideo").each(function (a) { a.addEvent("click", function () { this.getParent("div.slides"); showVideo(this.getParent("div.slides")) }) }),
g.getElement("div.slidefull") && g.getElement("div.slideshadow") && g.getElement("div.slideshadow").setStyle("display", "none"); d.each(function (a) { d[c].setStyle("left", 130 * c + b); c++; try { a.getElement("ul li span.readmore").setStyle("display", "block"), a.getElement("ul li span.newtext").setStyle("display", "none") } catch (e) { } }); showVideo = function (b) {
    b.addClass("slidesshowvideo"); var c = $$("div.f33_accordion")[0].getStyle("width").toInt() - 130 * (a.length - 1); b.setStyle("width", (c - 40).toInt()); b.getElement("a.openvideo") &&
(b.getElement("a.openvideo").set("text", "Open content"), b.getElement("a.openvideo").removeEvents("click"), b.getElement("a.openvideo").addEvent("click", function () { hideVideo(b) }))
}; hideVideo = function (c) { var e = b - a[0].getStyle("padding-right").toInt(); c.removeClass("slidesshowvideo"); c.setStyle("width", e); c.getElement("a.openvideo") && (c.getElement("a.openvideo").set("text", "Open video"), c.getElement("a.openvideo").removeEvents("click"), c.getElement("a.openvideo").addEvent("click", function () { showVideo(this.getParent("div")) })) };
        slideEffect = function (c) {
            var e = 0; e++; var d = a[c]; if (d == f) return !1; if (h == !0) return !1; h = !0; a.each(function (a, d) { c <= d - 1 ? a.tween("left", 130 * (d - 1) + b) : a.tween("left", 130 * d) }); var e = [], g = [], m = []; d.getElement("div.silhouet") && d.getElement("div.silhouet").fade(0); d.getElements("ul li a").tween("color", "#e98300"); d.getElements("ul li").addClass("activelink"); d.getElements("ul li span.readmore").setStyle("display", "none"); d.getElements("ul li span.newtext").setStyle("display", "block"); for (var l = 0; l < sIFR.replacements.length; l++) sIFR.replacements[l].getAlternate().parentNode.parentNode ==
d && sIFR.replacements[l].changeCSS(".sIFR-root { text-align: center; font-weight: bold; text-align: left; color: #e98300; text-transform: uppercase"); e[c] = new Fx.Tween(d.getElement("div.slideoverlay"), { duration: 100 }); e[c].start("opacity", 1).chain(function () { d.getElement("ul") && d.getElement("ul").tween("bottom", 15); d.getElement("div.slidecontent").tween("height", 246 - d.getElement("h5").getStyle("height").toInt()); d.getElement("div.slidecontent").setStyle("display", "block") }); f.getElement("div.slidefull") &&
f.getElement("div.slidefull").setStyle("width", 0); g[c] = new Fx.Tween(f.getElement("div.slidecontent"), { transition: Fx.Transitions.Quint.easeOut, duration: 100 }); g[c].start("height", 0).chain(function () {
    d.getElement("div.slidefull") && (d.getElement("div.slidefull").setStyle("width", b - 40), j = b - 40); f.getElement("ul") && f.getElement("ul").tween("bottom", 200); f.getElement("div.silhouet") && f.getElement("div.silhouet").fade(1); f.getElement("div.slidecontent").setStyle("display", "none"); for (var a = 0; a < sIFR.replacements.length; a++) sIFR.replacements[a].getAlternate().parentNode.parentNode ==
f && sIFR.replacements[a].changeCSS(".sIFR-root { text-align: center; font-weight: bold; text-align: left; color: #a5acaf; text-transform: uppercase"); f.getElements("ul li a").tween("color", "#a5acaf"); f.getElements("ul li").removeClass("activelink"); f.getElements("ul li span.readmore").setStyle("display", "block"); f.getElements("ul li span.newtext").setStyle("display", "none"); f.getElement("a.openvideo") && hideVideo(f); m[c] = new Fx.Tween(f.getElement("div.slideoverlay"), { duration: 100 }); m[c].start("opacity",
0).chain(function () { f = d; h = !1 })
})
        }; a.each(function (a, b) {
            a.getElement("div.slideoverlay").setStyle("opacity", "0"); a.addEvent("mouseenter", function () { a.slideTimer = setTimeout("slideEffect(" + b + ")", 300) }); a.addEvent("mouseleave", function () { clearTimeout(a.slideTimer) }); var c = new SWFObject("/swf/default.swf", "movie", "100", "130", "9", "#ffffff"); c.addParam("wmode", "transparent"); c.addVariable("silhouetImg", a.getElement("div.silhouet img").getProperty("src")); c.addVariable("silhouetColor", "0xe98300"); c.addVariable("silhouetScale",
"0.5"); c.write(a.getElement("div.silhouet"))
        }); f.getElement("div.slideoverlay").setStyle("opacity", "1"); f.getElement("div.silhouet").setStyle("opacity", "0"); f.getElements("ul li").addClass("activelink"); f.getElement("div.slidecontent").setStyle("height", f.getElement("div.slidecontent").getScrollSize().y); f.getElement("div.slidecontent").tween("height", 246); f.getElement("div.slidecontent").setStyle("display", "block"); f.getElement("ul") && f.getElement("ul").tween("bottom", 15)
    } 
}
function initTabs() {
    var a = $$("ul.tabs li"), b = $$("div.tabcontent"), c = [], d = -1; if (a.length != b.length || a.length < 1) return !1; if ($$("div.f34_cases_details").length > 0) { var e = $$("div.tabperson"); if (a.length != e.length || a.length < 1) return !1 } a.each(function (d, f) {
        d.addEvent("click", function () {
            d.getElement("a").blur(); a.removeClass("active"); a[f].addClass("active"); b.setStyle("display", "none"); b[f].setStyle("display", "block"); $$("div.f34_cases_details").length > 0 && (e.setStyle("display", "none"), e[f].setStyle("display",
"block"))
        }); c[f] = d.getElement("a").get("html").toLowerCase()
    }); for (var g = location.search.substring(1, location.search.length).split("&"), f = 0; f < g.length; ++f) { var h = g[f].split("="); h[0] == "tab" && h[1] != null && (d = h[1].toLowerCase()) } if (d != -1 && (f = c.indexOf(d), f >= 0)) return a[f].fireEvent("click"), !1; a.removeClass("active"); a[0].addClass("active"); b.setStyle("display", "none"); b[0].setStyle("display", "block"); $$("div.f34_cases_details").length > 0 && (e.setStyle("display", "none"), e[0].setStyle("display", "block"))
}
function initEditDropdown() { var a = document.getElement("ul.dropdown"), b = document.getElement("input.dropdown"), c = document.getElement("a.dropdown"); if (!a || !b || !c) return !1; c.addEvent("click", function () { a.toggleClass("open"); c.blur() }); $$("ul.dropdown a").each(function (c) { c.addEvent("click", function () { b.setProperty("value", c.get("html")); a.removeClass("open"); b.focus() }) }) }
function initTestimonials() {
    var a = $$("div.f31_testimonials div.testimonials_list li"), b = $$("div.f31_testimonials div.testimonials_text"), c = document.getElement("div.f31_testimonials a.previous"), d = document.getElement("div.f31_testimonials a.next"), e = a.length - 1, g = 1, f = -1, h = []; b.each(function (a, b) { h[b] = a.getProperty("id") }); if (a.length != b.length || a.length < 1) return !1; showTestimonial = function (c) {
        e = c - 1; g = c + 1; c == 0 && (e = a.length - 1); c == a.length - 1 && (g = 0); b.setStyle("display", "none"); b[c].setStyle("display", "block");
        a.setStyle("left", -204); a[e].setStyle("left", 0); a[g].setStyle("left", 204)
    }; a.each(function (a, b) { a.addEvent("click", function () { showTestimonial(b) }) }); c.addEvent("click", function () { showTestimonial(e); c.blur() }); d.addEvent("click", function () { showTestimonial(g); d.blur() }); for (var j = location.search.substring(1, location.search.length).split("&"), i = 0; i < j.length; ++i) { var k = j[i].split("="); k[0] == "testimonial" && k[1] != null && (f = k[1]) } if (f != -1 && (i = h.indexOf(f), i >= 0)) return showTestimonial(i), !1; showTestimonial(0)
}
function initReferenties() {
    var a = $$("div.referenties div.referenties_list li"), b = $$("div.referenties div.referenties_text"), c = document.getElement("div.referenties a.previous"), d = document.getElement("div.referenties a.next"), e = a.length - 1, g = 1, f = -1, h = []; b.each(function (a, b) { h[b] = a.getProperty("id") }); if (a.length != b.length || a.length < 1) return !1; showReferentie = function (c) {
        e = c - 1; g = c + 1; c == 0 && (e = a.length - 1); c == a.length - 1 && (g = 0); b.setStyle("display", "none"); b[c].setStyle("display", "block"); a.setStyle("left",
-204); a[e].setStyle("left", 0); a[g].setStyle("left", 204)
    }; a.each(function (a, b) { a.addEvent("click", function () { showReferentie(b); scrollToElement("referenties") }) }); c.addEvent("click", function () { showReferentie(e); c.blur(); scrollToElement("referenties") }); d.addEvent("click", function () { showReferentie(g); d.blur(); scrollToElement("referenties") }); for (var j = location.search.substring(1, location.search.length).split("&"), i = 0; i < j.length; ++i) { var k = j[i].split("="); k[0] == "testimonial" && k[1] != null && (f = k[1]) } if (f !=
-1 && (i = h.indexOf(f), i >= 0)) return showReferentie(i), !1; showReferentie(0)
} function moreDownloads() { listMoreDownloads = $$(".moredownloads").each(function (a) { a.getElements("li").length >= 3 ? a.set("class", "more_downloads_2columns") : a.set("class", "more_downloads_1column") }) } function replaceInlineBlock() { Browser.Engine.gecko && Browser.Engine.version == 18 && $$("div.f9_sitemap ul li a").setStyle("display", "-moz-inline-box") } function redirectGoogleMaps(a, b) { window.open(a + escape(b)) }
function insertYoutube() {
    var a = []; document.getElements("a").each(function (b) { b.getProperty("href") && b.getProperty("href").substr(0, 31) == "http://www.youtube.com/watch?v=" && b.getElement("img") && a.include(b) }); constructMovieObject = function (a) {
        var c = a.getProperty("href").substr(31, a.getProperty("href").length - 1), d = new Element("span"); if (Browser.Plugins.Flash.version >= 9) {
            var e = "<object "; e += 'width="' + a.getElement("img").getSize().x + '" '; e += 'height="' + a.getElement("img").getSize().y + '">\n'; e += '<param name="movie" value="http://www.youtube.com/v/' +
c + '&hl=en&fs=1&rel=0"></param>\n'; e += '<param name="allowFullScreen" value="true"></param>\n'; e += '<param name="allowscriptaccess" value="always"></param>\n'; e += '<embed src="http://www.youtube.com/v/' + c + '&hl=en&fs=1&rel=0" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="' + a.getElement("img").getSize().x + '" height="' + a.getElement("img").getSize().y + '"></embed>\n'; e += "</object>"; d.set("html", e); return d
        } 
    }; a.each(function (a) {
        Browser.Plugins.Flash.version >=
9 && (constructMovieObject(a).inject(a, "after"), a.destroy())
    })
}
function insertJWplayer() {
    var a = []; document.getElements("a").each(function (b) { b.getProperty("href") && b.getProperty("href").substr(0, 14).toLowerCase() == "~/media/video/" && b.getElement("img") && a.include(b) }); $$("div.f33_accordion").length > 0 && Browser.Engine.webkit == !1 && ($$("div.slides div.slidevideo").setStyle("display", "block"), $$("div.slides div.slidevideo").setStyle("position", "absolute"), $$("div.slides div.slidevideo").setStyle("left", -99999)); constructMovieObject = function (a) {
        var c = a.getProperty("href");
        jwContainer = new Element("span"); jwContainer.inject(a, "after"); if (Browser.Plugins.Flash.version >= 9) { var d = new SWFObject("/swf/player.swf", "player", a.getElement("img").getStyle("width"), a.getElement("img").getStyle("height"), 9); d.addParam("allowfullscreen", "true"); d.addParam("allowscriptaccess", "always"); d.addParam("wmode", "transparent"); d.addVariable("file", c); d.addVariable("type", "video"); d.write(jwContainer); a.destroy() } 
    }; a.each(function (a) { constructMovieObject(a) }); $$("div.f33_accordion").length >
0 && $$("div.slides div.slidevideo").removeProperty("style")
} function getUrl(a, b, c) { var d = a.split("#"), e = d[0].split("?"), a = e[0], e = e[1] ? e[0] + "?" + e[1] : e[0], d = d[1] ? e + "#" + d[1] : e; return !b && !c ? a : c ? d : e } function parseQuerystring(a) { var b = {}, a = a.indexOf("?") >= 0 ? a.substring(a.indexOf("?") + 1) : ""; if (a != "") for (var a = a.split("&"), c = 0; c < a.length; c++) { var d = a[c].split("="), e = d[1], d = d[0]; a[c] = e; b[d] = e } return b } function getQsParam(a) { var b = parseQuerystring(location.href); return b[a] ? b[a] : "" }
function removeQsParam(a, b) { var c = parseQuerystring(a); delete c[b]; var d = [], e; for (e in c) d.push(e + "=" + c[e]); a = getUrl(a, !1, !1); d.length > 0 && (a += "?" + d.join("&")); return a } function setQsParam(a, b, c) { var d = parseQuerystring(a); d[b] = c; var b = [], e; for (e in d) b.push(e + "=" + d[e]); a = getUrl(a, !1, !1); b.length > 0 && (a += "?" + b.join("&")); return a } function listPeriodChange(a, b) { var c = getUrl(location.href, !0, !1), c = removeQsParam(c, "pagnr"), c = b ? setQsParam(c, a, "" + b) : removeQsParam(c, a); location.href = c; return !1 }
function listYearChange(a, b) { var c = getUrl(location.href, !0, !1), c = removeQsParam(c, "pagnr"), c = b ? setQsParam(c, a, "" + b) : removeQsParam(c, a); location.href = c; return !1 } function NieuwsoverzichtSorteringOmkeren() { var a = getUrl(location.href, !0, !1), a = removeQsParam(a, "pagnr"), a = getQsParam("sorteringomkeren") ? removeQsParam(a, "sorteringomkeren") : setQsParam(a, "sorteringomkeren", "1"); location.href = a; return !1 }
function EvenementCategoriefilter(a) { var b = getUrl(location.href, !0, !1), b = setQsParam(b, "eventcat", a); location.href = b; return !1 } function EvenementDatumfilter(a, b) { var c = getUrl(location.href, !0, !1), c = removeQsParam(c, "pagnr"), c = a ? setQsParam(c, "vanafdatum", a) : removeQsParam(c, "vanafdatum"), c = b ? setQsParam(c, "totdatum", b) : removeQsParam(c, "totdatum"); location.href = c; return !1 } function GetEnter(a, b, c, d) { return b != 13 ? !0 : RedirectZoek(a, c, d) }
function RedirectZoek(a, b, c) { c && (b = getQsParam("q") + " " + b); window.location = a + "?q=" + b; return !1 } function ZoekSortering(a) { var b = getUrl(location.href, !0, !1), b = removeQsParam(b, "pagnr"), b = a ? setQsParam(b, "sortering", a) : removeQsParam(b, "sortering"); location.href = b; return !1 } function ZoekFilter(a) { var b = getUrl(location.href, !0, !1), b = removeQsParam(b, "pagnr"), b = a ? setQsParam(b, "categorie", a) : removeQsParam(b, "categorie"); location.href = b; return !1 }
function initCEOvideo() {
    if (document.getElements("div.f44_ceovideos").length == 0) return !1; if (Browser.Plugins.Flash.version >= 9) {
        var a = $$("div.f44_ceovideos ul.videolist a"), b = a.get("href"), c = a.get("name"), d = function (a) {
            var d = new SWFObject("/swf/player.swf", "player", 480, 290, 9); d.addParam("allowfullscreen", "true"); d.addParam("allowscriptaccess", "always"); d.addParam("wmode", "transparent"); d.addVariable("file", b[a]); c[a] && (d.addVariable("plugins", "captions"), d.addVariable("captions.file", "http://www.ordina.nl/swf/subs/" +
c[a]), d.addVariable("captions.fontsize", 14)); d.addVariable("streamer", "rtmp://streaming2.shared.nines.nl/ordina"); d.addVariable("type", "rtmp"); d.addVariable("autostart", !0); d.write("videoplayer")
        }; a.each(function (a, b) { a.addEvent("click", function (a) { a.preventDefault(); d(b) }) }); d(0)
    } 
} function scrollToElement(a) { (new Fx.Scroll(window)).toElement(a) }
function injectIssuu(a) {
    var b = window.strCloseText || "Sluiten", c = new Element("div", { "class": "issuu_container" }), d = new Element("div", { "class": "issuu_optionbar" }), b = new Element("a", { text: b, "class": "closebutton" }), e = new Element("iframe", { src: String(a), "class": "issuu_iframe", scrolling: "no", frameborder: "0", width: "100%" }), a = window.getSize().y - 50; e.set("height", a); c.inject($(document.body), "bottom"); d.inject(c); b.inject(d); e.inject(c, "bottom"); b.addEvent("click", function () { c.destroy() }); window.addEvent("resize",
function () { var a = window.getSize().y - 50; e.set("height", a) })
} function embedCu3er() { var a = $$("#foto-slider-xmlUrl").get("value"), b = new SWFObject("/swf/cu3er.swf", "cu3er-container", "624", "224", "9", "#ffffff"); b.addParam("wmode", "transparent"); b.addVariable("xml", a); b.write($("cu3er-container")) } function initSearchJobBox() { var a = document.getElements("div.search_job_box select"); if (a.length == 0) return !1; a.each(function (a) { a.addEvent("change", function () { if (a.value) window.location.href = a.value }) }) };
