var cislo=0; var konec=9; var flashe=["BIG_reklamniStanky.swf", "BIG_povinneRuceni4.swf", "Extra Prace 185x500 banner FINAL.swf", "Extra dovolena 185x500 banner FINAL.swf", "stojizazminku.swf", "185x500_inzerce.swf", "BIG_SMSmania.swf", "Extra oBCHOD 185x500 banner FINAL.swf", "barmanskeKurzy180x500.swf", "PiXOLO_185x500.swf"]; function flashEmbed (flashPath, width, height) { var embedVar; embedVar = ''; document.getElementById('banner').innerHTML=embedVar; } function zmenit() { flashEmbed("flashe/"+flashe[cislo], "180", "500"); if(konec>0) cislo=cislo+1; if(cislo==konec) cislo=0; }