function pausecomp(millis) {
	if(!millis)
		return;
	var date = new Date();
	var curDate = null;
	do { curDate = new Date(); }
	while(curDate-date < millis);
	return true;
}
var PAUSE_TIME = ((document.all)?110:110);

function scheduleTimeout(obj) {
	pausecomp(PAUSE_TIME);
	if(document.all){
		obj.className=obj.className.replace(" over", "");
	}
}

function sfHover() { 
	navRoot = document.getElementById("PrimaryNav");
	if (navRoot) {
		for (i=0; i<navRoot.childNodes.length; i++) {
			node = navRoot.childNodes[i];
			if (node.nodeName == "LI") {
				node.onmouseover=function() {
					if(document.all) {
						this.className+=" over";
					}
				}
				node.onmouseout=function() {
					scheduleTimeout(this);
				}
			}
		}
	}
}