Structural Rules

Title elements become tab labels.

Any rest contents until next title element become tab panel contents.

JavaScript

		$('.region').tab({
			onBeforeSwitch: function (from, to, state) {
				if (state === 1) {
					return confirm('Are you sure you want to switch to ' + (to.name || to.index));
				}
			}
		});