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=2;
_subOffsetLeft=-2;




with(contextStyle=new mm_style()){
bordercolor="#999999";
borderstyle="solid";
borderwidth=1;
fontfamily="arial, verdana, tahoma";
fontsize="75%";
fontstyle="normal";
headerbgcolor="#4F8EB6";
headerborder=1;
headercolor="#ffffff";
offbgcolor="#ffffff";
offcolor="#000000";
onbgcolor="#ECF4F9";
onborder="1px solid #316AC5";
oncolor="#000000";
outfilter="randomdissolve(duration=0.4)";
overfilter="Fade(duration=0.2);Shadow(color=#777777', Direction=135, Strength=3)";
padding=3;
pagebgcolor="#eeeeee";
pageborder="1px solid #ffffff";
pageimage="db_red.gif";
separatorcolor="#999999";
subimage="black_13x13_greyboxed.gif";
}

with(milonic=new menuname("contextMenu")){
margin=3;
style=contextStyle;
top="offset=2";
aI("image=home.gif;text=Adicionar aos Favoritos;url=javascript:window.external.AddFavorite('http://www.tonsdecha.pt', '[ Tons de Chá ]')");
aI("image=print.gif;separatorsize=1;text=Print;url=javascript:window.print();");
aI("image=back.gif;text=Back;url=javascript:history.go(-1);");
aI("image=forward.gif;text=Forward;url=javascript:history.go(1);");
aI("image=browser.gif;text=Refresh;url=javascript:history.go(0);");

aI("showmenu=Context Menu Samples;text=Menu;");

}

with(milonic=new menuname("Context Menu Samples")){
itemwidth=227;
margin=3;
overflow="scroll";
style=contextStyle;
aI("text=Conceito;url=conceito.htm;")
aI("text=Galeria;url=galeria.htm;")
aI("text=Contactos;url=contactos.htm;")

}

drawMenus();


