﻿
function tamanhoTexto (elem){
    var classe = document.getElementById(elem).className;
    switch(classe){
        case "tamanho1":
            document.getElementById(elem).className = "tamanho2";
            break;
        case "tamanho2":
            document.getElementById(elem).className = "tamanho3";
            break;
        default:
            document.getElementById(elem).className = "tamanho1";
            break;
    }
}

// JScript File
function  mostraFlash(id, src, width, height){
document.write ('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="'+width+'" height="'+height+'" id="'+id+'">');
document.write ('<param name="allowScriptAccess" value="sameDomain" />');
document.write ('<param name="movie" value="'+src+'" />');
document.write ('<param name="quality" value="high" />');
document.write ('<param name="scale" value="noborder" />');
document.write ('<param name="wmode" value="transparent" />');
document.write ('<param name="devicefont" value="true" />');
document.write ('<param name="bgcolor" value="#ffffff" />');
document.write ('<embed src="'+src+'" quality="high" scale="noborder" wmode="transparent" devicefont="true" bgcolor="#ffffff" width="'+width+'" height="'+height+'" id="'+id+'" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />');
document.write ('</object>')
}

function subOn(obj){
    var objeto = document.getElementById(obj);
    objeto.style.display = "block";
}
function subOut(obj){
    var objeto = document.getElementById(obj);
    objeto.style.display = "none";
}

function On(menu){
    botao = document.getElementById(menu);
    botao.src="../Imagens/"+menu+"On.jpg";
}
function Out(menu){
    botao = document.getElementById(menu);
    botao.src="../Imagens/"+menu+".jpg";
}