	// kleine functie te ondersteuning aan de aanklikbare rij in tabellen
	function goTo(link){
		this.location.href=(link);
	}
	
	//pop-up openen
	function doPop(doc, str, naam, width, height) {
		var x  = (screen.width - width) / 2;
		var y  = (screen.height - height) / 2;
		newpop = window.open(doc, naam, "width="+width+",height="+height+", toolbar=0,location=0,directories=0,status=0,menubar=1,scrollbars=1,resizable=0,zoombox=0,left="+x+",top="+y);
		newpop.focus();
	}
	
	function putValue(waarde, id){
		document.getElementById(id).value = waarde;
	}
	
	
	// submit een formulier met formval 
	function doForm(myForm) {
		document[myForm].submit();
	}	
	
	// submit een formulier met formval 
	function doFormVal(myForm) {
		if(formVal(document[myForm])) {
			document[myForm].submit();
		}
	}

	// div tonen of verbergen
	function toggleDiv(d) {
		var displayStatus = document.getElementById(d).style.display;
		if(displayStatus == 'none'){ var NewStat = ""; }
		if(displayStatus == ''){ var NewStat = "none"; }
		document.getElementById(d).style.display = NewStat;
		// alert (displayStatus);
	}
	
	// dive in - uit faden
	function toggleThis(hideID,showID)
	{
		$('div#'+hideID).fadeOut('normal',function()
		{
			$('div#'+showID).fadeIn('normal');

		});
	}
	
	// submit een formulier zonder formval met jQuery 
	function submitForm(myForm) {
		$('#'+myForm).submit();
	}

	// jquery scripts
	$(document).ready(function () {

		// lightbox laten werken
		$('a.lightbox').lightBox();
		
		$('#slideshow').cycle({ 
		    fx:    'fade', 
		    speed:  3000,
		    pause: 	1 
		 });		
  
	});	
	
	Cufon('h1')('h2')('h3')('#mainmenu ul li a')('#submenu ul li a')('div#home-attention-text');	
