
$(document).ready(function () {
	$("#map a").click(function () {
			$('#map li.active').find('span').fadeOut(500);
	 });
	
	$("#map a").hover(
		function () {
			if (!$(this).parent().hasClass("active")) {
				$(this).find('span').fadeIn(500);
			}
		}, 
		function () {		 
			if (!$(this).parent().hasClass("active")) {
				$(this).find('span').fadeOut(500);
			}
		});
});


