var banner = new Array(); banner.push('https://img11.hostingpics.net/pics/457772V23.png'); banner.push('https://img11.hostingpics.net/pics/684187V21.png'); banner.push('https://img11.hostingpics.net/pics/89427852V2.png'); document.getElementById('i_logo').src= banner[Math.floor(Math.random()*banner.length)];