$(document).ready(function() {



	// For each link containing -off, set up a -on hover

	$("img[src*='-off']").each(function() {

	

		

		// Set up the hover switcher

		$(this).hover(function() {

			$(this).attr("src",$(this).attr("src").replace(/-off/,"-on"));

		}, function() {

			$(this).attr("src",$(this).attr("src").replace(/-on/,"-off"));

		});

	

	});

	

});
