// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
// config.js was designed by Tim Driscoll for DVRBLITE.
// In the adaptation of his DVRBLITE code to the Jmol Tutorial Template
// by Frieda Reichsman and Eric Martz, no effort was made to ensure that
// the functionality of some of the code below remained intact.
// Hence, some of the configuration settings in config.js may no longer work.
// These are identified as "not tested".
//
// Everything in config.js is from the original DVRBLITE. Configuration
// settings added by Reichsman or Martz are in config2.js.
//
// ----------- DVRBLITE CODE FOLLOWS -----------------
//
// Note that link colors for links in the text area are set in
// the jtat/_cssutil/dvrblite.css file, not here. Links colors for 'next' and
// 'previous' navigation links are set here.

// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
// This is not tested in JTAT.
setTextLayout( 'right' ); // left or right; set which side of the window is occupied by text.

// disabled (was to set width of text column)
//setTextWidth( 0.25 ); // 0.0 - 1.0; set the percent of the window width occupied by text.

// disabled
// setHeightOffset( 20 ); // pixels; set height offset to account for logos, menu bars, etc.

// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
// These setTextFont functions are operational in JTAT. To change these
// in a specific Tutorial, use tutorialName/js4all. Changes here will affect
// ALL tutorials within the present version of JTAT.

setTextFontFace( 'verdana' ); // set the font.
setTextFontSize( '1em' ); // set the font size, must include units such as px or em.
setTextFontStyle( 'normal' ); // set the font style (italic, oblique, normal).

var useTextFontWeight	= "normal";
if (_jmol.os == "win") // Windows
	useTextFontWeight	= "bold"; // Windows: use bold for all control panel text
	
setTextFontWeight(useTextFontWeight); // set the font weight (normal, bold).

// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
// These setJmolFont functions are not tested.
setJmolFontFace( 'sans' ); // set the font for Jmol.
setJmolFontSize( 12 ); // set the font size for Jmol, in pixels.
setJmolFontWeight( 'bold' ); // set the font weight for Jmol (normal, bold).

// These setNavFont functions are not tested.
setNavFontFace( 'courier' ); // set the font for the navigation bar.
setNavFontSize( 12 ); // set the font size for the navigation bar, in pixels.
setNavFontWeight( 'bold' ); // set the font weight for the navigation bar (normal, bold).

// not tested.
setNavigationBar( 'bottom', 'button' ); // location (top, bottom, off) and style (link, button) of the navigation bar.

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