// JavaScript Document
var pos;
function run_over(id){
document.getElementById(id).style.backgroundImage = 'url(images/menu_over2.jpg)';
}

function run_out(id){
document.getElementById(id).style.backgroundImage = 'url(images/menu.jpg)';
}

sfHover = function() {
	var sfEls = document.getElementById("navlist").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);

}
