// JQuery based hover menu
$(document).ready(function(){

	// Get the source directory of this script
	scriptSrc = $('script[@src$=jquery.js]').attr('src').replace('js/jquery.js', '');
	
	// Start the sifr replacement
	initSifr(scriptSrc);
	
	
	$(".menu li:not(.actief)").hover(function(){
		$(this).addClass("actief");
	},
	function(){
		$(this).removeClass("actief");
	});
	
});

function initSifr(scriptSrc){
	// Start sifr
	var stanzie = {
		src: scriptSrc + 'js/sifr-rockwell.swf'
	};

	sIFR.useDomContentLoaded = false;
	sIFR.activate();

	sIFR.replace(stanzie, {
		selector: '.c09 h2'
		,wmode: 'transparent'
		,css: {
			'.sIFR-root': { 'color': '#065D7F', 'font-size': '30px', 'font-weight': 'bold' }
		}
	});

}
