<!--


function WriteDefaults(MenuObj) {
        MenuObj.clMain='padding:5px; font-family:verdana; font-size:10px; font-weight:bold' //The style for the main menus
        MenuObj.clSub='padding:5px; font-family:verdana; font-size:10px' //The style for the submenus
        MenuObj.clSubSub='padding:5px; font-family:verdana; font-size:10px' //The style for the subsubmenus
        MenuObj.clAMain='text-decoration:none; color:White' //The style for the main links
        MenuObj.clASub='text-decoration:none; color:Black' //The style for the sub links
        MenuObj.clASubSub='text-decoration:none; color:Black' //The style for the subsub links
        MenuObj.makeStyle()

        MenuObj.backgroundbar=0 //Set to 0 if no backgroundbar
        MenuObj.backgroundbarfromleft=1 //The left placement of the backgroundbar in pixel or %
        MenuObj.backgroundbarfromtop=130 //The top placement of the backgroundbar  in pixel or %
        MenuObj.backgroundbarsize='100%'  //The size of the bar in pixel or %
        MenuObj.backgroundbarcolor="#003366" //The backgroundcolor of the bar
        MenuObj.stayoncolor=0 //Do you want the menus to stay on the mouseovered color when clicked?
        MenuObj.menuspeed=20 //The speed of the clipping in px
        MenuObj.menusubspeed=20 //The speed of the submenus clipping in px
        MenuObj.menurows=1   //Set to 0 if you want rows and to 1 if you want columns
        MenuObj.menueventon="mouse" //Set this to "mouse" if you want the menus to appear onmouseover, set it to "click" if you want it to appear onclick
        MenuObj.menueventoff="mouse" //Set this to "mouse" if you them to disappear onmouseout, if not set it to "click"

        MenuObj.mainheight=20 //The height of the main menuitems in pixel or %
        MenuObj.subheight=MenuObj.mainheight //The height if the subitems in pixel or %
        MenuObj.subsubheight=MenuObj.mainheight //** NEW ** The height if the subsubitems in pixel or %
        MenuObj.subplacement=MenuObj.mainheight+0 //** NEW ** Relative to the main item

        MenuObj.mainwidth=141 //The width of the main menuitems  in pixel or %
        MenuObj.subwidth=MenuObj.mainwidth
        MenuObj.subsubwidth=MenuObj.mainwidth // ** NEW ** The width of the subsubmenus in pixel or %

        MenuObj.subsubYplacement=17 //** NEW ** The Y placement of the subsubmenus, relative to the sub item
        MenuObj.subsubXplacement=MenuObj.subwidth //** NEW ** The X placement of the subsubmenus, relative to the sub item

        MenuObj.menuplacement=0
        MenuObj.pxbetween=1 //in pixel or %

        MenuObj.fromtop=103 //in pixel or %

        MenuObj.mainbgcoloroff='#455193' //The backgroundcolor of the main menuitems
        MenuObj.mainbgcoloron='#003366' //The backgroundcolor on mouseover of the main menuitems
        MenuObj.subbgcoloroff='#6699cc' //The backgroundcolor of the sub menuitems
        MenuObj.subbgcoloron='#99CCFF' //The backgroundcolor on mouseover of the sub menuitems
        MenuObj.subsubbgcoloroff='#003366' //The backgroundcolor of the subsub menuitems
        MenuObj.subsubbgcoloron='#BBD2E8' //The backgroundcolor on mouseover of the subsub menuitems
}

function Do_Menues(strP1, strP2, strP3, strP4)
{
        // object creation
        oMenu=new menuObj('oMenu')
//      oMenu2=new menuObj('oMenu2')
//      oMenu3=new menuObj('oMenu3')
//      oMenu4=new menuObj('oMenu4')
//      oMenu5=new menuObj('oMenu5')
//      oMenu6=new menuObj('oMenu6')

        WriteDefaults(oMenu)
//      WriteDefaults(oMenu2)
//      WriteDefaults(oMenu3)
//      WriteDefaults(oMenu4)
//      WriteDefaults(oMenu5)
//      WriteDefaults(oMenu6)

        /********************************************************************************
        Construct your menus below
        ********************************************************************************/
        oMenu.fromleft=0
        oMenu.subwidth=140

oMenu.makeMain(0,'Инфо')
oMenu.makeSub(0, 0,'Главная', '../index.shtml',7)
oMenu.makeSub(0, 1,'О компании', '../about.shtml',7)
oMenu.makeSub(0, 2,'Подписка на прайс', '../subscribe.shtml',7)
oMenu.makeSub(0, 3,'Обмен ссылками', '../linkexchanger/index.php',7)
oMenu.makeSub(0, 4,'Доска объявлений', '../board/index.php',7)
oMenu.makeSub(0, 5,'Карта сайта', '../mape.shtml',7)
oMenu.makeSub(0, 6,'Инфо-Центр', '../help.shtml',7)
oMenu.makeMain(1,'Образцы продукции')
oMenu.makeSub(1, 0,'Гидроцилиндры', '../product_cilindr.shtml',8)
oMenu.makeSub(1, 1,'Гидрораспределители', '../products.shtml',8)
oMenu.makeSub(1, 2,'Распределители', '../product_raspred.shtml',8)
oMenu.makeSub(1, 3,'Гидрооборудование', '../product_gidravlic.shtml',8)
oMenu.makeSub(1, 4,'РВД и муфты', '../product_rvd.shtml',8)
oMenu.makeSub(1, 5,'Насосы шестеренные', '../product_pumps.shtml',8)
oMenu.makeSub(1, 6,'Амортизаторы', '../product_gidravl.shtml',8)
oMenu.makeSub(1, 7,'Навесная техника', '../tillage_combine.shtml',8)
oMenu.makeMain(2,'Доставка')
oMenu.makeSub(2, 0,'Доставка запчастей', '../trade_parts.shtml',3)
oMenu.makeSub(2, 1,'Оплата запчастей', '../mail.shtml',3)
oMenu.makeSub(2, 2,'Где купить', '../trade.shtml',3)
oMenu.makeMain(3,'Прайс - лист')
oMenu.makeSub(3, 0,'Каталог продукции', '../ukrprodukt.shtml',2)
oMenu.makeSub(3, 1,'Скачать Прайс - лист', '../price.shtml',2)
oMenu.makeMain(4,'Ремонт запчастей', '../repair/index.shtml')
oMenu.makeSub(4, 0,'0', '0',0)
oMenu.makeMain(5,'Пишите нам')
oMenu.makeSub(5, 0,'Обратная связь', '../mail/sendmail.php',1)
oMenu.makeMain(6,'Українська', '../impel.shtml')
oMenu.makeSub(6, 0,'0', 0,0)
oMenu.construct()
}

