function update_scroll()
{
	if($("#bloque1").height() > $("#footer").position().top - $("#logos").height())
	{
		$("#wrap").css({"min-height": $("#bloque1").height() +180});
	}
	else
	{
		$("#wrap").css({"min-height": $("#footer").position().top - $("#logos").height() + $("#footer").height() + 200});
	}
	
}
