function newindow(x,y,z)
	{window.open(x,'Janela',"left=0,top=0,width="+y+",height="+z+",resizable=yes,menubar=no,toolbar=no,scrollbars=yes");}

function fullscreen(url)
	{window.open(url,'Window','fullscreen=yes,menubar=no,toolbar=no,scrollbars=no');}

function alertstart(x)
	{alert ("Inicio das inscrições em: "+x);}

function formmenu(form)
	{
	var myindex=form.destiny.selectedIndex
	parent.hphome.location.href=(form.destiny.options[myindex].value);
	}

function fecha()
	{
	setTimeout("self.close()",5000);
	}

var message="";
///////////////////////////////////
function clickIE() {if (document.all) {(message);return false;}}
function clickNS(e) {if 
(document.layers||(document.getElementById&&!document.all)) {
if (e.which==2||e.which==3) {(message);return false;}}}
if (document.layers) 
{document.captureEvents(Event.MOUSEDOWN);document.onmousedown=clickNS;}
else{document.onmouseup=clickNS;document.oncontextmenu=clickIE;}
document.oncontextmenu=new Function("return false")

function aparece(quem)
{
	var texto = document.getElementById(quem);
	
	if (texto.style.display == 'none')
	{
		texto.style.display = '';
	}
	else
	{
		texto.style.display = 'none';
	}
}

function mais(quem)
{
	if (quem.innerHTML == '(+) resposta')
	{
		quem.innerHTML = '(-) ocultar resposta';
	}
	else
	{
		quem.innerHTML = '(+) resposta';
	}
}


statuss(); 
function statuss()
{
window.status = "Qualinstal";
setTimeout("statuss()", 1);
}
