// stop BackgroundImageCache voor IE				
try	{ document.execCommand("BackgroundImageCache", false, true); } catch(e) { }

/**
 * variabelen met jQuery met een $ beginnen!!!
 */
$(function()
{
	// Hover click
	//$("#locaties #locatielijst li").hoverClick();
	
	// input default text
	$("input:text[title], textarea:text[title]").each(function() { 
		$(this).defaultvalue( $(this).attr("title") );
	});
	
	// Nieuwsbrief formulier
	$("#form-nieuwsbrief label").hide();
	
	// Formulier focus op velden
	$(":input").not("input[type=button], input[type=submit], input[type=radio], input[type=checkbox]")
		.focus(function() 	{ $(this).addClass("veldfocus"); })
		.blur(function() 	{ $(this).removeClass("veldfocus"); });
		
	if( $("ul.formulier").length > 0 )
	{
		$("ul.formulier .verplicht").clone().prependTo( 'ul.formulier' ).addClass('boven');
	}

});

Cufon.replace('#topmenu li a strong, #content h1, #locaties h2');
Cufon.replace('#menu li a, #sidebar h2, #content h2, #home-uitgelicht h2', {
	hover: true
});
