Text = new Array(); Text[0] = ''; r = Math.floor(Math.random() * Text.length); document.write(Text[r]);