// JavaScript Document
jQuery.preloadImages = function()
		{
			for(var i = 0; i<arguments.length; i++)
			{
				jQuery("<img>").attr("src", arguments[i]);
			}
	}
	
// preload images first (can run before page is fully loaded)
	$.preloadImages("ok_on.gif", "cancel_on.gif", "ok_on.png", "cancel_on.png");
	$(
		function()
		{
			// set up rollover
			$("img").hover(
				function()
				{
					this.src = this.src.replace("_off","_on");
				},
				function()
				{
					this.src = this.src.replace("_on","_off");
				}
			);
		}
	)