/* functie om hele blokken klikbaar te maken, en hover toevoegen */
$.fn.hoverClick = function()
{
	this.each(function()
	{
		$(this).hover(
			function() { $(this).addClass("hover").css("cursor", "pointer"); },
			function() { $(this).removeClass("hover").css("cursor", "pointer"); }
		);
		
		$(this).attr("title", $("a:first", this).attr("title"));
		
		$(this).click(function(){
			window.location = $("a:first", this).attr("href");
		});
	});
	
	return this;
};


function maak_sifr()
{
	
	if(typeof sIFR == "function"){
	
		sIFR.replaceElement(named({
		sSelector:"#balk-home h2",
		sFlashSrc: submap + "/fla/ballpark.swf",
		sColor:"#f0f0f0",
		sBgColor:"#BAAA9B",
		nPaddingBottom:0,sWmode:"transparent"}));
	};
	
	if(typeof sIFR == "function"){
	
		sIFR.replaceElement(named({
		sSelector:"h2",
		sFlashSrc: submap + "/fla/marcelle.swf",
		sColor:"#f0f0f0",
		sBgColor:"#BAAA9B",
		nPaddingBottom:0,sWmode:"transparent"}));
	};
	
	if(typeof sIFR == "function"){
	
		sIFR.replaceElement(named({
		sSelector:"#titel h1",
		sFlashSrc: submap + "/fla/marcelle.swf",
		sColor:"#f5e4d0",
		sBgColor:"#534c42",
		nPaddingBottom:0,sWmode:"transparent"}));
	};
}

/* functie om hele blokken klikbaar te maken, en hover toevoegen */
$.fn.hoverClick = function()
{
	this.each(function()
	{
		$(this).hover(
			function() { $(this).addClass("hover").css("cursor", "pointer"); },
			function() { $(this).removeClass("hover").css("cursor", "pointer"); }
		);
		
		$(this).click(function(){
			window.location = $("a:first", this).attr("href");
		});
	});
	
	return this;
};

