// JavaScript Document

sfHover = function() {
		var sfElsTwo = document.getElementById("tab").getElementsByTagName("LI");
		for (var i=0; i<sfElsTwo.length; i++) {
			sfElsTwo[i].onmouseover=function() {
				this.className+=" sfhover";
			}
			sfElsTwo[i].onmouseout=function() {
				this.className=this.className.replace(new RegExp(" sfhover\\b"), "");
			}
		}
		
	}
	var agt=navigator.userAgent.toLowerCase();
	if (agt.indexOf('mac')==-1||agt.indexOf("msie")==-1){
		if (window.attachEvent) window.attachEvent("onload", sfHover);
	}else {
	window.onload=sfHover;
	}
	this.isGecko       = (agt.indexOf('gecko') != -1 && agt.indexOf('safari') == -1);
	this.isSafari      = (agt.indexOf('safari') != - 1);
	this.isOpera       = (agt.indexOf('opera') != -1); 
	this.isNS          = ( (this.isGecko) ? (agt.indexOf('netscape') != -1) : ( (agt.indexOf('mozilla') != -1) && !this.isOpera && !this.isSafari && (agt.indexOf('spoofer') == -1) && (agt.indexOf('compatible') == -1) && (agt.indexOf('webtv') == -1) && (agt.indexOf('hotjava') == -1) ) );
	if (this.isNS){
	window.onload=sfHover;
	}