Why does this work only if i call the alert function ? After i close the alert box, the color changes. If I comment the line with the alert command then nothing happens.
function setLinkColor(el)
{
var color = getStyle(document.getElementById(el.id), "color");
alert(el.id);
document.getElementById("content").style.borderColor = color;
}