timegap=500
followspeed=5
followrate=40
suboffset_top=10;
suboffset_left=10;

effect = "fade(duration=0.3);Shadow(color='#777777', Direction=135, Strength=5)"

function openwin(url)
{
	nwin=window.open(url, "nwin",config="scrollbars=yes,resizable=yes,toolbar=yes,location=yes,status=yes,menubar=yes,");
	nwin.focus();
}

prop1=[						// prop1 is an array of properties you can have as many property arrays as you need
"FFCC66",					// Off Font Color
"CC3333",					// Off Back Color
"FFCC66",					// On Font Color
"443F5C",					// On Back Color
"CC3333",					// Border Color
12,							// Font Size
"normal",					// Font Style 
"normal",					// Font Weight
"Verdana,Tahoma,Helvetica",	// Font
3,							// Padding
"img/arrow.gif",				// Sub Menu Image
0,							// 3D Border & Separator
"66ffff",					// 3D High Color
"000099",					// 3D Low Color
"",					// Referer item Font Color (leave this blank to disable)
"",					// Referer item Back Color (leave this blank to disable)
]

menu1=[				// This is the array that contains your menu properties and details
191,					// Top
,					// left
,					// Width
1,					// Border Width
"center",			// Screen Position - here you can use "center;middle;right"
prop1,				// Properties Array - this is set higher up, as above
1,					// Always Visible - allows the menu item to be visible at all time
"center",			// Alignment - sets the menu elements alignment, HTML values are valid here for example: left, right or center
,					// Filter - Text variable for setting transitional effects on menu activation
,					// Follow Scrolling - Tells the menu item to follow the user down the screen
1, 					// Horizontal Menu - Tells the menu to be horizontal instead of top to bottom style
,					// Keep Alive - Keeps the menu visible until the user moves over another menu or clicks elsewhere on the page
,					// Position of sub image left:center:right:middle:top:bottom
,					// Show an image on top menu bars indicating a sub menu exists below
,					// Reserved for future use
"&nbsp;&nbsp;&nbsp;&nbsp;На&nbsp;главную&nbsp;&nbsp;&nbsp;&nbsp;","index.htm",,,1,// "Description Text", "URL", "Alternate URL", "Status", "Separator Bar"
"&nbsp;&nbsp;&nbsp;&nbsp;Информация&nbsp;&nbsp;&nbsp;&nbsp;","show-menu2",,"#",1,
"&nbsp;&nbsp;&nbsp;&nbsp;Лагерь&nbsp;&nbsp;&nbsp;&nbsp;","show-menu4",,"#",1,
"&nbsp;&nbsp;&nbsp;&nbsp;Проекты&nbsp;&nbsp;&nbsp;&nbsp;","show-menu5",,"#",1,
"&nbsp;&nbsp;&nbsp;&nbsp;Галерея&nbsp;&nbsp;&nbsp;&nbsp;","show-menu6",,"#",1,
"&nbsp;&nbsp;&nbsp;&nbsp;Форум&nbsp;&nbsp;&nbsp;&nbsp;","forum_bb/index.php",,,1
]

menu2=[
,,150,1,"",prop1,,"left",effect,,,,,,,
"Пресс-релиз","reliz.htm",,,0,
"Партнеры","partner.htm",,,0,
"Регионам","region.htm",,,0,
"Родителям","parents.htm",,,0,
"Учителям","teacher.htm",,,0
]

	
menu4=[
,,150,1,"",prop1,,"left",effect,,,,,,,
"Описание","discript.htm",,,0,
"Смены","session.htm",,,1,
"Заявки","bid.htm",,,0,
"Бонусы и Скидки","bonus.htm",,,0,
"Работа","work.htm",,,0,
"Творчество","creat.htm",,,0
]

menu3=[
	,,150,1,"",prop1,,"left",effect,,,,,,,
	"&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ВЕСНА","session.htm",,,1,
	"&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ЛЕТО","session2.htm",,,1
	]

menu5=[,,150,1,,prop1,0,"left",effect,0,,,,,,
"Smart leaders","smartlead.htm",,,,
"Студентам","cinema.htm",,,1,
"Курсы Английского языка","cour_eng.htm",,,1,
"Тур Выходного дня","tur.htm",,,1,
"Праздники","holidays.htm",,,1,
"Школа Вожатых","school.htm",,,1,
"Программы для групп","groop.htm",,,1,
"Фотоконкурс","contest.htm",,,1
]

menu6=[
,,150,1,"",prop1,,"",effect,,,,,,,
"Смены", "session1.htm",,,1,
"Сотрудники", "staff.htm",,,1,
"Курсы", "cours_ph.htm",,,1,
"Мероприятия", "gal_club1.htm",,,1
]


image1on = new Image();
image1on.src = "img/home2.jpg" ;
image1off = new Image();
image1off.src = "img/home1.jpg" ;

image2on = new Image();
image2on.src = "img/holid2.gif" ;
image2off = new Image();
image2off.src = "img/holid.gif" ;

function turnOn(imageName) {
  
    document[imageName].src = eval(imageName + "on.src");
    
}

function turnOff(imageName) {
  
    document[imageName].src = eval(imageName + "off.src");
    
}