
function popUp(theURL, Name, popW, popH, scroll) { 
	var winleft = (screen.width - popW) / 2;
	var winUp = (screen.height - popH) / 2;
	winProp = 'width='+popW+',height='+popH+',left='+winleft+',top='+winUp+',scrollbars='+scroll+',resizable';
	Win = window.open(theURL, Name, winProp);
	if (parseInt(navigator.appVersion) >= 4) { Win.window.focus(); }
}


/* added on June 16 2009 
 * Handles the Fading Menus on the Top Nav Bar
 * requires jQuery
*/

	if (document.images) {
	// set up the arrays of dynamic parameters 
		imageNames = new Array(); // the image tag name values
		imagesOff = new Array();  // rollover off position images
		imagesOn = new Array();   // rollover on position images
		
		for (index = 0; index <= 6; index++) {
			imagesOff[index] = new Image();
			imagesOn[index] = new Image();
		}
		
		// initialize all arrays 
		
		imageNames[0] = "find";
		imagesOff[0].src = "/IMAGES/darryl1.gif";
		imagesOn[0].src = "/IMAGES/darryl2.gif";
	
		imageNames[1] = "archive";
		imagesOff[1].src = "/IMAGES/Clock1.gif";
		imagesOn[1].src = "/IMAGES/Clock2.gif";
	
		imageNames[2] = "family";
		imagesOff[2].src = "/IMAGES/tree2.gif";
		imagesOn[2].src = "/IMAGES/tree1.gif";
	
		imageNames[3] = "scrap";
		imagesOff[3].src = "/IMAGES/book1.gif";
		imagesOn[3].src = "/IMAGES/book2.gif";
	
		imageNames[4] = "stuff";
		imagesOff[4].src = "/IMAGES/bear1.gif";
		imagesOn[4].src = "/IMAGES/bear2.gif";
	
		imageNames[5] = "junk";
		imagesOff[5].src = "/IMAGES/drawer1.gif";
		imagesOn[5].src = "/IMAGES/drawer2.gif";
		
		imageNames[6] = "pubsched";
		imagesOff[6].src = "/IMAGES/pub_sched_button.jpg";
		imagesOn[6].src = "/IMAGES/pub_sched_button.jpg";
	}
				
	function indicateMouseOver(whichone) {
	// when a mouse over occurs, switch all relevant graphics
		if (document.images) {
			document[imageNames[whichone]].src = imagesOn[whichone].src;
		}
		jQuery('div#word' + whichone).fadeIn('fast');
		document[imageNames[whichone]].alt = '';
	}
	function indicateMouseOut(whichone) {
	// when a mouse out occurs, switch all relevant graphics
		if (document.images) {
			document[imageNames[whichone]].src = imagesOff[whichone].src;
		}
		jQuery('div#word' + whichone).fadeOut('fast');
	}