// A function to build a javascript window containing
// only a title line and a message.

// Rev 03/25/2009 MMG
// Begun 08/09/2002

 var lcPageText
 
 // GetText assembles a caption line, and a
 // variable amount of descriptive text into a new
 // window. The parameters govern (1) the internal name for the
 // new window, (2) the title for the message text, (3) the body
 // of the message text, and (4) window properties.

 function GetText (lcWinName,lcTitleLine,lcMessage,lcWfeatures) {

  lcPageText = "<p><em>The yarns we list are, in theory, always available. But they are not always in stock, or not enough is. Yarn orders often take longer to process, for this reason. If timing is critical, be sure to tell us.</em><br>"
 
  var w = window.open("",    // URL ( none specified)
         lcWinName,         // Name (should be unique)
         lcWfeatures); // Features (E.G,'resizable,status,width=320,height=400')
  var d = w.document;     // We use this variable to save typing    
 
 // Output an HTML document into the new window
 d.write('<BR><strong>')
 d.write(lcTitleLine)
 d.write('</strong><BR><BR>')
 d.write(lcPageText)
 // Remember to close the document when we're done
  d.close();
  }
