function hoverForIE6(a, b) {
    for (_el in a) {
        var c = [],
        _class = [],
        _tag = [],
        _id = [],
        _hoverElement = [],
        _parent = [];
        if (a[_el].indexOf('.') != -1 || a[_el].indexOf('#') == -1) {
            if (a[_el].indexOf('>') != -1) {
                c[_el] = a[_el].substr(a[_el].indexOf('>') + 2);
                a[_el] = a[_el].substr(0, a[_el].indexOf('>') - 1)
            }
            if (a[_el].indexOf('.') != -1) {
                _class[_el] = a[_el].substr(a[_el].indexOf('.') + 1);
                a[_el] = a[_el].substr(0, a[_el].indexOf('.'))
            }
            _tag[_el] = a[_el];
            if (!_class[_el]) _class[_el] = '';
            if (c[_el]) {
                _parent[_el] = document.getElementsByTagName(_tag[_el]);
                for (var j = 0; j < _parent[_el].length; j++) {
                    if (_parent[_el][j].className.indexOf(_class[_el]) != -1) {
                        _hoverElement[_el] = _parent[_el][j].getElementsByTagName(c[_el]);
                        for (var i = 0; i < _hoverElement[_el].length; i++) {
                            _hoverElement[_el][i].onmouseover = function() {
                                this.className += ' ' + b
                            };
                            _hoverElement[_el][i].onmouseout = function() {
                                this.className = this.className.replace(b, '')
                            }
                            _hoverElement[_el][i].onclick = function() {
                                this.className = this.className.replace(b, '')
                            }
                        }
                    }
                }
            } else {
                _hoverElement[_el] = document.getElementsByTagName(_tag[_el]);
                for (var i = 0; i < _hoverElement[_el].length; i++) {
                    if (_hoverElement[_el][i].className.indexOf(_class[_el]) != -1) {
                        _hoverElement[_el][i].onmouseover = function() {
                            this.className += ' ' + b
                        };
                        _hoverElement[_el][i].onmouseout = function() {
                            this.className = this.className.replace(b, '')
                        }
                        _hoverElement[_el][i].onclick = function() {
                            this.className = this.className.replace(b, '')
                        }
                    }
                }
            }
        } else if (a[_el].indexOf('#') != -1) {
            if (a[_el].indexOf('>') != -1) {
                c[_el] = a[_el].substr(a[_el].indexOf('>') + 2);
                a[_el] = a[_el].substr(0, a[_el].indexOf('>') - 1)
            }
            a[_el] = a[_el].replace('#', '');
            _id[_el] = document.getElementById(a[_el]);
            if (_id[_el]) {
                if (c[_el]) {
                    _hoverElement[_el] = _id[_el].getElementsByTagName(c[_el]);
                    for (var i = 0; i < _hoverElement[_el].length; i++) {
                        _hoverElement[_el][i].onmouseover = function() {
                            this.className += ' ' + b
                        };
                        _hoverElement[_el][i].onmouseout = function() {
                            this.className = this.className.replace(b, '')
                        }
                        _hoverElement[_el][i].onclick = function() {
                            this.className = this.className.replace(b, '')
                        }
                    }
                } else {
                    _id[_el].onmouseover = function() {
                        this.className += ' ' + b
                    };
                    _id[_el].onmouseout = function() {
                        this.className = this.className.replace(b, '')
                    }
                    _id[_el].onclick = function() {
                        this.className = this.className.replace(b, '')
                    }
                }
            }
        }
    }
}
function ieHover() {
    hoverForIE6(['ul.menu > li'], 'sfhover');
}
function ieHover2() {
    hoverForIE6(['#nav_369417 > li'], 'sfhover');
}
if (window.addEventListener) {
    window.addEventListener("load", ieHover);
    window.addEventListener("load", ieHover2);
} else if (window.attachEvent) {
    window.attachEvent("onload", ieHover);
    window.attachEvent("onload", ieHover2);
}