function getHelpOnPage(page)
{
  if (document.getElementById('AddHelpPageInfo') != null)
	page = page + document.getElementById('AddHelpPageInfo').value

	var hlpWnd = window.open('/help?context=' + page, 'help', 'width=800,height=600,resizable=yes,scrollbars=yes');
}

function getContextPanelHelp(panelname) {
	getHelpOnPage(escape(location.pathname)+panelname);
}

function getContextHelp() 
{
	getHelpOnPage(escape(location.pathname));
}

function getContextHelpAnchored(anchorName,helpId)
{
   if (helpId == null)
		getHelpOnPage(escape(location.pathname + "#" + anchorName));
	else
		getHelpOnPage(escape(helpId + "#" + anchorName));
}