<!--

	// 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.


menutop1 = new Image();
menutop1.src = "img/menu_home.gif";
menutop1on = new Image();
menutop1on.src = "img/menu_home_on.gif";

menutop2 = new Image();
menutop2.src = "img/menu_gallery.gif";
menutop2on = new Image();
menutop2on.src = "img/menu_gallery_on.gif";

menutop3 = new Image();
menutop3.src = "img/menu_bio.gif";
menutop3on = new Image();
menutop3on.src = "img/menu_bio_on.gif";

menutop4 = new Image();
menutop4.src = "img/menu_contact.gif";
menutop4on = new Image();
menutop4on.src = "img/menu_contact_on.gif";




		// Indexes
		// These are the indicies in the the arrays below.
		// These should start at zero, and be contiguous
		topindex  = 0;
		secondindex   = 1;
		toptaglineindex   = 2;

		// Current Menu Selections
		// Lets us know where we are to start.
		// Can be overridden by the initial "menusetit" function call.
		select = new Array(0,0,0);

		prevactive = new Array(0,0,0);

		// Associates a series of rollover images
		// with a tagline.
		tagline    = new Array(0,0,0);
		hastagline = new Array(0,0,0);

		// Menu Sizes
		// Base on the number of images above
		size = new Array(4,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);
		}
	}
	// Popup Window Code
	function popup(winname, winurl, winopt)
	{
		var newwin  = window.open(winurl,winname,winopt);
	}

        self.name="lynch";
// -->
