timegap=500
followspeed=5
followrate=40
suboffset_top=10;
suboffset_left=10;

effect = "fade(duration=0.3);Shadow(color='#151B4F', 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
"ffffff",					// Off Font Color
"073B88",					// Off Back Color 1A55B9
"ffffcc",					// On Font Color
"e30c00",					// On Back Color B12825
"fafcdc",					// Border Color 123A7E
12,							// Font Size
"normal",					// Font Style 
"normal",					// Font Weight
"Verdana,Tahoma,Helvetica",	// Font
5,							// Padding
"strelka.gif",				// Sub Menu Image
0,							// 3D Border & Separator
"66ffff",					// 3D High Color
"000099",					// 3D Low Color
"ffffff",					// Referer item Font Color (leave this blank to disable)000099
"073B88",					// Referer item Back Color (leave this blank to disable) 1A55B9
]

menu1=[				// This is the array that contains your menu properties and details
91,					// Top
268,					// left
,					// Width
1,					// Border Width
"left",			// 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
"Главная","/",,,1,
"О&nbsp;компании","show-menu6","/o_nas/","#",1,
"Капитальный&nbsp;ремонт","show-menu2","/kapremont/","#",1,
"Модернизация","show-menu4","/moderniz/","#",1,
"Металлообработка","/metob/",,,1,
"Оборудование","/stanki/",,,1,
"Контакты","/adress/",,,1

]

menu2=[
,,270,1,"",prop1,,"left",effect,,,,,,,
"Спектр&nbsp;услуг&nbsp;по&nbsp;ремонту","/kapremont/uslugi.php",,,1,
"Капитальный&nbsp;ремонт&nbsp;токарного&nbsp;станка","/kapremont/kapremontt.php",,,1
]

	menu3=[
	,,250,1,"",prop1,,"left",effect,,,,,,,
	"Токарные и фрезерные работы","/metob/",,,1,
        "Механическая обработка","/metob/",,,1,
        "Слесарные работы","/metob/",,,1,
        "Шлифовка","/metob/",,,1
        	]

menu4=[,,250,1,"",prop1,,"left",effect,,,,,,,
"Спектр&nbsp;услуг&nbsp;по&nbsp;модернизации","/moderniz/texm.php",,,1,
"Модернизация&nbsp;токарного&nbsp;станка","/moderniz/mtok.php",,,1,
"Модернизация&nbsp;фрезерного&nbsp;станка","/moderniz/mfrez.php",,,1
]

menu5=[,,120,1,,prop1,,"left",effect,0,,,,,,
"Раскрутка сайта","http://www.trafficsecrets.ru",,,1,
"Создание сайта","http://www.allrusweb.ru",,,1
]


menu6=[,,250,1,,prop1,,"left",effect,0,,,,,,
"Информация&nbsp;о&nbsp;компании","/o_nas/",,,1,
"Информация&nbsp;для&nbsp;акционеров","/zao_energia_ritm/",,,1
]

