/*
 * viewcode.js
 *
 * Used to display a pop-up window to view code samples
 *  from Luger's AI text.
 *
 */

winid = 0;

function viewcode (target) {
  window.open('code/' + target + '.html',
              'viewer' + winid++,
              'width=640, height=480,' +
              'location=no, toolbar=no, menubar=no,' +
              'scrollbars=yes, status=no');
}
