<!-- Beginning of JavaScript -
// INSTRUCTIONS: 
// Configure the menublocks below.
// You can add as many menublocks as you need.
//
// ATTENTION: When you configure the menublocks take care that you
// set the ";" and the "+" as seen below.

//  **********************************************************************************

var menublock=new Array() 			// no need to change this
var plus_i=0 						// no need to change this
var mouseoverimage= new Array()

menublock[0]="../downloadgreen261.gif;"+ 	// filename first button-image
			 "../downloadgrey261.gif;"+	// filename rollover-image of first button-image
			 ";"+					// do not change this
			 ";"+					// do not change this
			 "Arial;"+ 				// font sublinks
			 "1;"+					// fontsize sublinks
			 "FFFFFF;"+				// fontcolor sublinks
			 "0;"+					// fontweight sublinks, 1 means bold, 0 means normal
			 "menublock 1|#|;"+ 					// text|URL|target of mainlink
			 "Teen Reads Main Page|../reads.htm|_top;"+		// text|URL|target of first sublink 
			 "Bad Boys of Book|badboys.htm|_top;"+ 		// text|URL|target of second sublink 
			 "Garden State Winners|GSTBABib.htm|_top;"+ 		// text|URL|target of second sublink
			 "Fantasy|fantasy.htm|_top;"+ 		// text|URL|target of third sublink
			 "Green Spaces|green_spaces.htm|_top;"+ 		// text|URL|target of third sublink
			 "HerStory|HerStory.htm|_top;"+ 		// text|URL|target of third sublink
			 "Lest We Forget|LestWeForget.htm|_top;"+ 		// text|URL|target of forth sublink	  
			 "Love Bites|lovebites.htm|_top;"+ 		// text|URL|target of forth sublink	  
			 "Rebel Reads|rebelreads.htm|_top;"+ 		// text|URL|target of sixth sublink
                         "Rebound|rebound.htm|_top;"+ 		// text|URL|target of sixth sublink
			 "Terse Verse|terse_verse.htm|_top;"+ 		// text|URL|target of seventh sublink
			 "To Die For|Mystery.htm|_top;"+ 		// text|URL|target of fifth sublink	
                         "Tones in Black|tones_in_black.htm|_top;"+ 		// text|URL|target of eighth sublink
			 "Twisted Tales|twistedtales.htm|_top;"+ 		// text|URL|target of ninth sublink
			 "Winners... that weren't|winners-not.htm|_top;"+ 		// text|URL|target of tenth sublink
			 "If You Like Harry Potter,...|harry-potter.htm|_top;" 		// text|URL|target of eleventh sublink
			 
menublock[1]="../itgreen261.gif;"+ 		// filename second button-image
			 "../itgrey261.gif;"+			// filename rollover-image of  second button-image
			  ";;;;;;"+ 		    	// leave it empty
			 "no submenu|../Homework.htm|_top;"	// text|URL|target of mainlink
			  
         
// The following block is different. It contains a button without submenus.
// Take care to set the ";;;;;;" exactly as seen below.
menublock[2]="../contactgreen261.gif;"+ 	// filename third button-image
			 "../contactgrey261.gif;"+	// filename rollover-image of  third button-image
             ";;;;;;"+ 		    	// leave it empty
			 "no submenu|../../Link2Topic/college.htm|_top;"   // text, URL and target of mainlink
			 
menublock[3]="../funstuffgreen261.gif;"+ 	// filename fourth button-image
			 "../funstuffgrey261.gif;"+	// filename rollover-image of fourth button-image
			  ";;;;;;"+ 		    	// leave it empty
			 "no submenu|../Cool4U.htm|_top;"   // text, URL and target of mainlink

menublock[4]="../guest.gif;"+ 	// filename fifth button-image
			 "../guestgrey.gif;"+	// filename rollover-image of fourth button-image
			  ";;;;;;"+ 		    	// leave it empty
			 "no submenu|../Guest.htm|_top;"   // text, URL and target of mainlink

menublock[5]="../whuz.gif;"+ 	// filename sixth button-image
			 "../whuzgrey.gif;"+	// filename rollover-image of fifth button-image
			  ";;;;;;"+ 		    	// leave it empty
			 "no submenu|../TEvents.htm|_top;"   // text, URL and target of mainlink
		 
// No need to change anything below	 
//  **********************************************************************************
	 
var menusplit
var urlsplit
var font_weight_sub
var font_weight_sub

var minusimg=new Image()
minusimg.src="../markerdown261.gif"

var plusimg=new Image()
plusimg.src="../markerup261.gif"
			 
var showsubmenus=new Array()
for (i=0;i<=menublock.length-1;i++) {
	showsubmenus[i]=-1
}

var plusminusimg=new Array()
for (i=0;i<=menublock.length-1;i++) {
	plusminusimg[i]=plusimg.src
}

for (i=0;i<=menublock.length-1;i++) {
	menusplit=menublock[i].split(";")
	mouseoverimage[i] = new Image()
	mouseoverimage[i].src = menusplit[1]
}

function mouseOver(imgurl,imgname) {
	if (document.layers) {
		var thisimg=eval("document.menu.document.img"+imgname)
		thisimg.src=imgurl
	}
	if (document.all) {
		var thisimg=eval("img"+imgname)
		thisimg.src=imgurl
	}
}

function mouseOut(imgurl,imgname) {
	if (document.layers) {
		var thisimg=eval("document.menu.document.img"+imgname)
		thisimg.src=imgurl
	}
	if (document.all) {
		var thisimg=eval("img"+imgname)
		thisimg.src=imgurl
	}
}

function openandclose(visi) {
	showsubmenus[visi]=(-1)*showsubmenus[visi]
    var menucontent=""
    if (showsubmenus[visi]==1) {plusminusimg[visi]=minusimg.src}
    if (showsubmenus[visi]==-1) {plusminusimg[visi]=plusimg.src}
    menucontent+="<table border=0 cellpadding=0 cellspacing=0>"
	for (i=0;i<=menublock.length-1;i++) {
		menusplit=menublock[i].split(";")
		urlsplit=menusplit[8].split("|")
		if (menusplit[7]==1) {font_weight_sub="<b>"}
		if (menusplit[7]==0) {font_weight_sub=""} 
		menucontent+="<tr><td>"

        
       if (menusplit[9].length==0) {
            menucontent+="</td>"
            menucontent+="<td>"
            menucontent+="<a href="+urlsplit[1]+" target="+urlsplit[2]+" onMouseOver='mouseOver(\""+menusplit[1]+"\",\""+i+"\")' onMouseOut='mouseOut(\""+menusplit[0]+"\",\""+i+"\")'>"
			
			var imgn = "img"+i
            menucontent+="<img name="+imgn+" src="+menusplit[0]+" border=0>"
            menucontent+="</td></tr>"
            plus_i++ 
        }
        
        if (menusplit[9].length!=0) {
            var thismainmenu=i+plus_i
            menucontent+="<a href='javascript:openandclose("+i+")'>"
			var imgn = "img"+i
            menucontent+="<img src='"+plusminusimg[i]+"' border=0></a></td>"
            menucontent+="<td>"
            menucontent+="<a href='javascript:openandclose("+i+")' onMouseOver='mouseOver(\""+menusplit[1]+"\",\""+i+"\")' onMouseOut='mouseOut(\""+menusplit[0]+"\",\""+i+"\")'>"
            menucontent+="<img name="+imgn+" src="+menusplit[0]+" border=0>"
            menucontent+="</a></td></tr>"
   
		    if (showsubmenus[i]==1) {
			    for (ii=9;ii<=menusplit.length-1;ii++) {
				    urlsplit=menusplit[ii].split("|")
                    menucontent+="<tr><td></td><td align=right>"
    			    menucontent+=font_weight_sub
                    menucontent+="<a href="+urlsplit[1]+" target="+urlsplit[2]+">"
                    menucontent+="<font face="+menusplit[4]+" color="+menusplit[6]+" size="+menusplit[5]+">"
                    menucontent+=urlsplit[0]
                    menucontent+="</font></a>&nbsp;&nbsp;</td></tr>"
			    }
		    }
        }    
	}
    menucontent+="</table>"
	if (document.all) {
		menu.innerHTML=menucontent
	}
	if (document.layers) {
		document.menu.document.write(menucontent)
		document.menu.document.close()
	}
}


// - End of JavaScript - -->