// JavaScript Document
// When the page loads:
window.onload = function(){
if (document.getElementsByTagName) {
// Get all the tags of type object in the page.
var objs = document.getElementsByTagName("object");
for (i=0; i<objs.length; i++) {
// Get the HTML content of each object tag
// and replace it with itself.
objs[i].outerHTML = objs[i].outerHTML;
}
}
}
// When the page unloads:
window.onunload = function() {
if (document.getElementsByTagName) {
//Get all the tags of type object in the page.
var objs = document.getElementsByTagName("object");
for (i=0; i<objs.length; i++) {
// Clear out the HTML content of each object tag
// to prevent an IE memory leak issue.
objs[i].outerHTML = "";
}
}
}

a=navigator.appName;

function aberto()
{
	if(a=="Microsoft Internet Explorer")
document.getElementById("menu").style.height = 200 + "px";
else
document.getElementById("menu").style.height = 200 + "px";
}

function fechado()
{
	if(a=="Microsoft Internet Explorer")
document.getElementById("menu").style.height = 200 + "px";
else
document.getElementById("menu").style.height = 100 + "px";
}


if(a=="Microsoft Internet Explorer"){
document.write("<link href='../css/estilos2_.css' rel='stylesheet' type='text/css'/>");
document.write("<link rel='shortcut icon' href='../icon.ico' />");
}else{
document.write("<link href='../css/estilos2.css' rel='stylesheet' type='text/css' />");
document.write("<link rel='shortcut icon' href='../icon.ico' />");
}