echo "<br>";
global $TABLEBGCOLOUR;
global $TABLEFGCOLOUR;
global $CELLBGCOLOUR;
global $CELLFGCOLOUR;
global $TABLEBORDER;
global $CELLPADDING;
global $CELLSPACING;
global $HEADFONTSIZE;
global $BODYFONTSIZE;
global $LINENUMBERS;
$TABLEBGCOLOUR="#0080C0";
$TABLEFGCOLOUR="WHITE";
$CELLBGCOLOUR="#fffff8";
$CELLFGCOLOUR="BLACK";
$TABLEBORDER=6;
$CELLPADDING=2;
$CELLSPACING=1;
$HEADFONTSIZE=1;
$BODYFONTSIZE=1;
$LINENUMBERS=0;
global $NOSORT;
$NOSORT=1;
if ($prm==`CS_Proc_Delete`)
{
  $sql="update Responses set isDeleted=1 where qID=`CS_Proc_Desc` and CaseID=`".abs($act)."`";
  ExecuteSQL($sql);
}
$fmt=ShowQueryResultScalar("select fFormat from Forms where fID=`CS_Process_Edit`");
$sql="select CaseID as ProcessId, rValue as Process, concat(`<input type=button value=Edit onclick=window.parent.SetCaseForm(`,cast(CaseID as char(10)),`,``CS_Process_Edit``,``$fmt``)>`) as EditIt, concat(`<input type=button value=Delete onclick=DeleteMe(`,cast(CaseID as char(10)),`)>`) as DeleteIt from Responses where qID=`CS_Proc_Desc` and isDeleted=0";
ShowQueryResult($sql);
echo "<p>";