	$(document).ready(function(){ 
		/* slider */
		$("#content_slider").scrollable().circular().autoscroll({ 
		    autoplay: true,
		    interval: 8000
		});
		
		/* Top Menu soft hover */
		$("#menu .page_item").hover(function(){
			$(this).stop().animate({borderBottomColor: "#e30044" });
		},function(){
			$(this).animate({borderBottomColor: "#000000" });
		});
		
		/* --------------- sidetabs soft hover --------------- */
		
		/* first animation to overwrite css values */
		if ($(".page-item-844").is('.current_page_item')){
		}else{
			$(".page-item-844 a").stop().animate({backgroundPosition:"12px 0px"});
		}
		/* hover function */
		$("#sidetabs .page-item-844 a").hover(function(){
			$(this).stop().animate({backgroundPosition:"0px 0px"});
		},function(){
			if ($(".page-item-844").is('.current_page_item')){
			}else{
				$(this).stop().animate({backgroundPosition:"12px 0px"});
			}
		});
		
		/* first animation to overwrite css values */
		if ($(".page-item-848").is('.current_page_item')){
		}else{
			$("#sidetabs .page-item-848 a").stop().animate({backgroundPosition:"12px -100px"});
		}
		/* hover function */
		$(".page-item-848 a").hover(function(){
			$(this).stop().animate({backgroundPosition:"0px -100px"});
		},function(){
			if ($(".page-item-848").is('.current_page_item')){
			}else{
				$(this).stop().animate({backgroundPosition:"12px -100px"});
			}
		});
		
		/* first animation to overwrite css values */
		if ($(".page-item-850").is('.current_page_item')){
		}else{
			$(".page-item-850 a").stop().animate({backgroundPosition:"12px -200px"});
		}
		/* hover function */
		$("#sidetabs .page-item-850 a").hover(function(){
			$(this).stop().animate({backgroundPosition:"0px -200px"});
		},function(){
			if ($(".page-item-850").is('.current_page_item')){
			}else{
				$(this).stop().animate({backgroundPosition:"12px -200px"});
			}
		});
		
		/* footer logos soft hover */
		$("#footer img").animate({opacity:"0.4"});
		
		$("#footer img").hover(function(){
			$(this).stop().animate({opacity:"0.9"});
		},function(){
			$(this).stop().animate({opacity:"0.4"});			
		});
	});