// Image Loader v1.0 - © Rolice 2006 - 2008. //
// Check for updates... //

	<!--
	
/* --------------- Your configuration! --------------- */
	
		var report = false; // Error reporting.
		
		
/* --------------- Do not touch the code bellow! --------------- */
		
	
		function loadImages(mtx)
		{
			for(i = 0; i < loadImages.arguments.length - 1; i++)
			{
				mtx[i] = new Image;
				mtx[i].src = loadImages.arguments[i + 1];
			}
		}
		
		function blastImage(target, resource)
		{
			if(resource)
				target.src = resource.src;
			else if(report)
				alert('Fatal Error (imageloader.js) function blastBG: Resource is empty.');
		}
		
		function blastBG(target, resource)
		{
			if(resource)
				target.style.backgroundImage = 'url(' + resource.src + ')';
			else if(report)
				alert('Fatal Error (imageloader.js) function blastBG: Resource is empty.');
				
			// Not working yet. The effect is worse preview.
		}
	//-->
