// IOTBS2.0 :: 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', '/stylesheets/');


/*****************************************************************************
 Define switching controls
*****************************************************************************/

//create a switcher form ('container-id', 'label')
var colourSwitcher = new bodySwitcher('colour-switcher', 'Colour scheme:', 'no' ,' (selected)');

//add a new class option ('classname', 'label')
colourSwitcher.defineClass('default', 'Full colour - default');
colourSwitcher.defineClass('white', 'Black on white');
colourSwitcher.defineClass('black', 'White on black');
colourSwitcher.defineClass('yellow', 'Black on Yellow');
colourSwitcher.defineClass('blackyell', 'Yellow on black');

//create a switcher form ('container-id', 'label')
var fontSwitcher = new bodySwitcher('font-switcher', 'Font size:', 'no' ,' (selected)');

//add a new class option ('classname', 'label')

fontSwitcher.defineClass('default', 'Small - default');
fontSwitcher.defineClass('M', 'Medium');
fontSwitcher.defineClass('L', 'Large');
fontSwitcher.defineClass('EL', 'Extra Large');
fontSwitcher.defineClass('ES', 'Extra Small');

//create a switcher form ('container-id', 'label')
var printSwitcher = new bodySwitcher('print-switcher', 'Print style:', 'no' ,' (selected)');

//add a new class option ('classname', 'label')
printSwitcher.defineClass('default', 'Content only, small text - default');
printSwitcher.defineClass('printLarge', 'Content only, large text');


/*****************************************************************************
*****************************************************************************/
}; //close initialisation function
