var isNN4, isNN6, isIE
	var coll = ""
	var styleobj = ""
	if (parseInt(navigator.appVersion) >= 4)
	{
		if (navigator.appName == "Netscape")
		{
			if (document.layers)
			{
				isNN4 = true;
			}
			else
			{
				isNN6 = true;
			}
		} 
		else
/* assume it's IE... */
		{
			isIE = true;
			coll = "all.";
			styleobj = ".style";
		}
	}

	function resize()
		{
		if (isNN4)
			{
			location.reload()
			}
		}

	function flip(name1, name2)
		{	
		document.images[name1].src = eval(name2 + ".src");
		}

	function hi(oPic)
		{
		if (isIE)
			{
			theobject=oPic;
			theobject.style.filter="invert()";
			return true;
			}
		}

	function hi_faint(oPic)
		{
		if (isIE)
			{
			theobject=oPic;
			theobject.style.filter="flipH()";
			return true;
			}
		}

	function lo(oPic)
		{
		if (isIE)
			{
			theobject=oPic;
			theobject.style.filter="";
			return true;
			}
		}

	function hide(id)
		{
		if ((isIE) || (isNN6))
			{
			obj = document.getElementById(id);
			obj.style.visibility='hidden'
			} else {
				obj = eval("document." + coll + id);
				obj.visibility='hidden'
				}
		}

	setID = "main";
	function reveal(id)
		{
		eval ("hide('" + setID + "')");
		setID = id;
		if ((isIE) || (isNN6))
			{
			obj = document.getElementById(id);
			obj.style.visibility='visible';
			} else {
				obj = eval("document." + coll + id);
				obj.visibility='visible';
			}
		}

