$(document).ready(function () {
    $('p,a,li,ul').removeAttr("style");
   
    $('h2.title').attr("style", "border-bottom:1px solid #9a9a9a; margin-top:10px; margin-bottom:10px;");
    $('.Separater,.Download,.Image').removeAttr("style");
    $('.body + .outer_blok,.hoofdtext, .introtext,.RechterBlokIntro,.rtext, p *, li, ul').attr("style", "color: black; font-family: Verdana; font-size: 8pt;");
    $('em').attr("style", "color: red;");

    $('textarea').attr("style", "width: 548px; height: 300px;");
    $('ul#Menu li').hover(function () {
        $('ul', this).stop(true, true).animate({
            "height": "toggle", "opacity": "toggle"
        }, "fast");
    },
	        function () {
	            $('ul', this).hide();

	        }
        );

    $('.selected').parent().parent().children('a').addClass('selectedMenu');
    $('.slideshow').cycle({
        fx: 'fade' // choose your transition type, ex: fade, scrollUp, shuffle, etc...
    });

    var links = document.getElementsByTagName('a');
    for (var i = 0; i < links.length; i++) {
        if (links[i].getAttribute('rel') == 'external') {
            links[i].onclick = function () {
                return !window.open(this.href);
                this.blur();
            }
        } else {
            if (links[i].getAttribute('onclick') == null) {
                links[i].onclick = function () {
                    return !this.blur();
                }
            }
        }
    }

    if (jQuery.browser.msie) {
        try {
            document.execCommand("BackgroundImageCache", false, true);
        } catch (err) { }
    }
});
  
 
