function setvars() {
	x = 0;
	if (document.layers) { //NS 4.x
		doc="document.";
		stl="";
		tp=".top=";
		toppos="window.pageYOffset";
	}
	else {
		if (document.all) { // IE, Opera
			doc="";
			stl=".style";
			tp=".pixelTop=";
			toppos="document.body.scrollTop";
		}
		else {
			if (document.getElementById) { //NN7, Mozilla
				doc="document.getElementById('";
				stl = "').style.position='fixed'";
				tp = "";
				toppos = "";
				x = 1;
			}
		}
	}
}


function movemenu() {
	divid="floating";
	if (document.getElementById && x == 1) {
		eval(doc+divid+stl);
	}
	else {
	currentpos=eval(toppos);
	//alert (doc+divid+stl+tp+currentpos); 
	eval(doc+divid+stl+tp+currentpos); 
	setTimeout("movemenu()",10);
	}
} 


function fnHide(oToHide){
//tempo di ritardo nell'apparizione
   window.setTimeout("fnHide2(" + oToHide.id + ")", 2000);
}
function fnHide2(sID){
   var o = eval(sID);
   o.style.display="block";
   doFilter(o.id);

}



function doFilter(sID){
   var o = eval(sID);
// decide l'opacità finale della finestrella che deve essere uguale al data1.htm etc
	if (o.filters.item("alpha").opacity < 80) {
		o.filters.item("alpha").opacity +=5;
		setTimeout("doFilter(" + o.id + ")",50);
	}
}



/*

          Tips & Tricks

             1: Adjust the "function menudata0()" numeric id in the statement below to match the numeric id of
                the id='imenus0' statement within the menu structure and links section above.  The numbers must 
                match for the menu to work, multiple menus may be used on a single page by adding new sections 
                with new id's.

             2: To specifically define settings for an individual item or container, apply classes or inline styles
                directly to the UL and A tags in the HTML tags which define your menus structure and links above.

             3: Use the parameter options below to define borders and padding.  Borders and padding specified
                within the menus HTML structure may cause positioning and actual sizing to be offset a bit in
                some browsers.

             4: Padding values in sequence apply to the top, right, bottom, and left edges in that order.
 
*/

/*-------------------------------------------------
************* Parameter Settings ******************
---------------------------------------------------*/


function menudata0()
{
	
	

    /*---------------------------------------------
    Expand Icon Images
    ---------------------------------------------*/


    //Expand Images are the icons which indicate an additional sub menu level.
	
  	this.main_expand_image_style = "background: url(Immagini/sub_arrow.gif) center right no-repeat;";
		this.main_expand_image_hover_style = "background: url(Immagini/High_sub_arrow.gif) center right no-repeat;";

			this.subs_expand_image_style = "background: url(Immagini/sub_arrow.gif) center right no-repeat;";
			this.subs_expand_image_hover_style = "background: url(Immagini/High_sub_arrow.gif) center right no-repeat;";



    /*---------------------------------------------
    Menu Container Settings
    ---------------------------------------------*/

	//Main Container

	   this.main_container_border_width = "0px"
           this.main_container_border_style = "solid"

           this.main_container_styles =   "background-color:#FC9351;			\
                                           border-color:#111111;		\
                                           PADDING-TOP: 1px;filter: alpha(Opacity=90);"


	//Sub Containers

           this.subs_container_padding = "0px, 10px, 0px, 10px"
           this.subs_container_border_width = "0px"
           this.subs_container_border_style = "solid"

           this.subs_container_styles =   "background-color:#FC9351;		\
                                           border-color:#111111;		\
                                           PADDING-TOP: 1px;filter: alpha(Opacity=90);"



    /*---------------------------------------------
    Menu Item Settings
    ---------------------------------------------*/


	//Main Items

           this.main_item_padding = "2px,5px,2px,5px"
                  
           this.main_item_styles =        "text-decoration:none;		\
                                           font-weight:normal;			\
                                           font-family:Arial;			\
                                           font-size:12px;			\
                                           background-color:transparent;	\
                                           color:#000000;			\
                                           border-style:none;			\
                                           text-align:center;			\
                                           border-style:none;			\
                                           border-color:#000000;		\
                                           border-left: #FC9351 3px solid;"
					   


           this.main_item_hover_styles =  "background-color:transparent;	\
                                           text-decoration:none;		\
                                           color:#fdfaab;						\
                                           border-left: #fdfaab 3px solid;"

           this.main_item_active_styles = "background-color:transparent;		\
                                           text-decoration:normal;		\
                                           color:#ffffff;"



	//Sub Items

           this.subs_item_padding = "2px,5px,2px,5px"
           
           this.subs_item_styles =        "text-decoration:none;		\
                                           font-face:Arial;			\
                                           font-size:12px;			\
                                           font-weight:normal;			\
                                           background-color:transparent;	\
                                           color:#111111;			\
                                           border-style:none;			\
                                           text-align:left;			\
                                           border-style:none;			\
                                           border-color:#000000;		\
                                           border-left: #FC9351 3px solid;"	

           this.subs_item_hover_styles =  "background-color:transparent;\
                                           text-decoration:none;\
                                           color:#fdfaab;						\
                                           border-left: #fdfaab 3px solid;"

           this.subs_item_active_styles = "background-color:#ffffff;		\
                                           color:#255585;"




   /*---------------------------------------------
    Additional Setting
    ---------------------------------------------*/


        //Main Menu Orientation

           this.main_is_horizontal = false;
	

        //Main Menu Item Widths 

            this.main_item_width = 120;			//default width for all items

           //this.main_item_width0 = 100;		//optional specific width for the first menu item
           //this.main_item_width1 = 100;		//optional specific width for the second menu item...
           //this.main_item_width2 = 100;		//optional specific width for the second menu item...

        //The mouse off and mouse over delay for sub menus

           this.menu_showhide_delay = 150;

}

<!--********************************** End Parameter Settings & Code **************************************-->


