<!--
var lang = "pt";
var ie4 = (document.all && navigator.userAgent.indexOf("Opera") == -1);
var ns6 = (document.getElementById && !document.all);
var ns4 = (document.layers);
function showmenu(e, loc)
{
	if (!document.all && !document.getElementById && !document.layers)
		return;
	
	clearhidemenu();
	
	menuobj = ie4 ? document.all.popmenu : ns6 ? document.getElementById("popmenu") : ns4 ? document.popmenu : document.popmenu;
	menuobj.thestyle = (ie4||ns6) ? menuobj.style : menuobj;
	var str = "";
	var width = "290";
	var t1="", t2="", t3="", t4="", t5="", t6="", t7="", t8="", t9="", t10="", t11="";
	if(loc == 1)
	{
		t1 = "Páginas Amarelas";
		t2 = "Páginas Amarelas Bolso";
		t3 = "Páginas Amarelas na Internet";
		t6 = "Páginas Brancas";
		if(lang == "en")
		{
			t1 = "Print Directories";
			t2 = "Pocket Guide";
			t3 = "Internet";
			t6 = "White Pages";
		}
		
		str = 	"<table width='100%'>\n"
				+"<tr>\n"
				+ "<td bgcolor='#F6E801'>\n"
				+ "<a href='produtos31e3.html'><b>"+t1+"</b></a>\n"
				+ "</td>\n"
				+ "</tr>\n"
				+ "<tr>\n"
				+ "<td bgcolor='#D4D4D4'>\n"
				+ "<a href='produtosc46c.html'><b>"+t2+"</b></a>\n"
				+ "</td>\n"
				+ "</tr>\n"
				+ "<tr>\n"
				+ "<td bgcolor='#F6E801'>\n"
				+ "<a href='produtosa730.html'><b>"+t3+"</b></a>\n"
				+ "</td>\n"
				+ "</tr>\n"
				+ "<tr>\n"
				+ "<td bgcolor='#D4D4D4'>\n"
				+ "<a href='produtosfc16.html'><b>"+t6+"</b></a>\n"
				+ "</td>\n"
				+ "</tr>\n"
				+ "</table>\n";
	}
	else if(loc == 2)
	{
		t1 = "Sobre a Empresa";
		t2 = "Carreira";
		t4 = "Responsabilidade Social";
		t5 = "Historial da Empresa"
		
		if(lang == "en")
		{
			t1 = "About us";
			t2 = "Career";
			t4 = "Social Responsibility";
			t5 = "";
		}		
		str = 	"<table width='100%'>\n"
				+"<tr>\n"
				+ "<td bgcolor='#F6E801'>\n"
				+ "<a href='paginas6f87.html'><b>"+t1+"</b></a>\n"
				+ "</td>\n"
				+ "</tr>\n"
				+ "<tr>\n"
				+ "<td bgcolor='#D4D4D4'>\n"
				+ "<a href='paginasb49d.html'><b>"+t2+"</b></a>\n"
				+ "</td>\n"
				+ "</tr>\n";
		
		if(t3 != "")
		{
			str	+=  "<tr>\n"
					+ "<td bgcolor='#F6E801'>\n"
					+ "<a href='pdf/Jornal Clientes JunhoSet06pdf.pdf' target='_blank'><b>"+t3+"</b></a>\n"
					+ "</td>\n"
					+ "</tr>\n";
		}
		
		str	+= "<tr>\n"
		if(t3 != "")
			str	+=		"<td bgcolor='#D4D4D4'>\n"
		else
			str	+=		"<td bgcolor='#F6E801'>\n"
				
		str	+=	 "<a href='social923c.html'><b>"+t4+"</b></a>\n"
				+ "</td>\n"
				+ "</tr>\n";

		str +=  "<tr>\n"
		if(t3 != "")
			str	+=		"<td bgcolor='#F6E801'>\n"
		else
			str	+=		"<td bgcolor='#D4D4D4'>\n"

		str	+= "<a href='paginas5316.html'><b>"+t5+"</b></a>\n"
			   + "</td>\n"
			   + "</tr>\n";

		str += "</table>\n";
	}
	else if(loc == 3)
	{
		t1 = "Serviço a Clientes";
		t2 = "Distribuição";
		t3 = "Páginas Amarelas&reg;na Internet";
		t4 = "Marketing";
		t5 = "Actualização de Base de Dados";
		t6 = "Serviços Administrativos";
		t7 = "Carreira";
		if(lang == "en")
		{
			t1 = "Customer Service";
			t2 = "Distribution";
			t3 = "Internet Yellow Pages";
			t5 = "Database Update";
			t6 = "Procurement Services";
			t7 = "Career";
		}
		
		str = 	"<table width='100%'>\n"
				+"<tr>\n"
				+ "<td bgcolor='#F6E801'>\n"
				+ "<a href='contacto.asp?lang=pt&contacto=1'><b>"+t1+"</b></a>\n"
				+ "</td>\n"
				+ "</tr>\n"
				+ "<tr>\n"
				+ "<td bgcolor='#D4D4D4'>\n"
				+ "<a href='contacto.asp?lang=pt&contacto=2'><b>"+t2+"</b></a>\n"
				+ "</td>\n"
				+ "</tr>\n"
				+ "<tr>\n"
				+ "<td bgcolor='#F6E801'>\n"
				+ "<a href='contacto.asp?lang=pt&contacto=3'><b>"+t3+"</b></a>\n"
				+ "</td>\n"
				+ "</tr>\n"
				+ "<tr>\n"
				+ "<td bgcolor='#D4D4D4'>\n"
				+ "<a href='contacto.asp?lang=pt&contacto=4'><b>"+t4+"</b></a>\n"
				+ "</td>\n"
				+ "</tr>\n"
				+ "<tr>\n"
				+ "<td bgcolor='#F6E801'>\n"
				+ "<a href='contacto.asp?lang=pt&contacto=5'><b>"+t5+"</b></a>\n"
				+ "</td>\n"
				+ "</tr>\n"
				+ "<tr>\n"
				+ "<td bgcolor='#D4D4D4'>\n"
				+ "<a href='contacto.asp?lang=pt&contacto=6'><b>"+t6+"</b></a>\n"
				+ "</td>\n"
				+ "</tr>\n"
				+ "<tr>\n"
				+ "<td bgcolor='#F6E801'>\n"
				+ "<a href='contacto.asp?lang=pt&contacto=7'><b>"+t7+"</b></a>\n"
				+ "</td>\n"
				+ "</tr>\n"
				+ "<tr>\n"
				+ "<td bgcolor='#D4D4D4'>\n"
				+ "<a href='contacto.asp?lang=pt&contacto=8'><b>"+t8+"</b></a>\n"
				+ "</td>\n"
				+ "</tr>\n"
				+ "</table>\n";
		width = "240";
	}

	if(ns4)
	{
		if(String(document.contactofrm) != "undefined")
		{
			document.contactofrm.nome.visibility = "hide";
			document.contactofrm.telef.visibility = "hide";
			document.contactofrm.email.visibility = "hide";
		}

		menuobj.document.write("<layer name='popmenu' bgColor='white' width='"+width+"' onMouseover='clearhidemenu()' onMouseout='hidemenu()'>");
		menuobj.document.write(str);
		menuobj.document.write("</layer>");
		menuobj.document.close();
		
	}
	else
	{
		menuobj.innerHTML = str;
	}


	if(loc == 1)
	{
		if(ie4)
		{
			menuobj.thestyle.left = 182;
			if(lang == "en")
				menuobj.thestyle.left = 209;
		}
		else if(ns6)
		{
			menuobj.thestyle.left = 192;
			if(lang == "en")
				menuobj.thestyle.left = 217;
		}
		else
		{
			menuobj.thestyle.left = 199;
			if(lang == "en")
				menuobj.thestyle.left = 225;
		}
		
		if(ie4 || ns6)
			menuobj.thestyle.top = 112;
		else
			menuobj.thestyle.top = 119;
	}
	else if(loc == 2)
	{
		if(ie4)
		{
			menuobj.thestyle.left = 336;
			if(lang == "en")
				menuobj.thestyle.left = 377;
		}
		else if(ns6)
		{
			menuobj.thestyle.left = 350;
			if(lang == "en")
				menuobj.thestyle.left = 384;
		}
		else
		{
			menuobj.thestyle.left = 354;
			if(lang == "en")
				menuobj.thestyle.left = 390;
		}
		
		if(ie4 || ns6)
			menuobj.thestyle.top = 112;
		else
			menuobj.thestyle.top = 119;
	}
	else if(loc == 3)
	{
		if(ie4)
			menuobj.thestyle.left = 453;
		else if (ns6)
			menuobj.thestyle.left = 510;
		else
			menuobj.thestyle.left = 563;
		
		if(ie4 || ns6)
			menuobj.thestyle.top = 112;
		else
			menuobj.thestyle.top = 119;
	}
	
	if (ie4 || ns6)
		menuobj.thestyle.visibility = "visible";
	else
		menuobj.thestyle.visibility = "show";
	
	return false;
}
function contains_ns6(a, b) 
{
	while (b.parentNode)
		if ((b = b.parentNode) == a)
			return true;
	return false;
}

function hidemenu()
{
	if (window.menuobj)
	{	
		if(typeof document.all.popmenu.style != "undefined")
		{
			if(ie4)
				document.all.popmenu.style.visibility = "hidden";
			else if(ns6)
				document.getElementById("popmenu").style.visibility = "hidden";
			else
				document.popmenu.visibility = "hide";
		}
	}
}

function dynamichide(e)
{
	var bie4 = (ie4 && !menuobj.contains(e.toElement));
	var bns6 = (ns6 && e.currentTarget != e.relatedTarget && !contains_ns6(e.currentTarget, e.relatedTarget));
	if (bie4 || bns6)
		hidemenu();
}

function delayhidemenu()
{
	delayhide = setTimeout("hidemenu()", 500);
}

function clearhidemenu()
{
	if (window.delayhide)
		clearTimeout(delayhide);
}

if (ie4 || ns6)
	document.onclick = hidemenu;

function HideMenuClient(ilang)
{
	lang = ilang;
	menuobj = ie4 ? document.all.popmenu : ns6 ? document.getElementById("popmenu") : ns4 ? document.popmenu : document.popmenu;
	if(ns4)
		hidemenu();
}

function GoToLoc(num, loc)
{
	var str = String(num);
	if(loc == 3)
		document.location.href = "contacto.asp?lang="+lang+"&contacto="+num;
	else if(loc == 2)
	{
		if(num != 3)
			document.location.href = "paginas415a.html?lang="+lang+"&paginas="+num;
		else
			document.location.href = "pdf/JCN33.html";
		
	}
	else if(loc == 1)
		document.location.href = "produtos415a.html?lang="+lang+"&produtos="+num;
	
}
//-->