/* JavaScript application library written by Eric Svensson
   Main library
---------------------------------------------------------- */

addLoadEvent(window,function() {
    var elms = getElementsByClassName("ss_gotmouseover");
    for (i in elms) {
        var id = elms[i].getAttribute("id").replace('_normal','');
        if (document.getElementById(id+'_hover')) {
            elms[i].onmouseover = function(e) {
                var id = this.getAttribute("id").replace('_normal','');
                document.getElementById(id+'_hover').style.visibility = 'visible';
            }
            document.getElementById(id+'_hover').onmouseout = function(e) {
                this.style.visibility = 'hidden';
            }
        }
    }
});
