$(document).ready(function()
{

	$("#zoekformulier input:text").focus(function() {
	if( this.value == this.defaultValue ) {
		this.value = "";
	}
	}).blur(function() {
	if( !this.value.length ) {
		this.value = this.defaultValue;
	}
	});
	
	// Gezichten homepage
	$( function() 
	{ 
    	$("body.home #content a").css("display", "none").fadeIn('slow', function() {
			$(this).fadeTo(200,0.60);
		});
	});
	
	$("body.home #content a").hover(function()
	{
		$(this).fadeTo(200,1);
	},
	function()
	{
		$(this).fadeTo(1200,0.60);	
	});
	
	// scholen	
	$(".scholen li h3 a").click( function()
	{
		$(".scholen li .omschrijving").slideUp();			
		
		$( ".omschrijving", this.parentNode.parentNode ).slideDown();
		return false;
	});
	
	$(".scholen li .omschrijving").slideUp();			
	
	// open school als anker aanwezig is
	if ( document.location.hash != "" )
	{
		$( document.location.hash ).click();
	}
	
});

//<![CDATA[
/* Replacement calls. Please see documentation for more information. */

if(typeof sIFR == "function"){

// This is the preferred "named argument" syntax
	sIFR.replaceElement(named({sSelector:"#page h2", sFlashSrc: submap + "/fla/titel.swf", sColor:"#FFFFFF", sWmode:"transparent"}));
};

//]]>



