function randomImage(imgsrc, imgusemap, imgwidth, imgheight, imgalt)
{
var randomnumber = Math.round(Math.random()*(imgsrc.length - 1));
document.write("<img src=" + "\"" + imgsrc[randomnumber] + "\"" 
                + " usemap=" + "\"" + imgusemap[randomnumber] + "\""
                + " width=" + "\"" + imgwidth + "\""
                + " height=" + "\"" + imgheight + "\""
                + " alt=" + "\"" + imgalt + "\"" + ">");
}