// JavaScript Document

var msg = new Array();
Today = new Date();
thismonth = Today.getMonth()+1;

msg[1] = "<p class='quote'>&quot;I find that a great part of the information I have was acquired by looking something up and finding something else on the way.&quot; </p><p class='quoteauthor'>&#8212;Franklin P. Adams</p>";
msg[2] = "<p class='quote'>&quot;Perhaps no place in any community is so totally democratic as the town library. The only entrance requirement is interest.&quot; </p><p class='quoteauthor'>&#8212;Lady Bird Johnson</p>";
msg[3] = "<p class='quote'>&quot;A library, to modify the famous metaphor of Socrates, should be the delivery room for the birth of ideas—a place where history comes to life.&quot; </p><p class='quoteauthor'>&#8212;Norman Cousins</p>";
msg[4] = "<p class='quote'>&quot;No furniture so charming as books.&quot; </p><p class='quoteauthor'>&#8212;Sydney Smith</p>";
msg[5] = "<p class='quote'>&quot;Make thy books thy companions. Let thy cases and shelves be thy pleasure grounds and gardens.&quot; </p><p class='quoteauthor'>&#8212;Judah ibn-Tibbon (12th century)</p>";
msg[6] = "<p class='quote'>&quot;There's nothing to match curling up with a good book when there's a repair job to be done around the house.&quot; </p><p class='quoteauthor'>&#8212;Joe Ryan</p>";
msg[7] = "<p class='quote'>&quot;I have lost all sense of home, having moved about so much. It means to me now -- only that place where the books are kept.&quot; </p><p class='quoteauthor'>&#8212;John Steinbeck</p>";
msg[8] = "<p class='quote'>&quot;The walls of books around him, dense with the past, formed a kind of insulation against the present world of disasters.&quot; </p><p class='quoteauthor'>&#8212;Ross MacDonald</p>";
msg[9] = "<p class='quote'>&quot;Book lovers never go to bed alone.&quot; </p><p class='quoteauthor'>&#8212;Unknown</p>";
msg[10] = "<p class='quote'>&quot;Knowledge is free at the library. Just bring your own container.&quot; </p><p class='quoteauthor'>&#8212;Unknown</p>";
msg[11] = "<p class='quote'>&quot;The reading of all good books is like conversation with the finest men of past centuries.&quot; </p><p class='quoteauthor'>&#8212;Descartes</p>";
msg[12] = "<p class='quote'>&quot;One sure window into a person's soul is his reading list.&quot; </p><p class='quoteauthor'>&#8212;Mary B. W. Tabor</p>";
function writeQuote() {
document.write(msg[thismonth]);
}

function MM_jumpMenu(targ,selObj,restore){ //v3.0
  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
}

function togglepic(imgName,imgURL){
    if (document.images) {
		document.images[imgName].src = imgURL;
		}
}

function preloadimages(){
	if (document.images) {
	image1 = new Image();
	image1.src = "images/icon-home_hover.gif";

	image2 = new Image();
	image2.src = "images/icon-kids_hover.gif";
	
	image3 = new Image();
	image3.src = "images/icon-readers_hover.gif";

	image4 = new Image();
	image4.src = "images/icon-research_hover.gif";
	
	image5 = new Image();
	image5.src = "images/icon-teens_hover.gif";

	image6 = new Image();
	image6.src = "images/icon-databases_hover.gif";

}
}
function preloadimages2(){
	if (document.images) {
	image1 = new Image();
	image1.src = "../images/icon-home_hover.gif";

	image2 = new Image();
	image2.src = "../images/icon-kids_hover.gif";
	
	image3 = new Image();
	image3.src = "../images/icon-readers_hover.gif";

	image4 = new Image();
	image4.src = "../images/icon-research_hover.gif";
	
	image5 = new Image();
	image5.src = "../images/icon-teens_hover.gif";

	image6 = new Image();
	image6.src = "../images/icon-databases_hover.gif";

}
}