
	// jquery scripts
	$(document).ready(function () {

	$(".twitterhunt").colorbox({width:"80%", height:"80%", iframe:true});
	$(".colorbox").colorbox({width:"400px", height:"560px", iframe:true, href:"http://beem.beemway.com/c/f.aspx?wi=31e35eb0-0575-461c-99e1-8a4751105015"});


		// lightbox laten werken
		$('a.lightbox').lightBox();
		
		// slideshow
		$('#slideshow').cycle({ 
		    fx:    'fade', 
		    speed:  3000,
		    pause: 	1 
		 });
		 
		// ratings
		$('.ratings').raty({
			number:     5,
			path: 'images/layout/stars/',
			 click: function(score, evt) {
				$('.ratings').append('<input style=\"display:none;\" type=\"text\" name=\"star[]\" value=\"'+ score + '\">');
			  }
		});
		 
		// accordion
        $(".menuCol").accordion({
			active: true,
            autoHeight: false,
			collapsible: true,
            navigation: true
        });

		 $("ul.splashpage_directions li").hover(function() { //On hover...
			var thumbOver = $(this).find("img").attr("src"); //Get image url and assign it to 'thumbOver'
			
			//Set a background image(thumbOver) on the &lt;a&gt; tag 
			$(this).find("a.thumb").css({'background' : 'url(' + thumbOver + ') no-repeat center bottom'});
			//Fade the image to 0 
			$(this).find("span").stop().fadeTo('normal', 0 , function() {
				$(this).hide() //Hide the image after fade
			}); 
		} , function() { //on hover out...
			//Fade the image to 1 
			$(this).find("span").stop().fadeTo('normal', 1).show();
		});


		//Caption Sliding (Partially Hidden to Visible)
		$('.poster.caption').hover(function(){
			
			var currentId = $(".cover", this).attr('id');
			$(".cover", this).stop().animate({top:'70px'},{queue:false,duration:160});

		}, function() {
			var currentId = $(".cover", this).attr('id');
			$(".cover", this).stop().animate({top:'125px'},{queue:false,duration:160});
			
		});

  
	});	

	// voor het gebruik van exotische font gebruiken we Cufon
//	Cufon('h1')('h2')('#menu ul li a')('#submenu ul li a')('.splashpage_directions_title a');	
