A_PRELOAD = [];for (var i = 1; i <= parent.n_images; i++) { A_PRELOAD[i] = new Image();A_PRELOAD[i].src = 'gardenpics/garden' + i +'l.jpg';}