
//JQuery required
//JQuery hoverIntent plugin recommended

function addMega()
{

	$(this).addClass("hovering");
	$(this).find("div").topZIndex();
	$(this).find("h2 a").addClass("MegaDropDown_li_has_childs_hover").css("color", "#666");
}

function removeMega()
{
	$(this).find("h2 a").removeClass("MegaDropDown_li_has_childs_hover").css("color", "#FFF");
	$(this).removeClass("hovering");
}

var configMega = {
	sensitivity: 4, 	// number = sensitivity threshold (must be 1 or higher)
	interval: 200, 		// number = milliseconds for onMouseOver polling interval
	over: addMega, 		// function = onMouseOver callback (REQUIRED)
	timeout: 500, 		// number = milliseconds delay before onMouseOut
	out: removeMega 	// function = onMouseOut callback (REQUIRED)
};

$(document).ready(
	function()
	{
		$("li.MegaDropDown_li_has_childs").hoverIntent( configMega );
	}
);

