$(document).ready(function(){	
						   
	$("#slider").jCarouselLite({  
		vertical: false,  
		visible: 1,  
		auto:3000,  
		speed:2000  
	});  
	
	$('ul.sf-menu').superfish({ 
		delay:       1000,                            // one second delay on mouseout 
		animation:   {opacity:'show',height:'show'},  // fade-in and slide-down animation 
		speed:       'normal',                          // faster animation speed 
		autoArrows:  true,                           // disable generation of arrow mark-up 
		dropShadows: true                            // disable drop shadows 
	}); 
	
	$(".colorbox_iframe").colorbox({iframe:true, width:600, height:400});
	
//Treeviews
	$("#navigation").treeview({
		animated: "fast",
		persist: "location",
		collapsed: true,
		unique: true
	});	
	
// Accordion
	$(".accordion h3").eq(0).addClass("active");
	$(".accordion .accor_content").eq(0).show();

	$(".accordion h3").click(function(){
		$(this).next(".accor_content").slideToggle("slow")
		.siblings(".accor_content:visible").slideUp("slow");
		$(this).toggleClass("active");
		$(this).siblings("h3").removeClass("active");
	});

});
