function chgAction(actionName, moveUrl) {
	form = document.getElementById(actionName);
	form.action = moveUrl;
	document.getElementById(actionName).submit();	
}

function setFormVal(objId, objVal) {
	document.getElementById(objId).value = objVal;
}

function mgrSetFmodeAndSubmitForm(fid, execute_mode) {
	setFormVal('execute_mode', execute_mode);
	document.getElementById(fid).submit();
}

function mgrModifyForm(fid, action) {
	setFormVal('fmode', 'modify');
	if (chgAction != null) {
		form = document.getElementById(fid).action = 'form';
	}
	document.getElementById(fid).submit();
}

