//指定条目数 tips = new Array(12); //条目内容 tips[0] = 'It Belongs In A Museum'; tips[1] = 'Fortune And Glory, Kid. Fortune And Glory'; tips[2] = 'It’s Not The Years, Honey, It’s The Mileage'; tips[3] = 'Don’t Call Me Junior'; tips[4] = 'No Ticket'; tips[5] = 'Snakes. Why Did It Have To Be Snakes'; tips[6] = 'I Don't Know. I'm Making This Up As I Go'; tips[7] = 'If You Want To Be A Good Archeologist, You Gotta Get Out Of The Library'; tips[8] = 'I’ve Got A Lot Of Fond Memories Of That Dog'; tips[9] = 'That’s Why They Call It The Jungle, Sweetheart'; tips[10] = 'Mola Ram! Prepare To Meet Kali ... In Hell'; tips[11] = 'Jock! Start The Engine'; tips[12] = 'You Call This Archeology'; index = Math.floor(Math.random() * tips.length); document.write(tips[index]);