function clear_default_value(element_id) {
    if ($(element_id) != null) {
        if ($F(element_id) == $(element_id).defaultValue) {
            $(element_id).clear();
        }
    }
}

if ($('navigation-1') != null) {
    navigation_1_hover = function () {
        var sfEls = document.getElementById('navigation-1').getElementsByTagName('li');
        for (var i = 0; i < sfEls.length; i++) {
            sfEls[i].onmouseover = function () {
                this.className += ' hover';
            }
            sfEls[i].onmouseout = function () {
                this.className = this.className.replace(new RegExp(' hover\\b'), '');
            }
        }
    }
    if (window.attachEvent) window.attachEvent('onload', navigation_1_hover);
}

if ($('navigation-2') != null) {
    navigation_2_hover = function () {
        var sfEls = document.getElementById('navigation-2').getElementsByTagName('li');
        for (var i = 0; i < sfEls.length; i++) {
            sfEls[i].onmouseover = function () {
                this.className += ' hover';
            }
            sfEls[i].onmouseout = function () {
                this.className = this.className.replace(new RegExp(' hover\\b'), '');
            }
        }
    }
    if (window.attachEvent) window.attachEvent('onload', navigation_2_hover);
}

