$(document).ready(function(){
			$.fn.equalHeight = function() {
				var group = this;
				$(window).bind('resize', function(){
				var tallest = 0;
				$(group).height('auto').each(function() {
				tallest = Math.max(tallest, $(this).height());
				}).height(tallest);
				}).trigger('resize');
			};			
			$(".ambitios_height").equalHeight();
			jQuery('.ambitios_menu').superfish();
			});
	/* FADE BIJ MUISOVERGANG */
	$(document).ready(function(){ $(".fade-in").fadeTo("slow", 0.6); // This sets the opacity of the thumbs to fade down to 60% when the page loads
	$(".fade-in").hover(function(){$(this).fadeTo("slow", 1.0);}, // This should set the opacity to 100% on hover
	function(){$(this).fadeTo("slow", 0.6);}); // This should set the opacity back to 60% on mouseout 
	}); 	
	/* Fade out when Hovered */
	$(document).ready(function(){
		$(".fade-out").fadeTo("slow", 1.0); // This sets the opacity of the images to 100% when the page loads
		$(".fade-out").hover(function(){ $(this).fadeTo("slow", 0.6);}, // Image will fade to 60% on hover 
		function(){$(this).fadeTo("slow", 1.0);}); // Image opacity back to 100% on mouseout
	});
	$(document).ready(function(){
	//Hide (Collapse) the toggle containers on load
	$(".toggle_container").hide(); 
	//Switch the "Open" and "Close" state per click then slide up/down (depending on open/close state)
	$("h3.trigger").click(function(){
		$(this).toggleClass("active").next().slideToggle("slow");
		return false; //Prevent the browser jump to the link anchor
	});	
	$(document).ready(function(){
	$(function(){
	$('#news-container').vTicker({ 
		speed: 1500,
		pause: 6000,
		animation: 'fade',
		mousePause: true,
		showItems: 1
	});
});
});	
});
