$(document).ready(function ()
{
	$('.navigation li').hover(function ()
	{
		$(this).find('ul:first').css({'visibility': 'visible', 'display': 'none'}).show();
	}, function ()
	{
	    $(this).find('ul:first').css({'visibility': 'hidden'});
	});
	
	$('.notification .close').click(function () {
		$(this).parent().fadeOut(1000, function() {
			$(this).find('p').fixClearType ();
		});		
		return false;
	});
});

jQuery.fn.fixClearType = function()
{
    return this.each(function()
    {
        if( !!(typeof this.style.filter  && this.style.removeAttribute))
            this.style.removeAttribute("filter");
    });
} 
