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)}
var jpath = get_path();

if(navigator.appVersion.indexOf("MSIE 6.0")>0)
{
	effect = "Fade(duration=0.2);Alpha(style=0,opacity=90);Shadow(color='white', Direction=135, Strength=0)"
}
else
{
	effect = "Shadow(color='white', Direction=135, Strength=2)" 
}

timegap=1000;
followspeed=5;
followrate=40;
suboffset_top=3;
suboffset_left=0;

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.
"black",				// Mouse Off Font Color
"gold",			// Mouse Off Background Color
"yellow",				// Mouse On Font Color
"blue",			// Mouse On Background Color
"white",			// Menu Border Color 
10,				// Font Size in pixels
"normal",			// Font Style (italic or normal)
"bold",				// Font Weight (bold or normal)
"Verdana, Arial",		// Font Name
3,				// Menu Item Padding
jpath + "pics/arrow_r.gif",			// Sub Menu Image (Leave this blank if not needed)
1,				// 3D Border & Separator bar
"lightgrey",			// 3D High Color
"gray",			// 3D Low Color
"",			// Current Page Item Font Color (leave this blank to disable)
"white",		// Current Page Item Background Color (leave this blank to disable)
jpath + "pics/arrow_d.gif",			// Top Bar image (Leave this blank to disable)
"white",			// Menu Header Font Color (Leave blank if headers are not needed)
"gray",			// 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
118,				// Menu Top - The Top position of the menu in pixels
420,				// Menu Left - The Left position of the menu in pixels
150,				// Menu Width - Menus width in pixels
1,				// 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)
"center",			// Alignment - sets the menu elements text alignment, values valid here are: left, right or center
effect,			// Filter - Text variable for setting transitional effects on menu activation - see above for more info
0,				// 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)
,				// Reserved for future use
,				// Reserved for future use
,				// Reserved for future use
,"Сайт","show-menu=site",,"",1
,"Инструменты","show-menu=instr",,"",1
,"Другое","show-menu=other",,"",1
,"Контакт","mailto:stepan@ems.uz.ua",,"",1
])

	addmenu(menu=["site",
	,,150,1,"",style1,,"left",effect,,,,,,,,,,,,
	,"Главная",jpath + "index.htm",,,1
	,"Обмен ссылками",jpath + "linkex.htm",,,1
	,"Гостевая книга","",,,1
	])


	addmenu(menu=["instr",
	,,150,1,"",style1,,"left",effect,,,,,,,,,,,,
	,"Арфа",jpath + "arfa.htm",,,1
	,"Торбан",jpath + "torban.htm",,,1
	,"Виола да гамба","show-menu=viola",,,1
	,"Лютня",jpath + "lutna.htm",,,1
	,"Ранние виолы","begviols.htm",,,1
	,"Ребек",jpath + "rebek.htm",,,1
	,"Скрипка барочная",jpath + "skripbar.htm",,,1
	,"Смычки","smichki.htm",,,1
	,"Тромба марина",jpath + "trombamarina.htm",,,1
	,"Фидели",jpath + "fideli.htm",,,1
	])
		addmenu(menu=["viola",
		,,150,1,"",style1,,"left",effect,,,,,,,,,,,,
		,"Барочная","viola_bar.htm",,,1
		,"Ренесансная","viola_ren.htm",,,1
		])


	addmenu(menu=["other",
	,,150,1,"",style1,,"left",effect,,,,,,,,,,,,
	,"Музыкальные инструменты в живописи",jpath + "muzinstr.htm",,"",1
	,"Общество старинной музыки",jpath + "earlymusic.htm",,"",1
	,"Ансамбль старинной музыки",jpath + "hungansamble.htm",,"",1
	])

dumpmenus()


