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