function about()
{
  var width = (window.innerWidth) ? window.innerWidth : document.body.clientWidth;

  var layer = document.createElement('div');
  layer.style.zIndex = 8;
  layer.id = 'layer';
  layer.style.position = 'absolute';
  layer.style.top = '0px';
  layer.style.left = '0px';
  layer.style.height = document.documentElement.scrollHeight + 'px';
  layer.style.width = width + 'px';
  layer.style.backgroundColor = 'black';
  layer.style.opacity = '0';
  layer.style.filter += ("progid:DXImageTransform.Microsoft.Alpha(opacity=0)");
  document.body.appendChild(layer);  

  var div = document.createElement('div');
  div.style.zIndex = 9;
  div.id = 'box';
  div.style.position = 'absolute';
  div.style.top = '65px';
  div.style.left = (width / 2) - (600 / 2) + 'px'; 
  div.style.height = '460px';
  div.style.width = '600px';
  div.style.backgroundColor = '#6d5331';
  div.style.border = '2px solid white';
  div.style.padding = '5px';
  document.body.appendChild(div);

  var sBody = 'Note: Scriptutor is in Beta test mode.<br /><br />' +
    'Scriptutor is designed to make Scripture memorization as easy as possible. ' +
    'It keeps track of verses you are currently working on, verses you have memorized and, your track record for each verse. ' +
    'By looking at your track record, Scriptutor automatically brings up the verse you most need to work on.<br /><br />' +
    'Testing your verses is also easy with Scriptutor.  Just type the first letter of each word in the verse. ' +
    'If you get stuck press the space bar.  Audio sounds give you instant feed back as you type.<br /><br />' +
    'My hope is that you not only enjoy using Scriptutor but that you are able to hide God\'s Word in your heart ' +
    'at a level you never thought possible.<br /><br />' +
    'Neil Nolte<br />' +
    'Owner<br />' +
    'Advanced PC Solutions<br />' +
    '<a href="http://www.sweetapplications.com" target="_blank">www.sweetapplications.com</a><br /><br />' +
    'Special Thanks to:<br />' +
    'John Chmela for invaluable design input and encouragement<br />' +
    'Steve St John for being a wonderful Brother in Christ and helping in many ways<br />' +
    'Gregory Nolte, Andy Kaufman, Mark Goldfeld & Maribeth Ruehlmann for beta testing';

  var a = document.createElement('a');
  a.innerHTML = '<center><table><tr><td><font size="5">About Scriptutor</font></td></tr></table></center>' +
    '<table width="100%" border="0" cellpadding="10" cellspacing="0">' +
    '<tr><td>' + sBody + '</td></tr></td></tr></table>' +
    '<form><center><button type="button" onClick="closeAbout();">&nbsp; OK &nbsp;</button></center></form>';
  div.appendChild(a);

  document['onkeydown'] = onKeyDownAbout;
}
function closeAbout()
{
  document['onkeydown'] = onKeyDownMain;
  document.body.removeChild(document.getElementById('layer'));
  document.body.removeChild(document.getElementById('box'));
}
function onKeyDownAbout(e)
{
  var evt = e || window.event;
  if ((evt.keyCode == 27) || (evt.keyCode == 13))
  {
    closeAbout();
    return false;
  }
  return true;
}