// JavaScript Document


//menu
$(document).ready(function(){
	$("#nav-one li").hover(
		function(){ $("ul", this).fadeIn("fast"); }, 
		function() { } 
	);

	if (document.all) {
		$("#nav-one li").hoverClass ("sfHover");
	}

	$('.popupplayer').popupWindow({ 
		height:200, 
		width:400, 
		top:50, 
		left:50 
	}); 

});


$.fn.hoverClass = function(c) {
	return this.each(function(){
		$(this).hover( 
			function() { $(this).addClass(c);  },
			function() { $(this).removeClass(c); }
		);
	});
};


function change_zoek(type,keyword)
{
     document.location.replace('/page/zoek/'+type+'/'+keyword+'/');
}

function change_archief(page,archive,type,vm,vj,tm,tj)
{
     document.location.replace('/page/'+page+'/'+archive+'/'+type+'/'+vm+'/'+vj+'/'+tm+'/'+tj+'/');
}
