/*v 1.1 11-20-2006*/
/*To use this file:

Scroll down to the line that starts "var PageArray"
Enter every page of your learning module into the array, just as shown in this example. Be very careful to follow the exact punctuation shown.

   Pages will appear in the order you put them in in the array. Do not list any files external to this module in the array. External files should be hard-coded into the "otherLinks" div in includes/navbar.htm

   The filenames do not have to include numbers, like: "page01.htm", "page02.htm", etc. but can be something descriptive, like "emergencies.htm" or "extinguishers.htm" if you wish. You may arrange them in any order in the array.
   
   If you need to use apostrophe's or quotation marks, you must put a slash first:
                patient's    becomes    patient\'s 

   Chapters are used to divide content into sections. Levels are used to determine both the indent of the text on the button, and also which buttons show up in the navbar at any time. For example, in the setup below if you are currently on any page in Chapter 2, the chapter 2 section of the navbar will be expanded. 

    If you do wish to use the expand/collapse feature, you will need to create intro/title pages for each chapter and include them in the array as the level:1 page for each chapter. All pages except the intro/title page should be level:2 or greater.

   If you do not have any chapters, and want all pages to show up in the nav bar at all times, every page should be set to chapter:0,level:1.

   If you want to use chapters, but want all pages to show up at all times, every page should be set to a chapter number, and level:1

NOTE: If you wish to have different titles in the orange bar on each page than are shown in the buttons, comment out the line (approximately line 113 below) that begins with "writePageTitle" by putting two slash marks at the beginning of the line, like this 
//	writePageTitle();

*/


//this is a list of all the pages, and controls the order they appear. You can put your pages in any order, as long as they are 
//listed here in the order you want.


/*be VERY careful not to delete any commas, single quotes, or other punctuation. Titles can be as long as needed. If you need to use any ' or " marks in the page titles, they must have a back-slash before them: ' becomes \' and " becomes \".

URLs need not be in the form of page01.htm, etc - they can be any relative url - do not put external URLs into this array. 
They can be hardcoded into the "otherLinks" div in navbar.htm.

Array items with levels above '1' will be hidden unless they are in the same chapter as the page you are on. 
If you want everything to always show up, make all array items level 1.
Make the number of chapters match whatever you put into the pageArray below. */
var chapterArray=new Array(
{chapter:0,chapterTitle:' '},
{chapter:1,chapterTitle:' '},
{chapter:2,chapterTitle:' '},
{chapter:3,chapterTitle:' '},
{chapter:4,chapterTitle:' '},
{chapter:5,chapterTitle:' '},
{chapter:6,chapterTitle:' '},
{chapter:7,chapterTitle:' '},
{chapter:8,chapterTitle:' '}
);

// Abiomed Bi-ventricular Assist Device
var docTitle=(' &nbsp; Introduction to CRM');
var headerTitle=(' &nbsp; Introduction to CRM');

var PageArray = new Array(  
{buttonTitle:'Introduction', title:'', url:'page01.htm', chapter:0,level:1},
{buttonTitle:'Overview', title:'',url:'page02.htm',chapter:1,level:1},
{buttonTitle:'Customer Focus Group', title:'',url:'page03.htm',chapter:1,level:2},
{buttonTitle:'Open Orders', title:'',url:'page04.htm',chapter:1,level:2},
{buttonTitle:'Incoming Orders',  title:'',url:'page05.htm',chapter:1,level:2},
{buttonTitle:'Open Quotes', title:'',url:'page06.htm',chapter:1,level:2},
{buttonTitle:'Open Tasks and Activities', title:'',url:'page07.htm',chapter:1,level:2},
{buttonTitle:'Finding Customers', title:'',url:'page08.htm',chapter:1,level:2},
{buttonTitle:'Finding Opportunities', title:'',url:'page09.htm',chapter:1,level:2},
{buttonTitle:'Verify Customer Information', title:'',url:'page10.htm',chapter:2,level:1},
{buttonTitle:'Plan Your Visit', title:'',url:'page11.htm',chapter:3,level:1},
{buttonTitle:'Visit Your Customer', title:'',url:'page12.htm',chapter:4,level:1},
{buttonTitle:'Close Your Visit', title:'',url:'page13.htm',chapter:5,level:1},
{buttonTitle:'Update Information', title:'',url:'page14.htm',chapter:6,level:1},
{buttonTitle:'Remove Focus Document', title:'',url:'page15.htm',chapter:7,level:1},
{buttonTitle:'Review', title:'',url:'page16.htm',chapter:8,level:1}

//IMPORTANT!!! the last item does NOT get a comma at the end.
); //do NOT delete this final punctuation       
//alert('length of array is '+PageArray.length);
//alert(parent.document.location.href);
//alert('location of myStage is'+parent.myStage.document.location.href);


