// stop BackgroundImageCache voor IE				
try	{ document.execCommand("BackgroundImageCache", false, true); } catch(e) { }

/* Cufon */
Cufon.replace('h2,#main .formmodule h4', { fontFamily: 'Helvetica CE 35 Thin' });
Cufon.replace('h1', { fontFamily: 'Helvetica Neue' });
Cufon.replace('.documentoverzicht .jaartal', { fontFamily: 'Helvetica Neue' });
Cufon.replace('#sfeerfoto h2', { fontFamily: 'Helvetica Neue' });

/**
 * variabelen met jQuery met een $ beginnen!!!
 */
$(function()
{
	/* submenu effectje en timeout */
	Menu.apply("#menu > li");

	// Hoverclicks
	$(".overzicht li").hoverClick();
    $(".overzicht h2").hoverClick();
	$("#content .nieuwsoverzicht li").hoverClick();
	$("#fotoalbum .categorieen li").hoverClick();
	
	// default value bij formulieren
	$("input:text[title], textarea[title]").each(function() { 
		$(this).defaultvalue( $(this).attr("title") );
	});

	// Cycle foto's
	$('#main #sfeerfoto .slideshow').cycle({
        speed:  3000,
		timeout: 8000,
		delay:	-4000
    });
});
