		$("#menu_cont dt a").mouseout(function(){	
		id=$(this).attr("id");
		id=id.replace("nav_","");
		id=id.replace("_act","");		
		$(this).removeClass("nav_"+id+"_hover");						
	});
	

	$("#menu_cont dt a").mouseover(function(){	
		x=$(this).attr("id");
		x=x.replace("nav_","");
		x=x.replace("_act","");	
		$(this).addClass('nav_'+x+'_hover');						
		$("#sub_5").hide();
		$("#sub_6").hide();
		$("#sub_7").hide();
		$("#sub_8").hide();		
		$("#sub_9").hide();
		$("#sub_10").hide();				
		$("#sub_11").hide();		
		$("#sub_"+x).show();
		
	});	
		
	$("#content, #header").mouseover(function(){
		$("#sub_5").hide();
		$("#sub_6").hide();
		$("#sub_7").hide();		
		$("#sub_8").hide();		
		$("#sub_9").hide();
		$("#sub_10").hide();						 	
		$("#sub_11").hide();		
		$('.submenu_activo').show();
	});


	
$("#pallevar").click(function(){
$("#exllevar").fadeIn();
return false;
});
$("body").click(function(){
$("#exllevar").fadeOut();					
});
tb_init('a.thickbox');
	imgLoader = new Image();
	imgLoader.src = tb_pathToImage;

$(".toggleIt").click(function(){ 
$(".toggleEnviaramigo").toggle();
return false;
});	
$(".toggleso").click(function(){
i = $(this.parentNode).find(".enviamigo");
$(i).show();
return false;
});
$(".toggleso").click(function(){
i = $(this.parentNode.parentNode).find(".enviamigoop");
$(i).show();
return false;
});
$(".toggleso").click(function(){
i = $(this.parentNode.parentNode).find(".enviamigoop2");
$(i).show();
return false;
});
$(".cerrar , .cerrarNT").click(function(){
$(".popup_reporte").hide();	
$(".enviamigo").hide();
$(".enviamigoop").hide();
$(".enviamigoop2").hide();
return false;
});