var intEgg_1120 = 0; var arrEgg_1120 = new Array(); arrEgg_1120[0]='' arrEgg_1120[1]='' arrEgg_1120[2]='' arrEgg_1120[3]='' arrEgg_1120[4]='' arrEgg_1120[5]='' document.write('' + arrEgg_1120[0] + ''); setInterval("ChangeEGG_1120()", 6000); function ChangeEGG_1120() { intEgg_1120++; if (intEgg_1120 >= arrEgg_1120.length) { intEgg_1120 = 0; } if (arrEgg_1120[intEgg_1120]=="") { intEgg_1120 = 0; } if(document.getElementById('egg_banner_1120').innerHTML != arrEgg_1120[intEgg_1120]) { document.getElementById('egg_banner_1120').innerHTML = arrEgg_1120[intEgg_1120]; } }