
//The following line is critical for menu operation, and MUST APPEAR ONLY ONCE.
menunum=0;
MenHorTop=106;
menus=new Array();
_d=document;

function addmenu() {
	menunum++;
	menus[menunum]=menu;
}

function dumpmenus() {
	mt="<scr"+"ipt language=JavaScript>";
	for (a=1; a<menus.length; a++) {
		mt+=" menu"+a+"=menus["+a+"];"
	}
	mt+="<\/scr"+"ipt>";
	_d.write(mt)
}

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=5             // Sub menu offset Left position

PlainStyle=[                  // PlainStyle is an array of properties. You can have as many property arrays as you need
"415263",                     // Mouse Off Font Color
"f6ddbc",                      // Mouse Off Background Color (use zero for transparent in Netscape 6)
"415263",                     // Mouse On Font Color
"fdf2e6",                     // Mouse On Background Color
"DA7E00",                     // Menu Border Color
"10pt",                         // 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, Tahoma, Arial, Helvetica",// Font Name
2,                            // 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)
"DA7E00",                     // Menu Item Separator Color
]


//Vertikalaus meniu isvedimas
addmenu(menu=[
"Multipropmenu",
154,   //is virsaus
5,  //is kaires
176, //plotis
0,
,
PlainStyle,
1,
,
,
0,
0,
0,
,
,
0,
0,
,
,
0,
,
,"Mokyklos istorija","istorija.php","",,0
,"Administracija",   "administracija.php","",,0
,"Mokyklos taryba",  "taryba.php","",,0
,"Mokytojai","mokytojai.php","",,0
,"Tvarkaraščiai","tvarkarastis.php","",,0
,"Darbo planai","darbas.php","",,0
,"Projektai","projektai.php","",,0
,"Pasiekimai","pasiekimai.php","",,0
,"Ugdymo planas","planas.php","",,0
,"E-dienynas","dienynas.php","",,0
,"Savivalda","savivalda.php","",,0
,"Viešieji pirkimai","pirkimai.php","",,0
,"Darbo užmokestis","uzmokestis.php","",,0
,"Nuorodos","nuorodos.php","",,0
])


//Horizantalus meniu ===================================================================================

addmenu(menu=[
"hmenu1",            // Menu Name - This is needed in order for this menu to be called
MenHorTop,                             // Menu Top - The Top position of this menu in pixels
110,                             // Menu Left - The Left position of this menu in pixels
80,                           // Menu Width - Menus width in pixels
0,                            // Menu Border Width
,                             // Screen Position - here you can use "center;left;right;middle;top;bottom" or a combination of "center:middle"
PlainStyle,                   // Properties Array - this array is declared higher up as you can see above
1,                            // Always Visible - allows this menu item to be visible at all time (1=on or 0=off)
,                             // Alignment - sets this menu elements text alignment, values valid here are: left, right or center
"Direction=135, Strength=6)",// Filter - Text variable for setting transitional effects on menu activation - see above for more info
0,                            // Follow Scrolling Top Position - Tells this menu to follow the user down the screen on scroll placing the menu at the value specified.
1,                            // Horizontal Menu - Tells this menu to display horizontaly instead of top to bottom style (1=on or 0=off)
0,                            // Keep Alive - Keeps the menu visible until the user moves over another menu or clicks elsewhere on the page (1=on or 0=off)
,                             // Position of TOP sub image left:center:right
,                             // Set the Overall Width of Horizontal Menu to specified width or 100% and height to a specified amount
0,                            // Right To Left - Used in Hebrew for example. (1=on or 0=off)
0,                            // Open the Menus OnClick - leave blank for OnMouseover (1=on or 0=off)
,                             // ID of the div you want to hide on MouseOver (useful for hiding form elements)
,                             // Background image for menu Color must be set to transparent for this to work
0,                            // Scrollable Menu
,							  // Miscellaneous Menu Properties
,"Naujienos","naujienos.php","",,0
])
//======================================================================================================


addmenu(menu=[
"Renginiai",            // Menu Name - This is needed in order for this menu to be called
MenHorTop+20,                 // Menu Top - The Top position of this menu in pixels
,                             // Menu Left - The Left position of this menu in pixels
120,                           // Menu Width - Menus width in pixels
1,                            // Menu Border Width
,                             // Screen Position - here you can use "center;left;right;middle;top;bottom" or a combination of "center:middle"
PlainStyle,                   // Properties Array - this array is declared higher up as you can see above
0,                            // Always Visible - allows this menu item to be visible at all time (1=on or 0=off)
,                             // Alignment - sets this menu elements text alignment, values valid here are: left, right or center
"Shadow(color=777777, Direction=135, Strength=6)",// Filter - Text variable for setting transitional effects on menu activation - see above for more info
0,                            // Follow Scrolling Top Position - Tells this menu to follow the user down the screen on scroll placing the menu at the value specified.
0,                            // Horizontal Menu - Tells this menu to display horizontaly instead of top to bottom style (1=on or 0=off)
0,                            // Keep Alive - Keeps the menu visible until the user moves over another menu or clicks elsewhere on the page (1=on or 0=off)
,                             // Position of TOP sub image left:center:right
,                             // Set the Overall Width of Horizontal Menu to specified width or 100% and height to a specified amount
0,                            // Right To Left - Used in Hebrew for example. (1=on or 0=off)
0,                            // Open the Menus OnClick - leave blank for OnMouseover (1=on or 0=off)
,                             // ID of the div you want to hide on MouseOver (useful for hiding form elements)
,                             // Background image for menu Color must be set to transparent for this to work
0,                            // Scrollable Menu
,							  // Miscellaneous Menu Properties
,"Šį mėnesį","renginiai.php?men=1",,,0
,"Vykę renginiai","renginiai.php",,,0
])

addmenu(menu=[
"hmenu2",            // Menu Name - This is needed in order for this menu to be called
MenHorTop,                    // Menu Top - The Top position of this menu in pixels
230,                          // Menu Left - The Left position of this menu in pixels
75,                           // Menu Width - Menus width in pixels
,                             // Menu Border Width
,                             // Screen Position - here you can use "center;left;right;middle;top;bottom" or a combination of "center:middle"
PlainStyle,                   // Properties Array - this array is declared higher up as you can see above
1,                            // Always Visible - allows this menu item to be visible at all time (1=on or 0=off)
,                             // Alignment - sets this menu elements text alignment, values valid here are: left, right or center
"Direction=135, Strength=6)",// Filter - Text variable for setting transitional effects on menu activation - see above for more info
0,                            // Follow Scrolling Top Position - Tells this menu to follow the user down the screen on scroll placing the menu at the value specified.
1,                            // Horizontal Menu - Tells this menu to display horizontaly instead of top to bottom style (1=on or 0=off)
0,                            // Keep Alive - Keeps the menu visible until the user moves over another menu or clicks elsewhere on the page (1=on or 0=off)
,                             // Position of TOP sub image left:center:right
,                             // Set the Overall Width of Horizontal Menu to specified width or 100% and height to a specified amount
0,                            // Right To Left - Used in Hebrew for example. (1=on or 0=off)
0,                            // Open the Menus OnClick - leave blank for OnMouseover (1=on or 0=off)
,                             // ID of the div you want to hide on MouseOver (useful for hiding form elements)
,                             // Background image for menu Color must be set to transparent for this to work
0,                            // Scrollable Menu
,							  // Miscellaneous Menu Properties
,"Renginiai","show-menu=Renginiai","#",,0
])

//========================================================================

addmenu(menu=[
"ApieMokykla",                // Menu Name - This is needed in order for this menu to be called
MenHorTop+20,                 // Menu Top - The Top position of this menu in pixels
,                             // Menu Left - The Left position of this menu in pixels
255,                           // Menu Width - Menus width in pixels
1,                            // Menu Border Width
,                             // Screen Position - here you can use "center;left;right;middle;top;bottom" or a combination of "center:middle"
PlainStyle,                   // Properties Array - this array is declared higher up as you can see above
0,                            // Always Visible - allows this menu item to be visible at all time (1=on or 0=off)
,                             // Alignment - sets this menu elements text alignment, values valid here are: left, right or center
"Shadow(color=777777, Direction=135, Strength=6)",// Filter - Text variable for setting transitional effects on menu activation - see above for more info
0,                            // Follow Scrolling Top Position - Tells this menu to follow the user down the screen on scroll placing the menu at the value specified.
0,                            // Horizontal Menu - Tells this menu to display horizontaly instead of top to bottom style (1=on or 0=off)
0,                            // Keep Alive - Keeps the menu visible until the user moves over another menu or clicks elsewhere on the page (1=on or 0=off)
,                             // Position of TOP sub image left:center:right
,                             // Set the Overall Width of Horizontal Menu to specified width or 100% and height to a specified amount
0,                            // Right To Left - Used in Hebrew for example. (1=on or 0=off)
0,                            // Open the Menus OnClick - leave blank for OnMouseover (1=on or 0=off)
,                             // ID of the div you want to hide on MouseOver (useful for hiding form elements)
,                             // Background image for menu Color must be set to transparent for this to work
0,                            // Scrollable Menu
,							  // Miscellaneous Menu Properties
,"Vizija, misija, tikslai, uždaviniai","vizija.php",,,0
,"Priėmimo į mokyklą tvarka","priemimas.php",,,0
,"Pažangos ir pasiekimų vertinimas","vertinimas.php",,,0
,"Pagalba mokiniams","pagalba.php",,,0
,"Aprūpinimo vadovėliais tvarka","vadoveliai.php",,,0
,"Metinis biudžetas","biudzetas.php",,,0
,"Pagrindinė informacija, kontaktai","kontaktai.php",,,0
])

addmenu(menu=[
"hmenu3",            // Menu Name - This is needed in order for this menu to be called
MenHorTop,                             // Menu Top - The Top position of this menu in pixels
345,                             // Menu Left - The Left position of this menu in pixels
105,                           // Menu Width - Menus width in pixels
0,                            // Menu Border Width
,                             // Screen Position - here you can use "center;left;right;middle;top;bottom" or a combination of "center:middle"
PlainStyle,                   // Properties Array - this array is declared higher up as you can see above
1,                            // Always Visible - allows this menu item to be visible at all time (1=on or 0=off)
,                             // Alignment - sets this menu elements text alignment, values valid here are: left, right or center
"Direction=135, Strength=6)",// Filter - Text variable for setting transitional effects on menu activation - see above for more info
0,                            // Follow Scrolling Top Position - Tells this menu to follow the user down the screen on scroll placing the menu at the value specified.
1,                            // Horizontal Menu - Tells this menu to display horizontaly instead of top to bottom style (1=on or 0=off)
0,                            // Keep Alive - Keeps the menu visible until the user moves over another menu or clicks elsewhere on the page (1=on or 0=off)
,                             // Position of TOP sub image left:center:right
,                             // Set the Overall Width of Horizontal Menu to specified width or 100% and height to a specified amount
0,                            // Right To Left - Used in Hebrew for example. (1=on or 0=off)
0,                            // Open the Menus OnClick - leave blank for OnMouseover (1=on or 0=off)
,                             // ID of the div you want to hide on MouseOver (useful for hiding form elements)
,                             // Background image for menu Color must be set to transparent for this to work
0,                            // Scrollable Menu
,							  // Miscellaneous Menu Properties
,"Apie mokyklą","show-menu=ApieMokykla","#",,0
])


//=======================================================================================================

dumpmenus();
