// ===========================================================================
// This file, contents.js, must be provided for each contents.htm.
// Each contents.js file contains the settings and content for one contents.
// Each contents should be in a separate directory (folder).
// Each contents directory should contain one and only one contents.htm file.
//
// Lines beginning "//" are comments for authors. They are ignored by JTAT.
// ===========================================================================

  // ========== SECTION I: PROVIDE SLIDERS? ============

  // These control whether this Contents has a Slab ("Cut")
  // slider, in addition to a Zoom slider, or neither.
  // You cannot have a Slab slider without also having the Zoom slider.
  // The label on the slab slider (typically "Cut" or "Slab")
  // is defined in _jsutil/config2.js
showZoomSlider = true;
showSlabSlider = false;

  // ========== SECTION II: TITLE, INTRODUCTION, CONTENTS, DETAILS ============

  // CONTENTS TITLE IS REQUIRED
chapterTitle = '[Put Tutorial Title Here]';

	// CONTENTS SUBTITLE IS OPTIONAL
chapterSubtitle = '[Optional Tutorial Subtitle Here]';

	// OPTIONAL INTRODUCTION FOR CONTENTS
	// Be sure to enclose paragraphs in <p>...</p>, or you will lose margins.
chapterIntro =
'<p> \n\
[Optionally, introductory text can go here.] \n\
</p> \n\
';

	// OPTIONAL TOP DETAILS (IF TEXT IS BLANK, DETAILS LINK WILL NOT APPEAR.)
topContentsDetailsTitle = 'Top Details';

topContentsDetailsText = 'Optionally, details can go here.';

	// REQUIRED: LINKS TO EACH CHAPTER IN THIS TUTORIAL
contentsText = 
'	<ol class="contents">\n\
\n\
	Contents\n\
\n\
   	<li> <a href="../chapter01/chapter.htm">[Put Title of First\n\
Chapter Here.]</a></li>\n\
\n\
   	<li> <a href="../chapter02/chapter.htm">[Add More\n\
Chapters As Needed.]</a></li>\n\
\n\
	</ol>\n\
\n\
<p> \n\
[Optional Text Below Chapter Links.] \n\
</p> \n\
';

	// OPTIONAL BOTTOM DETAILS (IF TEXT IS BLANK '', DETAILS LINK WILL NOT APPEAR.)
bottomContentsDetailsTitle = '[Optional Bottom Details Title]';

bottomContentsDetailsText =
'Optionally, bottom details can be put here.';

	// OPTIONAL BOTTOM TEXT
chapterConclusion =
'<p> \n\
Optionally, "conclusion" text can go here. \n\
</p> \n\
';

  // ========== SECTION III: NAVIGATION (NEXT, PREVIOUS, CONTENTS, RESET) ============

  // The 3 URL's below must be relative to the current contents.
  // The position and style of the navigation bar are set in config.js

  // Leave blank since this IS the Contents.
contentsButtonGoesTo = '';

  // Leave blank since this is Contents.
previousChapterButtonGoesTo = "";

  // Leave blank if this is the last chapter.
nextChapterButtonGoesTo = "../chapter01/chapter.htm";

// provideResetButton is ignored when isContents.

  // ========== SECTION IV: MOLECULAR VIEW FOR CONTENTS ============

// Molecular View Button ===== ===== ===== ===== ===== ===== ===== ===== =====
// Although no "View 1" button will appear when isContents is true, 
// the molecular view is nevertheless specified as though it were a button.
// The "single molecular view" in the Contents page may contain more than
// one molecule (side by side: more than one Jmol) if you wish. See the
// Demo chapter on Comparisons.

setupButton(
	1,  // NUMBER OF MOLECULES
	'../molecules4all/xxxx.pdb', // ATOMIC COORDINATE FILE
	'script initial-view.spt', // SCRIPT FOR MOLECULAR VIEW
	blackBackground, // BACKGROUND (blackBackground or whiteBackground)
	spinningStart); // spinningStart, spinningOn, spinningSame, or spinningOff

  // ========== END OF contents.js ============
