hoje = new Date()
dia = hoje.getDate()
mes = hoje.getMonth()
ano = hoje.getYear()
if (dia < 10)
  dia = "0" + dia
if (mes < 10)
  mes = "0" + mes
if (ano < 100)
  ano = "19" + ano
else
{
	ano = ano - 100
	if (ano < 10)
		ano = "200" + ano
	else
		ano = "20" + ano
}
data = (dia + "/" + mes + "/" + ano)

function UR_Start()
{
	UR_Nu = new Date;
	UR_Indhold = showFilled(UR_Nu.getHours()) + ":" + showFilled(UR_Nu.getMinutes()) + ":" + showFilled(UR_Nu.getSeconds());
	document.getElementById("ur").innerHTML = UR_Indhold;
	setTimeout("UR_Start()",1000);
}

function showFilled(Value)
{
	return (Value > 9) ? "" + Value : "0" + Value;
}

function showOrHideText(id)
{
	if ( document.getElementById(id).style.display == "block" )
        document.getElementById(id).style.display = "none";
	else
        document.getElementById(id).style.display = "block";
}
