// Form submit
function Submit(cAction)
	{
	document.getElementById("frmReg").action = cAction;
	document.getElementById("frmReg").submit();
	}

// Confirm and Submit
function ConSub(nMsg,cURL)
	{
	cDis = "";
	cSpn = "";
	if (nMsg == 1) { cMsg = "delete this participant?"; }
	if (nMsg == 2) { cMsg = "delete this seminar? This will also remove all participant associations."; }
	if (nMsg == 3) { cMsg = "send this reminder email?"; cDis = "butSend"; cSpn = "spnPro"; }
	cMsg = "Are you sure you want to " + cMsg;
	if (confirm(cMsg)) 
		{ 
		if (cDis != "") { document.getElementById(cDis).disabled = true; }
		if (cSpn != "") { document.getElementById(cSpn).innerHTML = "<em>Processing...</em>"; }
		Submit(cURL); 
		}
	}