<!--
function loadContent() 
{
// generate numbers
var imagenum=Math.floor(Math.random()*7);
var quotenum=Math.floor(Math.random()*7);
var excerptnum=Math.floor(Math.random()*9);

// set up list of images
 slidesArray = new Array()
 slidesArray[0]="images/slides/cave.jpg"
 slidesArray[1]="images/slides/crashsite.jpg"
 slidesArray[2]="images/slides/farm.jpg"
 slidesArray[3]="images/slides/hotel.jpg"
 slidesArray[4]="images/slides/store.jpg"
 slidesArray[5]="images/slides/terrain.jpg"
 slidesArray[6]="images/slides/volcano.jpg"
// set up corresponding captions
 captionsArray = new Array()
 captionsArray[0]="Subway Cave, where Eli spent the night."
 captionsArray[1]="The crash site."
 captionsArray[2]="Prototype for Arthur Peters' farm."
 captionsArray[3]="Local hotel."
 captionsArray[4]="General store, Likely, CA."
 captionsArray[5]="The South Warner Wilderness."
 captionsArray[6]="Mt. Erebus, Antarctica."
// set up list of quotes
 quotesArray = new Array()
 quotesArray[0]="\"It\'s gripping, realistic, scary and I\'m enjoying it a lot.\" --Margo M."
 
 quotesArray[1]="\"I keep thinking to myself, \'how am I going to respond when this happens?\' It is totally believeable! I wonder how high my house is above sea level.\" --Margo M."
 
 quotesArray[2]="\"I was given your book for my birthday, and my family has enjoyed it so much I haven\'t gotten my turn. My freshman daughter (who usually needs to be bribed to read) couldn't put it down during our recent vacation. She definitely gives it \"2 thumbs up.\"\"   — Joanne - Science Teacher, Caesar Chavez Middle School, Union City, CA"

 quotesArray[3]="\"We have just this moment—11:00 a.m. Arizona time—finished your book. Our friend Joanna read it to us. We became so riveted by the drama that daily after breakfast, three voices echoed, ‘Well, shall we read?!!!’ It deserves wide distribution, for it is truly a significant story.\" --Jessica D. & Eileen L."

 quotesArray[4]="\"I finished your book and enjoyed it.  It is too bad people don\'t realize what a delicate balance a working society is and that it can be so easily destroyed.  If they did, they would be much more mindful about the world around them.\" --Gordy R."

 quotesArray[5]="\"A thought provoking, intense novel. The abundance of facts is brilliantly tied in with vivid characters and an intriguing plot. The velocity at which events unfold makes this book impossible to put down. I encourage you to read it with a friend, as the story line is ideal for theorizing and perhaps a little heated dinner conversation (pun intended.)\" --April H."

 quotesArray[6]="\"I am enormously impressed. Sensational read, well crafted, one of those books I looked forward to picking up at the end of the day. Wonderful characters, a gripping plot and I thought the structure was original and exciting. I can\'t wait for \"Son of the Rising.\" — Larry Murphy - Artist/teacher/former airline pilot, past Mayor of Sonoma, proprietor of Murphy's Pub in Sonoma, CA."

// set up excerpts
 excerptsArray = new Array()
 excerptsArray[0]="\'What are you doing here? I mean in Moscow? You should get the hell home. Don\'t you know what\'s about to happen?\' I was speechless. He said, \'Antarctica. You know, the ice.\'"

 excerptsArray[1]="Now, close to Willits, the monastery truck waited while the military vehicles passed through a checkpoint gate....  Whatever they\'re concerned about, Eli thought, they\'re probably not looking for escaped convicts here."

 excerptsArray[2]="The towering thug stepped forward and swung the sledge hammer at  the head of the man in white. The man toppled. The camera couldn\'t shoot what happened to his head. The mob poured into the store, like ants over honey."

 excerptsArray[3]="Two miles north, a trickle of foot traffic crosses the Golden Gate Bridge, headed north toward  Marin County. Most of the pedestrians carry large packs or push shopping carts bundled with clothing and camping gear. With traffic snarled on the bridges, it is the surest way to leave the city..."

 excerptsArray[4]="Kim was quite awake now. How long had she been out? She lay still. \"It\'s a goddam shame,\" the voice continued, \"but it might come to that. Just be ready to implement the plan. We\'ll help as many as we can, but there\'s no way to save the California Aqueduct.\""

 excerptsArray[5]="At each end of the Brooklyn Bridge, and again as they passed East Houston Street, the driver handed a paper to military guards, automatic weapons held ready. Each time Reinhold noticed a hundred-dollar bill clipped to the paper. The city felt coiled, ready to strike."

 excerptsArray[6]="...people leaping turnstiles and stampeding the platforms. The military must have orders not to shoot. Their visibility is low profile. The few security guards left are being overwhelmed by crowds. I have reports that people are stampeding up emergency stairways to the roofs."

 excerptsArray[7]="\"They say the President and much of the government were evacuated to Texas....\" Peter was interrupted by urgent honking from the front drive. Jason and Peter stepped out to meet Ray and Paisley Overcroft. \"My God,\" Ray sputtered, \"you can\'t believe what\'s happening. I don\'t know where to start.\""

 excerptsArray[8]="She scrutinized his face, then went on. \"The valley\'s armed to the teeth. Don\'t be deceived. Strangers die on sight to anonymous gunfire. Sheriffs from Flat River come into the valley and take what they want. Mostly food, and gas from peoples\' cars, but I\'ve heard of..."


// load everything
// fyi, the show-and-tell nonsense is for IE5Mac
if(document.all) {
document.all('tinypic').style.display = "none";
 document.all('barquote').firstChild.nodeValue=quotesArray[quotenum];
 document.all('tinypic').src=slidesArray[imagenum];
document.all('tinypic').style.display = "block";
 document.all('tinycap').firstChild.nodeValue=captionsArray[imagenum];
 document.all('exquote').firstChild.nodeValue=excerptsArray[excerptnum];
	}

if(document.getElementById){
document.getElementById("barquote").firstChild.nodeValue=quotesArray[quotenum];
document.getElementById("tinypic").src=slidesArray[imagenum];
document.getElementById("tinycap").firstChild.nodeValue=captionsArray[imagenum];
document.getElementById("exquote").firstChild.nodeValue=excerptsArray[excerptnum];
	}
}

window.onload = function()
{ loadContent(); }

-->
