function pin_lite(id, mode, pintype)
	{
	if (document.getElementById)
		{
		pin_id = "pin" + id;
		offpath = (pintype == 1) ? "usr/pix/pin_old.gif" : "usr/pix/pin.gif";
		if (document.getElementById(pin_id)) document.getElementById(pin_id).src = (mode == 1) ? "usr/pix/pin_on.gif" : offpath;
		}
	}

function tab_lite(id, mode, pintype)
	{
	if (document.getElementById)
		{
		tab_id = "tab" + id;
		if (document.getElementById(tab_id)) document.getElementById(tab_id).className = (mode == 1) ? "ob4" : "ob3";
		pin_id = "pin" + id;
		offpath = (pintype == 1) ? "usr/pix/pin_old.gif" : "usr/pix/pin.gif";
		if (document.getElementById(pin_id)) document.getElementById(pin_id).src = (mode == 1) ? "usr/pix/pin_on.gif" : offpath;
		}
	}

function mroll(id, mode)
	{
	document.getElementById("mbg").style.visibility = "visible";
	if (document.getElementById)
		{
		if (document.getElementById("menu" + id))
			{
			className = document.getElementById("menu" + id).className;
			arr = className.split("_");
			document.getElementById("menu" + id).className = arr[0] + ((mode == 0) ? "_dark" : "_lite");
			}
		}
	}

function proll(id, mode)
	{
	if (document.getElementById)
		{
		if (document.getElementById("menu" + id))
			{
			imgSrc = document.getElementById("menu" + id).src;
			arr = imgSrc.split("~");
			if (arr[1] != mode + ".gif")
				{
				imgSrc = arr[0] + "~" + mode + ".gif";
				document.getElementById("menu" + id).src = imgSrc;
				}
			}
		}
	}


