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

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

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
"000000",                                        // Off Font Color
"F3F4F4",                                        // Off Back Color
"000080",                                        // On Font Color
"FFFFFF",                                        // On Back Color
"999999",                                        // Border Color
10,                                                        // Font Size
"normal",                                        // Font Style 
"normal",                                        // Font Weight
"Verdana",        // Font
2,                                                        // Padding
"arrow.gif",                                // Sub Menu Image
0,                                                        // 3D Border & Separator
"66ffff",                                        // 3D High Color
"000099",                                        // 3D Low Color
"000099",                                        // Referer item Font Color (leave this blank to disable)
"F3F4F4",                                        // Referer item Back Color (leave this blank to disable)
]

menu1=[                                // This is the array that contains your menu properties and details
101,                                        // Top
10,                                        // left
85,                                        // Width
0,                                        // Border Width
"right",                        // 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,
"О компании","http://transmashservis.kz/about/","",,1,// "Description Text", "URL", "Alternate URL", "Status", "Separator Bar"
"Продукция","show-menu2","#",,1,
"Дилерство","http://transmashservis.kz/dilerstvo/","#",,1,
"Контакты","show-menu3","#",,1
]

menu2=[
,,87,1,"",prop1,,"left",effect,,,,,,,
"Горное оборудование","http://transmashservis.kz/products/gornoe/",,,0,
"Железно-дорожное оборудование","http://transmashservis.kz/products/zhd/",,,0,
"Масло-смазочные материалы","http://transmashservis.kz/products/msmaterials/",,,0,
"Верхнее строение пути","http://transmashservis.kz/products/puti/",,,0
]

menu3=[
,,84,1,"",prop1,,"left",effect,,,,,,,
"Адрес и реквизиты","http://transmashservis.kz/contact/address/",,,0,
"Отправить письмо","http://transmashservis.kz/contact/feedback/",,,0
]

