fixMozillaZIndex=true; //Fixes Z-Index problem  with Mozilla browsers but causes odd scrolling problem, toggle to see if it helps
_menuCloseDelay=250           // The time delay for menus to remain visible on mouse out
_menuOpenDelay=20            // The time delay before menus open on mouse over
_followSpeed=5                // Follow scrolling speed
_followRate=10                // Follow scrolling Rate
_subOffsetTop=5              // Sub menu top offset
_subOffsetLeft=-8            // Sub menu left offset
_scrollAmount=3               // Only needed for Netscape 4.x
_scrollDelay=10               // Only needed for Netcsape 4.x



with(MainMenuStyle=new mm_style()){
onbgcolor="#EFEFEF";
oncolor="#1681C0";
offbgcolor="transparent";
offcolor="#1681C0";
bordercolor="#AA8000";
borderstyle="solid";
borderwidth=0;
separatorcolor="#1A94DC";
separatorsize="1";
padding=0;
fontsize="14px";
fontweight="bold";
fontfamily="Arial, Verdana, Helvetica, sans-serif";
pagecolor="#1681C0";
pagebgimage="/images/fundo_menu.jpg";
headercolor="#000000";
headerbgcolor="#ffffff";
onsubimage="/images/seta_submenu.gif";
subimage="/images/seta_submenu.gif";
subimagepadding="0";
align="center";
overbgimage="/images/fundo_menu.jpg";
onbgimage="/images/fundo_menu.jpg";
}

with(SubMenuStyle=new mm_style()){
onbgcolor="#FFFFFF";
oncolor="#1681C0";
offbgcolor="#F6FBFF";
offcolor="#1681C0";
bordercolor="#1681C0";
borderstyle="solid";
borderwidth=1;
separatorcolor="#1681C0";
separatorsize="1";
padding=4;
fontsize="11px";
fontweight="normal";
fontfamily="Verdana, Arial, Helvetica, sans-serif";
pagecolor="#1681C0";
pagebgcolor="#EFEFEF";
headercolor="#000000";
headerbgcolor="#ffffff";
onsubimage="/images/seta_submenu.gif";
subimage="/images/seta_submenu.gif";
subimagepadding="0";
//overfilter="Fade(duration=0.2);Alpha(opacity=100);Shadow(color='#F3E8CD', Direction=135, Strength=5)";
//outfilter="Fade(duration=0.1)";
overflow="scroll";
}

itemwidth_main_menu = 153;
itemheight_main_menu = 25;
itemwidth_sub_menu = 160;
itemheight_sub_menu = 20;

topo_sub_menu = "offset=2";
esquerda_sub_menu = "offset=-1";
posicao_main_menu = "relative";
posicao_sub_menu = "absolute";
orientacao_main_menu = "vertical";
orientacao_sub_menu = "vertical";


with(maxmenu=new menuname("106")){
style=SubMenuStyle;
itemwidth=itemwidth_sub_menu;
itemheight=itemheight_sub_menu;
top=topo_sub_menu;
left=esquerda_sub_menu;
//position=posicao_sub_menu;
orientation=orientacao_sub_menu;
overflow="scroll";
aI("text=1 BEDROOM;url=/categoria-112-1-bedroom.html;");
aI("text=2 BEDROOMS;url=/categoria-118-2-bedrooms.html;");
aI("text=3 BEDROOMS;url=/categoria-119-3-bedrooms.html;");
aI("text=STUDIO;");
}


with(maxmenu=new menuname("113")){
style=SubMenuStyle;
itemwidth=itemwidth_sub_menu;
itemheight=itemheight_sub_menu;
top=topo_sub_menu;
left=esquerda_sub_menu;
//position=posicao_sub_menu;
orientation=orientacao_sub_menu;
overflow="scroll";
aI("text=2 BEDROOMS;url=/categoria-114-2-bedrooms.html;");
aI("text=3 BEDROOMS;url=/categoria-115-3-bedrooms.html;");
aI("text=4 BEDROOMS;url=/categoria-116-4-bedrooms.html;");
aI("text=5+ BEDROOMS;url=/categoria-117-5-bedrooms.html;");
}


with(maxmenu=new menuname("124")){
style=SubMenuStyle;
itemwidth=itemwidth_sub_menu;
itemheight=itemheight_sub_menu;
top=topo_sub_menu;
left=esquerda_sub_menu;
//position=posicao_sub_menu;
orientation=orientacao_sub_menu;
overflow="scroll";
aI("text=2 BEDROOMS;url=/categoria-125-2-bedrooms.html;");
aI("text=3 BEDROOMS;url=/categoria-126-3-bedrooms.html;");
}


with(maxmenu=new menuname("130")){
style=SubMenuStyle;
itemwidth=itemwidth_sub_menu;
itemheight=itemheight_sub_menu;
top=topo_sub_menu;
left=esquerda_sub_menu;
//position=posicao_sub_menu;
orientation=orientacao_sub_menu;
overflow="scroll";
aI("text=APARTMENTS;showmenu=106;");
aI("text=COMMERCIAL PROPERTY;");
aI("text=DEVELOPMENTS;url=/categoria-108-developments.html;");
aI("text=LAND;");
aI("text=NEW AQUISITIONS;");
aI("text=SHOPS, RESTAURANTS & BARS;");
aI("text=SPECIAL REDUCTIONS;");
aI("text=TOWN HOUSES;showmenu=124;");
aI("text=VILLAS;showmenu=113;");
}


with(maxmenu=new menuname("Main Menu130")){
style=MainMenuStyle;
alwaysvisible=1;
itemwidth=itemwidth_main_menu;
itemheight=itemheight_main_menu;
position=posicao_main_menu;
orientation=orientacao_main_menu;

aI("text=APARTMENTS;showmenu=106;");

aI("text=COMMERCIAL PROPERTY;");

aI("text=DEVELOPMENTS;url=/categoria-108-developments.html;");

aI("text=LAND;");

aI("text=NEW AQUISITIONS;");

aI("text=SHOPS, RESTAURANTS & BARS;");

aI("text=SPECIAL REDUCTIONS;");

aI("text=TOWN HOUSES;showmenu=124;");

aI("text=VILLAS;showmenu=113;");
}

drawMenus()