var myimages = new Array(); function preloading(){ for (x=0; x