var intEgg_001 = 0; var arrEgg_001 = new Array(); arrEgg_001[0]='' document.write('' + arrEgg_001[0] + ''); setInterval("ChangeEGG_001()", 4000); function ChangeEGG_001() { intEgg_001++; if (intEgg_001 >= arrEgg_001.length) { intEgg_001 = 0; } if (arrEgg_001[intEgg_001]=="") { intEgg_001 = 0; } if(document.getElementById('egg_banner_001').innerHTML != arrEgg_001[intEgg_001]) { document.getElementById('egg_banner_001').innerHTML = arrEgg_001[intEgg_001]; } }