fixMozillaZIndex=true; //Fixes Z-Index problem  with Mozilla browsers but causes odd scrolling problem, toggle to see if it helps
_menuCloseDelay=500;
_menuOpenDelay=0;
_subOffsetTop=0;
_subOffsetLeft=0;




with(menuStyle=new mm_style())
{
bordercolor="#000000";
borderstyle="none";
borderwidth=0;
fontfamily="Verdana, Tahoma, Arial";
fontsize="12px";
fontstyle="normal";
fontweight="bold";
headerbgcolor="#ffffff";
headercolor="#000000";

offcolor="#000000";

oncolor="#00FF33";
outfilter="Slide(duration=0.1);Alpha(opacity=100);)";
overfilter="GradientWipe(duration=0.1);Alpha(opacity=100);)";
padding=0;



separatorsize=0;
subimagepadding=0;
itemheight=31;
imagepadding=0;

}


with(podmenuStyle=new mm_style())
{
bordercolor="#999999";
borderstyle="solid";
borderwidth=1;
fontfamily="Verdana, Tahoma, Arial";
fontsize="12px";
fontweight="bold";
fontstyle="normal";
headerbgcolor="#ffffff";
headercolor="#000000";
offbgcolor="#229922";
offcolor="#000000";
onbgcolor="#44FD44"
oncolor="#000000";
outfilter="Slide(duration=0.1);Alpha(opacity=100);Shadow(color=#777777', Direction=135, Strength=5)";
overfilter="GradientWipe(duration=0.1);Alpha(opacity=100);Shadow(color=#777777', Direction=135, Strength=5)";
padding=4;
pagebgcolor="#82B6D7";
pagecolor="black";
separatorcolor="#999999";
separatorsize=1;

subimagepadding=0;
}



with(menu=new menuname("OFERTA")){
overflow="scroll";
style=podmenuStyle;
aI("showmenu=ELEKTRONARZĘDZIA;text=Elektronarzędzia;");
aI("showmenu=PNEUMONARZĘDZIA;text=Narzędzia pneumatyczne;");
aI("showmenu=OPRZYRZĄDOWANIE;text=Oprzyrządowanie;");
aI("showmenu=POMIAROWE;text=Pomiarowe;");
aI("showmenu=NARZĘDZIA_RĘCZNE;text=Narzędzia ręczne;");
aI("showmenu=WYPOSAZENIE_WARSZTATU;text=Wyposażenie warsztatu;");
}


with(menu=new menuname("WYPOSAZENIE_WARSZTATU")){
style=podmenuStyle;
aI("text=Jotkel;url=http://www.jotkel.com;")

}



with(menu=new menuname("ELEKTRONARZĘDZIA")){
style=podmenuStyle;
aI("text=METABO;url=http://www.metabo.pl;")
aI("text=FEIN;url=http://www.fein.com;")
aI("text=BOSCH;url=http://www.bosch.pl;")
}

with(menu=new menuname("PNEUMONARZĘDZIA")){
style=podmenuStyle;
aI("text=Shinano;url=index.php?c=t&k=2&id=1;")
aI("text=Rodcraft;url=http://www.rodcraft.com;")
aI("text=Sumake;url=index.php?c=t&k=2&id=3;")

}

with(menu=new menuname("OPRZYRZĄDOWANIE")){
style=podmenuStyle;
aI("text=Węże;url=index.php?c=t&k=3&id=1;")
aI("text=Złączki;url=index.php?c=t&k=3&id=2;")


}

with(menu=new menuname("POMIAROWE")){
style=podmenuStyle;
aI("text=Mitutoyo;url=http://www.mitutoyo.pl;")
aI("text=Vis;url=http://www.vis.com.pl;")
aI("text=Preisser;url=http://www.preisser.com;")

}

with(menu=new menuname("NARZĘDZIA_RĘCZNE")){
style=podmenuStyle;
aI("text=Wiha;url=http://www.wiha.com;")
aI("text=Knipex;url=http://www.knipex.com;")
aI("text=Gedore;url=http://www.gedore.pl;")
aI("text=Stahlwille;url=http://www.stahlwille.pl;")
aI("text=Hazet;url=http://www.hazet.com;")
aI("text=Proxxon;url=http://www.proxxon.com;")
aI("text=Bahco;url=http://www.bahco.pl;")
}





with(menu=new menuname("1ELEKTRONARZĘDZIA")){
style=podmenuStyle;
aI("text=METABO;url=index.php?c=t&k=1&id=1;")
aI("text=FEIN;url=index.php?c=t&k=1&id=2;")
aI("text=BOSCH;url=index.php?c=t&k=1&id=3;")
}

with(menu=new menuname("1PNEUMONARZĘDZIA")){
style=podmenuStyle;
aI("text=Shinano;url=index.php?c=t&k=2&id=1;")
aI("text=Rodckraft;url=index.php?c=t&k=2&id=2;")
aI("text=Sumake;url=index.php?c=t&k=2&id=3;")

}

with(menu=new menuname("1OPRZYRZĄDOWANIE")){
style=podmenuStyle;
aI("text=Węże;url=index.php?c=t&k=3&id=1;")
aI("text=Złączki;url=index.php?c=t&k=3&id=2;")


}

with(menu=new menuname("1POMIAROWE")){
style=podmenuStyle;
aI("text=Mitutoyo;url=index.php?c=t&k=4&id=1;")
aI("text=Vis;url=index.php?c=t&k=4&id=2;")
aI("text=Preisser;url=index.php?c=t&k=4&id=3;")

}

with(menu=new menuname("1NARZĘDZIA_RĘCZNE")){
style=podmenuStyle;
aI("text=Wiha;url=index.php?c=t&k=5&id=1;")
aI("text=Knipex;url=index.php?c=t&k=5&id=2;")
aI("text=Gedore;url=index.php?c=t&k=5&id=3;")
aI("text=Stahlwille;url=index.php?c=t&k=5&id=4;")
aI("text=Hazet;url=index.php?c=t&k=5&id=5;")
aI("text=Proxxon;url=index.php?c=t&k=5&id=6;")
}

drawMenus();

