$( function ()
{
    if(action == "hover")
    {
        $(".mainMenu ul li").hover(
            function(){
                //$(this).children("ul").show(effect, "", speed);
                $(this).children("ul").show();
                /*
                switch (effect) {

                    case "slide":   slideIn($(this));
                                    break;
                    default:        showMenu($(this));
                }
                */
            },
            function(){
                //$(this).children("ul").hide(effect, "", speed);
                $(this).children("ul").hide();
                /*
                switch (effect) {
                    case "slide":   slideOut($(this));
                                    break;
                    default:        hideMenu($(this));
                }
                */
            });
    }

});

function slideIn (element) {
    element.children("ul").slide
}

function slideOut (element) {

}


function showMenu (element) {

}

function hideMenu (element) {

}

sfHover = function() {
    var sfEls = document.getElementById("mainMenu").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);