	(function($) {
		var cache = [];
		$.preLoadImages = function() {
			var args_len = arguments.length;
			for (var i = args_len; i--;) {
				var cacheImage = document.createElement('img');
				cacheImage.src = arguments[i];
				cache.push(cacheImage);
			}
		}
	})(jQuery)

$(document).ready(function() {
	$("img.rollover").hover(
		function() { this.src = this.src.replace("_off", "_on"); },
		function() { this.src = this.src.replace("_on", "_off"); }
	);
$(".submit-btn").hover(
function() { var newBG = $(this).css("background-image"); $(this).css("background-image", newBG.replace("_off", "_on")); },
function() { var newBG = $(this).css("background-image"); $(this).css("background-image", newBG.replace("_on", "_off")); }
);

jQuery.preLoadImages('images/start_on.png','images/start_off.png', 'images/submit_on.png', 'images/submit_off.png', 'images/head_off.png', 'images/head_on.png');

});
