









/*------------------------------------------------------------------------------------------------------*/
/*--                                                                                                  --*/
/*--                                                                                                  --*/
/*--                      File Name:        preloadImages.js                                          --*/
/*--                      Last Updated:     Friday February 09, 2001  [3:22 pm]                       --*/
/*--                      Creator:          simon                                                     --*/
/*--                      E-mail:           webmaster@projecte3.cjb.net                               --*/
/*--                      Comments:         image preloading feature                                  --*/
/*--                                                                                                  --*/
/*--                                                                                                  --*/
/*------------------------------------------------------------------------------------------------------*/









/*-----------------------------------------------------------------------------------------------------*/



		//	Function for Preloading Images



		function preloadImages(){ //v2.0
 			 if (document.images) {
			    var imgFiles = preloadImages.arguments;
			    if (document.preloadArray==null) document.preloadArray = new Array();
			    var i = document.preloadArray.length;
			    with (document) for (var j=0; j<imgFiles.length; j++) if (imgFiles[j].charAt(0)!="#"){
			      preloadArray[i] = new Image;
			      preloadArray[i++].src = imgFiles[j];
			  } }
			}



/*-----------------------------------------------------------------------------------------------------*/