
var howOften = 3; //number often in seconds to rotate
//var current = 0; //start the counter at 0

var ns6 = document.getElementById&&!document.all; //detect netscape 6

// place your images, text, etc in the array elements here
var items = new Array ();
items[0] = "The Italian Sports Car In A World Of Domestic Sedans";
items[1] = "The Marble In A World Of Concrete";
items[2] = "The Dynamite In A World Of Bottle Rockets";
items[3] = "The Gold In A World Of Lead";
items[4] = "The Private Jet In A World Of Coach";
items[5] = "The Penthouse Suite In A World Of Motels";
items[6] = "The Diamond In A World Of Coal";
items[7] = "The Modern In A World Of Outdated";
items[8] = "The Limousine In A World Of Buses";
items[9] = "The Bulldozer In A World Of Hammers";
items[10] = "The Front Row Seat In A World Of Nosebleeds";
items[11] = "The Cell Phone In A World Of Payphones";
items[12] = "The Rainforest In A World Of Dirt Fields";
items[13] = "The River In A World Of Deserts";
items[14] = "The Sportsbike In A World Of Scooters";
items[15] = "The Steel In A World Of Cardboard";
items[16] = "The Electricity In A World Of Candlelight";
items[17] = "The Filet Mignon In A World Of Hamburgers";
items[18] = "The Excitement In A World Of Apathy";

var current = Math.floor(Math.random() * 17);

function rotater() {
    if(document.layers) {
        document.placeholderlayer.document.write(items[current]);
        document.placeholderlayer.document.close();
    }
    if(ns6)document.getElementById("placeholderdiv").innerHTML=items[current]
        if(document.all)
            placeholderdiv.innerHTML=items[current];

//    current = (current==items.length) ? 0 : current + 1; //increment or reset
current = (current==items.length) ? 0 : Math.floor(Math.random() * 17);
    setTimeout("rotater()",howOften*1000);
}
window.onload=rotater;