'; theImages[1] = ''; theImages[2] = ''; theImages[3] = ''; theImages[4] = ''; theImages[5] = ''; theImages[6] = ''; theImages[7] = ''; theImages[8] = ''; theImages[9] = ''; theImages[10] = ''; theImages[11] = ''; var j = 0; var p = theImages.length; var preBuffer = new Array() for (i = 0; i < p; i++){ preBuffer[i] = new Image() preBuffer[i].src = theImages[i] } var whichImage = Math.round(Math.random()*(p-1)); function showImage(){ document.write( theImages[whichImage] ); } // End -->
|