function changeImage(layer,imgName,imgObj) {
	if (document.layers && layer!=null) eval('document.'+layer+'.document.images["'+imgName+'"].src = '+imgObj+'.src');
	else document.images[imgName].src = eval(imgObj+".src");
}

function preload(imgObj,imgSrc) {
	if (document.images) {
		eval(imgObj+' = new Image()')
		eval(imgObj+'.src = "'+imgSrc+'"')
	}
}

/* Window Resize Handler - standard handler for dealing with netscape's resizing problems */
function handleResize(){
	winWidth = window.innerWidth;
	winHeight = window.innerHeight
	if ((lastWidth != winWidth) && (lastHeight != winHeight)){
		lastWidth = winWidth;
		lastHeight = winHeight;
		location.reload();
	}
}

function putImage(imgDocID,imgObjName) {
	//   imgDocID - the name or number of the document image to be replaced
	//   imgObjName - the name of the image object to be swapped in
	if (browser) {
	        document.images[imgDocID].src = eval(imgObjName + ".src")
	}
}

function animateMenu() {
        var el=event.srcElement;
        if ("A"==el.tagName) {
          // Initialize effect if none specified
          if (null==el.parentElement.effect) el.parentElement.effect = "highlight"
          // Swap effect with the class name.
          temp = el.parentElement.effect;
          el.parentElement.effect = el.parentElement.className;
          el.parentElement.className = temp;
        }
      }   

function DoNothing() {
      }
browser = (((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) >= 3 )) || ((navigator.appName == "Microsoft Internet Explorer") && (parseInt(navigator.appVersion) >= 4 )))	