//
// sitenavigator.js
//

var bOpera = (navigator.userAgent.indexOf("Opera") >= 0);

function ExpandIE(o)
{
	o.style.display == 'none' ? o.style.display = "" : o.style.display = 'none';
}
function ExpandNN4(n, o)
{
	if(o.visibility == 'hide') o.visibility = 'show';
	else o.visibility = 'hide';
	arrangeNN4();
}
function Expand(n)
{
	if(document.getElementById) 
		if(bOpera);// ExpandOP(n, document.getElementById('Group'+n));
		else ExpandIE(document.getElementById('Group'+n));
	if(document.layers) ExpandNN4(n, document.layers['Group'+n]);
}
function arrangeNN4()
{
	if(document.layers)	{
		var firstInd = 0;
		nextY = document.layers[firstInd].pageY + document.layers[firstInd].document.height;
		for (i=firstInd+1; i<document.layers.length; i++) {
	        whichEl = document.layers[i];
			if (whichEl.visibility != "hide") {
				whichEl.pageY = nextY;
				nextY += whichEl.document.height;
			}
		}
	}
}