var textString = new Array(); textString[0] = "You know you've landed gear-up when it takes full power to taxi. "; textString[1] = "I'm meditating on the FORMALDEHYDE and the ASBESTOS leaking into my PERSONAL SPACE!! "; textString[2] = "Will it improve my CASH FLOW? "; textString[3] = "Everything should be made as simple as possible, but not simpler. -- Albert Einstein "; textString[4] = "To the systems programmer, users and applications serve only to provide a test load. "; textString[5] = "If you want to put yourself on the map, publish your own map. "; var zTrack = 0; function runSwitch() { if(zTrack == 5) { zTrack=0; } zTrack++; document.getElementById("fortunetext1").innerHTML = textString[zTrack]; document.getElementById("fortunetext2").innerHTML = textString[zTrack]; }