function approveSection(sectFormId){
	var tag = document.getElementById(sectFormId).tag;
	var res = prompt("For which tag do you want to approve this section?",tag.value);
	if(res==null)return false;
	tag.value = res;
	return true;
}

function approvePage(baseUrl, defaultTag){
	var tag = prompt("For which tag do you want to approve this page and all its sections?",defaultTag);
	if(tag!=null){
		window.location= baseUrl + "&tag=" +tag;	
	}
}
