echo `<center><table border=6 bordercolor=#993333 cellpadding=10 bgcolor=white><tr><td class=tdtanV><b>QUESTION AND RESPONSE OPTIONS</b>`;
if (ShowQueryResultScalar("select count(*) from Responses where CaseID=`$CaseId` and qID=`Q_Loop1_1`")>0)
{
echo `<p><table border=0 width=100%><tr><td align=center>`;
echo `<b class=tdsmall>HISTORY: Click <img src=../images/edit.gif height=12> to correct information.</b>`;

echo `<div style="height:100px; overflow:auto;">`;

$CaseId=$_SESSION[`CaseId`];
$vars = array(`Q_Loop1_1`, `Q_Loop1_2`, `Q_Loop1_3`);
ShowResponsesI($CaseId,$vars,1);

echo `</div>`;
echo `</td></tr></table>`;
}

