
	var flashWidth = 1097;
	var flashHeight = 718;
	var logotypeHeight = 94;
	var ratioTop = 30;
	var ratioLeft = 20;
	
	function recolocateContent ()
	{
		var flashContent = document.getElementById("flashContent");

		var navigatorCenterWidth = (parseInt(document.body.offsetWidth) / 2);
		var navigatorCenterHeight = (parseInt(document.body.offsetHeight) / 2);
		
		var logotypeImage = document.getElementById("logotypeImage");
		
		if (parseInt(document.body.offsetHeight) > 832)
		{
			logotypeImage.style.display = "inline";
		}
		else
		{
			logotypeImage.style.display = "none";
		}

		flashContent.style.top = navigatorCenterHeight - parseInt(flashHeight / 2) + ratioTop + "px";
		flashContent.style.left = navigatorCenterWidth - parseInt(flashWidth / 2) + (-ratioLeft) + "px";
		
		logotypeImage.style.top = parseInt(flashContent.style.top) - parseInt(logotypeImage.height) - 25 + "px";
		logotypeImage.style.left = navigatorCenterWidth - (parseInt(logotypeImage.width) / 2) + "px";
		
		var menuDiv = document.getElementById("menuContainer");
		if (menuDiv)
		{
			menuDiv.style.left = parseInt(flashContent.style.left) + 200 + "px";
			menuDiv.style.top = parseInt(flashContent.style.top) + 140 + "px";
		}
		
/*
		var menuBanner = document.getElementById("banner_menu");
		if (menuBanner)
		{
			menuBanner.style.left = parseInt(flashContent.style.left) + 800 + "px";
			menuBanner.style.top = parseInt(flashContent.style.top) + 165 + "px";
		}
*/
		
		var palmares_menu = document.getElementById("palmares_menu");
		
		if (palmares_menu)
		{
			palmares_menu.style.left = parseInt(flashContent.style.left) + 805 + "px";
			palmares_menu.style.top = parseInt(flashContent.style.top) + 155 + "px";
		}
		
		
		var imagenes_galeria = document.getElementById("imagenes-galeria");
		if(imagenes_galeria) {
			palmares_menu.style.display = "none";
			imagenes_galeria.style.left = parseInt(flashContent.style.left) + 735 + "px";
			imagenes_galeria.style.top = parseInt(flashContent.style.top) + 165 + "px";
			imagenes_galeria.style.display = "none";
		}		
		

		var contentWeb = document.getElementById("webContent");
		if (contentWeb)
		{
			contentWeb.style.left = parseInt(flashContent.style.left) + 403 + "px";
			contentWeb.style.top = parseInt(flashContent.style.top) + 210 + "px";
		}
	}
	
	LIB_events.addDynamicEvent(window,"resize","recolocateContent")