function imagerollover(){ var allimages=document.getElementsByTagName("img") var preloadimages=[] for (var i=0; i