$(document).ready(function(){
	/* Art Direction */
	$('li.page-item-25').hover(function(){ 
		$('#carousel').css('background-position', '0 -360px');
		$(this).css('font-weight', 'bold'); 
	},
	function(){ 
		$('#carousel').css('background-position', '0 0'),
		$(this).css('font-weight', 'normal'); 

	});
	/* Grafisk Design */
	$('li.page-item-35').hover(function(){ 
		$('#carousel').css('background-position', '0 -720px'); 
		$(this).css('font-weight', 'bold'); 
	},
	function(){ 
		$('#carousel').css('background-position', '0 0'),
		$(this).css('font-weight', 'normal'); 
	});
	/* Tekst/Skribent */
	$('li.page-item-27').hover(function(){ 
		$('#carousel').css('background-position', '0 -1080px'); 
		$(this).css('font-weight', 'bold'); 
	},
	function(){ 
		$('#carousel').css('background-position', '0 0'),
		$(this).css('font-weight', 'normal'); 
	});	
	/* Eksponeringsdesign */
	$('li.page-item-33').hover(function(){ 
		$('#carousel').css('background-position', '0 -1440px'); 
		$(this).css('font-weight', 'bold'); 
	},
	function(){ 
		$('#carousel').css('background-position', '0 0'),
		$(this).css('font-weight', 'normal'); 
	});	
	/* Scenografi */
	$('li.page-item-31').hover(function(){ 
		$('#carousel').css('background-position', '0 -1800px'); 
		$(this).css('font-weight', 'bold'); 
	},
	function(){ 
		$('#carousel').css('background-position', '0 0'),
		$(this).css('font-weight', 'normal'); 
	});	
	/* Film&TV */
	$('li.page-item-29').hover(function(){ 
		$('#carousel').css('background-position', '0 -2160px'); 
		$(this).css('font-weight', 'bold'); 
	},
	function(){ 
		$('#carousel').css('background-position', '0 0'),
		$(this).css('font-weight', 'normal'); 
	});	
	
	
	
	
	$('#submenu li.page_item').hover(
		function(){
			$('#top_news').hide();
		},
		function(){
			$('#top_news').show();
		}
	);
			
});


<!--//--><![CDATA[//><!--
startList = function() {
	if (document.all&&document.getElementById) {
		navRoot = document.getElementById("nav");
		for (i=0; i<navRoot.childNodes.length; i++) {
			node = navRoot.childNodes[i];
			if (node.nodeName=="LI") {
				node.onmouseover=function() {
					this.className+=" over";
				}
				node.onmouseout=function() {
					this.className=this.className.replace(" over", "");
				}
			}
		}
	}
}
window.onload=startList;

//--><!]]>