			$(function(){
				$("#accordion").accordion({
					header: "h2",
					autoHeight: false,
					collapsible: true
				});
				$("#accordion").accordion('option', 'animated', 'easeOutElastic');
				var stop = false;
				$("#accordion h2").click(function(event) {
					if (stop) {
						event.stopImmediatePropagation();
						event.preventDefault();
						stop = false;
					}
				});
				$("#accordion").accordion({
					header: "> div > h2"
				}).sortable({
					axis: "y",
					handle: "h2",
					stop: function(event, ui) {
						stop = true;
						}
					});
			});