/*
	JavaScript Include

	Name:	 	: <se:itemdata field="name" />	
	Address		: http://www.averbode.fr	
	Copyright	: Your company		
	Author	 	: <se:itemdata field="author" />	
	Created	 	: <se:itemdata field="adddate" />

	About this JavaScript include:
	...
*/

jQuery(document).ready(function(){
	
	//special styles
	jQuery("#meta-nav ul li:first").css({'background':'none'});
	
	
	jQuery("#hoofd-nav ul li ul").each(function(){
		jQuery(this).children("li:first").css({'padding':'0px 9px 0 9px'});		
	});
	
	jQuery("#overzicht li:odd").addClass('odd');
	
	jQuery("#tijdschrift-related div:last").css({'background':'none','padding':'0 10px 20px 10px','margin-bottom':'0px'});
	
	jQuery("#tijdschrift-related div ul").each(function(){
		jQuery(this).children("li:last").css({'background':'none'});		
	});	


});

sfHover = function() {
	var sfEls = document.getElementById("hoofd-nav").getElementsByTagName("LI");
	for (var i=0; i<sfEls.length; i++) {
		sfEls[i].onmouseover=function() {
			this.className+=" sfhover";
		}
		sfEls[i].onmouseout=function() {
			this.className=this.className.replace(new RegExp(" sfhover\\b"), "");
		}
	}
}
if (window.attachEvent) window.attachEvent("onload", sfHover);

