/*
 * Dropdown menus, that work in IE6
 * author: Micha? Skrzypek
 * version: 0.1.0
 * last modification: 2011-03-04
 */

$(document).ready(function()
{	
	$("#"+ dropdownsId +" li a").each(function(){
		
		var ul = $(this).parent().find('ul');
		var a = $(this);
		
		$(this).mouseenter(function(){
			ul.show();
			a.addClass('hover');
		})
		
		$(this).mouseleave(function(){
			ul.hide();
			a.removeClass('hover');
		})
		
		ul.hover(function(){
			$(this).show();
			a.addClass('hover');
		});
	
		ul.mouseleave(function(){
			$(this).hide();
			a.removeClass('hover');
		});
		
	});
})
