_menuCloseDelay=300; _menuOpenDelay=50; _scrollAmount=3; _scrollDelay=20; _followSpeed=5; _followRate=40; _subOffsetTop=7; // odskok podmenu _subOffsetLeft=-7; // odskok podmenu with(allMenuStyle=new mm_style()) { } with(menuStyle=new mm_style()) { onbgcolor="#BF022B"; // pozadie - farba CURSOR offbgcolor="#FFFFFF"; // pozadie - farba VISITED pagebgcolor="#9999CC"; // pozadie - farba ACTUAL oncolor="#ffffff"; // text - farba CURSOR offcolor="#22135A"; // text - farba VISITED pagecolor="#FFFFFF"; // text - farba ACTUAL bordercolor="#C1C1C5"; // ramik - farba borderstyle="solid"; // ramik - styl ( solid / dashed / dotted ) borderwidth=1; // ramik - sirka separatorcolor=""; // oddelovac - farba separatorsize=""; // oddelovac - velkost padding=7; // odskok ramika od textu fontsize=10; // pismo - velkost pisma fontstyle="normal"; // pismo ( italic alebo normal ) fontweight="bold"; // pismo ( bold alebo normal ) fontfamily="Verdana, Arial"; // pismo - typ headercolor=""; // ??? headerbgcolor=""; // ??? overfilter=""; // ??? outfilter=""; // ??? subimage="img/arrow.gif"; // podmenu - obrazok subimagepadding=7; // podmenu - odskok obrazka posleft=10; // pozicia menu zlava postop=18; // pozicia menu zhora if (screen.width > 1200) { posleft = posleft + (screen.width - 1024) / 2 ; } if (navigator.userAgent.indexOf("Firefox")!=-1) { posleft = posleft + 11 ; } // ak je browser Firefox odskok zlava +11 od IE if (navigator.userAgent.indexOf("Firefox")!=-1) { postop = postop + 0 ; } // ak je browser Firefox odskok zhora -1 od IE } with(milonic=new menuname("Main Menu")) // menu { style=allMenuStyle; top=135+postop; left=126+posleft; alwaysvisible=1; orientation="horizontal"; itemwidth=10; aI("showmenu=x2;image=img/ico_01.gif;overimage=img/ico_01_over.gif;url=index.php?cat=2;"); aI("showmenu=x3;image=img/ico_02.gif;overimage=img/ico_02_over.gif;url=index.php?cat=3;"); aI("showmenu=x35;image=img/ico_03.gif;overimage=img/ico_03_over.gif;url=index.php?cat=35;"); aI("showmenu=x4;image=img/ico_04.gif;overimage=img/ico_04_over.gif;url=index.php?cat=4;"); aI("showmenu=x5;image=img/ico_05.gif;overimage=img/ico_05_over.gif;url=index.php?cat=5;"); aI("showmenu=x6;image=img/ico_06.gif;overimage=img/ico_06_over.gif;url=index.php?cat=6;"); } with(milonic=new menuname("x2")) { top=158+postop; left=126+posleft; itemwidth=190; borderwidth=1; style=menuStyle; alignment="left"; aI("text=Úvod;url=index.php?cat=7;"); aI("text=Kontakt;url=index.php?cat=8;"); aI("text=Obchodné podmienky;url=index.php?cat=9;"); aI("text=Záručné podmienky;url=index.php?cat=10;"); } with(milonic=new menuname("x3")) { top=158+postop; left=210+posleft; itemwidth=190; borderwidth=1; style=menuStyle; alignment="left"; aI("text=Ochrana automobilov;showmenu=x12;url=index.php?cat=12;"); aI("text=Ochrana objektov;showmenu=x11;url=index.php?cat=11;"); aI("text=Automatizácia;url=index.php?cat=13;"); aI("text=Zdravotnícka technika;url=index.php?cat=14;"); aI("text=PCO;url=index.php?cat=15;"); aI("text=NBÚ;url=index.php?cat=16;"); aI("text=Ocenenia;url=index.php?cat=17;"); } with(milonic=new menuname("x12")) { itemwidth=190; borderwidth=1; style=menuStyle; alignment="left"; aI("text=Autoalarmy;url=index.php?cat=29;"); aI("text=Pagery;url=index.php?cat=30;"); aI("text=Centrálne uzamykania;url=index.php?cat=31;"); aI("text=El. zatváranie okien;url=index.php?cat=32;"); aI("text=Parkovacie senzory;url=index.php?cat=33;"); aI("text=Príslušenstvo;url=index.php?cat=34;"); } with(milonic=new menuname("x11")) { itemwidth=190; borderwidth=1; style=menuStyle; alignment="left"; aI("text=Ústredne;url=index.php?cat=23;"); aI("text=Ovládače a Klávesnice;url=index.php?cat=24;"); aI("text=Detektory;showmenu=x25;url=index.php?cat=25;"); aI("text=Sirény;showmenu=x26;url=index.php?cat=26;"); aI("text=Komunikátory;url=index.php?cat=27;"); aI("text=Príslušenstvo;url=index.php?cat=28;"); } with(milonic=new menuname("x25")) { itemwidth=190; borderwidth=1; style=menuStyle; alignment="left"; aI("text=PIR detektory;url=index.php?cat=36;"); aI("text=Detektory rozbitia skla;url=index.php?cat=37;"); aI("text=Magnetické detektory;url=index.php?cat=38;"); aI("text=Plynové detektory;url=index.php?cat=39;"); aI("text=Dymové detektory;url=index.php?cat=40;"); } with(milonic=new menuname("x26")) { itemwidth=190; borderwidth=1; style=menuStyle; alignment="left"; aI("text=Externé sirény;url=index.php?cat=41;"); aI("text=Interné sirény;url=index.php?cat=42;"); } with(milonic=new menuname("x35")) { top=158+postop; left=294+posleft; itemwidth=190; borderwidth=1; style=menuStyle; alignment="left"; aI("text=Prečo centrálny vysavač ?;url=index.php?cat=18;"); aI("text=Prečo DuoVac ?;url=index.php?cat=19;"); aI("text=Agregáty;url=index.php?cat=20;"); aI("text=Príslušenstvo;url=index.php?cat=21;"); aI("text=Cenník;url=index.php?cat=22;"); } with(milonic=new menuname("x4")) { top=158+postop; left=378+posleft; itemwidth=190; borderwidth=1; style=menuStyle; alignment="left"; } with(milonic=new menuname("x5")) { top=158+postop; left=462+posleft; itemwidth=190; borderwidth=1; style=menuStyle; alignment="left"; } with(milonic=new menuname("x6")) { top=158+postop; left=546+posleft; itemwidth=190; borderwidth=1; style=menuStyle; alignment="left"; } drawMenus();