
$(document).ready(function(){


//$("#box_shoutbox p:odd").css("background-color", "#2a0404");

/* Ver Servidores */
$('#b_servidor a')
		.click(function() {
  		var producto = $(this).attr("name");
		$(this).attr("href","#");
		$("#detallesservidor").load(producto);
		
		$("#detallesservidor").slideDown("slow");
	    });
	  
	$("#addservidores").click(function(){
		$("#box_addservidores").show("slow");
	}); 	  

	$("#detallesservidor").click(function(){
		$(this).slideUp("slow");
	}); 

//	# Hover imagenes home

	$("#boxes img").mouseover(function(){
		$(this).addClass("hover");
	}); 

	$("#boxes img").mouseout(function(){
		$(this).removeClass("hover");
	}); 
	
//  # Show Boxes
$("#link_youtube").toggle(function(){
	$("#box_youtube").fadeIn("slow", 0.5);
},function(){
  $("#box_youtube").hide("slow");
}); 


$("#linkchat").toggle(function(){
	$("#box_chat").fadeIn("slow", 0.5);
},function(){
  $("#box_chat").hide("slow");
}); 


$("#linkdownload").toggle(function(){
	$("#box_download").fadeIn("slow", 0.5);
},function(){
  $("#box_download").hide("slow");
}); 

$(document).ready( function(){ 
	$('#news').innerfade({ animationtype: 'slide', speed: 750, timeout: 2000, type: 'random', containerheight: '1em' });
	 $('#imghome').innerfade({ speed: 'slow', timeout: 4000, type: 'sequence', containerheight: '220px' }); 
	 $('.fade').innerfade({ speed: 'slow', timeout: 1000, type: 'sequence', containerheight: '1.5em' }); } );


}); 
