// JavaScript Document
$(document).ready(function () {
	
	if($('div.action').length) {
		$('div.action').fadeIn();
		setTimeout(function() { $('div.action').fadeOut('slow'); }, 2500);
	}
	
	var sto = null;
	
	$('li.hasmore').hover(
		function () {
			
			if (sto)
			{
				clearTimeout(sto);
			}
			$(this).children('ul.dropdown').css({'display':'block'});
		}
		,
		function () { 
			sto = setTimeout("$('ul.dropdown').css({'display':'none'})", 500);
		}
	);	
	
});
