$(function() {
	$('.hover').hover(function() {
		var isCurrent = $(this).attr('id');
		if (isCurrent == "current") {
			$(this).attr('src', $(this).attr('src').replace( /_current/i, '_on' ));
		} else {
			$(this).attr('src', $(this).attr('src').replace( /_off/i, '_on' ));
		}
	}, function() {
		var isCurrent = $(this).attr('id');
		if (isCurrent == "current") {
			$(this).attr('src', $(this).attr('src').replace( /_on/i, '_current' ));
		} else {
			$(this).attr('src', $(this).attr('src').replace( /_on/i, '_off' ));
		}
	});
});