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 = "Shadow(color='#666666', Direction=135, Strength=3)";
} else {
  effect = "Shadow(color='#666666', Direction=135, Strength=3)"; // Stop IE5.5 bug when using more than one filter
}

timegap = 500;      // The time delay for menus to remain visible
followspeed = 5;    // Follow Scrolling speed
followrate = 40;    // Follow Scrolling Rate
suboffset_top = 4;  // Sub menu offset Top position
suboffset_left = 5; // Sub menu offset Left position
closeOnClick = true;

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.
"#f3f3f3",			// Mouse Off Font Color
"",                 // Mouse Off Background Color
"#ffffff",			// Mouse On Font Color
"",                 // Mouse On Background Color
"",					// Menu Border Color
11,					// Font Size in pixels
"normal",			// Font Style (italic or normal)
"normal",			// Font Weight (bold or normal)
"helvetica,verdana,arial",	// Font Name
1,					// Menu Item Padding
,					// Sub Menu Image (Leave this blank if not needed)
,					// 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)
]

style2 = [
"#666666",			// Mouse Off Font Color
"#f7f7f7",			// Mouse Off Background Color
"#C80225",			// Mouse On Font Color
"#f7f7f7",			// Mouse On Background Color
"#666666",			// Menu Border Color
11,					// Font Size in pixels
"normal",			// Font Style (italic or normal)
"normal",			// Font Weight (bold or normal)
"helvetica,verdana,arial",	// Font Name
2,					// Menu Item Padding
,					// Sub Menu Image (Leave this blank if not needed)
,					// 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)
]

addmenu(menu=[		// This is the array that contains your menu properties and details
"mainmenu",			// Menu Name - This is needed in order for the menu to be called
"128",				// Menu Top - The Top position of the menu in pixels
,					// Menu Left - The Left position of the menu in pixels
,					// Menu Width - Menus width in pixels
,					// Menu Border Width
"center",			// Screen Position - here you can use "center;left;right;middle;top;bottom" or a combination of "center:middle"
style1,				// Properties Array - this is set higher up, as above
1,					// Always Visible - allows the menu item to be visible at all time (1=on/0=off)
"left",				// Alignment - sets the menu elements text alignment, values valid here are: left, right or center
,					// Filter - Text variable for setting transitional effects on menu activation - see above for more info
,					// Follow Scrolling - Tells the menu item to follow the user down the screen (visible at all times) (1=on/0=off)
1, 					// Horizontal Menu - Tells the menu to become horizontal instead of top to bottom style (1=on/0=off)
,					// Keep Alive - Keeps the menu visible until the user moves over another menu or clicks elsewhere on the page (1=on/0=off)
,					// Position of TOP sub image left:center:right
,					// Set the Overall Width of Horizontal Menu to 100% and height to the specified amount (Leave blank to disable)
,					// Right To Left - Used in Hebrew for example. (1=on/0=off)
,					// Open the Menus OnClick - leave blank for OnMouseover (1=on/0=off)
,					// ID of the div you want to hide on MouseOver (useful for hiding form elements)
,					// Background image for menu when BGColor set to transparent.
,					// Scrollable Menu
,					// Reserved for future use
,"<nobr>&nbsp;<img src=\"/images/arrow1.gif\" border=\"0\" />&nbsp;Home&nbsp;</nobr>","show-menu=home","# swapimage=/images/arrow1_over.gif; offfunction=undefined;","Home",0		// "Description Text", "URL", "Alternate URL", "Status", "Separator Bar"
,"<nobr>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;","","","",0
,"<nobr>&nbsp;<img src=\"/images/arrow1.gif\" border=\"0\" />&nbsp;Aktuelles&nbsp;</nobr>","show-menu=aktuelles","# swapimage=/images/arrow1_over.gif; offfunction=undefined;","Aktuelles",0		// "Description Text", "URL", "Alternate URL", "Status", "Separator Bar"
,"<nobr>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;","","","",0
,"<nobr>&nbsp;<img src=\"/images/arrow1.gif\" border=\"0\" />&nbsp;Unternehmen&nbsp;</nobr>","show-menu=firmenprofil","# swapimage=/images/arrow1_over.gif; offfunction=undefined;","Unternehmen",0
,"<nobr>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;","","","",0
,"<nobr>&nbsp;<img src=\"/images/arrow1.gif\" border=\"0\" />&nbsp;Produkte&nbsp;</nobr>","show-menu=produkte","# swapimage=/images/arrow1_over.gif; offfunction=undefined;","Produkte",0
,"<nobr>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;","","","",0
,"<nobr>&nbsp;<img src=\"/images/arrow1.gif\" border=\"0\" />&nbsp;Kontakt&nbsp;</nobr>","show-menu=kontakt","# swapimage=/images/arrow1_over.gif; offfunction=undefined;","Kontakt",0
])

addmenu(menu=["home",,,60,1,"",style2,,"left",,,,,,,,,,,,,
,"<nobr>&nbsp;<img src=\"/images/arrow2.gif\" border=\"0\" />&nbsp;Home&nbsp;</nobr>","/start.php swapimage=/images/arrow2_over.gif; offfunction=undefined;",,"Home",0
,"<nobr>&nbsp;<img src=\"/images/arrow2.gif\" border=\"0\" />&nbsp;Intro&nbsp;</nobr>","/ swapimage=/images/arrow2_over.gif; offfunction=undefined;",,"Intro",0
])

addmenu(menu=["aktuelles",,,80,1,"",style2,,"left",,,,,,,,,,,,,
//,"<nobr>&nbsp;<img src=\"/images/arrow2.gif\" border=\"0\" />&nbsp;aktuelle News&nbsp;</nobr>","/ swapimage=/images/arrow2_over.gif; offfunction=undefined;",,"aktuelle News",0
,"<nobr>&nbsp;<img src=\"/images/arrow2.gif\" border=\"0\" />&nbsp;alle&nbsp;News&nbsp;</nobr>","/news/?nwaction=shownews&nwmode=archiv&showtopic=all swapimage=/images/arrow2_over.gif; offfunction=undefined;",,"News-Archiv",0
])

addmenu(menu=["firmenprofil",,,130,1,"",style2,,"left",,,,,,,,,,,,,
,"<nobr>&nbsp;<img src=\"/images/arrow2.gif\" border=\"0\" />&nbsp;Firmenprofil&nbsp;</nobr>","/firmenprofil.php swapimage=/images/arrow2_over.gif; offfunction=undefined;",,"Firmenprofil",0
,"<nobr>&nbsp;<img src=\"/images/arrow2.gif\" border=\"0\" />&nbsp;Qualitätsmanagement&nbsp;</nobr>","/qualitaet.php swapimage=/images/arrow2_over.gif; offfunction=undefined;",,"Qualitätsmanagement",0
])

addmenu(menu=["produkte",,,140,1,"",style2,,"left",,,,,,,,,,,,,
,"<nobr>&nbsp;<img src=\"/images/arrow2.gif\" border=\"0\" />&nbsp;Abstandhalter&nbsp;</nobr>","/produkte/abstandhalter.php swapimage=/images/arrow2_over.gif; offfunction=undefined;",,"Abstandhalter",0
,"<nobr>&nbsp;<img src=\"/images/arrow2.gif\" border=\"0\" />&nbsp;Sprosse&nbsp;2000&nbsp;</nobr>","/produkte/sprosse2000.php swapimage=/images/arrow2_over.gif; offfunction=undefined;",,"Sprosse 2000",0
,"<nobr>&nbsp;<img src=\"/images/arrow2.gif\" border=\"0\" />&nbsp;HELIMA-DUPLEX&nbsp;</nobr>","/produkte/duplex.php swapimage=/images/arrow2_over.gif; offfunction=undefined;",,"HELIMA-DUPLEX",0
,"<nobr>&nbsp;<img src=\"/images/arrow2.gif\" border=\"0\" />&nbsp;NIROTEC&nbsp;</nobr>","/produkte/nirotec.php swapimage=/images/arrow2_over.gif; offfunction=undefined;",,"NIROTEC",0
,"<nobr>&nbsp;<img src=\"/images/arrow2.gif\" border=\"0\" />&nbsp;8&nbsp;x&nbsp;1,5&nbsp;Kunstverglasung&nbsp;</nobr>","/produkte/8x1-5kunstverglasung.php swapimage=/images/arrow2_over.gif; offfunction=undefined;",,"8 x 1,5 Kunstverglasung",0
,"<nobr>&nbsp;<img src=\"/images/arrow2.gif\" border=\"0\" />&nbsp;Kühlerrohre&nbsp;</nobr>","/produkte/kuehlerrohre.php swapimage=/images/arrow2_over.gif; offfunction=undefined;",,"Kühlerrohre",0
])

addmenu(menu=["kontakt",,,130,1,"",style2,,"left",,,,,,,,,,,,,
,"<nobr>&nbsp;<img src=\"/images/arrow2.gif\" border=\"0\" />&nbsp;Kontakt&nbsp;&amp;&nbsp;Partner&nbsp;</nobr>","/kontakt.php swapimage=/images/arrow2_over.gif; offfunction=undefined;",,"Kontaktformular und Links zu unseren starken Partnerfirmen ...",0
,"<nobr>&nbsp;<img src=\"/images/arrow2.gif\" border=\"0\" />&nbsp;Anschriften&nbsp;</nobr>","/anschriften.php swapimage=/images/arrow2_over.gif; offfunction=undefined;",,"Anschriften",0
,"<nobr>&nbsp;<img src=\"/images/arrow2.gif\" border=\"0\" />&nbsp;Anfahrt&nbsp;</nobr>","/anfahrt.php swapimage=/images/arrow2_over.gif; offfunction=undefined;",,"Anfahrt",0
,"<nobr>&nbsp;<img src=\"/images/arrow2.gif\" border=\"0\" />&nbsp;Auslandsvertretungen&nbsp;</nobr>","/ausland.php swapimage=/images/arrow2_over.gif; offfunction=undefined;",,"Auslandsvertretungen",0
])

dumpmenus();