
document.observe('dom:loaded', function () {   	
	if (window.attachEvent && navigator.appVersion.substr(22,3)=="6.0")
		sfHover(); // For IE6
});

// For IE 6
sfHover = function() {
	try
	{
		var sfEls = document.getElementById("navigation").getElementsByTagName("LI");
		for (var i=0; i<sfEls.length; i++) {
			sfEls[i].onmouseover=function() {
				this.className+=" sfhover";
			}
			sfEls[i].onmouseout=function() {
			    var self = this;
			    var hideSubmenu = function() {
    				self.className=self.className.replace(new RegExp(" sfhover\\b"), "");
			    }
			    var t=setTimeout(hideSubmenu,100);
//				this.className=this.className.replace(new RegExp(" sfhover\\b"), "");
			}
		}
	}
	catch(err)
	{
		console.log('err on sfHover')
	}
};
