$(document).ready(function() {
	$('#menu_home').hover(function() {
		$(this).attr("src","images/menu_home_over.png");
		}, function() {
		$(this).attr("src","images/menu_home.png");
	});
	$('#menu_locations').hover(function() {
		$(this).attr("src","images/menu_locations_over.png");
		}, function() {
		$(this).attr("src","images/menu_locations.png");
	});
	$('#menu_car_wash').hover(function() {
		$(this).attr("src","images/menu_car_wash_over.png");
		}, function() {
		$(this).attr("src","images/menu_car_wash.png");
	});
	$('#menu_hughes_stop').hover(function() {
		$(this).attr("src","images/menu_hughes_stop_over.png");
		}, function() {
		$(this).attr("src","images/menu_hughes_stop.png");
	});
	$('#menu_fleet_management_solutions').hover(function() {
		$(this).attr("src","images/menu_fleet_management_solutions_over.png");
		}, function() {
		$(this).attr("src","images/menu_fleet_management_solutions.png");
	});
	$('#menu_wholesale_solutions').hover(function() {
		$(this).attr("src","images/menu_wholesale_solutions_over.png");
		}, function() {
		$(this).attr("src","images/menu_wholesale_solutions.png");
	});
	$('#menu_employment').hover(function() {
		$(this).attr("src","images/menu_employment_over.png");
		}, function() {
		$(this).attr("src","images/menu_employment.png");
	});
	$('#menu_customer_feedback').hover(function() {
		$(this).attr("src","images/menu_customer_feedback_over.png");
		}, function() {
		$(this).attr("src","images/menu_customer_feedback.png");
	});
	$('#menu_gift_cards').hover(function() {
		$(this).attr("src","images/menu_gift_cards_over.png");
		}, function() {
		$(this).attr("src","images/menu_gift_cards.png");
	});
	$('#menu_community_support').hover(function() {
		$(this).attr("src","images/menu_community_support_over.png");
		}, function() {
		$(this).attr("src","images/menu_community_support.png");
	});

	$('#locations').hover(function() {
		$(this).attr("src","images/locations_over.png");
		}, function() {
		$(this).attr("src","images/locations.png");
	});
	$('#car_wash').hover(function() {
		$(this).attr("src","images/car_wash_over.png");
		}, function() {
		$(this).attr("src","images/car_wash.png");
	});
	$('#gift_cards').hover(function() {
		$(this).attr("src","images/gift_cards_over.png");
		}, function() {
		$(this).attr("src","images/gift_cards.png");
	});
	
	$('#top_menu_home').hover(function() {
		$(this).attr("src","images/top_menu_home_over.png");
		}, function() {
		$(this).attr("src","images/top_menu_home.png");
	});
	$('#top_menu_client_login').hover(function() {
		$(this).attr("src","images/top_menu_client_login_over.png");
		}, function() {
		$(this).attr("src","images/top_menu_client_login.png");
	});
	$('#top_menu_contact_us').hover(function() {
		$(this).attr("src","images/top_menu_contact_us_over.png");
		}, function() {
		$(this).attr("src","images/top_menu_contact_us.png");
	});
	$('#top_menu_join_us').hover(function() {
		$(this).attr("src","images/top_menu_join_us_over.png");
		}, function() {
		$(this).attr("src","images/top_menu_join_us.png");
	});

	$('#get_your_discount').hover(function() {
		$(this).attr("src","images/get_your_discount_over.png");
		}, function() {
		$(this).attr("src","images/get_your_discount.png");
	});

	$('#customer_feedback_top').hover(function() {
		$('#customer_feedback_bottom').attr("src","images/customer_feedback_bottom_over.png");
		}, function() {
		$('#customer_feedback_bottom').attr("src","images/customer_feedback_bottom.png");
	});
	$('#customer_feedback_bottom').hover(function() {
		$('#customer_feedback_bottom').attr("src","images/customer_feedback_bottom_over.png");
		}, function() {
		$('#customer_feedback_bottom').attr("src","images/customer_feedback_bottom.png");
	});
	$('#fleet_management_solutions_top').hover(function() {
		$('#fleet_management_solutions_bottom').attr("src","images/fleet_management_solutions_bottom_over.png");
		}, function() {
		$('#fleet_management_solutions_bottom').attr("src","images/fleet_management_solutions_bottom.png");
	});
	$('#fleet_management_solutions_bottom').hover(function() {
		$('#fleet_management_solutions_bottom').attr("src","images/fleet_management_solutions_bottom_over.png");
		}, function() {
		$('#fleet_management_solutions_bottom').attr("src","images/fleet_management_solutions_bottom.png");
	});
	$('#hughes_gift_cards_top').hover(function() {
		$('#hughes_gift_cards_bottom').attr("src","images/hughes_gift_cards_bottom_over.png");
		}, function() {
		$('#hughes_gift_cards_bottom').attr("src","images/hughes_gift_cards_bottom.png");
	});
	$('#hughes_gift_cards_bottom').hover(function() {
		$('#hughes_gift_cards_bottom').attr("src","images/hughes_gift_cards_bottom_over.png");
		}, function() {
		$('#hughes_gift_cards_bottom').attr("src","images/hughes_gift_cards_bottom.png");
	});
	
	$(".iframe").colorbox({iframe:true, width:"80%", height:"80%"});

	var spt = $('span.mailme');
	var at = / at /;
	var dot = / dot /g;
	var addr = $(spt).text().replace(at,"@").replace(dot,".");
	$(spt).after('<a href="mailto:'+addr+'" title="Send an email">'+ addr +'</a>')
	.hover(function(){window.status="Send a letter!";}, function(){window.status="";});
	$(spt).remove();

});
