var myimages=new Array() function preloadimages(){ for (i=0;i