// **************************************************
// Author  : Stuart Vaughan
// Date    : 04/10/2002
// Version : 1.00
// **************************************************


	// detect users agent (browser)
	function detectBrowser() {
		if (parseInt(navigator.appVersion) >= 4) {
			
			if (navigator.appName == "Netscape") {
				browser = "Netscape";
			} else {
				browser = "IE";
			}
		}
		return browser;
	}


	// fullscreen popup (netscape safe, hopefully)
	// Calls detectBrowser (above).
	function fullwin(targeturl) {
	
		if (detectBrowser()=="IE") {
			window.open(targeturl, 'newwindow', 'fullscreen=yes,scrollbars=no');
		} else {
			nnWindow = window.open(targeturl, 'newwindow', 'location=no,status=no,toolbar=no,scrollbars=no,titlebar=no,width='+screen.width+',height='+screen.height);
			nnWindow.focus();
			nnWindow.moveBy(0,-20);
		}
	}

// this works in explorer - not in Netscape... changes colors in the menu table as mouse rolls over selection>
	function onColor(blah)
	{
		blah.style.backgroundColor='#999999';
	}

	function offColor(blah)
	{
		blah.style.backgroundColor='#333333';
	}


// **********************************
// END - MISCELLANEOUS FUNCTIONS CODE
// **********************************