

//initialisation function
window.onload = function()
{
	//initialise the docking boxes manager
	var manager = new dbxManager('einzel'); 	//session ID [/-_a-zA-Z0-9/]

	//create new docking boxes group
	var blue = new dbxGroup(
		'alle', 		// container ID [/-_a-zA-Z0-9/]
		'vertical', 		// orientation ['vertical'|'horizontal']
		'10', 			// drag threshold ['n' pixels]
		'no',			// 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']
		'open', 		// default state ['open'|'closed']
		
		'oeffnen', 		// word for "open", as in "open this box"
		'schliessen', 		// word for "close", as in "close this box"
		'Klicken und ziehen, um die Box zu verschieben', // sentence for "move this box" by mouse
		'Klicken, um diese Box zu %toggle%', // pattern-match sentence for "(open|close) this box" by mouse
		'Benutzen Sie die Pfeiltasten, um die Box zu verschieben', // sentence for "move this box" by keyboard
		', oder ENTER um die Box zu %toggle%',  // pattern-match sentence-fragment for "(open|close) this box" by keyboard
		'%mytitle%  [%dbxtitle%]' // pattern-match syntax for title-attribute conflicts
		);

	//create new docking boxes group
	var purple = new dbxGroup(
		'einzel', 		// container ID [/-_a-zA-Z0-9/]
		'vertical', 		// orientation ['vertical'|'horizontal']
		'10', 			// drag threshold ['n' pixels]
		'no',			// 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']
		
		'oeffnen', 		// word for "open", as in "open this box"
		'schliessen', 		// word for "close", as in "close this box"
		'Klicken und ziehen, um die Box zu verschieben', // sentence for "move this box" by mouse
		'Klicken, um diese Box zu %toggle%', // pattern-match sentence for "(open|close) this box" by mouse
		'Benutzen Sie die Pfeiltasten, um die Box zu verschieben', // sentence for "move this box" by keyboard
		', oder ENTER um die Box zu %toggle%',  // pattern-match sentence-fragment for "(open|close) this box" by keyboard
		'%mytitle%  [%dbxtitle%]' // pattern-match syntax for title-attribute conflicts
		);


	//create new docking boxes group
	var red = new dbxGroup(
		'service', 		// container ID [/-_a-zA-Z0-9/]
		'vertical', 		// orientation ['vertical'|'horizontal']
		'10', 			// drag threshold ['n' pixels]
		'no',			// 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']
		
		'oeffnen', 		// word for "open", as in "open this box"
		'schliessen', 		// word for "close", as in "close this box"
		'Klicken und ziehen, um die Box zu verschieben', // sentence for "move this box" by mouse
		'Klicken, um diese Box zu %toggle%', // pattern-match sentence for "(open|close) this box" by mouse
		'Benutzen Sie die Pfeiltasten, um die Box zu verschieben', // sentence for "move this box" by keyboard
		', oder ENTER um die Box zu %toggle%',  // pattern-match sentence-fragment for "(open|close) this box" by keyboard
		'%mytitle%  [%dbxtitle%]' // pattern-match syntax for title-attribute conflicts
		);
};
