function popUp(theURL, winName, features) {
    var popup = window.open(theURL, winName, features);
    popup.focus();
}
var sfHover = function() {
    if (document.getElementById("leftNav")) {
        var sfEls = document.getElementById("leftNav").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 blink(id) {
    if ($.browser.msie && $('#'+id).get(0).tagName == 'TR') {
        $('#'+id).find('td').fadeOut();
        $('#'+id).find('td').fadeIn();
    }
    else if ($.browser.msie) {
        $('#'+id).fadeOut('slow', function() {
            this.style.removeAttribute('filter');
        });
        $('#'+id).fadeIn('slow', function() {
            this.style.removeAttribute('filter');
        });
    }
    else {
        $('#'+id).fadeOut('slow');
        $('#'+id).fadeIn('slow');
    }
}
