	/* Abre janela centralizada */
	function openCenterWin(url,nome,largura,altura, propriedades){
		var Top=(screen.height/2)-(altura/2);
		var Left=(screen.width/2)-(largura/2);
		var features='height='+altura+',width='+largura+',top='+Top+',left='+Left+','+propriedades;	
		
		janela=window.open(url,nome,features);

		return janela;
	}

	/**
	*	Método para exibir hora e minutos na home.
	*	Créditos para http://www.peters1.dk/webtools/javascript/ur.php?sprog=pt
	*/
	function UR_Start() 
	{
		UR_Nu = new Date;
		UR_Indhold = showFilled(UR_Nu.getHours()) + ":" + showFilled(UR_Nu.getMinutes());
		document.getElementById("hora").innerHTML = UR_Indhold;
		setTimeout("UR_Start()",1000);
	}
	function showFilled(Value) 
	{
		return (Value > 9) ? "" + Value : "0" + Value;
	}
	
	function exibirRegulamento()
	{
		var sit = document.getElementById('regulamento').style.display;

		if (sit == 'none')
		{
			document.getElementById('regulamento').style.display = 'block';
		}
		else
		{
			document.getElementById('regulamento').style.display = 'none';
		}

		return false;
	}