
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);
}

if(navigator.appVersion.indexOf("MSIE 6.0")>0)
{
	effect = "Fade(duration=0.2);Alpha(style=0,opacity=100);Shadow(color='#777777', Direction=135, Strength=5)";
}
else
{
	effect = "Shadow(color='#777777', Direction=135, Strength=5)"; // Stop IE5.5 bug when using more than one filter
}
childEffect = "randomdissolve(duration=0.5);Shadow(color='#999999', Direction=135, Strength=5)";

timegap = 500;			// The time delay for menus to remain visible
followspeed = 5;			// Follow Scrolling speed
followrate = 40;			// Follow Scrolling Rate
suboffset_top = 0;		// Sub menu offset Top position 
suboffset_left = -1;	// Sub menu offset Left position

style1=[				// style1 is an array of properties. You can have as many property arrays as you need. This means that menus can have their own style.
"navy",					// Mouse Off Font Color
"transparent",			// Mouse Off Background Color
"ffebdc",				// Mouse On Font Color
"4b0082",				// Mouse On Background Color
,       				// Menu Border Color 
10,						// Font Size in pixels
"normal",				// Font Style (italic or normal)
"Bold",					// Font Weight (bold or normal)
"Verdana, Arial",		// Font Name
4,						// Menu Item Padding
"../images/arrow.gif",			// Sub Menu Image (Leave this blank if not needed)
,						// 3D Border & Separator bar
,						// 3D High Color
,						// 3D Low Color
"Purple",				// Current Page Item Font Color (leave this blank to disable)
,					    // Current Page Item Background Color (leave this blank to disable)
"../images/arrowdn.gif",			// Top Bar image (Leave this blank to disable)
"ffffff",				// Menu Header Font Color (Leave blank if headers are not needed)
"000099",				// Menu Header Background Color (Leave blank if headers are not needed)
];

style2=[				// style1 is an array of properties. You can have as many property arrays as you need. This means that menus can have their own style.
"navy",					// Mouse Off Font Color
"ccccff",				// Mouse Off Background Color
"ffebdc",				// Mouse On Font Color
"4b0082",				// Mouse On Background Color
,       				// Menu Border Color 
10,						// Font Size in pixels
"normal",				// Font Style (italic or normal)
"normal",					// Font Weight (bold or normal)
"Verdana, Arial",		// Font Name
4,						// Menu Item Padding
"../images/arrow.gif",			// Sub Menu Image (Leave this blank if not needed)
,						// 3D Border & Separator bar
"66ffff",				// 3D High Color
"000099",				// 3D Low Color
"Purple",				// Current Page Item Font Color (leave this blank to disable)
,					// Current Page Item Background Color (leave this blank to disable)
"../images/arrowdn.gif",			// Top Bar image (Leave this blank to disable)
"ffffff",				// Menu Header Font Color (Leave blank if headers are not needed)
"000099",				// Menu Header Background Color (Leave blank if headers are not needed)
];
