


var quotes = new Array(8);
var books = new Array(8);

quotes[0] = "My idea of good company... is the company of clever, well informed people who have a great deal of conversation; that is what I call good company.";
books[0] = "Anne Elliott<br /> - Persuasion";

quotes[1] = "I certainly have not the talent which some people possess... of conversing easily with those I have never seen before. I cannot catch their tone or conversation, or appear interested in their concerns, as I often see done.";
books[1] = "Mr Darcy<br /> - Pride and Prejudice";

quotes[2] = "I could not be happy with a man whose taste did not in every point coincide with my own. He must enter into all my feelings; the same books, the same music must charm us both... The more I know of the world, the more I am convinced that I shall never see a man whom I can really love. I require so much\!";
books[2] = "Marianne<br /> - Sense and Sensibility";

quotes[3] = "I cannot fix on the hour, or the spot, or the look or the words, which laid the foundation. It is too long ago. I was in the middle before I knew I had begun.";
books[3] = "Elizabeth<br /> - Pride and Prejudice";

quotes[4] = "Emma Woodhouse, handsome, clever and rich, with a comfortable home and happy disposition seemed to unite some of the best blessings of existence.";
books[4] = "Jane Austen<br /> - Emma";

quotes[5] = "I am going to take a heroine whom no-one but myself will much like.";
books[5] = "Jane Austen on Emma";

quotes[6] = "It is a truth universally acknowledged that a single man in possession of a good fortune, must be in want of a wife.";
books[6] = "Jane Austen<br /> - Pride and Prejudice";

quotes[7] = "Mr Collins had only to change from Jane to Elizabeth  and it was done - done while Mrs Bennnett was stirring the fire.";
books[7] = "Jane Austen<br /> - Pride and Prejudice";



//calculate a random index
index = Math.floor(Math.random() * quotes.length);

//display the quotation
function showQuote()
{
	var theQuote = quotes[index];
	document.write(theQuote);
}
function showBook()
{
	var theBook = books[index];
	document.write(theBook);
}






