var textString = new Array(); textString[0] = "All people are born alike -- except Republicans and Democrats. -- Groucho Marx "; textString[1] = "mummy, n.: An Egyptian who was pressed for time. "; textString[2] = "If elected, Zippy pledges to each and every American a 55-year-old houseboy ... "; textString[3] = "Inspired by a true story. "; textString[4] = "A motion to adjourn is always in order. "; textString[5] = "life, n.: A whim of several billion cells to be you for a while. "; var zTrack = 0; function runSwitch() { if(zTrack == 5) { zTrack=0; } zTrack++; document.getElementById("fortunetext1").innerHTML = textString[zTrack]; document.getElementById("fortunetext2").innerHTML = textString[zTrack]; }