$(document).ready(function(){
// ad
	$tabs = $("#tab > ul")
//	.tabs({ fx: [null, { width: 'show' }] })
//	.tabs({ fx: { opacity: 'toggle', duration: 'fast' } })
//	.tabs({ fx: { width: 'toggle',  opacity: 'toggle',  duration: 'fast' } })
	.tabs({ fx: { width: 'toggle',  opacity: 'toggle',  duration: 'fast' } })	
  
	.tabs("rotate", 2500)
	.parent()
	.mouseover(function (){jQuery(this).find("> ul").tabs("rotate", null)})
	.mouseout(function (){jQuery(this).find("> ul").tabs("rotate", 2500)});
//tabs login
    $(".links_login").click(function(){
		$(".links_login").removeClass("active");						 
		$(".box_form_estrutura").hide();
		$("#"+this.id).addClass("active").parent().parent().find(".box_form_estrutura").show();;
	});
//rss blog
	jQuery.ajax({
	  url: "/modules/mod_jw_ucd/mod_jw_ucd/ajaxfader/ucd_content_ucd-instance.txt",
	  cache: false, 
	  beforeSend: function(){ jQuery("#rss_blog").text("Carregando") },
	  success: function(html){
		jQuery("#rss_blog").html(html);
	  }
	});

	jQuery.ajax({
	  url: "/modules/mod_jw_ucd/mod_jw_ucd/ajaxfader/ucd_content_ucd-instance2.txt",
	  cache: false, 
	  beforeSend: function(){ jQuery("#rss_produtos").text("Carregando") },
	  success: function(html){
		jQuery("#rss_produtos").html(html);
	  }
	});
});