jQuery(document).ready(function() {
  	//When page loads...
  	jQuery(".tab-news_content").hide(); //Hide all content
  	jQuery("ul.tabs-news li:first").addClass("active").show(); //Activate first tab
  	jQuery(".tab-news_content:first").show(); //Show first tab content
  	
  
  	//On Click Event
  	jQuery("ul.tabs-news li").click(function() {
  
  		jQuery("ul.tabs-news li").removeClass("active"); //Remove any "active" class
  		jQuery(this).addClass("active"); //Add "active" class to selected tab
  		jQuery(".tab-news_content").hide(); //Hide all tab content
  
  		var activeTab = jQuery(this).find("a").attr("href"); //Find the href attribute value to identify the active tab + content
  		jQuery(activeTab).fadeIn(); //Fade in the active ID content
  		return false;
	 });
  });

  jQuery(document).ready(function() {
  	//When page loads...
  	jQuery(".tab-ozoon_tehnicne").hide(); //Hide all content
  	jQuery("ul.tabs-ozoon_tehnicne li:first").addClass("active").show(); //Activate first tab
  	jQuery(".tab-ozoon_tehnicne:first").show(); //Show first tab content
  	
  
  	//On Click Event
  	jQuery("ul.tabs-ozoon_tehnicne li").click(function() {
  
  		jQuery("ul.tabs-ozoon_tehnicne li").removeClass("active"); //Remove any "active" class
  		jQuery(this).addClass("active"); //Add "active" class to selected tab
  		jQuery(".tab-ozoon_tehnicne").hide(); //Hide all tab content
  
  		var activeTab = jQuery(this).find("a").attr("href"); //Find the href attribute value to identify the active tab + content
  		jQuery(activeTab).fadeIn(); //Fade in the active ID content
  		return false;
	 });
  });

  jQuery(document).ready(function() {
  	//When page loads...
  	jQuery(".tab-ozoonled_tehnicne").hide(); //Hide all content
  	jQuery("ul.tabs-ozoonled_tehnicne li:first").addClass("active").show(); //Activate first tab
  	jQuery(".tab-ozoonled_tehnicne:first").show(); //Show first tab content
  	
  
  	//On Click Event
  	jQuery("ul.tabs-ozoonled_tehnicne li").click(function() {
  
  		jQuery("ul.tabs-ozoonled_tehnicne li").removeClass("active"); //Remove any "active" class
  		jQuery(this).addClass("active"); //Add "active" class to selected tab
  		jQuery(".tab-ozoonled_tehnicne").hide(); //Hide all tab content
  
  		var activeTab = jQuery(this).find("a").attr("href"); //Find the href attribute value to identify the active tab + content
  		jQuery(activeTab).fadeIn(); //Fade in the active ID content
  		return false;
	 });
  });

  jQuery(document).ready(function() {
  	//When page loads...
  	jQuery(".tab-ref").hide(); //Hide all content
  	jQuery("ul.tabs-ref li:first").addClass("active").show(); //Activate first tab
  	jQuery(".tab-ref:first").show(); //Show first tab content
  	
  
  	//On Click Event
  	jQuery("ul.tabs-ref li").click(function() {
  
  		jQuery("ul.tabs-ref li").removeClass("active"); //Remove any "active" class
  		jQuery(this).addClass("active"); //Add "active" class to selected tab
  		jQuery(".tab-ref").hide(); //Hide all tab content
  
  		var activeTab = jQuery(this).find("a").attr("href"); //Find the href attribute value to identify the active tab + content
  		jQuery(activeTab).fadeIn(); //Fade in the active ID content
  		return false;
	 });
  });
