﻿    sp_list1()



    function sp_list1() {

        var mEls = document.getElementById("list1").getElementsByTagName("li");
        for (var i = 0; i < mEls.length; i++) {
            mEls[i].onmouseover = function() {
                this.className += (this.className.length > 0 ? " " : "") + "mhover";
            }
            mEls[i].onMouseDown = function() {
                this.className += (this.className.length > 0 ? " " : "") + "mhover";
            }
            mEls[i].onMouseUp = function() {
                this.className += (this.className.length > 0 ? " " : "") + "mhover";
            }
            mEls[i].onmouseout = function() {
                this.className = this.className.replace(new RegExp("( ?|^)mhover\\b"), "");
            }
        }
    }
