<!--//--><![CDATA[//>
<!--

sfHover = function() { // #125
    var sfEls = document.getElementsByTagName("li");
    for (var i=0; i < sfEls.length; i++) {
        sfEls[i].onmouseover=function() {
            this.className+=(this.className.length > 0? " ": "") + "sfhover";
        }
        sfEls[i].onmouseout=function() {
            this.className=this.className.replace(new RegExp("( ?|^)sfhover\\b"), "");
        }
    }
}

if (document.all) { //MS IE #50
    if (window.attachEvent) 
        window.attachEvent("onload", sfHover);
    else { //IE 5.2 Mac does not support attachEvent
        var old = window.onload;
        window.onload = function() { if (old) old(); sfHover(); }
    }
}

// Sniff pre v.86 versions of Safari #182
var agent = navigator.userAgent.toLowerCase();
var appVer = navigator.appVersion.toLowerCase();
var is_safari = (agent.indexOf("safari") != -1);
var build = appVer.substring(appVer.lastIndexOf("/")+1);
if (build < 86) {
    document.write('<style type="text/css">ul#nav li:hover ul {display: none}<\/style>');
}


//--><!]]>