fixMozillaZIndex=true; //Fixes Z-Index problem with Mozilla browsers but causes odd scrolling problem, toggle to see if it helps _menuCloseDelay=500; _menuOpenDelay=150; _subOffsetTop=10; _subOffsetLeft=-10; with(submenuStyle=new mm_style()){ //bordercolor="#5A5A5A"; //borderstyle="dashed"; //borderwidth=1; fontfamily="Tahoma, Times, Verdana, Arial"; fontsize="12px"; fontstyle="normal"; fontweight="normal"; offbgcolor="#F8C981"; offcolor="#000000"; onbgcolor="#FFB748"; oncolor="#000000"; //outfilter="fade(duration=0.5)"; //overfilter="Fade(duration=0.2);Alpha(opacity=95);Shadow(color=#5A5A5A', Direction=145, Strength=4)"; padding=3; separatorcolor="#5A5A5A"; separatorsize=1; subimage="menu/arrow.gif" subimagepadding=3; itemwidth=147; } with(menuStyle=new mm_style()){ styleid=1; bordercolor="#4D4D4D"; borderstyle="solid"; itemheight=76; itemwidth=221; //separatorwidth=52; } with(menuGlavniStyle=new mm_style()){ styleid=2; fontfamily="Tahoma"; fontsize="11px"; fontstyle="normal"; fontweight="normal"; offcolor="#000000"; //onbgcolor="#FFB748"; //offbgcolor=""; oncolor="#000000"; //separatorcolor="#5A5A5A"; itemheight=26; //padding=10; padding=3; bgimage="img/menu_bck.gif"; overbgimage="pix.gif"; align="center"; //separatorheight=26; } with(milonic=new menuname("Glavni")){ style=menuGlavniStyle; alwaysvisible=1; top=186; orientation="horizontal"; left=102; menuwidth=550; aI("image=spacer.gif"); aI("text=DOMOV;url=index.php;"); aI("image=spacer.gif"); aI("text=4 DEJAVNOSTI;url=?id=1;showmenu=m_1;"); aI("image=spacer.gif"); aI("text=ZANIMIVO;url=?id=2;showmenu=m_2;"); aI("image=spacer.gif"); aI("text=FILMI;url=?id=9;showmenu=m_9;"); aI("image=spacer.gif"); aI("text=ŠTUDENTI;url=?id=8;showmenu=m_8;"); aI("image=spacer.gif"); aI("text=KONTAKT;url=?id=10;showmenu=m_10;"); aI("image=spacer.gif"); } with(milonic=new menuname("m_1")){ style=submenuStyle; aI("text=VIDEOTEKE;url=index.php?id=4;showmenu=m_4;"); aI("text=AVTOMATI;url=index.php?id=5;showmenu=m_5;"); aI("text=INTERNET IZPOSOJA;url=index.php?id=6;showmenu=m_6;"); aI("text=DOSTAVA NA DOM;url=index.php?id=7;showmenu=m_7;"); } with(milonic=new menuname("m_4")){ style=submenuStyle; aI("text=Prebrskaj filme..;url=index.php?id=11;"); aI("text=Kje nas najdete;url=index.php?id=12;"); aI("text=Cenik;url=index.php?id=17;"); aI("text=Razprodaja VHS;url=index.php?id=23;"); } with(milonic=new menuname("m_5")){ style=submenuStyle; aI("text=Metulj 24ur;url=index.php?id=25;"); aI("text=Kako postanem član;url=index.php?id=26;"); aI("text=Uporaba avtomata;url=index.php?id=27;"); aI("text=Pogodba;url=index.php?id=28;"); aI("text=Lokacije avtomatov;url=index.php?id=13;"); aI("text=Cenik;url=index.php?id=18;"); } with(milonic=new menuname("m_6")){ style=submenuStyle; aI("text=Opis storitve;url=index.php?id=20;"); aI("text=Prebrskaj filme..;url=index.php?id=14;"); aI("text=Cenik;url=index.php?id=19;"); aI("text=Pogosta vprašanja;url=index.php?id=22;"); aI("text=Pogoji poslovanja;url=index.php?id=21;"); } with(milonic=new menuname("m_7")){ style=submenuStyle; aI("text=Opis storitve;url=index.php?id=15;"); aI("text=Cenik;url=index.php?id=16;"); } with(milonic=new menuname("m_2")){ style=submenuStyle; aI("text=Video avtomati;url=index.php?id=24;"); aI("text=Ogled predfilmov;url=index.php?id=29;"); aI("text=NAGRADNE IGRE;url=index.php?id=30;"); } with(milonic=new menuname("m_3")){ style=submenuStyle; } with(milonic=new menuname("m_8")){ style=submenuStyle; } with(milonic=new menuname("m_9")){ style=submenuStyle; } with(milonic=new menuname("m_10")){ style=submenuStyle; } drawMenus();