
function mod_addfav() {
	document.getElementById('mod_action').value='1';
	document.getElementById('modform').submit();
	return false;
}

function mod_remfav() {
	if (confirm("Really remove from favourites?")) {
		document.getElementById('mod_action').value='2';
		document.getElementById('modform').submit();
	}
	return false;	
}

function mod_publish() {
	if (confirm("Really publish current content?")) {
		document.getElementById('mod_action').value='3';
		document.getElementById('modform').submit();
	}
	return false;	
}

function mod_unpublish() {
	if (confirm("Really unpublish current content?")) {
		document.getElementById('mod_action').value='4';
		document.getElementById('modform').submit();
	}
	return false;	
}

function mod_delete() {
	if (confirm("Really delete current content?")) {
		document.getElementById('mod_action').value='5';
		document.getElementById('modform').submit();
	}
	return false;	
}

function mod_announce() {
	if (confirm("Really announce current content in the forums?")) {
		document.getElementById('mod_action').value='6';
		document.getElementById('modform').submit();
	}
	return false;	
}
