﻿window.onload = function()
{

// Initialise

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']
	'link'				// toggle button element type ['link'|'button']
	);


// Create a boxes group

var sidebar_right = new dbxGroup(
	'sidebar-right', 				// container ID [/-_a-zA-Z0-9/]
	'vertical', 			// orientation ['vertical'|'horizontal'|'freeform'|'freeform-insert'|'confirm'|'confirm-insert']
	'7', 					// 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']

	'öppna', 										// word for "open", as in "open this box"
	'stänga', 										// word for "close", as in "close this box"
	'Håll ner musknappen och dra för att flytta denna ruta', 		// sentence for "move this box" by mouse
	'Klicka för att %toggle% denna ruta', 					// pattern-match sentence for "(open|close) this box" by mouse
	
	'Använd piltangenterna för att flytta denna ruta', 		// sentence for "move this box" by keyboard
	', eller tryck Enter för att %toggle% rutan',	// pattern-match sentence-fragment for "(open|close) this box" by keyboard
	
	'%mytitle%  [%dbxtitle%]', 						// pattern-match syntax for title-attribute conflicts

	'tryck Enter för att välja detta mål',		// confirm dialog sentence for "selection okay"
	'tyvärr kan inte detta mål väljas'			// confirm dialog sentence for "selection not okay"
	);

};

