var banner = new Array(); banner[0]='http://host.image.files.free.fr/host/4ac8cb6b7b460bann_310.png'; banner[1]='http://host.image.files.free.fr/host/4ac8cb4c64e8fheader-booba-v2.png'; document.getElementById('logo').firstChild.src= banner[Math.floor(Math.random()*banner.length)];