var x;
x=$(document);
x.ready(EfectoContenido);
x.ready(EfectoMenu);

function EfectoContenido ()
{
   $("a").each(function ()
		{
		var href = $(this).attr("HREF");
		$(".containerC").hide("slow", loaditems);
		$(".load").remove();
		$(".carga").append('<DIV CLASS="load"></DIV>');
		$(".load").show('normal');
		function loaditems()
		{
			$(".containerC").show("slow", hideLoader, href);
		}
		function hideLoader()
		{
			$(".load").hide("normal");
		}
		return false;
	});
}

function EfectoMenu()
{
$("ul span").css("opacity","0");
$("ul span").hover(function () {
		$(this).stop().animate({
			opacity: 1
		}, 'slow');
		},
		function () {
			$(this).stop().animate({
				opacity: 0
			}, 'slow');
		});
}

