/*-------------------------------------------------------------------*/
/*  demo()                                                           */
/*                                                                   */
/*  This function detects whether or not the Netscape Navigator 4    */
/*  browser is in use.  Depending upon that, it sets up the          */
/*  frames. The frames invoke the main HTML file as follows:         */
/*                                                                   */
/*        indexnav.htm  for Navigator 4                              */
/*        indexnav.htm  for everything else                          */
/*                                                                   */
/*-------------------------------------------------------------------*/
function demo() {
var hhtml
var NS4 = !!document.layers

  hhtml  = "<HTML>" + "\r\n"
  hhtml += "<HEAD>" + "\r\n"
  hhtml += "<TITLE>CAPT Brochure</TITLE>" + "\r\n"
  hhtml += "</HEAD>" + "\r\n"


hhtml += "<FRAMESET framespacing=\"0\" border=\"0\" frameborder=\"0\" cols=\"100%,*\">" + "\r\n"

if(NS4)
  {
    hhtml += "<FRAME NAME=\"adds\" SRC=\"main.html\" SCROLLING=\"auto\" MARGINWIDTH=\"0\" MARGINHEIGHT=\"0\">" + "\r\n"
   }
else
  {
    hhtml += "<FRAME NAME=\"adds\" SRC=\"main.html\" SCROLLING=\"auto\" MARGINWIDTH=\"0\" MARGINHEIGHT=\"0\">" + "\r\n"
   }

hhtml += "<NOFRAMES> <p>This page uses frames, but your browser doesn't support them.</p> </NOFRAMES>" + "\r\n"

hhtml += "</FRAMESET>"
document.write(hhtml)
document.close()
}
