function mmLoadMenus() { if (window.mm_menu_1) return; //--------меню 1---------------Новые поступления--------------------- width=130; //Ширина менюшки height=20; //Высота одного пункта менюшки window.mm_menu_1 = new Menu("root",width,height,"Arial Narrow",12,"#ccffff","#cbff9a","#6a757d","#3e4448","left","middle",3,0,500,-5,7,true,true,true,0,false,true); mm_menu_1.addMenuItem("ПРОДАЖА ДОМОВ","location='/Cottage/ExpoCent.nsf/NewHouseSale?OpenView'"); mm_menu_1.addMenuItem("ПРОДАЖА УЧАСТКОВ","location='/Cottage/ExpoCent.nsf/NewLandSale?OpenView'"); // Yevgeny V Burin, 19.04.07 13:33:30 : Скрыл пункт "Поселки" по запросу от Павла (Стрелкова Ильи Александровича ) // mm_menu_1.addMenuItem("Поселки","location='/Cottage/ExpoCent.nsf/NEWbyPoselok?OpenView&CollapseView'"); mm_menu_1.addMenuItem("АРЕНДА КОТТЕДЖЕЙ","location='/Cottage/ExpoCent.nsf/NewHouseArnd?OpenView'"); mm_menu_1.hideOnMouseOut=true; mm_menu_1.menuBorder=1; mm_menu_1.menuLiteBgColor='#ffffff'; mm_menu_1.menuBorderBgColor='#735B2B'; mm_menu_1.bgColor='#000000'; //--------меню 2---------------Аналитика---------------------- width=182; //Ширина менюшки height=20; //Высота одного пункта менюшки window.mm_menu_2 = new Menu("root",width,height,"Arial Narrow",12,"#ccffff","#cbff9a","#6a757d","#3e4448","left","middle",3,0,500,-5,7,true,true,true,0,false,true); mm_menu_2.addMenuItem("ЭКСПЕРТНОЕ МНЕНИЕ","location='/Cottage/Analitika.nsf/АDateSearch/20100903?OpenDocument'"); mm_menu_2.addMenuItem("БЛОГ УПРАВЛЯЮЩЕГО ПАРТНЕРА","location='http://evgeny-v-ivanov.livejournal.com'"); mm_menu_2.hideOnMouseOut=true; mm_menu_2.menuBorder=1; mm_menu_2.menuLiteBgColor='#ffffff'; mm_menu_2.menuBorderBgColor='#735B2B'; mm_menu_2.bgColor='#000000'; //--------меню 3---------------Выгодные предложения--------------------------- width=145; //Ширина менюшки height=15; //Высота одного пункта менюшки window.mm_menu_3 = new Menu("root",width,height,"Verdana, Arial, Helvetica, sans-serif",9,"#ffffff","#000000","#6a757d","#3e4448","left","middle",3,0,500,-5,7,true,true,true,0,false,true); // mm_menu_3.addMenuItem("Инфраструктура Рублево-Успенского направления","location=''"); // mm_menu_3.addMenuItem("Инфраструктура Калужского направления","location=''"); // mm_menu_3.addMenuItem("Инфраструктура Серебряного Бора","location=''"); //mm_menu_3.addMenuItem("Описание коттеджных поселков","location='/Cottage/poselki.nsf/PskNameView?OpenView'"); // mm_menu_3.addMenuItem("Словарь терминов","location='/Cottage/Slovo.nsf/byABC?OpenView'"); // mm_menu_3.addMenuItem("Карты-схемы","window.open('/Cottage/site.nsf/SerBor?OpenForm', '_blank','height=450 , width=670');"); //mm_menu_3.addMenuItem("Отладка сайта","location='/Cottage/ExpoCent.nsf/byCode?OpenView'"); mm_menu_3.hideOnMouseOut=true; mm_menu_3.menuBorder=1; mm_menu_3.menuLiteBgColor='#ffffff'; mm_menu_3.menuBorderBgColor='#735B2B'; mm_menu_3.bgColor='#000000'; //--------меню 4---------------История усадеб-------------------------- width=93; //Ширина менюшки height=15; //Высота одного пункта менюшки window.mm_menu_4 = new Menu("root",width,height,"Verdana, Arial, Helvetica, sans-serif",9,"#ffffff","#000000","#6a757d","#3e4448","left","middle",3,0,500,-5,7,true,true,true,0,false,true); // mm_menu_4.addMenuItem("Наименование","location='/Cottage/History.nsf/HfNameView?OpenView'"); mm_menu_4.hideOnMouseOut=true; mm_menu_4.menuBorder=1; mm_menu_4.menuLiteBgColor='#ffffff'; mm_menu_4.menuBorderBgColor='#735B2B'; mm_menu_4.bgColor='#000000'; //--------меню 5---------------О Компании-------------------------- width=130; //Ширина менюшки height=20; //Высота одного пункта менюшки window.mm_menu_5 = new Menu("root",width,height,"Arial Narrow",12,"#ccffff","#cbff9a","#6a757d","#3e4448","left","middle",3,0,500,-5,7,true,true,true,0,false,true); mm_menu_5.addMenuItem("УСЛУГИ","location='/Cottage/info.nsf/by_id/services?opendocument'"); mm_menu_5.addMenuItem("ВАКАНСИИ","location='/Cottage/info.nsf/by_id/jobs?opendocument'"); mm_menu_5.addMenuItem("ЗАГОРОДЪ В СМИ","location='/Cottage/info.nsf/by_id/smi?opendocument'"); // mm_menu_5.addMenuItem("Послать письмо","location='mailto:info@zagorodvip.ru'"); mm_menu_5.hideOnMouseOut=true; mm_menu_5.menuBorder=1; mm_menu_5.menuLiteBgColor='#ffffff'; mm_menu_5.menuBorderBgColor='#735B2B'; mm_menu_5.bgColor='#000000'; //---вывод меню------- mm_menu_2.writeMenus(); } //==================Код меню====================== function Menu(label, mw, mh, fnt, fs, fclr, fhclr, bg, bgh, halgn, valgn, pad, space, to, sx, sy, srel, opq, vert, idt, aw, ah) { this.version = "020320 [Menu; mm_menu.js]"; this.type = "Menu"; this.menuWidth = mw; this.menuItemHeight = mh; this.fontSize = fs; this.fontWeight = "plain"; this.fontFamily = fnt; this.fontColor = fclr; this.fontColorHilite = fhclr; this.bgColor = "#555555"; this.menuBorder = 1; this.menuBgOpaque=opq; this.menuItemBorder = 1; this.menuItemIndent = idt; this.menuItemBgColor = bg; this.menuItemVAlign = valgn; this.menuItemHAlign = halgn; this.menuItemPadding = pad; this.menuItemSpacing = space; this.menuLiteBgColor = "#ffffff"; this.menuBorderBgColor = "#777777"; this.menuHiliteBgColor = bgh; this.menuContainerBgColor = "#cccccc"; this.childMenuIcon = "arrows.gif"; this.submenuXOffset = sx; this.submenuYOffset = sy; this.submenuRelativeToItem = srel; this.vertical = vert; this.items = new Array(); this.actions = new Array(); this.childMenus = new Array(); this.hideOnMouseOut = true; this.hideTimeout = to; this.addMenuItem = addMenuItem; this.writeMenus = writeMenus; this.MM_showMenu = MM_showMenu; this.onMenuItemOver = onMenuItemOver; this.onMenuItemAction = onMenuItemAction; this.hideMenu = hideMenu; this.hideChildMenu = hideChildMenu; if (!window.menus) window.menus = new Array(); this.label = " " + label; window.menus[this.label] = this; window.menus[window.menus.length] = this; if (!window.activeMenus) window.activeMenus = new Array(); } function addMenuItem(label, action) { this.items[this.items.length] = label; this.actions[this.actions.length] = action; } function FIND(item) { if( window.mmIsOpera ) return(document.getElementById(item)); if (document.all) return(document.all[item]); if (document.getElementById) return(document.getElementById(item)); return(false); } function writeMenus(container) { if (window.triedToWriteMenus) return; var agt = navigator.userAgent.toLowerCase(); window.mmIsOpera = agt.indexOf("opera") != -1; if (!container && document.layers) { window.delayWriteMenus = this.writeMenus; var timer = setTimeout('delayWriteMenus()', 500); container = new Layer(100); clearTimeout(timer); } else if (document.all || document.hasChildNodes || window.mmIsOpera) { document.writeln(''); container = FIND("menuContainer"); } window.mmHideMenuTimer = null; if (!container) return; window.triedToWriteMenus = true; container.isContainer = true; container.menus = new Array(); for (var i=0; i