// Focus javascripte voor IE

sfFocus = function() {
    var sfEls = document.getElementsByTagName("INPUT");
    for (var i=0; i<sfEls.length; i++) {
        sfEls[i].onfocus=function() {
            this.className+=" sffocus";
        }
        sfEls[i].onblur=function() {
            this.className=this.className.replace(new RegExp(" sffocus\\b"), "");
        }
    }
}
if (window.attachEvent) window.attachEvent("onload", sfFocus);


jQuery.noConflict();

// ShadowBox (Lightbox alternatief)
Shadowbox.init();

// Start jQuery
jQuery(document).ready(function(){

	// Scroll naar boven (bij klik op logo onderaan):
	jQuery('.backtotop').click(function(){
			jQuery('html, body').animate({scrollTop:0}, 'medium');
	});
			
	// Start Social Media Hightlight Menu:
	jQuery("#socialmedia a span").css({"opacity": "0"});
	 
	jQuery("a#rss").hover(
		function() {
		jQuery("a#rss span").stop().animate({"opacity": "1"}, "slow");
		},
		function() {
		jQuery("a#rss span").stop().animate({"opacity": "0"}, "slow");
	});
	jQuery("a#twitter").hover(
		function() {
		jQuery("a#twitter span").stop().animate({"opacity": "1"}, "slow");
		},
		function() {
		jQuery("a#twitter span").stop().animate({"opacity": "0"}, "slow");
	});		
	jQuery("a#facebook").hover(
		function() {
		jQuery("a#facebook span").stop().animate({"opacity": "1"}, "slow");
		},
		function() {
		jQuery("a#facebook span").stop().animate({"opacity": "0"}, "slow");
	});	
	jQuery("a#linkedin").hover(
		function() {
		jQuery("a#linkedin span").stop().animate({"opacity": "1"}, "slow");
		},
		function() {
		jQuery("a#linkedin span").stop().animate({"opacity": "0"}, "slow");
	});				 
	// Einde Social Media menu 
		 

    jQuery(".RadMenu_Custom1 .item a").blend({
        speed: 500
    });

    jQuery(".RadMenu_Custom2 .item a").blend({
        speed: 500
    });	
	
    jQuery("a.nowbanner").blend({
        speed: 400
    });		

	// Zet span tag in de Headers; gradient effect
	jQuery("h1").prepend("<span></span>");
	jQuery("h2").prepend("<span></span>");
	jQuery("h3").prepend("<span></span>");  
	
	jQuery(".Table_Custom1 .top .center .title").prepend("<span></span>");  	
	jQuery(".Table_Custom3 .top .center .title").prepend("<span></span>");  	

			
});


