sfHover = function() {
	var eee = document.getElementById("nav");
	if( (eee))
	{
		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 activecss(id)
{
    document.getElementById(id).className = 'active';
}
function activecss1(id)
{
    document.getElementById(id).className = 'active1';
}
function inactivecss(id)
{
    document.getElementById(id).className = '';
}
function inactivecss1(id)
{
    document.getElementById(id).className = '';
}

/* fix ie6 css background image flicker */

try {

    if (typeof document.body.style.maxHeight == "undefined") {

        document.execCommand('BackgroundImageCache', false, true);

    }

} catch(e) { /* unless it's not IE6... */ }


