TUX Mastered: PHP Javascript Preblem

Beitrag lesen

var g=16, geschwindigkeit_in_ms=50, hex=new Array("0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F");
var link;
function umfaerben(link)
{

if (g>0)
document.getElementById(link).style.color="#FF"+hex[g-1]+hex[g-1]+hex[g-1]+hex[g-1];
if (g>0) g--;
zaehler=window.setTimeout("umfaerben(link);",geschwindigkeit_in_ms);
}

function mouseover(link)
{
umfaerben(link);
}

sorry das das js so komisch aussieht, hab es nochmal ordentlich gesetzt