// JavaScript Document
$(document).ready(function (){
	$(window).load(function (){
		$("#loadDiv").css('opacity',1);
		$("#loadDiv").animate({width:297},1000);
		$("#contenido").css('opacity',1);
		$("#contenido").animate({width:297},1000);
		$("#fndgral").animate({opacity:1},1500, null,function(){
			$("#").animate({height:706,opacity:1},1500,null,function(){
				$("#loadDiv").animate({width:635,opacity:1},1500,null,function(){
					setTimeout(function(){$("#contenido").animate({opacity:.9},1500)},500);
				});
			});
		});
	});
	$(".ligaMenu").click(function(){
		resetContenedor(this);
		if($(this).attr('pantallaCompleta') == '1'){
			$("#loadDiv").animate({width:635},250);
			$("#contenido").animate({width:635},250);
		}
		else{
			$("#loadDiv").animate({width:297},250);
			$("#contenido").animate({width:297},250);
		}
	});
});

// UpContenedores menos el seleccionado
function resetContenedor(elemento){
}


