$(document).ready(function () {

if(jQuery().easyAccordion)
{
	$('#slider').easyAccordion({ 
			autoStart: true, 
			slideInterval: 3000,
			slideNum:false,
			animationSpeed: 1000
	});
}

if(jQuery().tableOfContents)
{
	$("#toc").tableOfContents($("#text"),
		{
			startLevel: 2, //#h2
			depth:      1 //#h2 only
		}						  
	);
}

if(jQuery().validate)
{
	$('form#mailinglist').validate({
		errorElement: 'span'
	});
}
	
});
