var intEgg_550 = 0; var arrEgg_550 = new Array(); arrEgg_550[0]='' arrEgg_550[1]='' document.write('' + arrEgg_550[0] + ''); setInterval("ChangeEGG_550()", 4000); function ChangeEGG_550() { intEgg_550++; if (intEgg_550 >= arrEgg_550.length) { intEgg_550 = 0; } if (arrEgg_550[intEgg_550]=="") { intEgg_550 = 0; } if(document.getElementById('egg_banner_550').innerHTML != arrEgg_550[intEgg_550]) { document.getElementById('egg_banner_550').innerHTML = arrEgg_550[intEgg_550]; } }