var schedaCaricata = "";function fx_mostraScheda(idOggetto)	{		//Se è la stessa non fare niente	if (schedaCaricata == idOggetto) {		return false;	} else	{				if(schedaCaricata != ""){dropoutScheda();}		schedaCaricata = idOggetto;		popupScheda();	}		function popupScheda()	{		new Effect.Appear(schedaCaricata, {			delay: 0.4,			duration: 0.3		});	}		function dropoutScheda()	{		new Effect.DropOut(schedaCaricata, {			duration: 0.3		});	}		return true;}function fx_doSplash()	{		fx_popupSplash();	fx_dropoutSplash();	fx_popupMenu();		function fx_popupSplash()	{		objSx = document.getElementById("js_splash");				new Effect.Appear("js_splash", {			from: 0, 			to: 0.9, 			duration: 0.3, 			delay: 1.0		});	}		function fx_dropoutSplash()	{		objSx = document.getElementById("js_splash");				new Effect.Fade("js_splash", {			from: 0.9,			to: 0,			duration: 0.3, 			delay: 2.7		});	}		function fx_popupMenu()	{		objSx = document.getElementById("sx");				new Effect.Appear("sx", {			from: 0, 			to: 1, 			duration: 0.4, 			delay: 4.3		});				/*new Effect.Grow(objSx, {			direction: "center",			duration: 0.8,			delay: 1.0		});*/	}}function fx_setFxMenu() {		objMenu = document.getElementById("js_menu");	vociMenu = objMenu.childNodes;		for (indice in vociMenu) {		vociMenu[indice].onmouseover = fx_menuOver;		vociMenu[indice].onmouseout = fx_menuOut;	}    	return false;}function fx_menuOver() {	oggetto = this.getElementsByTagName("span")[0];	//new Effect.Appear(oggetto, {duration: 0.1, queue:{scope:'scope1', position:'end', limit: 4}});	oggetto.style.display = "inline";	return false;}function fx_menuOut() {	oggetto = this.getElementsByTagName("span")[0];	//new Effect.Fade(oggetto, {duration: 0.1, delay: 1.5, queue:{scope:'scope2', position:'end', limit: 4}});	oggetto.style.display = "none";	return false;}function fx_centraElemento(idOggetto, percentuale) {	oggetto = document.getElementById(idOggetto);	altezzaOggetto = oggetto.style.height;		posizione = parseInt(((window.innerHeight*percentuale) / 100) - altezzaOggetto) + "px";			new Effect.Morph(oggetto, { 		style: 'top: ' + posizione, // CSS Properties  		duration: 0.8,		transition:Effect.Transitions.sinoidal	});	}function fx_styleSwitcher() {        var objStyleswitcher = document.getElementById("js_styleswitcher");	var imgPreview = objStyleswitcher.getElementsByTagName("img");		//var imgPreview		for (indice in imgPreview) {		imgPreview[indice].onmouseover = fx_growPreview;		imgPreview[indice].onmouseout = fx_shrinkPreview;	}        function fx_growPreview() {    	new Effect.Morph(this, { 		style: "width: 44px; height: 44px;",  		duration: 0.2,		queue:{scope:'scopePreviewGrow', position:'end'}		});				return false;    }		function fx_shrinkPreview() {    	new Effect.Morph(this, { 			style: "width: 28px; height: 28px;",   			duration: 0.2,			queue:{scope:'scopePreviewShrink', position:'end'}		});				return false;    }		return false;	 } function fx_writeFooter()	{	 	 elementi = getElementsByClass("js_footer");	 	 for (indice in elementi) {		 addText(elementi[indice]);	 }	 	 function addText(oggetto)	{		 oggetto.innerHTML = "<span>fabiobrusadin.com</span> 2009-10 | <a rel='license' href='http://creativecommons.org/licenses/by-nc-nd/2.5/it/'>Some Rights Reserved</a>"	 }	 	  }