var banner = new Array(); banner[0]='https://i264.photobucket.com/albums/ii188/Astram128/Forums/IPBan1.png'; document.getElementById('i_logo').src= banner[Math.floor(Math.random()*banner.length)];