var banner = new Array(); banner.push('https://img.photobucket.com/albums/v246/plumy/Plumy%202/Jun.jpg'); banner.push('https://img.photobucket.com/albums/v246/plumy/Plumy%202/ban_plumy.jpg'); banner.push('https://img.photobucket.com/albums/v246/plumy/Plumy%202/ban_angie.png'); document.getElementById('i_logo').src= banner[Math.floor(Math.random()*banner.length)];