// stop BackgroundImageCache voor IE				
try	{ document.execCommand("BackgroundImageCache", false, true); } catch(e) { }

/**
 * variabelen met jQuery met een $ beginnen!!!
 */
 
 /* Shadowbox */
Shadowbox.init({
    language: 'en',
    players:  ['img', 'html', 'iframe', 'qt', 'wmp', 'swf', 'flv'],
    path: '/intermeco.nl/svn/website/trunk/www/htdocs/fla/'
});
 
$(function()
{
	/* submenu effectje en timeout */
	Menu.apply("#menu > li");
	
	//Slideshow Index
	$('#slideshow ul').cycle({ 
							timeout	: 5000, 
							speed	: 2000,
							delay	: -3000
						});
	
	// default value bij formulieren
	$("input:text[title], textarea[title]").each(function() { 
		$(this).defaultvalue( $(this).attr("title") );
	});
	
	$("#main .uitgelicht").hoverClick();
	$("#main .actueel li").hoverClick();
	$("#nieuwsoverzicht li").hoverClick();
	$("#zijbalk > .actueel").hoverClick();
	
	
	// Formulier focus op velden
	$(":input").not("input[type=button], input[type=submit], input[type=radio], input[type=checkbox]")
		.focus(function() 	{ $(this).addClass("sfFocus"); })
		.blur(function() 	{ $(this).removeClass("sfFocus"); });

});

/* Cufon */
Cufon.replace('h1');
