
	gBrowserOK = (((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) >= 3 )) || ((navigator.appName == "Microsoft Internet Explorer") && (parseInt(navigator.appVersion) >= 4 )))
	
	if( gBrowserOK )
	{
		// Declare Global Vars
		gMainItemSelected = ""; // Which main menu item is selected
		gNavItems = 9;
		navObj = new Array();
		navObj["Nav1"] = new NavObject("Nav1", "Home", "../index.html", "../js/images/home_nor.gif", "../js/images/home_roll.gif", "../js/images/home_sel.gif", 84, 36);
		navObj["Nav2"] = new NavObject("Nav2", "Professional Services", "consult.html", "../js/images/ps_nor.gif", "../js/images/ps_roll.gif", "../js/images/ps_sel.gif", 201, 36);
		navObj["Nav3"] = new NavObject("Nav3", "Technology Pit Crew", "../tpc/what.html", "../js/images/tech_nor.gif", "../js/images/tech_roll.gif", "../js/images/tech_sel.gif", 200, 36);
		navObj["Nav4"] = new NavObject("Nav4", "Support", "../support/login.html", "../js/images/supp_nor.gif", "../js/images/supp_roll.gif", "../js/images/supp_sel.gif", 97, 36);
		navObj["Nav5"] = new NavObject("Nav5", "Contact Us", "../contact/phone.html", "../js/images/con_nor.gif", "../js/images/con_roll.gif", "../js/images/con_sel.gif", 114, 36);
		navObj["Nav6"] = new NavObject("Nav6", "About Us", "../about/mission.html", "../js/images/about_nor.gif", "../js/images/about_roll.gif", "../js/images/about_sel.gif", 90, 36);
		navObj["Nav7"] = new NavObject("Nav7", "Client Login", "login.html", "js/images/login_off.gif", "js/images/login_on.gif", "js/images/login_on.gif", 159, 121);
		navObj["Nav8"] = new NavObject("Nav8", "Industry Support", "industry.html", "js/images/ind_off.gif", "js/images/ind_on.gif", "js/images/ind_on.gif", 159, 121);
		navObj["Nav9"] = new NavObject("Nav9", "Blogs", "blogs.html", "js/images/blogs_off.gif", "js/images/blogs_on.gif", "js/images/blogs_on.gif", 159, 121);
	}
	
	function NavObject(name, status, url, src_off, src_on, src_select, width, height) 
	{
		// Object Properties
		this.name = name;
		this.status = status;
		this.url = url;
		this.off = new Image(width, height);
		this.off.src = src_off;
		this.on = new Image(width, height);
		this.on.src = src_on;		 
		this.selected = new Image(width, height);
		this.selected.src = src_select;
		
		// Object Methods
		this.highlight = highlight;
		this.unhighlight = unhighlight;
	}
	
	function highlight() {
		if( gBrowserOK ) {
			if( this.name != "" ) {
				self.status = this.status;
				if( this.name != gMainItemSelected )
					document[this.name].src = this.on.src;
			}
		}	
		return(true);	
	}
	
	function unhighlight() {
		if( gBrowserOK ) {
			if( this.name != "" ) {
				self.status = "";
				if( this.name != gMainItemSelected )
					document[this.name].src = this.off.src;
			}
		}
		return(true);	
	}
	
	// Set which navigation item should be selected
	function setSelected(name) {
		gMainItemSelected = name;
	}
	
	// Sets the appropriate selected state in the navigation
	function setNav() {
		if( gBrowserOK ) {
			if( gMainItemSelected != "") {
				document[gMainItemSelected].src = navObj[gMainItemSelected].selected.src;
							
			}
		}
		return(true);			
	}

	function writeFooter() {
		var output = new String("");
		counter = 1;
		for( name in navObj ) {
			if( name == gMainItemSelected )
				output += navObj[name].status;
			else
				output += '<A HREF="' + navObj[name].url + '">' + navObj[name].status + '</A>';
				
			if( counter++ < gNavItems )
				output += '&nbsp;&nbsp;|&nbsp;&nbsp;';
		}
		document.open();
		document.write(output);
		document.close();
	}
	


