
/*
 Milonic DHTML Menu
 Written by Andy Woolley
 Copyright 2002 (c) Milonic Solutions. All Rights Reserved.
 Plase vist http://www.milonic.co.uk/menu or e-mail menu3@milonic.com
 You may use this menu on your web site free of charge as long as you place prominent links to http://www.milonic.co.uk/menu and
 your inform us of your intentions with your URL AND ALL copyright notices remain in place in all files including your home page
 Comercial support contracts are available on request if you cannot comply with the above rules.

 Please note that major changes to this file have been made and is not compatible with earlier versions..

 You no longer need to number your menus as in previous versions.
 The new menu structure allows you to name the menu instead. This means that you can remove menus and not break the system.
 The structure should also be much easier to modify, add & remove menus and menu items.

 If you are having difficulty with the menu please read the FAQ at http://www.milonic.co.uk/menu/faq.php before contacting us.

 Please note that the above text CAN be erased if you wish as long as copyright notices remain in place.
*/

//The following line is critical for menu operation, and MUST APPEAR ONLY ONCE.
menunum=0;

menus=new Array();

_d=document;

function addmenu()
{
menunum++;
menus[menunum]=menu;
}

function dumpmenus()
{
mt="<script language=JavaScript>";
for(a=1;a<menus.length;a++)
{mt+=" menu"+a+"=menus["+a+"];"}mt+="<\/script>";
_d.write(mt)
}
//Please leave the above line intact. The above also needs to be enabled if it not already enabled unless you have more than one _array.js file

////////////////////////////////////
// Editable properties START here //
////////////////////////////////////

timegap=500                   // The time delay for menus to remain visible
followspeed=5                 // Follow Scrolling speed
followrate=50                 // Follow Scrolling Rate
suboffset_top=5               // Sub menu offset Top position
suboffset_left=10             // Sub menu offset Left position

ScrollingSampStyle=[          // ScrollingSampStyle is an array of properties. You can have as many property arrays as you need
"0000ff",                     // Mouse Off Font Color
"ffffff",                     // Mouse Off Background Color (use zero for transparent in Netscape 6)
"FFFFFF",                     // Mouse On Font Color
"0000ff",                     // Mouse On Background Color
"0000ff",                     // Menu Border Color
"12",                         // Font Size (default is px but you can specify mm, pt or a percentage)
"normal",                     // Font Style (italic or normal)
"bold",                     // Font Weight (bold or normal)
"verdana,comic sans ms,helvetica",// Font Name
3,                            // Menu Item Padding or spacing
,                             // Sub Menu Image (Leave this blank if not needed)
0,                            // 3D Border & Separator bar
,                             // 3D High Color
,                             // 3D Low Color
,                             // Current Page Item Font Color (leave this blank to disable)
,                             // Current Page Item Background Color (leave this blank to disable)
,                             // Top Bar image (Leave this blank to disable)
,                             // Menu Header Font Color (Leave blank if headers are not needed)
,                             // Menu Header Background Color (Leave blank if headers are not needed)
,                             // Menu Item Separator Color
]

addmenu(menu=[
"MenuPrincipale",		//Nome del Menů					-	E' necessario per chiamare il menu
0,						//Menů TOP						-	La posizione TOP del menů in pixel
,						//Menů LEFT						-	La posizione LEFT
80,						//Menů WIDTH					-	La larghezza del menů in pixel 
1,						//Menů BORDER WIDTH				-	Ampiezza del bordo del menů in pixel
"left",				//Posizione nello schermo		-	Si puň usare "center;left;right;middle;top;button" o una combinazione di "center:middle"
ScrollingSampStyle,		//Array di proprietŕ			-	E' dichiarato nelle righe precedenti
1,						//Sempre Visibile				-	1=on o 0=off				
"Center",				//Allineamento					-	imposta l'allineamento degli elementi del menů - left:center:right
"Fade(duration=0.2);Shadow(color=777777, Direction=135, Strength=5)",//Filtro	-	Variabile testo per impostare gli effetti transazionali sull'attivazione del menů
1,						//Segue lo scrolling
1,						//Menů orizzontale=1 Menů verticale=0
0,						//Keep Alive
,						// Position of TOP sub image
,						// Set the Overall Width
0,						// Right To Left
0,						// Open the Menus OnClick
,						// ID of the div you want to hide on MouseOver
,						// Background image for menu
0,						// Scrollable Menu
,						// Reserved for future use
,"HOME","http://www.gruppocittadigenova.it/index.asp",,,1
,"Link","http://www.gruppocittadigenova.it/link.asp",,,1
])


addmenu(menu=[
"menusamples",
,
,
160,
1,
,
ScrollingSampStyle,
0,
,
"Fade(duration=0.2);Shadow(color=777777, Direction=135, Strength=5)",
1,
0,
0,
,
,
0,
0,
,
,
0,
,
,"Menus With Multiple Properties","menu/menusample.php?sampleid=1",,,1
,"Nice and Simple","menu/menusample.php?sampleid=1",,,1
,"Using Images","menu/menusample.php?sampleid=1",,,1
,"Following you as you scroll","menu/menusample.php?sampleid=1",,,1
,"Sub Menus All Around","menu/menusample.php?sampleid=1",,,1
,"Diferent Colored Menus","menu/menusample.php?sampleid=1",,,1
,"Always There","menu/menusample.php?sampleid=1",,,1
])


addmenu(menu=[
"HTMLStuff",
,
,
180,
1,
,
ScrollingSampStyle,
0,
,
"Fade(duration=0.2);Shadow(color=777777, Direction=135, Strength=5)",
0,
0,
0,
,
,
0,
0,
,
,
0,
,
,"ASCII Table","/html/ascii.php",,,1
,"Border around a table","/html/border.php",,,1
])


addmenu(menu=[
"DHTMLMenu",
,
,
75,
1,
,
ScrollingSampStyle,
0,
,
"Fade(duration=0.2);Shadow(color=777777, Direction=135, Strength=5)",
0,
0,
0,
,
,
0,
0,
,
,
0,
,
,"Home page","/menu",,,1
,"Samples","show-menu=menusamples","#",,1
,"FAQ","/menu/faq.php",,,1
])


addmenu(menu=[
"JavaScript",
,
,
135,
1,
,
ScrollingSampStyle,
0,
,
"Fade(duration=0.2);Shadow(color=777777, Direction=135, Strength=5)",
0,
0,
0,
,
,
0,
0,
,
,
0,
,
,"Catching That Mouse","/javascript/rightclick/",,,1
,"Getting Image Properties","/javascript/imagesize",,,1
,"Fancy Time Script","/javascript/time",,,1
,"Form Elements","/javascript/forms/elements.php",,,1
,"Banner Ads","/javascript/banners",,,1
,"Capture Screen Properties","/javascript/screen",,,1
,"Color Picker","/javascript/colorpicker",,,1
])




dumpmenus();
	