	// menu ver 1.01 Copyright (c) 2002 patrick clancey FERNHART NEW MEDIA. http://fernhart.com/


	var dom = (document.getElementById) ? true:false;
	var ie = (document.all) ? true:false;
	var all = (ie && !dom) ? true:false;
	var ie5 = (ie && dom) ? true:false;
	var ns4 = (document.layers) ? true:false;
	var layers = (document.layers) ? true:false;
	var ns6 = (!ie && dom) ? true:false;
	var ns = (ns4 || ns6) ? true:false;
	var isMac = (navigator.appVersion.indexOf("Mac")!=-1) ? true : false;
	var opera = (navigator.userAgent.indexOf("Opera")!=-1) ? true : false;

	// reset any IE settings here
	fnm_useInlineStyle = false;
	var conArry = new Array;
	
	if (isMac) {
		// turn off the opacty for macIE
		fnm_useInlineStyle = true;
		fnm_opacity = 100;
	}

	// image swaper Over state
	function imgOn(imgName){
	if (typeof oringinalImages == "undefined") return;
	if (typeof document[imgName].oSrc == "undefined"){
		document[imgName].oSrc = document[imgName].src;	
		oringinalImages[oringinalImages.length] = imgName;
	}
	document[imgName].src = eval(imgName + "on.src");
	}
	function imgOff(imgName) {
		document[imgName].src = eval(imgName + "off.src");
	}	
		
	// image swaper Restor state
	function imgRestore(imgName) { 
	if (typeof oringinalImages == "undefined") return;
		if (!imgName) {
			for (i=0;i<oringinalImages.length;i++){
				if (document.images[oringinalImages[i]].src != document.images[oringinalImages[i]].oSrc){
					document.images[oringinalImages[i]].src = document.images[oringinalImages[i]].oSrc;
					break;
				}
			}
		} else {
			document.images[imgName].src = document.images[imgName].oSrc;
		}
	}
	// set the menu to visible
	function showMenu(stage){
	}
	
	// uncover the closer layer
	function showCloser(){
	imgRestore();
	}
	
	// hide all the main menus
	function shutAll(){
	}
	
	// hide all the main menus
	function shutAllold(){
	}
	
	// create container objects
	function container(top,left,width,bgcol,bgimg,br,brC,brS,sh,subId){
	}
	
	// hide all the submenus
	function closeChildren(src){
	}
	// hide element
	function hideChild(src){
	}	
	// this moves the child menu to the right place and makes it vis
	function findPoss(src){
	}

	function startBuildMenu(){
	}

	// build the inner menus
	function buildMenu(childId,a,b){
	}

	function startOff(){
	}

	function startBuild(){
	}
	window.onerror = errorReport;
	
// Error handling functionality

function errorReport(msg, asp, line){
  // Set up the error object (in this case an image).
  var reportError = new Image()
  var ErrorMsg = escape(msg);// make the massages url friendly
  var casp = escape(asp);
  var title = escape(document.title)
  var os = escape(navigator.appVersion)
 
  // build up the error report
  var url = "http://interface.fernhart.com/dombug/add_fh_error.asp?errorTitle="+ title +"&errorText="+ ErrorMsg +"&errorLine="+ line +"&errorAsp="+ casp +"&errorAppVer="+ os;
	
  // view report FOR DEBUGGING
  // prompt ("errorUrl", url );
  // send error	FOR LIVE SITE
  reportError.src = url;
	
  // Returning true forces the browser to ignore the error message
  // Javascript will continue to function on the page if the error 
  // is not too dramatic. 
  return true;
}
