function PreloadImages(rp){ Loaded = 0; // store in array a: the different page designation codes var a=new Array("hom","eve","spi","vol","foo","con") // store in array b: the image name ending, using specific order: // CurrentPage, MouseOver, MouseOut, MouseDown var b=new Array("-ws","-os","-ns","-ds") // store in variable ext the image extension // i & j are simple ForEach counters var i,j,ext=".jpg",d=document if(!d.Vx) d.Vx=new Array(); for(i=0;i