// GK MooMenu v.2.0 Copyright by GavickPro
/*window.addEvent("load",function(){if(window.ie6){$$("#horiz-menu li").each(function(e){e.addEvents({"mouseenter":function(){e.addClass("sfHover");},"mouseleave":function(){e.removeClass("sfHover");}});});}});

jQuery(document).ready(function(){
	if(jQuery.browser.msie && jQuery.browser.version < 7){
		jQuery("#horiz-menu li").hover(function(){
			jQuery(this).addClass("sfHover");
		},function(){
			jQuery(this).removeClass("sfHover");
		});
	}								
});
jQuery(document).ready(function(){

	var $main = jQuery("#horiz-menu");
	var levels = [];
	
	$main.find("*").each(function(i,n){
		levels.push([]);
		
		n.find("ul").each(function(j,o){
			levels[i].push(o.parents(":first"));
		});
	})

	levels.each(function(i,n){
		n.each(function(j,o){
			o.hover(function(){
				o.find("*").eq(1).css("overflow","hidden")
				var delay = function(){o.find("*").eq(1).css("overflow","")}
				setTimeout(delay,500);
			},function(){
				o.find("*").eq(1).css("overflow","hidden")
			})
		})
	});
});*/

/*window.addEvent("domready", function(){
	// necessary classes
			
	var main = $("horiz-menu");
	var levels = new Array();
				
	main.getChildren().each(function(el,i){
		levels.push(new Array());
								
		el.getElementsBySelector("ul").each(function(elm,j){
			levels[i].push(elm.getParent());
											});
	});
	
	levels.each(function(e,k){
		e.each(function(a,l){
			a.addEvents({
				"mouseenter" : function(){
					a.getChildren()[1].setStyle("overflow","hidden");
																				(function(){a.getChildren()[1].setStyle("overflow","")}).delay();
				},
				"mouseleave" : function(){
					a.getChildren()[1].setStyle("overflow","hidden");
																			}
			});
		});
	});	
});*/
