	//
	// Figure out which browser code should be used
	//
	var isNN6 = (navigator.userAgent.indexOf("Gecko") > 0) ? true : false;
	var isIE4 = (navigator.userAgent.indexOf("MSIE") > 0) ? true : false;
	var isNN4 = false;
	if (navigator.appName == "Netscape" & !isNN6) 
		isNN4 = true;

	//
	// This code launches the DOM Viewer, for debugging purposes.  It is not used under live conditions.
	// Set the two variables below to point at the DOM object to start the display.
	//
	var DOMViewerObj = document;
	var DOMViewerName = "document";
	function DOMView() {
		if (isNN4) window.open('../services/DOMViewer_NN.htm');
		window.open('../services/DOMViewer_IE.htm');
	}
	
	function ImageMouseOver(idval, index) {
		document.images[idval].src=ovrImgArray[index].src;
		if (idval=="a1") {
			document.images["center"].src=ovrImgArray[7].src; }
		if (idval=="a2") {
			document.images["center"].src=ovrImgArray[8].src; }
		if (idval=="a3") {
			document.images["center"].src=ovrImgArray[9].src; }		
	}

	function ImageMouseOut(idval, index) {
		document.images[idval].src = outImgArray[index].src;
		document.images["center"].src = outImgArray[7].src;
	}

	function changeImage(sBlockID, sImageName, sURL, sOtherImage, sOtherURL) {
		// DOMView();
		// return;
		if (document.layers) {
			if (document.layers[sBlockID]) {
				oFirstImage = document.layers[sBlockID].document.images[sImageName];
				if (sOtherImage != null && sOtherURL != null) 
					oSecondImage = document.layers[sBlockID].document.images[sOtherImage];
			}
		}

		if (document.images[sImageName]) {
			oFirstImage = document.images[sImageName];
			if (sOtherImage != null && sOtherURL != null) 
				oSecondImage = document.images[sOtherImage];
		}

		if (oFirstImage) {
			oFirstImage.src = sURL;
			if (sOtherImage != null && sOtherURL != null) {
				oSecondImage.src = sOtherURL;
			}
		}
	}

	function loadBody() {
		// alert("Hello");
	}

	function newWindow(sURL) {
		window.open(sURL, "eBusiness", "toolbar=no,scrollbars=no,resizable=no,status=no,directories=no,location=no,menubar=no,fullscreen=no,left=100,top=100,width=400,height=420"); 
	}
	
	function closeWindow() {
		oWindow = window.top;
		oWindow.close();
	}

	function doImageSwitch (strBlockID, strImageName, strURL, strMessageBlock, bOn) {
		//DOMView();
		//return;
		changeImage(strBlockID, strImageName, strURL); 
		if (!isNN4) {
			if (bOn) {
				document.all[strMessageBlock].style.display = 'inline'; 
				document.all["GenMessage"].style.display = 'none'; 
			}
			else {
				document.all[strMessageBlock].style.display = 'none'; 
				document.all["GenMessage"].style.display = 'inline'; 
			}
		}
	}	