$roles = getPublicationRoles();
                        }
                        foreach ($roles as $role) {
                            echo "<option value=\"" . $role["role_id"] . "\"" . (isset($PROCESSED["role_id"]) && $PROCESSED["role_id"] == $role["role_id"] ? " selected=\"selected\"" : "") . ">" . $role["role_description"] . "</option>\n";
                        }
                        ?>
						</select>
						</td>
					</tr>
					<tr>
						<td></td>
						<td><label for="type_id" class="form-required">Type</label></td>
						<td><select name="type_id" id="type_id" style="vertical-align: middle; width: 35%">
						<option value = ""></option>
						<?php 
                        $types = getPublicationTypesSpecific("Peer-Reviewed");
                        foreach ($types as $type) {
                            echo "<option value=\"" . $type["type_id"] . "\"" . (isset($PROCESSED["type_id"]) && $PROCESSED["type_id"] == $type["type_id"] ? " selected=\"selected\"" : "") . ">" . $type["type_description"] . "</option>\n";
                        }
                        ?>
						</select>
						</td>
					</tr>
					<tr>
						<td colspan="3">&nbsp;</td>
					</tr>
					<tr>
						<td></td>
						<td style="vertical-align: top"><label for="status" class="form-required">Status</label></td>
						<td>
						<?php 
								<?php 
                $roles = getPublicationRoles();
                foreach ($roles as $role) {
                    echo "<option value=\"" . $role["role_id"] . "\"" . (isset($PROCESSED["role_id"]) && $PROCESSED["role_id"] == $role["role_id"] ? " selected=\"selected\"" : "") . ">" . $role["role_description"] . "</option>\n";
                }
                ?>
								</select>
								</td>
							</tr>
							<tr>
								<td></td>
								<td><label for="type_id" class="form-required">Type</label></td>
								<td><select name="type_id" id="type_id" style="vertical-align: middle; width: 35%">
								<option value = ""></option>
								<?php 
                $types = getPublicationTypesSpecific(array("Poster Presentations", "Technical Report"));
                foreach ($types as $type) {
                    echo "<option value=\"" . $type["type_id"] . "\"" . (isset($PROCESSED["type_id"]) && $PROCESSED["type_id"] == $type["type_id"] ? " selected=\"selected\"" : "") . ">" . $type["type_description"] . "</option>\n";
                }
                ?>
								</select>
								</td>
							</tr>
							<tr>
								<td colspan="3">&nbsp;</td>
							</tr>
							<tr>
								<td></td>
								<td style="vertical-align: top"><label for="status" class="form-required">Status</label></td>
								<td>
								<?php 
								<?php 
                $roles = getPublicationRoles();
                foreach ($roles as $role) {
                    echo "<option value=\"" . $role["role_id"] . "\"" . (isset($PROCESSED["role_id"]) && $PROCESSED["role_id"] == $role["role_id"] ? " selected=\"selected\"" : "") . ">" . $role["role_description"] . "</option>\n";
                }
                ?>
								</select>
								</td>
							</tr>
							<tr>
								<td></td>
								<td><label for="type_id" class="form-required">Type</label></td>
								<td><select name="type_id" id="type_id" style="vertical-align: middle; width: 35%">
								<option value = ""></option>
								<?php 
                $types = getPublicationTypesSpecific(array("Chapter", "Complete Book", "Monograph", "Editorial"));
                foreach ($types as $type) {
                    echo "<option value=\"" . $type["type_id"] . "\"" . (isset($PROCESSED["type_id"]) && $PROCESSED["type_id"] == $type["type_id"] ? " selected=\"selected\"" : "") . ">" . $type["type_description"] . "</option>\n";
                }
                ?>
								</select>
								</td>
							</tr>
							<tr>
								<td colspan="3">&nbsp;</td>
							</tr>
							<tr>
								<td></td>
								<td style="vertical-align: top"><label for="status" class="form-required">Status</label></td>
								<td>
								<?php