function centraContenuto(){


	// if(Stage["displayState"] == "fullScreen") {alert("");}


	var scrolledX = document.body.scrollLeft || document.documentElement.scrollLeft || self.pageXOffset;
	var scrolledY = document.body.scrollTop || document.documentElement.scrollTop || self.pageYOffset;

	var screenWidth = document.body.clientWidth || document.documentElement.clientWidth || self.innerWidth;
	var screenHeight = document.body.clientHeight || document.documentElement.clientHeight || self.innerHeight;
	
	var contenitore = document.getElementById("contenitore");
	
	var initX = ( screenWidth - 1010 ) / 2;
	var initY = ( screenHeight - 680 ) / 2;
	
	contenitore.style.position = "absolute";
	contenitore.style.left = initX + "px";
	if (initY > 0 ){
		contenitore.style.top = initY + "px";
	}else{
		contenitore.style.top = "0px";
	}
	contenitore.style.visibility = "visible";

	var sfondo = document.getElementById("sfondo");
	var larghezzaImg = 2200;
	var altezzaImg = 1558;
	
	initX = ((screenWidth - larghezzaImg) / 2 ) + "px";
	initY = ((screenHeight - altezzaImg ) / 2 ) + "px";
	
	var a = document.body.clientWidth;
	var b = (document.documentElement.clientHeight ? document.documentElement.clientHeight : document.body.clientWidth) + 20;
	var c = document.getElementById("bigContenitore");

	var scrolledX = document.body.scrollLeft || document.documentElement.scrollLeft || self.pageXOffset;
	var scrolledY = document.body.scrollTop || document.documentElement.scrollTop || self.pageYOffset;

	var screenWidth = document.body.clientWidth || document.documentElement.clientWidth || self.innerWidth;
	var screenHeight = document.body.clientHeight || document.documentElement.clientHeight || self.innerHeight;
	
	var totalBox = screenHeight + scrolledY + 100;
	
	//alert("|totalBox: "+totalBox+"px|");
	
	//alert(screenHeight);
	
	c.style.width = a + "px";
	c.style.height = screenHeight + scrolledY + "px";
	
	c.style.overflow = "hidden";
	var d = ((document.body.offsetWidth - 2200) / 2 ) + 25;
	var e = ((document.body.offsetHeight - 1538) / 2 ) + 25;

	c.style.backgroundPosition = d + "px " + e + "px";


	//prova();
	
	//sfondo.style.marginLeft = initX;
	//sfondo.style.marginTop = initY;

	//sfondo.style.visibility = "visible";
}