// stop BackgroundImageCache voor IE				
try	{ document.execCommand("BackgroundImageCache", false, true); } catch(e) { }

// cufon
Cufon.replace('h1, h2');

$(function()
{
	// menu
	Menu.apply("#menu > li");

	// default value bij formulieren
	$("input:text[title], textarea[title]").each(function() { 
		$(this).defaultvalue( $(this).attr("title") );
	});
	
	// Formulier focus op velden
	$(":input").not("input[type=button], input[type=submit], input[type=radio], input[type=checkbox]")
		.focus(function() 	{ $(this).addClass("focus"); })
		.blur(function() 	{ $(this).removeClass("focus"); });
		
		
	// lettergrootte instellen
	$("#header .lettergrootte a").click(function(e)	{
		setFontSize( $(this).attr("href").replace(/[^0-9]/, '') );
		e.preventDefault();
	});
	
	setFontSize( getFontSize() );

	$("#ontw").remove();
});

