
var gAgent = navigator.userAgent.toLowerCase()
var gWindows = ( (gAgent.indexOf( "win" ) != -1 ) || ( gAgent.indexOf( "16bit" ) != -1 ) )
var gIE = ( gAgent.indexOf( "msie" ) != -1 )
var bInlineFloats = ( gWindows && gIE && ( parseInt( navigator.appVersion ) >= 4 ) )
var floatwnd = 0

var WPFootnote1 = '<span class="WPNormal"><p>The radial nerve is located in the arm, so named for the radius (arm bone) and controls the extensor muscles of the wrist. \
'

var WPFootnote2 = '<span class="WPNormal"><p>The fibula is the smaller of the two bones in the leg.  It is buried in the calf muscle, and when broken causes severe pain, but not a significant mechanical injury, so the victim can still walk on it. \
'

function WPShow( WPid, WPtext )
{
  if( bInlineFloats )
    eval( "document.all." + WPid + ".style.visibility = 'visible'" );
  else
  {
    if( floatwnd == 0 || floatwnd.closed )
      floatwnd = window.open( "", "comment", "toolbars=0,width=600,height=200,resizable=1,scrollbars=1,dependent=1" );
    floatwnd.document.open( "text/html", "replace" );
    floatwnd.document.write( "<html><head>\r\n" );
    floatwnd.document.write( "<style> p { margin-top:0px; margin-bottom:1px; } </style>\r\n" );
    floatwnd.document.write( "</head><body>\r\n" );
    floatwnd.document.write( WPtext );
    floatwnd.document.write( '<br><a href="javascript: self.close()">Close</a>');
    floatwnd.document.write( "</body></html>" );
    floatwnd.document.close();
    floatwnd.focus();
  }
}

function WPHide( WPid )
{
  if( bInlineFloats )
    eval( "document.all." + WPid + ".style.visibility = 'hidden'" );
}