// JavaScript Document

//Rotation of book titles

function rotation()  {  
};

text = new Array ();
step = 0;

text[step++] = "Homer and Langley, by E.L. Doctorow";
text[step++] = "Song of Solomon, by Toni Morrison ";
text[step++] = "Watchmen, by Alan Moore et. al.";
text[step++] = "Mr. Palomar, by Italo Calvino";
text[step++] = "The Lord of the Rings, by J.R.R. Tolkien";
text[step++] = "Jane Eyre, by Charlotte Bronte";
text[step++] = "Into Thin Air, by Jon Kraukauer";
text[step++] = "Kafka on the Shore, by Haruki Murakami";
text[step++] = "Unaccustomed Earth, by Jhumpa Lahiri";
text[step++] = "Land of Green Plums, by Herta Mueller";
text[step++] = "Another Roadside Attraction, by Tom Robbins";
text[step++] = "Splay Anthem, by Nathaniel Mackey";
text[step++] = "Beloved, by Toni Morrison";
text[step++] = "Underworld, by Don DeLillo";
text[step++] = "Love in the Time of Cholera, by Gabriel Garcia Marquez";
text[step++] = "Pride and Prejudice, by Jane Austen";
text[step++] = "Heart of Aztlan, by Rudolfo Anaya";
text[step++] = "Gertrude and Claudius, by John Updike";
text[step++] = "The Troubadour of Knowledge, by Michel Serres";
text[step++] = "The Day of the Flood, by Margaret Atwood";
text[step++] = "A Lesson Before Dying, by Ernest J. Gaines";
text[step++] = "The Graveyard Book, by Neil Gaiman";
text[step++] = "Reservation Blues, by Sherman Alexie";
text[step++] = "Paradise, by Toni Morrison";
text[step++] = "The Alchemy of Race and Rights, by Patricia Williams";
text[step++] = "Saving Fish from Drowning, by Amy Tan";
text[step++] = "Woman Warrior, by Maxine Hong Kingston";
text[step++] = "Girl Interrupted, by Susanna Kaysen";
text[step++] = "Woman Warrior, by Maxine Hong Kingston";
text[step++] = "Saving Fish from Drowning, by Amy Tan";
text[step++] = "Song of Solomon, by Toni Morrison";
text[step++] = "Preludes to Insight, by Ronda Dively";
text[step++] = "Shark Dialogues, by Kiana Davenport";
text[step++] = "Exhuberance, by Kay Redfield Jamison";
text[step++] = "All the Pretty Horses, by Cormac McCarthy";
text[step++] = "The Girl with a Pearl Earring, by Tracy Chevalier";
text[step++] = "Paula, by Isabel Allende";
text[step++] = "Moby-Dick, by Herman Melville";
text[step++] = "The Spy Who Came in from the Cold, by John Le Carre";
text[step++] = "The Unbearable Lightness of Being, by Milan Kundera";
text[step++] = "The Human Stain, by Philip Roth";
text[step++] = "What Liberal Media?, by Eric Alterman";
text[step++] = "The Bluest Eye, by Toni Morrison";
text[step++] = "Start Where You Are, by Pema Chodron";
text[step++] = "Lonesome Dove, by Larry McMurtry";
text[step++] = "To Taste the Water, by Norman Minnick";
text[step++] = "Red Noir, by Anne Waldman";
text[step++] = "The Piano Lesson, by August Wilson";
text[step++] = "Persepolis, by Marjane Satrapi";
text[step++] = "The Secret History, by Donna Tart";
text[step++] = "The Prince of Tides, by Pat Conroy";
text[step++] = "Bel Canto, by Ann Patchitt";
text[step++] = "The Stone Diaries, by Carol Shields";
text[step++] = "Percy Jackson and the Olympians series, by Rick Riordan";
text[step++] = "Breathing Lessons, by Ann Tyler";
text[step++] = "Writing for Story, by Jon Franklin";
text[step++] = "Measure for Measure, by Shakespeare";
text[step++] = "Zombie, by Joyce Carol Oates";
text[step++] = "Woman on the Edge of Time, by Marge Piercy";
text[step++] = "Lies, and the Lying Liars Who Tell Them, by Al Fraken";
text[step++] = "Lorelei of the Red Mist, by Leigh Brackett";
text[step++] = "The Heart is a Lonely Hunter, by Carson McCullers";
text[step++] = "The French Lieutenant’s Woman, by John Fowles";
text[step++] = "The Harry Potter Books, by JK Rowling";
text[step++] = "Volatile Bodies, by Elizabeth Grosz";
text[step++] = "A Short History of Nearly Everything, by Bill Bryson";
text[step++] = "Foreign Bodies, by Alphonso Lingis";
text[step++] = "Convergence Culture: Where Old and New Media Collide, by Henry Jenkins";
text[step++] = "The Blind Assassin, by Margaret Atwood";
text[step++] = "Swords from the West, by Harold Lamb";
text[step++] = "The Sound and the Fury, by William Faulkner";
text[step++] = "The Not So Big Life, by Sarah Susanka";
text[step++] = "The World According to Garp, by John Irving";
text[step++] = "Wild Trees, by Richard Preston";
text[step++] = "Captain Alatriste (trilogy), by Arturo Perez Reverte";
text[step++] = "Fences, by August Wilson";
text[step++] = "Heart of Darkness, by Joseph Conrad";
text[step++] = "Anything by Amy Bloom";
text[step++] = "My Own Country, by Abraham Verghese";
text[step++] = "Writing as a Way of Healing, Louise DeSalvo";
text[step++] = "Farewell, My Lovely, by Raymond Chandler";
text[step++] = "Ceremony, by Leslie Marmon Silko";
text[step++] = "Brain Rules, by John Medina";

step = Math.floor(Math.random() * step);

//Necessary code for swapping a rollover image.
//In this case it is for the Books We Read image.

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}

