// JavaScript Document debugConsole.js
//  Begin debug console


  // var _console = null;
   function debug(msg)     
    {
	 alert( " in debug console1. ")
     //if ( (_console == null) || (_console.closed) )    // Open a window the first time we are called, or after an 
      {       
	   alert( " in debug console2. ")                                             // existing console window has been closed.
      //    _console = window.open("","console","width=700,height=200,resizable");  // Open a document in the window to 
		 																		 // display plain text.
     //     _console.document.open("text/plain");  
      }
	  
	  
      //  _console.focus();                           // Make the window visible
     //   _console.document.write(msg);     // Output the message to it   Note that we purposely do not call close().  
	  									//By leaving the document open we are able to append to it later.
	
   
   }
   
// end debugConsole.js
