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)}

// Special effect string for IE5.5 or above please visit http://www.milonic.co.uk/menu/filters_sample.php for more filters
effect = "Fade(overlap=0.00,duration=0.00);Alpha(style=0,opacity=100);Shadow(color='#777777', 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=10;	// Sub menu offset Top position 
suboffset_left=10;	// 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.
"993300",				// Mouse Off Font Color
"ffcc00",			// Mouse Off Background Color
"ffebdc",			// Mouse On Font Color
"333399",			// Mouse On Background Color
"000000",			// Menu Border Color 
12,					// 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
"navy",			// Current Page Item Font Color (leave this blank to disable)
"white",				// 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)
"navy",				// Menu Item Separator Color
]

//Palantir-com Ltd Updates
/*if (window.screen.availWidth>=799) {
  x=window.screen.availWidth/2 - 388+70
} else {
  x=325;
}
*/
/*
if (window.location.host=="localhost")
{
	path=window.location.host+"/work";
} else if (window.location.host!="") {
	path=window.location.host;
} else {
*/
	path=window.location.path;

//}

x=300
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
32,					// Menu Top - The Top position of the menu in pixels
x,				// Menu Left - The Left position of the menu in pixels
,					// 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"
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
,"RomExpress&nbsp;&nbsp;","show-menu=main",,"",1
,"Курсы&nbsp;&nbsp;","show-menu=cources",,"",1
,"Услуги&nbsp;&nbsp;","show-menu=service",,"",1
,"Фото-студия","foto_studia.html",,"",1
,"Отзывы&nbsp;&nbsp;","show-menu=reference",,"",1
,"Контакты","kontakt.html",,"",1
,"Photo-школа&nbsp;&nbsp;","show-menu=photo",,"",1
])
	addmenu(menu=["main",
	,,170,1,"",style1,,"left",effect,,,,,,,,,,,,
	,"Главная","main.html",,,0
	,"Новости","news.html",,,0
	,"О нас","about_us.html",,,0
    ,"Пресса о нас","show-menu=pressa",,,0	
	,"Сертификаты","sertificate.html",,,0
	,"Вакансии","vakansii.html",,,0
	])

   		addmenu(menu=["pressa",
		,,250,1,"",style1,,"left",effect,,,,,,,,,,,,
		,"ФЫВА ждала ОЛДЖа","art1.html",,,0
						
		])

	addmenu(menu=["cources",
	,,200,1,"",style1,,"left",effect,,,,,,,,,,,,
	,"Для Начинающих","show-menu=begin",,,1
	,"Европейские компьютерные права","show-menu=internat",,,1
	,"Школа секретарей","show-menu=secretar",,,1
	,"Менеджер","show-menu=menedjer",,,1	
	,"3D технологии","show-menu=3d",,,1	
	,"Графика","show-menu=graphic",,,1		
    ,"Программирование","show-menu=programming",,,1
	,"Интернет технологии","show-menu=internet",,,1
	,"Для Бухгалтеров","show-menu=buh",,,1
	,"Клуб 'Тинейджер'","show-menu=kids",,,1
	,"Языки","show-menu=languages",,,1
	])
		
		addmenu(menu=["begin",
		,,250,1,"",style1,,"left",effect,,,,,,,,,,,,
		,"Тайпинг","taiping.html",,,0
		,"Пользователь ПК","pk1.html",,,0
		,"Оператор ПК","pk.html",,,0
		])
		
   		addmenu(menu=["internat",
		,,250,1,"",style1,,"left",effect,,,,,,,,,,,,
		,"ECDL","ecdl.html",,,0
		])

		addmenu(menu=["secretar",
		,,250,1,"",style1,,"left",effect,,,,,,,,,,,,
		,"Секретарь офиса","secretar_ofis.html",,,0
		,"Секретарь-референт","secretar_referent.html",,,0
		,"Секретарь-бухгалтер","secretar_buhgalter.html",,,0
		])

		addmenu(menu=["menedjer",
		,,250,1,"",style1,,"left",effect,,,,,,,,,,,,
		,"Менеджер офиса","menedjer_ofisa.html",,,0
		,"Курс для предпринимателя","menedjer_biznes.html",,,0
            ,"Основы предпринимательства","menedjer_little_biznes.html",,,0

		,"Менеджер по персоналу","menedjer_personal.html",,,0
		])

		addmenu(menu=["3d",
		,,250,1,"",style1,,"left",effect,,,,,,,,,,,,	
		,"3D Studio MAX Vray","3dmaxlevel4.html",,,0				
		,"Auto CAD","autokad.html",,,0
		])

		addmenu(menu=["graphic",
		,,250,1,"",style1,,"left",effect,,,,,,,,,,,,
		,"Photoshop & CorelDraw","grafika.html",,,0
            ,"Обработка цифровых фотографий ","photo.html",,,0
		])

		
		addmenu(menu=["programming",
		,,150,1,"",style1,,"left",effect,,,,,,,,,,,,
		,"C/C++","cplus.html",,,0
		,"Pascal","paskal.html",,,0
		])

		addmenu(menu=["internet",
		,,170,1,"",style1,,"left",effect,,,,,,,,,,,,
		,"Web дизайн","web.html",,,0
		,"Web программирование","php.html",,,0	
		])

		addmenu(menu=["buh",
		,,170,1,"",style1,,"left",effect,,,,,,,,,,,,
		,"Основы Бухучета","contab.html",,,0
		,"1C: Бухгалтерия","1c.html",,,0
		])

		addmenu(menu=["kids",
		,,250,1,"",style1,,"left",effect,,,,,,,,,,,,
		,"Для детей","tinager.html",,,0
		])

		addmenu(menu=["languages",
		,,200,1,"",style1,,"left",effect,,,,,,,,,,,,
		,"Английский","english.html",,,0
		,"Немецкий","german.html",,,0
		,"Французский","french.html",,,0		
		,"Итальянский","italia.html",,,0					
		,"Румынский","roman__.html",,,0
		,"Русский","rusky.html",,,0		
		])

	addmenu(menu=["service",
	,,200,1,"",style1,,"left",effect,,,,,,,,,,,,
	,"Компьютерные услуги","uslugi_komputer.html",,,0
	,"Проектирование и дизайн","uslugi_dizain.html",,,0
	,"Ризограф","uslugi_rizo.html",,,0
	,"Типографские работы","uslugi_tipograf.html",,,0
	])

	
	addmenu(menu=["school",
	,,220,1,"",style1,,"left",effect,,,,,,,,,,,,
	,"Дистанционное образование","http://"+path+"/ru/school",,,0
	,"Менеджер по рекламе","zero.html",,,0
	])
	
	addmenu(menu=["reference",
	,,200,1,"",style1,,"left",effect,,,,,,,,,,,,
	,"Отзывы студентов","otzivi.html",,,0
	,"Работы студентов","show-menu=studwork",,,0
	,"Наши выпускники","vipusknik.html",,,0
	,"Наши клиенты","klient.html",,,0
	,"Наши партнеры","partener.html",,,0
	])
		addmenu(menu=["studwork",
		,,250,1,"",style1,,"left",effect,,,,,,,,,,,,
		,"3D MAX","student_3d01.html",,,0
		,"Графика","student_grafika01.html",,,0
		,"Web design","student_web.html",,,0		
		])
	
	addmenu(menu=["bookshop",
	,,200,1,"",style1,,"left",effect,,,,,,,,,,,,
	,"Дизайн","zero.html",,,0
	,"Базы Данных","zero.html",,,0
	,"Программирование","zero.html",,,0
	,"Интернет технологии","zero.html",,,0
	])

addmenu(menu=["photo",
	,,170,1,"",style1,,"left",effect,,,,,,,,,,,,
	,"Преподаватели","gallery.html",,,0
	,"Фото-школа","photoschool.html",,,0
        ,"Фото-галерея","stud_work.html",,,0
	
	])

dumpmenus()

/*

		addmenu(menu=["adminos",
		,,200,1,"",style1,,"left",effect,,,,,,,,,,,,
		,"Windows NT/2000/XP","http://"+path+"/ru/windows",,,0
		,"Unix/Linux/FreeBSD","http://"+path+"/ru/unix",,,0
		,"Администрирование сетей","http://"+path+"/ru/network",,,0
		])

		addmenu(menu=["admindb",
		,,150,1,"",style1,,"left",effect,,,,,,,,,,,,
		,"MS SQL Server","http://"+path+"/ru/sqlserver",,,0
		,"Oracle","http://"+path+"/ru/oracle",,,0
		,"Informix","http://"+path+"/ru/informix",,,0
		,"Interbase","http://"+path+"/ru/interbase",,,0
		,"MySQL","http://"+path+"/ru/mysql",,,0
		,"Access","http://"+path+"/ru/access",,,0
		,"Visual FoxPro","http://"+path+"/ru/foxpro",,,0
		])
*/