$(document).ready(function(){
		
	$("a[rel^='photo']").prettyPhoto({animationSpeed: 'normal', /* fast/slow/normal */
				padding: 40, /* padding for each side of the picture */
				opacity: 0.35, /* Value betwee 0 and 1 */
				showTitle: true, /* true/false */
				allowresize: false, /* true/false */
				counter_separator_label: '/', /* The separator for the gallery counter 1 "of" 2 */
				theme: 'light_rounded', /* light_rounded / dark_rounded / light_square / dark_square */
				hideflash: false, /* Hides all the flash object on a page, set to TRUE if flash appears over prettyPhoto */
				modal: false, /* If set to true, only the close button will close the window */
				changepicturecallback: function(){}, /* Called everytime an item is shown/changed */
				callback: function(){} /* Called when prettyPhoto is closed */});
	
	
	
	if (document.all&&document.getElementById) {
		navRoot = document.getElementById("nav");
		for (i=0; i<navRoot.childNodes.length; i++) {
			node = navRoot.childNodes[i];
			if (node.nodeName=="LI") {
				node.onmouseover=function() {
					this.className+=" over";
				}
				node.onmouseout=function() {
					this.className=this.className.replace(" over", "");
				}
			}
		}
	}
	
	$('#sponsorlist').innerfade({ 
		animationtype: 'fade'/*Type of animation 'fade' or 'slide' (Default: 'fade')*/, 
		speed: 'normal'/*Fading-/Sliding-Speed in milliseconds or keywords (slow, normal or fast) (Default: 'normal')*/, 
		timeout: '5000'/*Time between the fades in milliseconds (Default: '2000')*/, 
		type: 'random' /*Type of slideshow: 'sequence', 'random' or 'random_start' (Default: 'sequence')*/, 
		containerheight: 200/*Height of the containing element in any css-height-value (Default: 'auto')*/,
		runningclass: 'innerfade'/*CSS-Class which the container get's applied (Default: 'innerfade')*/,
		children: null/*optional children selector (Default: null)*/
   }); 
	$('#imagelist').innerfade({ 
		animationtype: 'fade'/*Type of animation 'fade' or 'slide' (Default: 'fade')*/, 
		speed: 'slow'/*Fading-/Sliding-Speed in milliseconds or keywords (slow, normal or fast) (Default: 'normal')*/, 
		timeout: '4000'/*Time between the fades in milliseconds (Default: '2000')*/, 
		type: 'random' /*Type of slideshow: 'sequence', 'random' or 'random_start' (Default: 'sequence')*/, 
		containerheight: 160/*Height of the containing element in any css-height-value (Default: 'auto')*/,
		runningclass: 'innerfade'/*CSS-Class which the container get's applied (Default: 'innerfade')*/,
		children: null/*optional children selector (Default: null)*/
   }); 
	
	
	try{
		$('#vriendenform').validate();
	}catch(e){}
	
	
});

