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