// ===========================================================================
// 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 = false;
slabSliderLabel = "Cut"; // Optionally, may be changed to "Slab".

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

  // CHAPTER TITLE IS REQUIRED
chapterTitle = '3. Disulfide Bonds';

  // CHAPTER SUBTITLE IS OPTIONAL
chapterSubtitle = '';

  // OPTIONAL INTRODUCTION FOR THIS CHAPTER
// Be sure to include paragraphs within <p></p> tags. This gives them margins.
chapterIntro = '';

  // ========== 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 = "../chapter02/chapter.htm";

  // Leave blank if this is the last chapter.
nextChapterButtonGoesTo = "../chapter04/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 = false; // 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 = true;


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

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

	setupButton(1,                 // NUMBER OF MOLECULES
		"../molecules4all/s-s.pdb", // 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] = '';

	// MOLECULAR VIEW DESCRIPTION
	buttons[buttonNumber][iButtonText] =
'Cysteine (thick sticks) in a 5-amino acid fragment.\n\
<br>' + element_key("c n o s") + ' (Hydrogen is not shown.)';

	// MOLECULAR VIEW DETAILS
	buttons[buttonNumber][iDetailsTitle] = "";
	buttons[buttonNumber][iDetailsText] = '';

	// TEXT AFTER MOLECULAR VIEW DESCRIPTION AND DETAILS
	buttons[buttonNumber][iPostButtonText] = '';

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

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

	// MOLECULAR VIEW DESCRIPTION
	buttons[buttonNumber][iButtonText] =
'Cystine: a <font color="yellow">disulfide bond</font> between cysteines.\n\
';

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

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

	// MOLECULAR VIEW DESCRIPTION
	buttons[buttonNumber][iButtonText] =
'A <font color="#00ff00">backbone trace</font> is superimposed.\n\
';

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

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

	// MOLECULAR VIEW DESCRIPTION
	buttons[buttonNumber][iButtonText] =
'Only the <font color="#00ff00">backbone trace</font> and the\n\
<font color="yellow">disulfide bond</font> are now shown.\n\
';

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

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

	// MOLECULAR VIEW DESCRIPTION
	buttons[buttonNumber][iButtonText] =
'For <font color="#00ff00">backbone traces</font>,\n\
<font color="yellow">disulfide bonds</font> are\n\
usually simplified to a rod connecting the cystine alpha carbons.\n\
';

// ===== ===== ===== ===== ===== ===== ===== ===== =====
// YOU MAY ADD BELOW AS MANY VIEW BUTTONS AS YOU WISH SIMPLY BY COPYING THE
// Molecular View Button BLOCK FOR EACH ONE.
// ===== ===== ===== ===== ===== ===== ===== ===== =====

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


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

	// CHAPTER CONCLUSION
	chapterConclusion = '';

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