//library to hold miscellaneous javascript functions.

//show an HTML document in its own window.
function ShowHelpWindow(HTMLHelpPage){
	//set Help window size and position, depending on screen resolution.
	var numHelpWindowWidth = screen.Width/3.5;
	var numHelpWindowHeight = screen.Height/1.4;
	var numHelpWindowLeftPosn = screen.Width - (numHelpWindowWidth + 13);
	var numHelpWindowTopPosn = 25;
	var strPosnAttributes = 'left='+numHelpWindowLeftPosn+',width='+numHelpWindowWidth+',top='+numHelpWindowTopPosn+',height='+numHelpWindowHeight;
	//show Help window.
	var HelpWindow = window.open(HTMLHelpPage, 'Help', 'menubar,scrollbars,resizable,dependent,'+strPosnAttributes);
	HelpWindow.focus();
}