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