var $j = jQuery.noConflict();
	
$j(document).ready(function()
{	
	$j("li:has(.page-link)")
	.bind("mouseenter", function()
		{
			if ($j(this).data("underline") == null)
			{
				var link = $j("a", this);
				
				var line = $j('<div />')
					.appendTo(document.body)
					.mouseover(function() { $j(this).data("preventhide", true); })
					.mouseout(function() { $j(this).data("preventhide", false); })
					.css({overflow: "hidden", height: "4px", width: "1px", position: "absolute", background: "#79003f", top: link.offset().top + 17, left: link.offset().left })
					.animate({ width: link.width(), height: "4px" }, 300);
				$j(this).data("underline", line);								
			}
		})
	.bind("mouseleave", function()
		{
			var li = $j(this);
			var line = li.data("underline");
			if (line != null)
			{
				if (line.data("preventhide") != true) line.animate( {width: "0"}, 300, function() { $j(this).remove(); li.removeData("underline") } );
			}
		});

});