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


with(bluemenuStyle=new mm_style()){
styleid=4;
fontfamily="Verdana, Tahoma, Arial";
fontsize="100%";
fontstyle="normal";
headerbgcolor="#ffffff";
headercolor="#000000";
offbgcolor="#7ec5e3";
offcolor="#333333";	
onbgcolor="#000000";
oncolor="#ffffff";
onsubimage="img/white_arrow.gif";
padding=5;
pagebgcolor="#0984b8";
pagecolor="black";
subimage="img/arrow.gif";
subimagepadding=2;
}

with(greenmenuStyle=new mm_style()){
styleid=5;
fontfamily="Verdana, Tahoma, Arial";
fontsize="100%";
fontstyle="normal";
headerbgcolor="#ffffff";
headercolor="#000000";
offbgcolor="#b8dc7c";
offcolor="#333333";
onbgcolor="#000000";
oncolor="#ffffff";
onsubimage="img/white_arrow.gif";
padding=5;
pagebgcolor="#8eb153";
pagecolor="black";
subimage="img/arrow.gif";
subimagepadding=2;
}

with(graymenuStyle=new mm_style()){
styleid=2;
fontfamily="Verdana, Tahoma, Arial";
fontsize="100%";
fontstyle="normal";
headerbgcolor="#ffffff";
headercolor="#000000";
offbgcolor="#c3c3c5";
offcolor="#333333";
onbgcolor="#000000";
oncolor="#ffffff";
onsubimage="img/white_arrow.gif";
padding=5;
pagebgcolor="#a0a0a0";
pagecolor="black";
subimage="img/arrow.gif";
subimagepadding=2;
}

with(menuStyle=new mm_style()){
styleid=1;
fontfamily="Verdana, Tahoma, Arial";
fontsize="100%";
fontstyle="normal";
headerbgcolor="#ffffff";
headercolor="#000000";
offbgcolor="#000000";
offcolor="#333333";
oncolor="#ffffff";
onsubimage="img/white_arrow.gif";
padding=5;
subimage="img/arrow.gif";
subimagepadding=10;
}

with(milonic=new menuname("Main Menu")){
alwaysvisible=1;
orientation="horizontal";
style=menuStyle;
aI("offbgcolor=#E93030;text=POG;");
aI("offbgcolor=#f0a548;text=&nbsp;&nbsp;&nbsp;Empresa&nbsp;&nbsp;;url=index.php?p=empresa;");
aI("offbgcolor=#b8dc7c;showmenu=Servicos;text=&nbsp;&nbsp;&nbsp;Serviços&nbsp;&nbsp;;url=index.php?p=servicos;");
aI("offbgcolor=#ccccff;text=&nbsp;&nbsp;Procedimento&nbsp;&nbsp;;url=index.php?p=procedimentos;");
aI("offbgcolor=#7ec5e3;text=&nbsp;&nbsp;&nbsp;Pedidos&nbsp;&nbsp;;url=index.php?p=pedido;");
aI("offbgcolor=#c3c3c5;showmenu=Precos;text=&nbsp;&nbsp;&nbsp;Preços&nbsp;&nbsp;;url=index.php?p=precos;");
aI("offbgcolor=#77c5A3;text=&nbsp;&nbsp;&nbsp;Pagamento&nbsp;&nbsp;&nbsp;;url=index.php?p=pagamento;");
aI("offbgcolor=#f6c5b4;text=&nbsp;&nbsp;&nbsp;Contato&nbsp;&nbsp;&nbsp;;url=index.php?p=contato;");
}


with(milonic=new menuname("Servicos")){
style=greenmenuStyle;
aI("text=POG;");
aI("text=Encadernação Fotográfica;url=index.php?p=albuns;");
aI("text=Revelação Digital;url=index.php?p=revelacao;");
aI("text=Edição de Fotografias;url=index.php?p=edicao;");
aI("text=Cores;url=index.php?p=acabamentos;");
}

with(milonic=new menuname("Precos")){
style=graymenuStyle;
aI("text=POG;");
aI("text=Encadernação Fotográfica;url=index.php?p=precos#albuns;");
aI("text=Laminação;url=index.php?p=precos#laminacao;");
aI("text=Opcionais;url=index.php?p=precos#opcionais;");
aI("text=Edição de Fotografias;url=index.php?p=precos#edicao;");
aI("text=Revelação Digital;url=index.php?p=precos#revelacao");
}


function limpa()
{
x = true;
try
	{
	try	{document.getElementById('el8').style.display = 'none';	 } catch(e){x=false;}
	try	{document.getElementById('el13').style.display = 'none'; } catch(e){x=false;}
	//try	{document.getElementById('el19').style.display = 'none'; } catch(e){x=false;}
	if (x==true)clearInterval(a);
	}
catch(e)
	{
	}
}

function burlaMilonic()
{
document.getElementById('el0').style.display = 'none';
var x;
var a = setInterval("limpa()",50);
}

