home *** CD-ROM | disk | FTP | other *** search
/ Chip 2001 Special / chip-cd_2001_spec_05.zip / spec_05 / document.cab / rscripts.chm / scripts / browse-intro.js next >
Text File  |  1999-12-02  |  1KB  |  28 lines

  1. /* Windows NT Resource Kit - Browse Sequence for Introductory Topics
  2. version 0.5 - November 5, 1998
  3. by Peter Costantini */
  4.  
  5. /* Construct browse sequence object. */
  6.  
  7. function browseObject(sTopicId, sFileName, sFullName)
  8. {
  9.     this.topicid = sTopicId;
  10.     this.filename = sFileName;
  11.     this.fullname = sFullName;
  12. }
  13.  
  14. /*
  15. Create array and populate with instances of browse sequence object. Increment the array for each new object rather than assign a number, so that later new objects can be added without having to change whole sequence.
  16. */
  17.  
  18. var n = -1;
  19. var oBrowseArray = new Array();
  20.  
  21. oBrowseArray[++n] = new browseObject("overview", "Overview.htm", "Overview");
  22. oBrowseArray[++n] = new browseObject("system_requirements", "system_requirements.htm", "System requirements");
  23. oBrowseArray[++n] = new browseObject("user_privilege", "user_privilege.htm", "User Privilege requirements");
  24. oBrowseArray[++n] = new browseObject("customizing_wsh", "customizing_wsh.htm", "Customizing Windows Scripting Host");
  25. oBrowseArray[++n] = new browseObject("in_notation", "in_notation.htm", "Notational Conventions in this Document");
  26. oBrowseArray[++n] = new browseObject("in_disclaimer", "disclaimer.htm", "Disclaimer");
  27. oBrowseArray[++n] = new browseObject("further_information", "further_information.htm", "Further Information and Web Links");
  28.