/* ImageViewer Javascript */

var nsx;
var nsy;

function layer( poId)
{
	var res;
	if ( document.getElementById)
	{
		res = document.getElementById( poId);
	}
	if ( document.all)
	{
		res = document.all[poId];
	}
	if (res)
	{
		return res.style;
	}
	return null;
}

function imgon( poId)
{
	var hlp = layer( 'Pr' + poId);
	
	for (var x = 1; x <= 28; x++)
	{
		var oth = layer( 'Pr' + x);
		
		if ( oth.visibility = 'visible')
		{
		  oth.visibility = 'hidden';
		}
	}

	hlp.visibility = 'visible';
	hlp.top = document.body.scrollTop + 100;
}

function imgoff( poId)
{
	var hlp = layer( 'Pr' + poId);
	if ( hlp)
		hlp.visibility = 'hidden';
}

function desc( pnId)
{
  return "This is a test"
}