﻿function visualizza(id){  if (document.getElementById){    if(document.getElementById(id).style.display == 'none' ||    document.getElementById(id).style.display == ''){      document.getElementById(id).style.display = 'block';    }else{      document.getElementById(id).style.display = 'none';    }  }}/*----------------------menu----------------------------------------------*/object1TopInizio = 230object1TopDopo = 10function setVariables() {	if (navigator.appName == "Netscape") {		if (parseInt(navigator.appVersion) >= 5) {			v=".top=";			dS="document.getElementById(\"";			sD="\").style";			y="window.pageYOffset";		} else {			v=".top=";			dS="document.";			sD="";			y="window.pageYOffset";		}	} else {		v=".pixelTop=";		dS="";		sD=".style";		y="document.body.scrollTop";	}	checkLocationA()}movey=0,ydiff=0,ystart=0function checkLocation() {	object="object1";	yy=eval(y);	ydiff=ystart-yy;	if ((ydiff<(-1))||(ydiff>(1)))		movey=Math.round(ydiff/10),ystart-=movey	if (ystart>=object1TopInizio) {		eval(dS+object+sD+v+(ystart+object1TopDopo));	} else {		eval(dS+object+sD+v+object1TopInizio);	}	setTimeout("checkLocation()",10);}function checkLocationA() {	ystart=eval(y);}window.onload="javascript:setVariables(); checkLocation();"/*----------------------fine menu----------------------------------------------*/
