$(function() {
	$('div#h1').each(function() {
		$(this).after($('<h1>').html($(this).html())).remove();
	});
});

