function editPage() {
	$('edit').hide();
	$('contentDiv').hide();
	$('editorDiv').show();
	$('refresh').show();
}
function newPage() {
	new Ajax.Request('/editor/.newpage.php', {
		onSuccess: function(r) { location.href=r.responseText; }
	});
}
