// 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', 'ss/');


/*****************************************************************************
 Define switching controls
*****************************************************************************/



//create a new switcher control ('container-id', 'label', 'is-native-switcher', '"selected" text')
var screenSwitcher = new bodySwitcher('screen-switcher', 'Screen styles - Choose the site design - Version 1 and 2 alternate menu link colour from black to white, and header/footer colour from black to white.  * Beta * Known error: Style sheet selection may vanish between pages or on refresh. Please click another sheet then switch back or enjoy the new style. FF, Opera, Safari error. In the process of being fixed. Is not an issue while using the first one listed.', 'no', ' (Active)');

//add a new class option ('classname', 'label')
screenSwitcher.defineClass('default', '• Violet butterflies 1');
screenSwitcher.defineClass('vbwwf', '• Violet butterflies 2');
screenSwitcher.defineClass('vdlwbf', '• Violet diagonal 1');
screenSwitcher.defineClass('vdlwwf', '• Violet diagonal 2');
screenSwitcher.defineClass('stbwbf', '• Soft teal butterflies 1');
screenSwitcher.defineClass('stbwwf', '• Soft teal butterflies 2');
screenSwitcher.defineClass('stdlwbf', '• Soft teal diagonal 1');
screenSwitcher.defineClass('stdlwwf', '• Soft teal diagonal 2');
screenSwitcher.defineClass('rbbwbf', '• Royal blue modern 1');
screenSwitcher.defineClass('rbbwwf', '• Royal blue modern 2');
screenSwitcher.defineClass('rbdlwbf', '• Royal blue diagonal 1');
screenSwitcher.defineClass('rbdlwwf', '• Royal blue diagonal 2');
screenSwitcher.defineClass('pwbf', '• Pink design used for Think Pink for October.');

var printSwitcher = new bodySwitcher('print-switcher', 'Print styles', 'no', ' (selected)');
printSwitcher.defineClass('default', 'Default');
printSwitcher.defineClass('small-sans', 'Small sans');
printSwitcher.defineClass('large-serif', 'Large serif');


var projectionSwitcher = new bodySwitcher('projection-switcher', 'Projection styles', 'no', ' (selected)');
projectionSwitcher.defineClass('default', 'Default');
projectionSwitcher.defineClass('fluid', 'Fluid layout');


var auralSwitcher = new bodySwitcher('aural-switcher', 'Aural styles', 'no', ' (selected)');
auralSwitcher.defineClass('default', 'Man');
auralSwitcher.defineClass('female', 'Woman');
auralSwitcher.defineClass('child', 'Child');




/*****************************************************************************
*****************************************************************************/
}; //close initialisation function

