Banner = new Array(); Banner[1] = 'AGROPROMRESURS'; var i = Math.round(Math.random() * 1 + 0.5); document.write(Banner[i]);