function getKerreyQuote()
{
// Mini-application to display a randomly generated "praise" quote from The Education of Lieutenant Kerrey
// global variables
var j;
var kerreyQuote = "";
var kerreyAuthor = "";
var kerreyPublication = "";
var kerreyPraise = "";
// array to hold various praise quotes for The Education of Lieutenant Kerrey
var praiseArrayKerrey = new Array();
praiseArrayKerrey[0] =  new Array();
praiseArrayKerrey[0][0] = "<em>The Education of Lietuenant Kerry</em> is a compelling book by a first-rate-- and fearless -- journalist. The result is both a gripping account of an agonizing journalistic inquiry, as well as one of the more disturbing stories yet about America\'s tragic experience in Vietnam.";
praiseArrayKerrey[0][1] = "Michael Isikoff";
praiseArrayKerrey[0][2] = "Newsweek";

praiseArrayKerrey[1] = new Array();
praiseArrayKerrey[1][0] = "A gripping, revealing story of Vietnam and the press, told with sensitivity and class.";
praiseArrayKerrey[1][1] = "Dan Rather";
praiseArrayKerrey[1][2] = "CBS News";

praiseArrayKerrey[2] = new Array();
praiseArrayKerrey[2][0] = "Gregory Vistica digs into a long-secret murky epsiode that ends up being a reflection of the entire Vietnam tragedy. He tells a fascinating story of war-gone-wrong and explores poignant questions about individual accountability, the search for truth, and the burdens of memory. Gripping--journalism at its best.";
praiseArrayKerrey[2][1] = "David Corn";
praiseArrayKerrey[2][2] = "The Nation";

praiseArrayKerrey[3] = new Array();
praiseArrayKerrey[3][0] = "The <em>Times</em> article told only half the story. Greg Vistica's  gut-wrenching book breaks incredible new ground in baring the souls of men at war.";
praiseArrayKerrey[3][1] = "John Weisman, author";
praiseArrayKerrey[3][2] = "Rogue Warrior novels";

praiseArrayKerrey[4] = new Array();
praiseArrayKerrey[4][0] = "Bob Kerrey\: war hero, then war disenter. War criminal as well\? Sure to excite controversey.";
praiseArrayKerrey[4][1] = " ";
praiseArrayKerrey[4][2] = "Kirkus Reviews";

praiseArrayKerrey[5] = new Array();
praiseArrayKerrey[5][0] = "In Vistica\'s emotion-laden account of how the secret was borne by Kerrey all those years, how it informed his post-Vietnam goals and aspirations and achievement, and how he dealt with the situation once his secret became public, we see a prominent politician as very much a human being\; as a result, this book is an important contribution to the literature of contemporary American politics.";
praiseArrayKerrey[5][1] = "Booklist";
praiseArrayKerrey[5][2] = "American Library Association";

/*
praiseArrayKerrey[] = new Array();
praiseArrayKerrey[][0] = "";
praiseArrayKerrey[][1] = "";
praiseArrayKerrey[][2] = "";
*/

// generate random number between 0 and 4
j = Math.round(Math.random()*5);

// use random number to set data to variable
kerreyQuote = praiseArrayKerrey[j][0];
kerreyAuthor = praiseArrayKerrey[j][1];
kerreyPublication = praiseArrayKerrey[j][2];
kerreyPraise = kerreyQuote + "<br />";
kerreyPraise = kerreyPraise + "&#8212;" + kerreyAuthor + "<br />" ;
kerreyPraise = kerreyPraise + "<em>" + kerreyPublication + "</em>";

document.write(kerreyPraise);
return;
}

function getGloryQuote()
{
// Mini-application to display a randomly generated "praise" quote from Fall from Glory
// global variables
var k;
var gloryQuote = "";
var gloryAuthor = "";
var gloryPublication = "";
var gloryPraise = "";
// array to hold various praise quotes for Fall From Glory
var praiseArrayGlory = new Array();
praiseArrayGlory[0] =  new Array();
praiseArrayGlory[0][0] = "Full of revelations at even the highest levels of power.";
praiseArrayGlory[0][1] = "David Kirkpatrick";
praiseArrayGlory[0][2] = "The New York Times";

praiseArrayGlory[1] = new Array();
praiseArrayGlory[1][0] = "A fascinating read.";
praiseArrayGlory[1][1] = "Scott Shuger";
praiseArrayGlory[1][2] = "The Washington Monthly";

praiseArrayGlory[2] = new Array();
praiseArrayGlory[2][0] = "<em>Fall From Glory</em> recounts the saga of the Reagan Navy with intrepid and unflinching inside reporting. The revelations are roiling enough to cause seasickness. <em>Fall From Glory</em> is one account of the hollow years that deserves wide attention and full acclaim. All honor to Gregory Vistica.";
praiseArrayGlory[2][1] = "Robert Anderson";
praiseArrayGlory[2][2] = "The Philadelphia Inquirer";

praiseArrayGlory[3] = new Array();
praiseArrayGlory[3][0] = "Vistica combines the best elements of a whodunit and a contemporary history in exposing some of the Navy's dirt laundry and not-so-little secrets.";
praiseArrayGlory[3][1] = "Ed Timms";
praiseArrayGlory[3][2] = "The Dallas Morning News";

praiseArrayGlory[4] = new Array();
praiseArrayGlory[4][0] = "Fascinating...<em>Fall From Glory</em> is a thoroughly documented account of a system so corrupted from within that few reforms will ever penetrate its self-protective cover.";
praiseArrayGlory[4][1] = "Patricia Holt";
praiseArrayGlory[4][2] = "San Francisco Chronicle";

// generate random number between 0 and 4
k = Math.round(Math.random()*4);
// use random number to set data to variable
gloryQuote = praiseArrayGlory[k][0];
gloryAuthor = praiseArrayGlory[k][1];
gloryPublication = praiseArrayGlory[k][2];
gloryPraise = gloryQuote + "<br />";
gloryPraise = gloryPraise + "-- " + gloryAuthor + "<br />" ;
gloryPraise = gloryPraise + "<i>" + gloryPublication + "</i>";

document.write(gloryPraise);
}