window.addEvent('domready', function() { var scroll = new Fx.Scroll('container', { wait: false, duration: 700, offset: {'x': -273, 'y': -52}, transition: Fx.Transitions.Quad.easeInOut }); $$('a[href^="#"]').addEvent('click', function(e) { new Event(e).stop(); scroll.toElement($E(this.getProperty('href'))); }); });

function ApriFinGioco(){  		
	larghFin="750"
	altFin="420"
	FinGioco=window.open("prj/05_alice/gioco.htm","FinGioco","width="+larghFin+", height="+altFin+", left="+((screen.availWidth-larghFin)/ 2)+",top="+((screen.availHeight - altFin) / 2)+",resizable=no,scrollbars=no,toolbar=no,location=no,status=no");
	window.FinGioco.focus();
 }
 
function vedImg(anno, prog, este) {  	
var img = null;
var ogg = anno + "_" + prog;
var ind = "prj/" + ogg + "/" + prog + "_" + este;
if( document.getElementById ) {
	ogg = ogg + "Img";
	img = document.getElementById( ogg );
	} else if( document.all ) {
	img = document.all[ ogg ];
	}
if( img ) {
	img.src = ind;
	}
}
