/*	PAX option transfer demo.
*/
pax.load.onloaded( function() {
	
	var options1 = [
		{ 'value': '1', 'text': 'honey cake' },
		{ 'value': '2', 'text': 'jam donut' },
		{ 'value': '3', 'text': 'chocolate chip muffin' },
		{ 'value': '7', 'text': 'Blueberry tart' }
	];
	
	var options2 = [
		{ 'value': '5', 'text': 'Vanilla slice' },
		{ 'value': '4', 'text': 'Rasphberry tartlet' },
		{ 'value': '6', 'text': 'Lemon merang' },
		{ 'value': '9', 'text': 'Banana split' }
	];

	//	Sorting optiontransfer example
	pax.widget.optiontransfer.init( pax.$('pax.widget.optiontransfer.example2'), {
		options1: options1,
		options2: options2,
		sort: true
	} );
	
} );
