pic = new Array('','','','','','',''); n=Math.floor(Math.random() * 5); document.write(pic[n]);