<!--
var window_System_Help;
var tempWindow;
var bLoggingOut=false;

function highlightrow(therow,overClass,normalClass,firstColumn,lastColumn)
{
	try
	{
		var sClass=therow.className;
		if (sClass==overClass)
		{
			therow.className=normalClass;
		}
		else
		{
			therow.className=overClass;
		}
		
		for (cellcount=firstColumn;cellcount<=lastColumn;cellcount++)
		{
			if (therow.className==overClass)
				therow.cells[cellcount].style.cursor='hand';
			else
				therow.cells[cellcount].style.cursor='';
		}
	}
	catch(exception)
	{
	}
}

function loadpage(page)
{
	navigate(page);
}
	
function loadhelppage(helpid)
{
	try
	{
		try
		{
			window_System_Help.close();
		}
		catch(exception)
		{
		}
		if (typeof(helpid)=='undefined') {helpid='';}
		//window_System_Help=window.open('page.asp?fetchpage=PAGE_SYSTEM_HELP#'+helpid,'HelpWin','fullscreen=no,height=400,width=400,location=no,menubar=no,resizable=yes,scrollbars=yes,titlebar=yes,toolbar=no');
		window_System_Help=window.open('help/help.asp?helpid='+helpid,'HelpWin','fullscreen=no,height=400,width=400,location=no,menubar=no,resizable=yes,scrollbars=yes,titlebar=yes,toolbar=no');
	}
	catch(exception)
	{
	}
}
function QueryLogOut()
{
	try
	{
		//var bOK=confirm('Are you sure you want to log out?');
		var bOK=true;
		if (bOK)
		{
			bLoggingOut=true;
			try
			{
				window_System_Help.close();
			}
			catch(exception)
			{
			}
			window.location.href='page.asp?fetchpage=PAGE_SYSTEM_LOGOUT';
		}
	}
	catch(exception)
	{
		window.location.href='page.asp?fetchpage=PAGE_SYSTEM_LOGOUT';
	}
}
	
var windowfeatures='top=5,width=600px,height=450px,status=1,resizable=1,scrollbars=0,help=no';
//var modelessfeatures='dialogWidth=600px;dialogHeight=450px;center:yes;status=yes;resizable=yes;scrollbars=yes;help=no';
function view_image(fileloc, sTitle, sName)
{
	try
	{
		var sURL=gsRootPath+'page.asp?fetchpage=PAGE_SYSTEM_VIEWIMAGE&title='+escape(sTitle)+'&file='+escape(fileloc);
		var ret=window.open(sURL,sName,windowfeatures);
		return ret;
	}
	catch(exception)
	{
		return 0;
	}
}

function open_link(url,windowvariable)
{
	try
	{
		windowvariable.close();
	}
	catch(exception)
	{
	}
	try
	{
		windowvariable=window.open(url);
		//windowvariable.navigate(url);
		return windowvariable;
	}
	catch(exception)
	{
	}
}
!-->