$(function() {
	
	//$("#work_acc").tabs(".pane", {tabs: '.pane_btn', effect: 'slide'});
	
	$("div.frontpage_article_tabs").tabs(".frontpage_article_panes > div.frontpage_article_pane", {
 
		// enable "cross-fading" effect
		effect: 'fade',
		fadeOutSpeed: "slow", 
 
		// start from the beginning after the last tab
		rotate: true
 
	// use the slideshow plugin. It accepts its own configuration
	}).slideshow({autoplay:true, interval: 4000, autopause: true, clickable: false});
	//}).slideshow(); 

	
	$("#intro_slide a").fadeTo(1000, 0.0);
						$("#intro_slide a").hover(function(){
							$(this).fadeTo(1000, 1.0); 
						},function(){
						$(this).fadeTo(1000, 0.0); 
					});
						
//	$("#header_pasica a").fadeTo(1000, 0.0);
//						$("#header_pasica a").hover(function(){
//							$(this).fadeTo(1000, 1.0); 
//						},function(){
//						$(this).fadeTo(1000, 0.0); 
//					});
	
	$(".logotip a").fadeTo(1000, 0.0);
						$(".logotip a").hover(function(){
							$(this).fadeTo(1000, 1.0); 
						},function(){
						$(this).fadeTo(1000, 0.0); 
					});
						
	$(".logotip2 a").fadeTo(1000, 0.0);
						$(".logotip2 a").hover(function(){
							$(this).fadeTo(1000, 1.0); 
						},function(){
						$(this).fadeTo(1000, 0.0); 
					});			
						
	$(".logotip3 a").fadeTo(500, 0.0);
						$(".logotip3 a").hover(function(){
							$(this).fadeTo(500, 1.0); 
						},function(){
						$(this).fadeTo(500, 0.0); 
					});
	
});
