// Function: (pre)Loads Specified Images
// Usage: LoadImages ( 'image1.gif' [, 'image2.jpg', etc] );
function LoadImages ( ImageNames, imgArray )
{
	if ( imgArray == undefined || imgArray == null )
	{
		var imgArray = new Array ();
	}
	
	for ( i = 0; i < ImageNames.length; i++ )
	{
		imgArray[i] = new Image ();
		imgArray[i].src = ImageNames[i];
	}
}