echo "<br><p>";
echo "1. Select a <b>process</b>: ";
if ($prm=="SetProcess")
{
$lblProcess=$_REQUEST[`lblProcess`];
$_SESSION[`CS_Process`]=$lblProcess;
$_SESSION[`CS_Event`]=``;
}
else $lblProcess=$_SESSION[`CS_Process`];
echo "<select name=lblProcess size=1 class=input200 onchange=DoPostBack(0,`SetProcess`);>";
echo "<option value=` `> </option>";
$sql="select CaseID as ProcessId, rValue as Process from Responses where qID=`CS_Proc_Desc` and isDeleted=0 order by CaseID";
$res=GetResultset($sql);
if(!$row = mysql_fetch_assoc($res))
{
   return false;
}
do
{
    if ($lblProcess == $row["ProcessId"])
       echo "<option selected=`yes` value=`" , $row["ProcessId"] , "`>" , $row["ProcessId"] ," - " , $row["Process"] , "
";
    else
       echo "<option value=`" , $row["ProcessId"] , "`>" , $row["ProcessId"] ," - " , $row["Process"] , "
";
    }
while ($row = mysql_fetch_assoc($res));

echo "</select>";
