var mess = new Array('',''); var max = mess.length; var num = Math.floor((Math.random() * max)); document.writeln(mess[num]);