// gives IE6 the ability to hover other tags than A
sfHover = function()
{
    var sfEls = document.getElementById("mainNavigation").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);

/*
function show_user_login() {
    $('user_unknown').fade();
    $('user_login').appear();
}
function hide_user_login() {
    $('user_unknown').appear();
    $('user_login').fade();
}


Event.observe(window, 'load', function() {
    $('meta2_searchfield_input').onfocus = function() {
        this.className += ' focused';
        if(this.value == "Suchbegriff eingeben") {
            this.value = "";
        }
    }
    $('meta2_searchfield_input').onblur = function() {
        this.className = this.className.replace('focused', '');
        if(this.value == "") {
            this.value = "Suchbegriff eingeben";
        }
    }
});
*/

