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()){
styleid=1;
fontfamily="Verdana, Tahoma, Arial";
fontsize="70%";
fontstyle="normal";
fontweight="normal";
itemwidth=135;
bordercolor="#000000";
borderstyle="solid";
borderwidth=1;
offcolor="#000000";
oncolor="#308415";
ondecoration="underline";

separatorcolor="#969698";
subimage="../img/arrow.gif";
menubgcolor="#def67a";
fontsize="8pt";
}

with(menuStyle=new mm_style()){
fontfamily="Verdana, Tahoma, Arial";
fontsize="70%";
fontstyle="normal";
fontweight="normal";
itemwidth=135;
bordercolor="#000000";
borderstyle="solid";
borderwidth=1;
offcolor="#000000";
oncolor="#308415";
ondecoration="underline";
padding=4;
separatorcolor="#969698";
subimage="../img/arrow.gif";
subimagepadding=3;
rawcss="text-shadow:2px 2px 2px #999999;filter:dropshadow(color=#999999,offx=2,offy=2);";
}

with(menuStyle=new mm_style()){
styleid=1;
fontfamily="Verdana, Tahoma, Arial";
if (window.screen.width <= 800) {
	fontsize="60%";
	imagepadding=0;
	padding=16;
}
else if ((window.screen.width > 800) && (window.screen.width <= 1024)) {
	fontsize="60%";
	imagepadding=0;
	padding=8;
}
else {
	fontSize="100%";
	imagepadding=0;
	padding=16;
}
fontstyle="normal";
fontweight="normal";
offcolor="#000000";
oncolor="#308415";
ondecoration="underline";
}

with(milonic=new menuname("Main Menu")){
if (tag7 > 0) { 
	openstyle="rtl";
	//menuwidth="100%";
	//left=-28;
}
alwaysvisible=1;
orientation="horizontal";
style=menuStyle;

if (window.screen.width <= 800) {
	top=93;
	if (tag7 == 0) left=25;
	//if (tag7 > 0) left=-25;
}
else if ((window.screen.width > 800) && (window.screen.width <= 1024)) {
	top =98;
	if (tag7 == 0) left=28;
	//if (tag7 > 0) left=-28;
}
else {
	top=90;
	if (tag7 == 0) left=25;
	//if (tag7 > 0) left=-25;
}

//aI("image=../img/home_pm.png;itemheight=1;offbgcolor=transparent;text="+tag1+";url=default.asp;");
if (tag7 > 0) aI("text=&nbsp;");
aI("image=../img/pm_join.png;itemheight=1;offbgcolor=transparent;url=registar.asp?action=1&f=2;text="+tag2+";");
aI("image=../img/folder_pm.png;itemheight=1;offbgcolor=transparent;url=manual_pm.asp;text="+tag3+";");
aI("image=../img/pm_contact.png;itemheight=1;offbgcolor=transparent;url=contactos.asp;text="+tag4+";");
aI("image=../img/password.png;itemheight=1;offbgcolor=transparent;url=registar.asp?action=3;text="+tag5+";");
aI("image=../img/pm_languages.png;itemheight=1;offbgcolor=transparent;text="+tag6+";showmenu=idiomas;");
}

with(milonic=new menuname("idiomas")){
if (tag7 > 0) { 
	openstyle="rtl";
}
margin=2;
offcolor="#000000";
oncolor="#308415";
style=submenuStyle;
itemheight=4;
for(var i=0;i<names.length;i++){
	aI("text="+names[i]+";url="+urls[i]+";");
}
}

drawMenus();


