// JavaScript Rollover Menu Code// Menu Functions// CODE Copyright (c) 2002 WebDesignery.com// Written by Darien Brown (dobrown@webdesignery.com)// This source may be used by any party as long as the above// copyright and this notice remains intact. Please document// any changes to the code below.// MenuInit//     initializes the menu by preloading the images//     To be called from BODY onload parameter.function MenuInit(name) {  if (document.images) {  	for(i = 0; i < eval(name+"_MenuButtonList.length"); i++)    	newImage(eval(name+"_MenuUrlBase")+eval(name+"_MenuButtonList[i]")+"_over.gif");    preloadFlag = true;  }}// MenuMouseOver//     changes to mouseover image given menu and buttonfunction MenuMouseOver(name, button) {	if (document.images)		eval("document.images."+button+".src = \""+eval(name+"_MenuUrlBase")+button+"_over.gif\"");}// MenuMouseOver//     resets mouseover image given menu and buttonfunction MenuMouseOut(name, button) {	if (document.images)		eval("document.images."+button+".src = \""+eval(name+"_MenuUrlBase")+button+".gif\"");}// newImage//     creates an image given a url//     NOT to be called from outside code.function newImage(url) {  if (document.images) {    temp = new Image();    temp.src = url;    return temp;  }}
