/////////////////////////////////////////////////////////////////////////////////////////////////////////
// JavaScript Function Name:  Explain
// Purpose: Explain creates a popup window that displays help information to the user.
/////////////////////////////////////////////////////////////////////////////////////////////////////////

function explain(name, msg, nLen, nWidth)
{
newwin = window.open('','Explanation','resizable=1,location=0,status=0,scrollbars=0,top=150,left=150,width='+nWidth+',height='+ nLen);
if (!newwin.opener) newwin.opener = self;
with (newwin.document)
   {
open();
write('<HTML><HEAD><TITLE>Military Guides Online</TITLE></HEAD>');
write('<BODY><SPAN class="Explain">');
write('<B><U>' + name + '</U></B><BR>');
write('<FORM name=form>' + msg + '<BR>');
write('<P align="center"><input type=button value="Close" onClick=window.close()></P>');
write('</FORM></SPAN></BODY></HTML>');
close();
   }
}