$(document).ready(function () { 
	$('#menu a > img[@id]').hover(
		function () { 
			$(this).attr('src', 'public/images/'+ $(this).attr('id') +'over.jpg');
		},
		function () {
			$(this).attr('src', 'public/images/'+ $(this).attr('id') +'.jpg');
		}
	);
});
