<!-- Navigation Javascript
	
	// Check Browser
	var browserName = navigator.appName;
	var browserVer = parseFloat(navigator.appVersion);
	var browserMac = navigator.appVersion.indexOf("Macintosh");
	var browserWin = navigator.appVersion.indexOf("Win");
	var version = "null";

	if (browserName == "Netscape"
		&& browserVer >= 3) version = "n3";
	if (browserName == "Microsoft Internet Explorer"
		&& browserVer >= 3.01
		&& browserMac != -1) version = "ie3m";
	if (browserName == "Microsoft Internet Explorer"
		&& browserVer >= 4) version = "ie4";

	// Assign Variable

	var supported = (version == "n3"
		|| version == "ie3m"
		|| version == "ie4") ? true : false;

	// Load Images
	if (supported)
	{
		// Add Preloaded Images here with object name following
		// the following naming convention...
		// "menu" + LABEL + NUMBER + ("on")
		// where LABEL is the unique menu group identifier
		// NUMBER is the menu item number starting at 1
		// (on) is tagged to the end of the object name in the 
		// case of an "active" image.
		

		// Indexes
		// These are the indicies in the the arrays below.
		// These should start at zero, and be contiguous
		mainindex  = 0;
	
		// Current Menu Selections
		// Lets us know where we are to start.
		// Can be overridden by the initial "menusetit" function call.
		// Enter 0 if you do not want the menu to start at a given selection.
		select = new Array(0,0,0);

		prevactive = new Array(0,0,0);
	
		// Associates a series of rollover images
		// with a tagline.  Enter 0 for those menus that
		// do not have taglines.
		tagline    = new Array(0,0,0);
		hastagline = new Array(0,0,0);

		// Menu Sizes
		// Base on the number of images above
		// for each respective menu
		size = new Array(0,0,0);
		
		// Initialize TimerIDs
		// Start 'em all out at ZERO
		timer = new Array(0,0,0);
	
		// Delay in MS for "Snap Back"
		// Raise this number for a Cool Delayed
		// "SnapBack" Effect
		delay = 100;
	}

	function menuactivate(menu,on)
	{
		if (supported)
		{						
			var menusize   = eval("size["       + menu + "index]");
			var menuselect = eval("select["     + menu + "index]");
			var menuprev   = eval("prevactive[" + menu + "index]");
			var index      = eval(menu + "index");

			clearTimeout(eval("timer[" + menu + "index]"));

			if (hastagline[index] != 0)
			{
				menuactivate(menu + "tagline", on);
			}
			

			// Turn off the "Current Section" image
			if ((menuselect != 0) && (menuselect != on) && (tagline[index] == 0))
			{
				imgName = "menu" + menu + menuselect;
				roll = eval(imgName + ".src");
				document.images[imgName].src = roll;
			}

			// Turn off the Previous Rollover
			if ((menuprev != 0) && (tagline[index] == 0))
			{
				imgName = "menu" + menu + menuprev;
				roll = eval(imgName + ".src");
				document.images[imgName].src = roll;
			}
			
			// Turn on the one we're rolling over						
			imgName = "menu" + menu + on;
			roll = eval(imgName + "on.src");
			
			if(tagline[index] == 0)
			{
				document.images[imgName].src = roll;
			}
			
			else
			{
				document.images[menu].src = roll;
			}
		}
	}

	function menudestroy(menu,off)
	{
		if (supported)
		{
			var menuselect = eval("select[" + menu + "index]");
			index          = eval(menu + "index"); 
									
			// Build the Timed Function Call
			var call = "resetImage(\'" + menu + "\')";
		
			
			// Set Timer for the reseting of images
			timer[index] = setTimeout(call,delay);
			
			prevactive[index] = off;
		}
	}

	function resetImage(menu)
	{
		var menusize   = eval("size["   + menu + "index]");
		var menuselect = eval("select[" + menu + "index]");
		var index      = eval(menu + "index");
		
		if (hastagline[index] != 0)
		{
			imgName = "menu" + menu + "tagline" + 1;
			roll = eval(imgName + ".src");
			document.images[menu + "tagline"].src = roll;
		}

		// turn off ALL the images if this is not a tagline
		if(tagline[index] == 0)
		{
			for (i = 1; i <= menusize; i++)
			{
				if ( i != menuselect)
				{
					imgName = "menu" + menu + i;
					roll = eval(imgName + ".src");
					document.images[imgName].src = roll;
				}
			}
		}
		
		// Turn off the tagline
		else{
			imgName = "menu" + menu + 1;
			roll = eval(imgName + ".src");
			document.images[menu].src = roll;
		}
		
		
		
		// Only Turn on an Image if we are actually in 
		// a particular section
		if (menuselect != 0)
		{
			imgName = "menu" + menu + menuselect;
			roll = eval(imgName + "on.src");
			
			if(tagline[index] == 0)
			{
				document.images[imgName].src = roll;
			}
			
			else
			{
				document.images[menu].src = roll;
			}
		}
	}
	
	
	

	function menusetit(menu,set)
	{
		if ((supported) && (set != 0))
		{	
			index = eval(menu + "index");	
			select[index] = set;
			menuactivate(menu,set);
		}
	}


// Button Rollover Code
function rollOver(imgID,ImgName)
{
 if ((navigator.appName == "Netscape" && parseInt(navigator.appVersion) >= 3)
     || 
     (navigator.appName != "Netscape" && parseInt(navigator.appVersion) >= 4))
  document.images[imgID].src = "img/" + ImgName;
}


// Popup Window Code
function popup(winname, winurl, winopt)
{
	var newwin  = window.open(winurl,winname,winopt);
}

function showDropDown()
{
	// Only necessary for Windows Internet Explorer
	if(browserWin && browserName == "Microsoft Internet Explorer")
	{
		if(document.all.dropDownPricePoint) {
			document.all.dropDownPricePoint.style.visibility = 'visible';
		}
		if(document.all.dropDownAppBrand) {
			document.all.dropDownAppBrand.style.visibility = 'visible';
		}
		if(document.all.dropDownAppIndustry) {
			document.all.dropDownAppIndustry.style.visibility = 'visible';
		}
	}

	return;
}


function hideDropDown()
{	
	// Only necessary for Windows Internet Explorer
	if(browserWin && browserName == "Microsoft Internet Explorer")
	{
		if(document.all.dropDownPricePoint) {
			document.all.dropDownPricePoint.style.visibility = 'hidden';
		}
		if(document.all.dropDownAppBrand) {
			document.all.dropDownAppBrand.style.visibility = 'hidden';
		}
		if(document.all.dropDownAppIndustry) {
			document.all.dropDownAppIndustry.style.visibility = 'hidden';
		}
	}
	return;
}
