
// Testimonials menu
jQuery(document).ready(function(){
	jQuery("#parent1").css('display','block');
	//jQuery("#parent1").css('background','#F3F3F3');
	jQuery("#parent1 li").css('padding','10px');
	jQuery("#parent1").wslide({
		width: 292,
		height: 380,
		pos: 1,
		horiz: true,
		duration: 700,
		autolink: 'menu3'
	});
});

// Maak een ALT en TITLE tekst voor elke IMG tag als deze er niet is
jQuery(document).ready(function(){
	jQuery(document).ready(function(){
	    jQuery('div#content img').each(function(){
			var sr = jQuery(this).attr('src');
			jQuery(this).attr('title',jQuery(this).attr('alt'));
			if(jQuery(this).attr('alt') == ''){
				jQuery(this).attr('alt',sr);
				jQuery(this).attr('title',sr);
			}
		});
	});
});

// Maak een TITLE tekst voor elke A tag als deze er niet is
jQuery(document).ready(function(){
	jQuery(document).ready(function(){
	    jQuery('a').each(function(){
			var sr = jQuery(this).attr('title');
			if(jQuery(this).attr('title') == ''){
				jQuery(this).attr('title',jQuery(this).html());
			}
		});
	});
});


// Zet een a-tag om alle img-tags in #content
jQuery(document).ready(function(){
	/*
	jQuery("#content img").each(function() {
		var sr = jQuery(this).attr('src');
		jQuery(this).css('border','3px');
	   	jQuery(this).wrap('<a rel="thumbnail" href="'+ sr +'"></a>');
	});
	*/
});


/* OFFICIAL NOTATION
$(document).ready(function(){
	$("#parent1").css('display','block');
	$("#parent1").css('background','#F3F3F3');
	$("#parent1 li").css('padding','10px');
	$("#parent1").wslide({
		width: 292,
		height: 380,
		pos: 4,
		horiz: true,
		duration: 700,
		autolink: 'menu3'
	});
});
*/

