YAHOO.util.Event.onDOMReady(function() {
	var sfEls = document.getElementById("navigationList").getElementsByTagName("LI");
	for (var i=0; i<sfEls.length; i++) {
		// Add dropdown arrow
		var children = sfEls[i].getElementsByTagName("UL");
		if (children.length > 0) {
			var img = document.createElement('img');
			img.setAttribute('src','/Resources/images/navdown_white.gif');
			img.setAttribute('alt','Dropdown arrow');
			sfEls[i].firstChild.appendChild(img);
		}
		
		// Add hover classes (for IE)
		sfEls[i].onmouseover=function() {
			this.className+=" sfhover";
		}
		sfEls[i].onmouseout=function() {
			this.className=this.className.replace(new RegExp(" sfhover\\b"), "");
		}
	}
});
