

Shadowbox.init({
	//skipSetup: 			true,
	language:   			"en",
	players:    			["img","flv","iframe"],
	displayNav:         	true,
	handleUnsupported:  	"remove",
	autoplayMovies:     	true,
	overlayColor:			'#000',	
	overlayOpacity: 		'0.6' 
});

$(document).ready(function(){
  $.preloadCssImages();
}); 

    
    if (document.images)
    {
      preload_image = new Image(25,25); 
      preload_image.src="http://marsvenus.keistoer.nl/~general/images/home-blocks-left-hover.png"; 
      preload_image = new Image(25,25); 
      preload_image.src="http://marsvenus.keistoer.nl/~general/images/home-blocks-right-hover.png"; 
      preload_image = new Image(25,25); 
      preload_image.src="http://marsvenus.keistoer.nl/~general/images/home-speellijst-hover.png"; 
    }

<!--

	$(function () {
		$("#vote .mid:not(.vrouwen) ul#slideshow li a").hover(function(){
			if($(this).hasClass('active')){}
			else {
				$nummer = $(this).attr('rel');
				$(this).css("background","url(/~general/images/vote/"+$nummer+"-vf1.png)");
			}
		},function(){
			if($(this).hasClass('active')){}
			else {
				$nummer = $(this).attr('rel');
				$(this).css("background","url(/~general/images/vote/"+$nummer+"-vf0.png)");
			}
		});
		$("#vote .mid.vrouwen ul#slideshow li a").hover(function(){
			if($(this).hasClass('active')){}
			else {
				$nummer = $(this).attr('rel');
				$(this).css("background","url(/~general/images/vote/vrouwen/"+$nummer+"-vf1.png)");
			}
		},function(){
			if($(this).hasClass('active')){}
			else {
				$nummer = $(this).attr('rel');
				$(this).css("background","url(/~general/images/vote/vrouwen/"+$nummer+"-vf0.png)");
			}
		});
		$('#slideshow').cycle({
			fx:      'scrollHorz',
			timeout:  0,
			prev:    '#prev',
			next:    '#next',
			random:  1 
		});
		
		$("#vote .mid:not(.vrouwen) ul li a").click(function(){
			$active = $("#vote ul li a.active").attr('rel');
			$("#vote ul li a.active").css("background","url(/~general/images/vote/"+$nummer+"-vf0.png)");
			$("#vote ul li a.active").removeClass('active');
			$nummer = $(this).attr('rel');
			$(this).addClass('active');
			$(this).css("background","url(/~general/images/vote/"+$nummer+"-vf2.png)");
		});
		
		$("#vote .mid.vrouwen ul li a").click(function(){
			$active = $("#vote ul li a.active").attr('rel');
			$("#vote ul li a.active").css("background","url(/~general/images/vote/vrouwen/"+$nummer+"-vf0.png)");
			$("#vote ul li a.active").removeClass('active');
			$nummer = $(this).attr('rel');
			$(this).addClass('active');
			$(this).css("background","url(/~general/images/vote/vrouwen/"+$nummer+"-vf2.png)");
		});
		
				
		var $i;
		$("#vote ul#slideshow li a").click(function(){
			$number = $("#vote ul li a").index(this);
			$number++;
			$("#submitvote").attr('href','?vote='+$number);
			$("#vote a").removeClass("active");
			$(this).addClass('active');
		});
				
				
		$('#ticker').innerfade({ 
			animationtype: 'fade', 
			speed: 500, 
			timeout: 5000, 
			type: 'sequence', 
			containerheight: '31px' 
		});
		
	  if (!document.getElementsByTagName) return;
	  var anchors = document.getElementsByTagName('a');
	  for (var i = 0; i < anchors.length; i++) {
		 var anchor = anchors[i];
		 if (anchor.getAttribute("href") && anchor.getAttribute("rel") == "external") {
			anchor.target = "_blank";
		 }
	  }

	  $('DL#accordion').accordion({
		 // the drawer handle
		 header: 'dt.toggler',
		 
		 // our selected class
		 selectedClass: 'open',
		 autoHeight: false,
		 // match the Apple slide out effect
		 event: 'click'
	  });
	  
	  $(".prijsvraag a").click(function(){
				$(".activebutton").removeClass('activebutton');
				 var $this = $(this);
				 if( $this.is('.activebutton') ) {
							$this.removeClass('activebutton');
				 }
				 else {
					 $this.addClass('activebutton');
					 $("#answer").val($this.attr("id"));
				 }
				 return false;
       
		});

	});
-->
