function fadeIn(current,add,intervall)
{
 var p = document.getElementById(fader);

 if(current < 100)
 {
    p.style.filter = "alpha(opacity=" + (current + add) +  ")";
    p.style.opacity = (current + add) / 100;
    p.style.MozOpacity = (current + add) / 100;

    window.setTimeout("fadeIn(" + (current+add) + "," + add + "," + intervall + ")", intervall*1000);
 }
}

sfHover = function() {
        var sfEls = document.getElementById("nav").getElementsByTagName("LI");
        for (var i=0; i<sfEls.length; i++) {
                sfEls[i].onmouseover=function() {
                        this.className+=" sfhover";
                }
                sfEls[i].onmouseout=function() {
                        this.className=this.className.replace(new RegExp(" sfhover\\b"), "");
                }
        }
}
if (window.attachEvent) window.attachEvent("onload", sfHover);

