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)}

if(navigator.appVersion.indexOf("MSIE 6.0")>0)
{
        effect = "Fade(duration=0.2);Shadow(color='#777777', Direction=135, Strength=5)"
}
else
{
        effect = "Shadow(color='#777777', Direction=135, Strength=5)" // Stop IE5.5 bug when using more than one filter
}


timegap=400             // Задержка перед сокрытием меню
followspeed=7           // Скорость скролла, если пункт Keep Alive равен 1
followrate=40           // Follow Scrolling Rate
suboffset_top=20;       // Отступ сверху 
suboffset_left=50;      // Отступ слева

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.
"#FFFFFF",              // Mouse Off Font Color
"#0076B6",              // Mouse Off Background Color
"000000",               // Mouse On Font Color
"E5F1F6",               // Mouse On Background Color
"0076B6",               // Menu Border Color 
11,                     // Font Size in pixels
"normal",               // Font Style (italic or normal)
"bold",                 // Font Weight (bold or normal)
"Arial",        // Font Name
4,                      // Menu Item Padding
"i/nav_point.gif",         // Sub Menu Image (Leave this blank if not needed)
0,                      // 3D Border & Separator bar
"aaaaaa",               // 3D High Color
"",             // 3D Low Color
"",             // Current Page Item Font Color (leave this blank to disable)
"",             // Current Page Item Background Color (leave this blank to disable)
"",                     // Top Bar image (Leave this blank to disable)
"ffffff",               // Menu Header Font Color (Leave blank if headers are not needed)
"000000",               // 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
100,                    // Menu Top - The Top position of the menu in pixels
20,                     // 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
1,                      // Set the Overall Width of Horizontal Menu to 100% and height to the specified amount (Leave blank to disable)
0,                      // Right To Left - Used in Hebrew for example. (1=on/0=off)
0,                      // 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
,"<nobr>&nbsp;&nbsp;НОВОСТИ&nbsp;&nbsp;</nobr>","/","","ООО &#171;Дирекция Административных Зданий&#187;",1 // "Description Text", "URL", "Alternate URL", "Status", "Separator Bar"
,"&nbsp;&nbsp;КОМПАНИЯ&nbsp;&nbsp;","show-menu=company","","Раздел компания",1 // "Description Text", "URL", "Alternate URL", "Status", "Separator Bar"
//,"&nbsp;&nbsp;СОЦИАЛЬНОЕ ПАРТНЕРСТВО&nbsp;&nbsp;","http://www.dab.com.ua/?do=blago",,"Принципы социального партнерства",1
,"&nbsp;&nbsp;ОБЪЕКТЫ КОМПАНИИ&nbsp;&nbsp;","show-menu=obj",,"Объекты",1
,"&nbsp;&nbsp;АРЕНДА КОММЕРЧЕСКОЙ НЕДВИЖИМОСТИ&nbsp;&nbsp;","/?do=Магазины",,"Аренда коммерческой недвижимости",1
//,"&nbsp;&nbsp;ВАКАНСИИ&nbsp;&nbsp;","/?do=vacancy",,"Вакансии ООО &#171;Дирекция Административных Зданий&#187;",1
//,"<nobr>&nbsp;&nbsp;УСЛУГИ СТРОИТЕЛЬНОЙ ТЕХНИКИ&nbsp;&nbsp;</nobr>","/?do=tech",,"Спецтехника",1
//        ,"&nbsp;МЕТАЛЛОКОНСТРУКЦИИ","/?do=mk",,"Металлокконструкции",1
])

        addmenu(menu=["company",
        ,,230,1,,style1,,"left",effect,,,,,,,,,,,,
          ,"&nbsp;О компании","/?do=company-info",,"О компании",1
        ,"&nbsp;Клиенты","/?do=client",,"Клиенты",1
//        ,"&nbsp;Социальное партнерство","/?do=blago",,"Благотворительная деятельность",1
//        ,"&nbsp;Услуги спец. техники","/?do=Спецтехника",,"Техника",1
        ,"&nbsp;Вакансии&nbsp;&nbsp;","/?do=vacancy",,"Вакансии ООО &#171;Дирекция Административных Зданий&#187;",1
        ,"&nbsp;Контакты","/?do=contact",,"Контакты",1
        
        ])

        addmenu(menu=["obj",
        ,,250,1,,style1,,"left",effect,,,,,,,,,,,,
,"&nbsp;Офисная недвижимость","show-menu=obj_office",,"Продажа офисов",1
,"&nbsp;Жилая недвижимость","show-menu=obj_home",,"Продажа квартир",1
,"&nbsp;On-Line заказ офиса или квартиры","/?do=online-order",,"&nbsp;On-Line заказ офиса",1
        ])



        // Меню второго уровня 
        addmenu(menu=["obj_office",
        ,,250,1,,style1,,"left",effect,,,,,,,,,,,,
//        ,"&nbsp;Торговый центр по ул.Горького, 148А","/?do=maydan",,"Торговый центр по ул.Горького, 148А",1
//        ,"&nbsp;Бизнес-центр по пр.Б.Хмельницкого, 96Б","/?do=bcb",,"&nbsp;Бизнес-центр по пр.Б.Хмельницкого, 96Б",1
        ,"&nbsp;Бизнес-центр на бул. Пушкина, 2А","/?do=krasno",,"Бизнес-центр на бул. Пушкина, 2А",1
        ,"&nbsp;Бизнес-центр по ул. Р. Люксембург, 12","/?do=rosa",,"&nbsp;Бизнес-центр по ул. Р. Люксембург, 12",1
        ])

        // Меню второго уровня 
        addmenu(menu=["obj_home",
        ,,250,1,,style1,,"left",effect,,,,,,,,,,,,
        ,"&nbsp;КЛУБНЫЙ ДОМ &#171;ГАУДИ&#187;","/?do=new-gaudi",,"КЛУБНЫЙ ДОМ &#171;ГАУДИ&#187;",1

        ,"&nbsp;Жилой комплекс &#171;ЕВРОГРАД&#187;","/?do=new-eurograd",,"Жилой комплекс &#171;ЕВРОГРАД&#187;",1
        ])

  
                
dumpmenus()