//flash player hiden wanneer er over de fittness gehoverd wordt
$(document).ready(function(){
$("a[href='fitness.php']").mouseover(function(){
	$("div#videoplayer").css("visibility","hidden");
}).mouseout(function(){
  $("div#videoplayer").css("visibility","visible");
});

$("ul.hideflashplayer").mouseover(function(){
	$("div#videoplayer").css("visibility","hidden");
}).mouseout(function(){
  $("div#videoplayer").css("visibility","visible");
});

});


$(function() {
	//Set the default directory to find the images needed
	//by the plugin (closebtn.png, blank.gif, loading images ....)
	$.fn.fancyzoom.defaultsOptions.imgDir='../images/fancyzoom/';//very important must finish with a /
	
	// Select all links in object with gallery ID using the defaults options
	$('a#zoom').fancyzoom(); 
	
	// Select all links with tozoom class, set the open animation time to 1000
	//$('a.tozoom').fancyzoom({Speed:1000});
	
	// Select all links set the overlay opacity to 80%
	//$('a').fancyzoom({overlay:0.8});
});


