<!--

var currentPos = 0;

/* Show a div */
function ShowDiv(d)
{
	if (document.all)
	{
		eval("document.all['" + d + "'].style.visibility='visible'");
	} 
	else
	{
		obj = GetObject(d);
		obj.style.visibility = "visible";
	}
}

/* Hide divs */
function HideDivs()
{
	for (i = 1; i <= numDivs; i++)
	{
		d = "div_" + i;
		if (parent.document.all)
		{
			eval("document.all['"+ d + "'].style.visibility='hidden'");
		} 
		else
		{
			obj = GetObject(d);
			if (obj)
			{
				obj.style.visibility = "hidden";
			}
		}
	}
}


// Return object based on id name
function GetObject(divId)
{
	var ns = navigator.appName == "Netscape";
   var ns4 = (ns && parseInt(navigator.appVersion) == 4);
   var ns5 = (ns && parseInt(navigator.appVersion) > 4);
	
	if (ns4)
        return document[divId];
    else if (ns5)
        return document.getElementById(divId);
    else
        return (document.all ? document.all[divId] : null);
}

/* Show case study sample */
function openCsSample(csName, width, height)	
{
	url = csName + ".html";
	window.open(url, "blah", "width=" + width + ",height=" + height + 
		",left=25,top=100,scrollbars=no,resizable=no,toolbars=no");
}

function openGsa(urlName)
{
	window.open(urlName,'open_window','status,dependent,width=450,height=500,left=100,top=10,scrollbars=yes');
	return false;
}

-->
