echo `<script language=javascript>`;
echo `function MoveIt(id,dir)`;
echo `{`;
echo `  DoPostBack("-"+id,dir);`;
echo `}`;
echo `function BackUp()`;
echo `{`;
echo `//  alert("in BackUp");
`;
$sql="select fFormat from Forms where fID=`CS_Process_Edit`";
$fmt=ShowQueryResultScalar($sql);
$CaseId=$_SESSION[`CaseId`];
echo "window.parent.SetInstanceCaseForm(`0`,`$CaseId`,`CS_Process_Edit`,`$fmt`)";
echo `}`;
echo `</script>`;
