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

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

  // These control whether this Chapter 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 = true;
slabSliderLabel = "Cut"; // Optionally, may be changed to "Slab".

  // ========== SECTION II: CHAPTER TITLE, INTRODUCTION ============

  // CHAPTER TITLE IS REQUIRED
chapterTitle = '5. Cleft of MHC I';

  // CHAPTER SUBTITLE IS OPTIONAL
chapterSubtitle = '';

  // OPTIONAL INTRODUCTION FOR THIS CHAPTER
// Be sure to include paragraphs within <p></p> tags. This gives them margins.
chapterIntro = '';
//	'<p> \n\
//[Optionally, introductory 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 chapter.
  // The position and style of the navigation bar are set in config.js

  // Leave blank if there is only one chapter, and no contents page.
contentsButtonGoesTo = "../contents/contents.htm";

  // Leave blank if this is the first chapter.
previousChapterButtonGoesTo = "../chapter04/chapter.htm";

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

  // If the View buttons define the orientation/zoom, no Replay/Reset
  // button is needed, so provideResetButton should be false.
  // In contrast, some chapters are designed to maintain the orientation and
  // zoom set previously by the user when a new view is displayed.
  // These need a Reset button, so provideResetButton should be true.
  // When provided, a Reset button runs reset.spt in the chapter's directory.
  // It allows Reset to do something different than the "View 1" button does.
	// For more explanation, see "Add Chapters ..." in the
	// Authoring Instructions.
provideResetButton = true; // ignored when isContents.

	// The next variable applies only when provideResetButton is true.
	// If showResetInitialViewButtonAtTop is true,
	// there will be a Replay/Reset button at the top of the page
	// as well as at the bottom. If false, it will be only at the bottom.
showResetInitialViewButtonAtTop = false;


  // ========== SECTION IV: MOLECULAR VIEW BUTTONS ============

// Molecular View Button ===== ===== ===== ===== ===== ===== ===== ===== =====

	setupButton(1,                 // NUMBER OF MOLECULES
		"../molecules4all/2vab.pdb.gz", // ATOMIC COORDINATE FILE
		"script view01.spt;",        // VIEW SCRIPT
		blackBackground, // blackBackground or whiteBackground
		spinningStart);  // spinningStart, spinningOn, spinningSame, or spinningOff

	// TEXT BEFORE MOLECULAR VIEW DESCRIPTION
	buttons[buttonNumber][iPreButtonText] = '';
//'[Optionally, pre-button text can go here.] \n\
//<br>';

	// MOLECULAR VIEW DESCRIPTION
	buttons[buttonNumber][iButtonText] =
'The peptide-binding cleft.\n\
<br>' + ckey('a04000', "Alpha 1", ", ") +
ckey('e08000', "Alpha 2", ", ") +
ckey('effc832', "Disulfide Bond", ".") +
'<br><br><div name="jcontrol1" id="jcontrol1"></div>\n\
' + ss_key();

	// MOLECULAR VIEW DETAILS
//	buttons[buttonNumber][iDetailsTitle] = "[Optional Details Title]";
//	buttons[buttonNumber][iDetailsText] =
//'[Optional details text goes here.]  \n\
//';

	// TEXT AFTER MOLECULAR VIEW DESCRIPTION AND DETAILS
	buttons[buttonNumber][iPostButtonText] =
	'<br><br><span class="lightGreenText"> \n\
<center>What Do You See?</center> \n\
<ol start="10"><li> \n\
How many Ig-like domains contact the peptide? \n\
</li><li> \n\
What secondary structures make up the walls (\"lips\") \n\
and the floor of the cleft? \n\
</li><li> \n\
For MHC I, are the ends of the peptide exposed or buried? \n\
</li><li> \n\
What kinds of chemical bonds hold the peptide into the cleft? \n\
</li> \n\
';

// Insert additional molecular view buttons here, as needed.

// End of Molecular View Buttons ===== ===== ===== ===== ===== ===== =====

	// CHAPTER CONCLUSION
	chapterConclusion = '';
//	'<p> \n\
//[Optionally, conclusion text can go here.] \n\
//	<\/p> \n\
//';

  // ========== END OF chapter.js ============
