case 'addSignatureType':
     if (isset($_POST['shortName']) && $_POST['shortName'] != '') {
         $signatureType = new SignatureType();
         $signatureType->signatureTypeID = '';
         $signatureType->shortName = $_POST['shortName'];
         try {
             $signatureType->save();
         } catch (Exception $e) {
             echo $e->getMessage();
         }
     }
     echo "<select name='signatureTypeID' id='signatureTypeID'>";
     echo "<option value=''></option>";
     $displayArray = array();
     $display = array();
     $signatureType = new SignatureType();
     $displayArray = $signatureType->allAsArray();
     foreach ($displayArray as $display) {
         if ($_POST['shortName'] == $display['shortName']) {
             echo "<option value='" . $display['signatureTypeID'] . "' selected>" . $display['shortName'] . "</option>";
         } else {
             echo "<option value='" . $display['signatureTypeID'] . "'>" . $display['shortName'] . "</option>";
         }
     }
     echo "</select>";
     break;
     //new expression type being added directly on expression form - returns updated drop down list
     //note default type is 'internal'.  this will need to be updated by user in admin if it's decided to be used for display
 //new expression type being added directly on expression form - returns updated drop down list
 //note default type is 'internal'.  this will need to be updated by user in admin if it's decided to be used for display
 case 'addExpressionType':
                    echo "<td>&nbsp;</td>";
                    echo "<td>&nbsp;</td>";
                } else {
                    echo "<td><a href='javascript:updateSignatureForm(\"" . $display['signatureID'] . "\");'>edit</a></td>";
                    echo "<td><a href='javascript:removeSignature(\"" . $display['signatureID'] . "\");'>remove</a></td>";
                }
            }
            echo "</tr>";
        }
        if ($signatureID == "") {
            echo "<tr>";
            echo "<td><input type='text' id='signerName' style='width:118px;' /></td>";
            echo "<td><input class='date-pick' id='signatureDate' name='signatureDate' style='width:80px' /></td>";
            echo "<td><span id='span_signatureType'><select id='signatureTypeID' name='signatureTypeID'>";
            $stdisplay = array();
            $signatureType = new SignatureType();
            foreach ($signatureType->allAsArray() as $stdisplay) {
                echo "<option value='" . $stdisplay['signatureTypeID'] . "'>" . $stdisplay['shortName'] . "</option>";
            }
            echo "</select></span></td>";
            echo "<td><a href='javascript:void(0);' id='commitUpdate' name='commitUpdate'>add</a></td>";
            echo "<td>&nbsp;</td>";
            echo "</tr>";
        }
        ?>

		</table>
		</td>
		</tr>
		<tr><td style='text-align:center;width:100%;'><br /><br /><a href='#' onclick='window.parent.tb_remove();  window.parent.updateDocuments();  window.parent.updateArchivedDocuments(); return false'>Close</a></td></tr>
		</table>