function swapimage() { 
theimages = new Array("topBanner1.png", "topBanner2.png", "topBanner3.png", "topBanner4.png"); 
whichimage = Math.floor(Math.random()*theimages.length); 
document.write('<img src="images/' +theimages[whichimage]+ '">'); 
} 

