function sL(object) {
    obj = document.getElementById(object);
    obj.style.display = "block";
}

function hL(object) {
    obj = document.getElementById(object);
    obj.style.display = "none";
}

function ativaShow() {
    obj = document.getElementById("menuShow");
    obj.className = "showroomOn";
}
function desativaShow() {
    obj = document.getElementById("menuShow");
    obj.className = "showroom";
}

function ativaConf() {
    obj = document.getElementById("menuConf");
    obj.className = "configureOn";
}
function desativaConf() {
    obj = document.getElementById("menuConf");
    obj.className = "configure";
}

function ativaServ() {
    obj = document.getElementById("menuServ");
    obj.className = "servicosOn";
}
function desativaServ() {
    obj = document.getElementById("menuserv");
    obj.className = "servicos";
}

function ativaServ() {
    obj = document.getElementById("menuServ");
    obj.className = "servicosOn";
}
function desativaServ() {
    obj = document.getElementById("menuServ");
    obj.className = "servicos";
}

function ativaDesc() {
    obj = document.getElementById("menuDesc");
    obj.className = "descubraOn";
}
function desativaDesc() {
    obj = document.getElementById("menuDesc");
    obj.className = "descubra";
}

function gerarSWF($arquivo,$largura,$altura){
    document.writeln('    <object type="application/x-shockwave-flash" data="'+ $arquivo +'" width="'+ $largura +'" height="'+ $altura +'">');
    document.writeln('        <param name="movie" value="' + $arquivo + '" />');
    document.writeln('        <param name="menu" value="false" />');
    document.writeln('        <param name="quality" value="high" />');
	document.writeln('        <param name="wmode" value="opaque" />');
    document.writeln('    </object>');
}