sfHover = function() {
    var sfEls = document.getElementById("nav").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);
               
function seasonSelect(el,id,str)
{
    window.location="/football-league.php?id="+id+"&sid="+el.value;
}  
       
function seasonRoundSelect(el,id,str)
{
    window.location="/football-competition.php?id="+id+"&sid="+el.value;
}      

function close_el(el)
{
    jQuery('#round_list_'+el).slideUp(200);
	jQuery('#open_'+el).show();
	jQuery('#close_'+el).hide();
}

function open_el(el)
{
    jQuery('#round_list_'+el).slideDown(200); 
	jQuery('#open_'+el).hide();
	jQuery('#close_'+el).show();
}
