jQuery(document).ready(function($){
	
	$("#healthmap").mouseenter(function(){
		$("#healthText").css({
			'display' : 'block',
			'zIndex' : 50
		});
		$('#healthText').stop().animate({opacity : 1}, 500, function(){});
		$('#healthOver').stop().animate({opacity : 1}, 500, function(){});
	}).mouseleave(function(){
		$('#healthText').stop().animate({opacity : 0}, 400, function(){
			$(this).css({
			'display' : 'none',
			'zIndex' : 45
		});
		});
		$('#healthOver').stop().animate({opacity : 0}, 400, function(){});
	});
	$("#healthText").mouseenter(function(){
		$(this).stop().animate({opacity : 1}, 500, function(){});
		$('#healthOver').stop().animate({opacity : 1}, 500, function(){});
	}).mouseleave(function(){
		$(this).stop().animate({opacity : 0}, 400, function(){
			$(this).css({
			'display' : 'none',
			'zIndex' : 45
		});
		});
		$('#healthOver').stop().animate({opacity : 0}, 400, function(){});
	});
	
	
	$("#educationmap").mouseenter(function(){
		$("#educationText").css({
			'display' : 'block',
			'zIndex' : 50
		});
		$('#educationText').stop().animate({opacity : 1}, 500, function(){});
		$('#educationOver').stop().animate({opacity : 1}, 500, function(){});
	}).mouseleave(function(){
		$('#educationText').stop().animate({opacity : 0}, 400, function(){
			$(this).css({
			'display' : 'none',
			'zIndex' : 45
		});
		});
		$('#educationOver').stop().animate({opacity : 0}, 400, function(){});
	});
	$("#educationText").mouseenter(function(){
		$(this).stop().animate({opacity : 1}, 500, function(){});
		$('#educationOver').stop().animate({opacity : 1}, 500, function(){});
	}).mouseleave(function(){
		$(this).stop().animate({opacity : 0}, 400, function(){
			$(this).css({
			'display' : 'none',
			'zIndex' : 45
		});
		});
		$('#educationOver').stop().animate({opacity : 0}, 400, function(){});
	});
	
	
	$("#householdmap").mouseenter(function(){
		$("#householdText").css({
			'display' : 'block',
			'zIndex' : 50
		});
		$('#householdText').stop().animate({opacity : 1}, 500, function(){});
		$('#householdOver').stop().animate({opacity : 1}, 500, function(){});
	}).mouseleave(function(){
		$('#householdText').stop().animate({opacity : 0}, 400, function(){
			$(this).css({
			'display' : 'none',
			'zIndex' : 45
		});
		});
		$('#householdOver').stop().animate({opacity : 0}, 400, function(){});
	});
	$("#householdText").mouseenter(function(){
		$(this).stop().animate({opacity : 1}, 500, function(){});
		$('#householdOver').stop().animate({opacity : 1}, 500, function(){});
	}).mouseleave(function(){
		$(this).stop().animate({opacity : 0}, 400, function(){
			$(this).css({
			'display' : 'none',
			'zIndex' : 45
		});
		});
		$('#householdOver').stop().animate({opacity : 0}, 400, function(){});
	});
	
});
