function showHelp(bBlockMode){
	obj = document.getElementById('helpTopic');
	hdrObj = document.getElementById('header');
	
	if(obj.className == "helpDiv0")
		obj.className = bBlockMode ? "helpDivBlock" : "helpDiv1";
	else
		obj.className = "helpDiv0";

	obj.style.left = 2;
	obj.style.top = hdrObj.offsetHeight;
}

function showHelpTopic(relativePath, topic){
	var helpTopic = "";
	
	if ((topic != null) && (topic.length > 0))
		helpTopic = topic;
	else
		helpTopic = "help_nohelp";
		
	var outHelp = helpTopic;
	if(outHelp.indexOf(".htm") < 0)
		outHelp += ".htm";

	URL = relativePath + "help/frm_help.aspx?context=frm_contents&tab=1&topic=" + outHelp;
	
	newWindow = window.open (URL, "i_helpwindow", "resizable=yes,width=600,height=440,toolbar=0,location=0,directories=0,status=1,menubar=0");
	if(parseInt(navigator.appVersion) >= 4) {newWindow.window.focus();}
}

function closeHelp(){
	obj = document.getElementById('helpTopic');	
	obj.className = "helpDiv0";
}
