function updateStatus(index) {
	$('status').set('html','currently viewing: ' + index +', current order: ' + stack.currentOrder);
}

var stack = new Stack('stack', {
	scattering: 20,			// how much scattering do we want (pixels)
	speed: 500,				// you can change the speed of the whole animation (milliseconds)
	wrapperStyles: {		// any style to add to the wrappers we'll create around the slides
//			'background': 'url(stackBack.png) no-repeat center center',
//			'padding': 16
	},
	onChange: updateStatus	// function to execute when changing slide, we'll pass the current index as an argument
});
