var timer;
$(function() {
	$('#stores').bind('mouseover', function() {
		timer = setTimeout(showMenu, 250);
	}).bind('mouseout', function() {
		clearTimeout(timer);
		timer = setTimeout(hideMenu, 2000);
	});
	
	$('#subMenuArea').bind('mouseover', function() {
		clearTimeout(timer);
	}).bind('mouseout', function() {
		timer = setTimeout(hideMenu, 2000);
	});
});

function showMenu() {
	$('#subMenuArea').fadeIn();
}

function hideMenu() {
	$('#subMenuArea').fadeOut();
}
