var bg; var cpt=1; var delai=8000; var i1; var i2; var max = 18;function background_rotation(){ bg = document.getElementById('background'); bg.innerHTML=""; i1 = document.getElementById('img1'); i2 = document.getElementById('img2'); setTimeout('rotation();',delai); } function rotation(){ if(cpt