// IOTBS2.1 :: Invasion of the Body Switchers - Look Who's Switching Too
// >>> Key file for all versions
// ***********************************************
// This copyright statement must remain in place for both personal and commercial use
// GNU General Public License -- http://www.gnu.org/copyleft/gpl.html
// ***********************************************
// Original concept by Andy Clarke -- http://www.stuffandnonsense.co.uk/
// DOM scripting by brothercake -- http://www.brothercake.com/
// Create element and attributes based on a method by beetle -- http://www.peterbailey.net/
//************************************************
function iotbs() { //open initialisation function
//************************************************


//initialise the preferences manager ('canvas-element', 'path-for-load-mode')
var switcher = new switchManager('body', '');


/*****************************************************************************
 Define switching controls
*****************************************************************************/



//create a new switcher control ('container-id', 'label', 'is-native-switcher', '"selected" text')
var screenSwitcher = new bodySwitcher('screen-switcher', 'Screen Style', 'no', '');

//add a new class option ('classname', 'label')
screenSwitcher.defineClass('default', 'Default');
screenSwitcher.defineClass('high', 'High contrast');
screenSwitcher.defineClass('highvisibility', 'High visibility');

var printSwitcher = new bodySwitcher('print-switcher', 'Print Style', 'no', '');
printSwitcher.defineClass('default', 'Default');
printSwitcher.defineClass('small-sans', 'Small sans');
printSwitcher.defineClass('large-serif', 'Large serif');

var keyboardSwitcher = new bodySwitcher('keyboard-switcher', 'Keyboard Shortcuts', 'no', '');
keyboardSwitcher.defineClass('default', 'Default');
keyboardSwitcher.defineClass('reveal', 'Reveal shortcut keys');

/*****************************************************************************
*****************************************************************************/
}; //close initialisation function
