   $(document).ready(function(){  
       function init(){
		   $("#sectionContentWideThree div.contentfaq").hide(); 
		   $("#sectionContentWideThree div.content").hide(); 
		   $("#sectionContentWideThree div.active").show();
 			/*
 			$("div.more").hide();
		   $("a.more").html("+info");
		   */
		   
		   
	   }
	   
     // When a link is clicked  
     $("#packagesVideos a.tab").click(function () {  
         // switch all tabs off  
         $("#packagesVideos .active").removeClass("active");  
           
         // switch this tab on  
         $(this).addClass("active");  
           
		   
		   
         // slide all elements with the class 'content' up  
         $("#packagesVideos .content").hide();  
           
         // Now figure out what the 'title' attribute value is and find the element with that id.  Then slide that down.  
         var content_show = $(this).attr("title");  
         $("#"+content_show).show();  
         return false;
     });  
	 
     $("#packagesFaq a.tab").click(function () {   
         // switch all tabs off  
         $("#packagesFaq .active").removeClass("active");  
           
         // switch this tab on  
         $(this).addClass("active");  
           
         // slide all elements with the class 'content' up  
         $("#packagesFaq .contentfaq").hide();  
           
         // Now figure out what the 'title' attribute value is and find the element with that id.  Then slide that down.  
         var content_show = $(this).attr("title");  
         $("#"+content_show).show();  
         return false;
     }); 
	 
	 $('a.more').click(function (){
		
		var detail_show = $(this).attr("title");  
		
		//FIXMEOjo URL relativa----
		if($("#"+detail_show).css('display') == 'none'){
			$(this).css("background-image","url(http://resources.motogp.com/files/imagesweb/subscribe/detail_info_close.png)");
		}else{
			$(this).css("background-image","url(http://resources.motogp.com/files/imagesweb/subscribe/detail_info_open.png)");
			
		}
		$("#"+detail_show).toggle(200);; 
		return false;
	 });
	 
	 
   	$(init);
   });  
	
		
