window.onload = function()

{
//initialise the docking boxes manager
var manager = new dbxManager(
	'main',					// session ID [/-_a-zA-Z0-9/]
	'yes',					// enable box-ID based dynamic groups ['yes'|'no']
	'yes',					// hide source box while dragging ['yes'|'no']
	'button'				// toggle button element type ['link'|'button']
	);

//create new docking boxes group
var something = new dbxGroup(
	'something', 				// container ID [/-_a-zA-Z0-9/]
	'freeform', 			// orientation ['vertical'|'horizontal'|'freeform'|'freeform-insert'|'confirm'|'confirm-insert']
	'2', 					// drag threshold ['n' pixels]
	'yes',					// restrict drag movement to container/axis ['yes'|'no']
	'10', 					// animate re-ordering [frames per transition, or '0' for no effect]
	'yes', 					// include open/close toggle buttons ['yes'|'no']
	'closed', 				// default state ['open'|'closed']

	'open', 										// word for "open", as in "open this box"
	'close', 										// word for "close", as in "close this box"
	'click-down and drag to move this box', 		// sentence for "move this box" by mouse
	'click to %toggle% this box', 					// pattern-match sentence for "(open|close) this box" by mouse
	
	'use the arrow keys to move this box. ', 		// sentence for "move this box" by keyboard
	'press the enter key to %toggle% this box. ',	// pattern-match sentence-fragment for "(open|close) this box" by keyboard
	
	'%mytitle%  [%dbxtitle%]', 						// pattern-match syntax for title-attribute conflicts

	'hit the enter key to select this target',		// confirm dialog sentence for "selection okay"
	'sorry, this target cannot be selected'			// confirm dialog sentence for "selection not okay"
	);

//create new docking boxes group
var somethingSTM = new dbxGroup(
	'somethingSTM', 				// container ID [/-_a-zA-Z0-9/]
	'vertical', 			// orientation ['vertical'|'horizontal'|'freeform'|'freeform-insert'|'confirm'|'confirm-insert']
	'7', 					// drag threshold ['n' pixels]
	'yes',					// restrict drag movement to container/axis ['yes'|'no']
	'10', 					// animate re-ordering [frames per transition, or '0' for no effect]
	'yes', 					// include open/close toggle buttons ['yes'|'no']
	'closed', 				// default state ['open'|'closed']

	'open', 										// word for "open", as in "open this box"
	'close', 										// word for "close", as in "close this box"
	'click-down and drag to move this box', 		// sentence for "move this box" by mouse
	'click to %toggle% this box', 					// pattern-match sentence for "(open|close) this box" by mouse
	
	'use the arrow keys to move this box. ', 		// sentence for "move this box" by keyboard
	'press the enter key to %toggle% this box. ',	// pattern-match sentence-fragment for "(open|close) this box" by keyboard
	
	'%mytitle%  [%dbxtitle%]', 						// pattern-match syntax for title-attribute conflicts

	'hit the enter key to select this target',		// confirm dialog sentence for "selection okay"
	'sorry, this target cannot be selected'			// confirm dialog sentence for "selection not okay"
	);
//create new docking boxes group
var somethingStaakengagiert = new dbxGroup(
	'somethingStaakengagiert', 				// container ID [/-_a-zA-Z0-9/]
	'freeform', 			// orientation ['vertical'|'horizontal'|'freeform'|'freeform-insert'|'confirm'|'confirm-insert']
	'7', 					// drag threshold ['n' pixels]
	'yes',					// restrict drag movement to container/axis ['yes'|'no']
	'10', 					// animate re-ordering [frames per transition, or '0' for no effect]
	'yes', 					// include open/close toggle buttons ['yes'|'no']
	'closed', 				// default state ['open'|'closed']

	'open', 										// word for "open", as in "open this box"
	'close', 										// word for "close", as in "close this box"
	'click-down and drag to move this box', 		// sentence for "move this box" by mouse
	'click to %toggle% this box', 					// pattern-match sentence for "(open|close) this box" by mouse
	
	'use the arrow keys to move this box. ', 		// sentence for "move this box" by keyboard
	'press the enter key to %toggle% this box. ',	// pattern-match sentence-fragment for "(open|close) this box" by keyboard
	
	'%mytitle%  [%dbxtitle%]', 						// pattern-match syntax for title-attribute conflicts

	'hit the enter key to select this target',		// confirm dialog sentence for "selection okay"
	'sorry, this target cannot be selected'			// confirm dialog sentence for "selection not okay"
	);
}





