simple=new Array("img1","img2","img3","img4"); n=Math.floor(Math.random()*4);document.write(simple[n]); //-->