jQuery(document).ready(function(){
	
	// Sliding banner
	jQuery('#header_hover').css({ opacity : 0.75 }).animate({ marginTop : "300px" },  {duration : 1250, queue : false});


	jQuery('#header_img').hover(
		function () {
			jQuery('#header_hover').animate({ marginTop : "100px" }, {duration : 750, queue : false} );
		},
		function () {
			jQuery('#header_hover').animate({ marginTop : "300px" }, {duration : 750, queue : false} );
		}
	);
	
	// Fisheye
	jQuery('#agenda_listing').flash({ src: 'http://www.teamalert.nl/assets/templates/teamalert/fisheye.swf?xmlUrl=/index.php?id=159', width: 230, height: 270, wmode: 'transparent' });
jQuery('#agenda_listing').flash({ src: 'http://www.teamalert.nl/assets/templates/teamalert/fisheye.swf?xmlUrl=/index.php?id=159', width: 230, height: 270, wmode: 'transparent' });
jQuery('#agenda_listingbobzone').flash({ src: 'http://www.teamalert.nl/assets/templates/teamalert/fisheye.swf?xmlUrl=/index.php?id=430', width: 230, height: 270, wmode: 'transparent' });
jQuery('#agenda_listingwittewaas').flash({ src: 'http://www.teamalert.nl/assets/templates/teamalert/fisheye.swf?xmlUrl=/index.php?id=431', width: 230, height: 270, wmode: 'transparent' });
jQuery('#agenda_listingkruispunt').flash({ src: 'http://www.teamalert.nl/assets/templates/teamalert/fisheye.swf?xmlUrl=/index.php?id=432', width: 230, height: 270, wmode: 'transparent' });
jQuery('#agenda_listingroadtrip').flash({ src: 'http://www.teamalert.nl/assets/templates/teamalert/fisheye.swf?xmlUrl=/index.php?id=433', width: 230, height: 270, wmode: 'transparent' });
jQuery('#agenda_listinglamazien').flash({ src: 'http://www.teamalert.nl/assets/templates/teamalert/fisheye.swf?xmlUrl=/index.php?id=434', width: 230, height: 270, wmode: 'transparent' });
	
	// Sponsors
	jQuery('#footer_sponsors_flash').flash( { src: 'http://www.teamalert.nl/assets/templates/teamalert/scrollingsponsors.swf?xmlUrl=/index.php?id=166', width: 875, height: 70, wmode: 'transparent' } )
	
	// Thickbox
	tb_init('a.thickbox, area.thickbox, input.thickbox');//pass where to apply thickbox
	imgLoader = new Image();// preload image
	imgLoader.src = tb_pathToImage;

});