/* **Daz** 19/03/2010 - Fix CSS menus for IE6 */
dazFixIEMenus = function() {
	var dazMenus = ['ul-side-navi','ul-top-navi'];
	
	if (document.all && document.getElementById) {	
		// Fix menus
		for (j=0; j<dazMenus.length; j++) {
			//alert('checking dazMenus['+j+']: '+dazMenus[j]);
			navRoot = document.getElementById(dazMenus[j]);
			if (navRoot) {
				menuItems = navRoot.getElementsByTagName("li");
				for (i=0; i<menuItems.length; i++) {
					node = menuItems[i];
					//alert('modifying LI: '+node.innerHTML+"'");
					node.onmouseover=function() {
						this.className+=" ie6over";
					}
					node.onmouseout=function() {
						this.className=this.className.replace(" ie6over", "");
					}
				}
			}
		}
	}
}

window.onload=dazFixIEMenus;