$(function() {
	$('.map').maphilight();
	$('#mainMap').css('display', 'block');
	
	$('#A').mouseover(function(e) {
		$('#aLabel').mouseover();
	}).mouseout(function(e) {
		$('#aLabel').mouseout();
	});
	
	$('#B').mouseover(function(e) {
		$('#bLabel').mouseover();
	}).mouseout(function(e) {
		$('#bLabel').mouseout();
	});
	
	$('#C').mouseover(function(e) {
		$('#cLabel').mouseover();
	}).mouseout(function(e) {
		$('#cLabel').mouseout();
	});
	
	$('#D').mouseover(function(e) {
		$('#dLabel').mouseover();
	}).mouseout(function(e) {
		$('#dLabel').mouseout();
	});
	
	$('#E').mouseover(function(e) {
		$('#eLabel').mouseover();
	}).mouseout(function(e) {
		$('#eLabel').mouseout();
	});
	
	$('#F').mouseover(function(e) {
		$('#fLabel').mouseover();
	}).mouseout(function(e) {
		$('#fLabel').mouseout();
	});
	
	$('#G').mouseover(function(e) {
		$('#gLabel').mouseover();
	}).mouseout(function(e) {
		$('#gLabel').mouseout();
	});
	
	$('#H').mouseover(function(e) {
		$('#hLabel').mouseover();
	}).mouseout(function(e) {
		$('#hLabel').mouseout();
	});
	
	$('#I').mouseover(function(e) {
		$('#iLabel').mouseover();
	}).mouseout(function(e) {
		$('#iLabel').mouseout();
	});
	
	$('#J').mouseover(function(e) {
		$('#jLabel').mouseover();
	}).mouseout(function(e) {
		$('#jLabel').mouseout();
	});
	
	$('#K').mouseover(function(e) {
		$('#kLabel').mouseover();
	}).mouseout(function(e) {
		$('#kLabel').mouseout();
	});
	
	$('#L').mouseover(function(e) {
		$('#lLabel').mouseover();
	}).mouseout(function(e) {
		$('#lLabel').mouseout();
	});
	
	$('#M').mouseover(function(e) {
		$('#mLabel').mouseover();
	}).mouseout(function(e) {
		$('#mLabel').mouseout();
	});
	
	$('#N').mouseover(function(e) {
		$('#nLabel').mouseover();
	}).mouseout(function(e) {
		$('#nLabel').mouseout();
	});
	
	$('#O').mouseover(function(e) {
		$('#oLabel').mouseover();
	}).mouseout(function(e) {
		$('#oLabel').mouseout();
	});
	
	$('#P').mouseover(function(e) {
		$('#pLabel').mouseover();
	}).mouseout(function(e) {
		$('#pLabel').mouseout();
	});
	
	$('#Q').mouseover(function(e) {
		$('#qLabel').mouseover();
	}).mouseout(function(e) {
		$('#qLabel').mouseout();
	});
	
	$('#R').mouseover(function(e) {
		$('#rLabel').mouseover();
	}).mouseout(function(e) {
		$('#rLabel').mouseout();
	});
	
	$('#S').mouseover(function(e) {
		$('#sLabel').mouseover();
	}).mouseout(function(e) {
		$('#sLabel').mouseout();
	});
		
});

function showAirport(){
	$('#mainMap').css('display', 'none');
	$('#airport').show('slow');
	$('#walton').css('display', 'none');
	$('#pcb').css('display', 'none');
}

function showWalton(){
	$('#mainMap').css('display', 'none');
	$('#airport').css('display', 'none');
	$('#walton').show('slow');
	$('#pcb').css('display', 'none');
}

function showPCB(){
	$('#mainMap').css('display', 'none');
	$('#airport').css('display', 'none');
	$('#walton').css('display', 'none');
	$('#pcb').show('slow');
}

function showMainMap(){
	$('#mainMap').show('slow');
	$('#airport').css('display', 'none');
	$('#walton').css('display', 'none');
	$('#pcb').css('display', 'none');
}
