THE CODE: (some formatting is omitted)

document.write('Browser Type: '+navigator.appName+' '); // BROWSER NAME 

document.write('Browser Family and Version: '+navigator.appVersion+' '); // BROWSER VERSION

if(navigator.userAgent.indexOf('Win')!=-1 && // OPERATING SYSTEM
   navigator.userAgent.indexOf('95')!=-1) 
  document.write("Running Windows95 ");

if(navigator.userAgent.indexOf('Win')!=-1 &&
   navigator.userAgent.indexOf('98')!=-1)
  document.write("Running Windows98 ");

if(navigator.userAgent.indexOf('Win')!=-1 &&
   navigator.userAgent.indexOf('2000')!=-1)
  document.write("Running Windows2000 ");

if(navigator.userAgent.indexOf('Mac')!=-1)
  document.write("Macintosh ");

document.write("Monitor Screen Width x Height = "+  // VIDEO CAPABILITY
  window.screen.width+" x "+window.screen.height+" "); 

document.write("Current Screen Width x Height = "+ // ACTUAL VIDEO
  document.body.clientWidth +" x "+
  document.body.clientHeight +" "); 

document.write("Plugins are " +  //PLUGINS
 document.plugins +" "); 

var JavaEnabled = navigator.javaEnabled();  // JAVA ENABLED?
if (JavaEnabled) document.write('Java Enabled');
else document.write('Java Disabled');

document.write("Applets are " +  // APPLETS
 document.applets  +" ");