/* FUNCTIONS FOR ACTION SCREEN - PlayerMessage */

function fn_deletemessage (subject,linkURL) {
	if (confirm('Are you sure you wish to delete this message with a subject of [' + subject + '] ?\n\nWARNING: There is no undelete option for messages')) {
		location.href = fn_EncryptURLParamsJS('playermessageview.cfm', linkURL);
	}
}
function fn_deleteselected () {
	if (fn_checkselection('chkSelected',true)) {
		if (confirm('Are you sure you wish to delete all selected messages?\n\nWARNING: There is no undelete option for messages')) {
			document.form.subcommand.value = 'delete';
			document.form.submit();
		}
	}
}
function fn_setNotifications() {
	document.form.subcommand.value = 'setnotifications';
	document.form.submit();
}

