(function($) {
	var cache = [];
	// Arguments are image paths relative to the current page.
	$.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);
		}
	$('#splash').css({'visibility':'visible', 'display':'block'});
	}
})(jQuery)
function splash(img)
{
	document.getElementById('splash-wrapper').style.background = "url(media/piccolini/img/splash/" + img + ") no-repeat 0 0";
}
function reset()
{
	document.getElementById('splash-wrapper').style.background = "url(media/piccolini/img/splash/splash_bg_us.png) no-repeat 0 0";
}
