function addPPToParentList2(navid, rootid)
{
  window.location = "navigation.jsp?navid="+navid+"&rootid="+rootid;
}
function addPPToParentList3(navid, rootid, eventid)
{
  window.location = "navigation.jsp?navid="+navid+"&rootid="+rootid+"&eventId="+eventid;
}
function addPPToParentList4(navid, rootid, articleid)
{
  window.location = "navigation.jsp?navid="+navid+"&rootid="+rootid+"&articleId="+articleid;
}
function addPPToParentList5(navid, rootid, special)
{
  window.location = "navigation.jsp?navid="+navid+"&rootid="+rootid+"&"+special;
}

function pop600 (url)
{
  window.open(url,'','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,width=630,height=500,top=150,left=200')
}

var closediv = "";
function showMe(what)
{
	this.ver=navigator.appVersion
	this.agent=navigator.userAgent
	this.dom=document.getElementById?1:0
	this.opera5=this.agent.indexOf("Opera 5")>-1
	this.ie5=(this.ver.indexOf("MSIE 5")>-1 && this.dom && !this.opera5)?1:0;
	this.ie6=(this.ver.indexOf("MSIE 6")>-1 && this.dom && !this.opera5)?1:0;
	this.ie4=(document.all && !this.dom && !this.opera5)?1:0;
	this.ie=this.ie4||this.ie5||this.ie6
		
	var x = document.getElementById(what);
	if(x == null){
		return;
	}
	
	
	if (this.ie == 1)
	{
		var isNetscape6 = false;
		var isNetscape = false;
	}


	this.mac=this.agent.indexOf("Mac")>-1
	this.ns6=(this.dom && parseInt(this.ver) >= 5) ?1:0;
	if (this.ns6 == 1)
	{
		var isNetscape6 = true;
		var isNetscape = true;
	}

	this.ns4=(document.layers && !this.dom)?1:0;
	if (this.ns4 == 1)
	{
		var isNetscape6 = false;
		var isNetscape = true;
	}

	if (what!="sub_")
	{
		if (!(isNetscape))
		{
			var a = document.all[what].style.display;
			if (a == 'none')
			{
				if (closediv == "")
				{
					closediv = what;
				}
				else
				{
					document.all[closediv].style.display = 'none';
					closediv = what;
				}
				document.all[what].style.display  = '';
			}
			else
			{
				document.all[what].style.display = 'none';
			}
		}
		else
		{
			if (!(isNetscape6))
			{
				var a = document.layers[what].style.display;
				if (a == 'none')
				{
					if (closediv == "")
					{
						closediv = what;
					}
					else
					{
						document.layers[closediv].style.display = 'none';
						closediv = what;
					}
					document.layers[what].style.display = '';
				}
				else
				{
					document.layers[what].style.display = 'none';
				}
			}
			else
			{
				var a = document.getElementById(what).style.display;
				if (a == 'none')
				{
					if (closediv == "")
					{
						closediv = what;
					}
					else
					{
						document.getElementById(closediv).style.display = 'none';
						closediv = what;
					}
					document.getElementById(what).style.display = '';
				}
				else
				{
					document.getElementById(what).style.display = 'none';
					document.getElementById(what).setAttribute("valign", "top");
					document.getElementById(what).setAttribute("height", "0");
				}
			}
		}
	}
}

