window.addEvent('load', function () {
			slidingtabs = new SlidingTabs('buttons', 'panes');
			
			// this sets up the previous/next buttons, if you want them
			$('previous').addEvent('click', slidingtabs.previous.bind(slidingtabs));
			$('next').addEvent('click', slidingtabs.next.bind(slidingtabs));
			
			// you can use one of these to selectively stop the user from changing to certain panes
			slidingtabs.addEvent('change', function(event) {
				//event.cancel = true;
			});
		});
