// Apresenta objeto oculto chamado na tela
function sL(object) {
	obj = document.getElementById(object);
	obj.style.display = "block";
}

// Esconde objeto 
function hL(object) {
	obj = document.getElementById(object);
	obj.style.display = "none";
}

// Esconde todos os objetos, quando chamados pela função
function hLall() {
	for (x = 1; x <= numContent; x++) {
		conteudo = "content0" + x;
		obj = document.getElementById(conteudo);
		obj.style.display = "none";
	}
}

// Esconde todos os objetos, quando chamados pela função
function hLall2() {
	for (x = 1; x <= numCont; x++) {
		conteudo = "cont0" + x;
		obj = document.getElementById(conteudo);
		obj.style.display = "none";
	}
}

// Mostra todas as perguntas
function sPerguntas() {
	for (x = 1; x <= numQuest; x++) {
		conteudo2 = "quest0" + x;
		obj = document.getElementById(conteudo2);
		obj.style.display = "block";
    }
}

/* Flashs em geral */
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="transparent" />');
    document.writeln('    </object>');
}

/* POP CHAT */
function popChat(url,name) {
	open(url,name,"scrollbars=0,width=1019,height=760,top=0,left=180");
}

/* POP CHAT2 */
function popChat2(url,name) {
	open(url,name,"scrollbars=0,width=754,height=566,top=0,left=180");
}

/* POP CHAT3 */
function popChat3(url,name) {
	open(url,name,"scrollbars=0,width=365,height=410,top=0,left=180");
}


