//- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
// config2.js contains configuration variables created by Eric Martz
// for the Jmol Tutorial Template.
// See also config.js.

var JTATVersion = "September 8, 2010.";

//- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
// One of these should be commented out. "Slab" is widely used but is a
// misnomer in RasMol and in Chime, and for what the slider in Jmol does.
// These displays do not move a rear cut plane forward. Rather, only a
// front cut plane is moved. Therefore a better name is "Cut".

var slabSliderLabel = "Cut";
//var slabSliderLabel = "Slab";

//- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
// If true, the "Replay/Reset Initial View" button, when requested
// (see provideResetButton in each chapter/chapter.js)
// will be present both before the View 1 button, and after the last
// view button.
// If false, only the one after the last view button will be present.
// The setting below affects all tutorials in the current JTAT.
// This can also be set to false on a per tutorial basis (in
// jtat/tutorialName/js4all/tutorial.js) or on a per chapter basis
// (in jtat/tutorialName/chapterName/chapter.js).

showResetInitialViewButtonAtTop = true;

//- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
// CONTROLS FOR TUTORIAL AUTHORS

// disablePolling should be temporarily true when you need
// to use the console, e.g. for authoring and script debugging. It suppresses
// the script-per-second clutter that makes the console unusable.
// See the "Autoslide" variables and functions in _jsutil/util.js.

// When polling is enabled, Jmol is polled once per second for the zoom.
// If this causes problems, feel free to disable polling.
// The only consequence is that the zoom slider will not follow zooms
// done with the mouse.

var disablePolling = true;

// See also debugZoomAutoslideTimer in util.js.
// When true, it displays the timer handle (seconds count) to right of zoom.

// noSpinning is a convenience for authors to use during testing.
// Setting noSpinning to true avoids the need to stop spinning
// (to reduce the load on the computer) every time spinning would
// otherwise start.

var noSpinning = false; //NEXTREL

// DEBUGGING
// To help in debugging scripts, you may wish to see the commands in
// script files. Set debugScriptFiles to true, then in Jmol, Show,
// History. Actually, there is no reason to make debugScriptFiles
// false -- leaving it on is harmless. It causes a "set historyLevel 1"
// command to be inserted.

var debugScriptFiles = true; // leave this true

// See also some debugging variables in dualquad.js near the top.

//- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
// OBSOLETE -- DISREGARD.
// When authoring_mode is true, it displays the script filenames and
// PDB filenames in the tutorial control panels.
// It should be false for public release of completed tutorials.

// THIS IS OBSOLETE. THE ASSOCIATED CODE COULD BE REMOVED IN A FUTURE VERSION.
var authoring_mode = false;

// The color of info for authors is set in authoring_mode_message_color
// defined in util.js.

//- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
//- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
//- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
//- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
//- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
//- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

