jQuery(function() {
	var imgCount = 0;
	var images_pre = new Array();
	jQuery('img[src*="_off."],input[src*="_off."]').each (function(){
		images_pre[imgCount] = new Image();
		images_pre[imgCount].src = jQuery(this).attr("src").replace("_off.", "_on.");
		jQuery(this).hover(
			function () {
				jQuery(this).attr("src", jQuery(this).attr("src").replace("_off.", "_on."));
			},
			function () {
				jQuery(this).attr("src", jQuery(this).attr("src").replace("_on.", "_off."));
			}
		);
		imgCount ++;
	});
});
