$(
	function()
	{
		if($("#mainMenu li:not('.current')").length > 0)
		{
			$("#mainMenu li:not('.current')").each
			(
				function()
				{
					$(this).mouseover
					(
						function()
						{
							$(this).addClass('current');
						}
					);
					$(this).mouseout
					(
						function()
						{
							$(this).removeClass('current');
						}
					);
				}

			);
		}

	}
);