// JavaScript Document
function genHelp(Message)
{
	if(Message.substring(0,4) == 'URL:') {
		// debug: alert('url');
		newwindow=window.open(Message.substring(4,Message.length),12,'toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=0,width=600,height=400,left = 362,top = 284');
	} else {
		newwindow=window.open(0,12,'toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=0,width=300,height=200,left = 362,top = 284');
		newdocument=newwindow.document;
		newdocument.write('<TITLE>Assessment Help</TITLE>');
		newdocument.write('<BODY onBlur=window.close() marginwidth=0 marginheight=0 topmargin=0 leftmargin=0>');
		newdocument.write('<IMG SRC="images/nav/HelpTitleBar.jpg"><BR>');
		newdocument.write('<TABLE CELLPADDING="10"><TR><TD>');
		newdocument.write('<FONT FACE=ARIAL>');
		newdocument.write(Message);
		newdocument.write('<P>[<A HREF="javascript:window.close()">Close</A>]');
		newdocument.write('</FONT>');
		newdocument.write('</TD></TR></TABLE>');
		// newdocument.write('</BODY></HTML>');
		newdocument.close();
	} // end if URL:
}
function globalCTRLClick()
{
	genHelp('Use CTRL+Click to select multiple entries on this select box. This is done by holding down the CTRL key on your keyboard while clicking with the mouse. This method allows selection of multiple items which aren\'t adjacent to each other on the select box.');
	return;
}
function globalSurveyQuestion()
{
	genHelp('This option should be checked if this question has no correct answer, i.e. it is a survey or opinion type question.');
	return;
}
function globalUsableByOthers()
{
	genHelp('This option should be checked if you would like to allow other test builders to use your question in their tests.');
	return;
}
function globalInfo(message)
{
	genHelp(message);
	return;
}

