Loading ...
Sorry, an error occurred while loading the content.

eval parsing error in Internet Explorer 6

Expand Messages
  • chris_nappin
    Hi, I m using JSON via JSRS (a kind of simpler pre-cursor to AJAX) with a J2EE application. We have a complex XSLT-based user interface and I m using AJAX to
    Message 1 of 9 , Jun 30, 2006
    • 0 Attachment
      Hi,

      I'm using JSON via JSRS (a kind of simpler pre-cursor to AJAX) with
      a J2EE application. We have a complex XSLT-based user interface and
      I'm using AJAX to refresh the screen without users seeing a visible
      refresh "flash" (and loosing their place in the screen).

      However I have an odd fault that I've been unable to debug. Basically
      when I invoke one of our generic JSRS calls on most of our screens, it
      works fine (and refreshes part of the screen). However on one of our
      screens it fails with the following error:

      SyntaxError: Expected '}'

      The JSON is of the following form:

      {"html":"...","message":null,"error":false}

      (where html is about 120K of escaped HTML, like the following:)

      <form name=\"form325\" method=\"post\" action=\"\"
      target=\"_parent\">\r\n<input value=\"\" type=\"hidden\"
      name=\"formaction\">

      My JavaScript code is as follows:

      function updateScreenCallback(result) {
      try {
      var result = eval('(' + result + ')');

      if (result == false || result.error) {
      alert(result.message);

      } else {
      // all ok...
      alert('setting html');
      document.forms[1].outerHTML = result.html;
      }
      } catch (e) {
      if (e instanceof Error) {
      alert(e.name + ': ' + e.message);
      }
      }
      }

      I'm using the Java classes from json.org unaltered, but can't see any
      obvious escaping errors or line returns etc. If I copy and paste the
      JSON text into a standalone HTML page I don't get any errors. Also if
      I use a simulated result with 120K of data it also works fine. I can
      provide the "real" data if it helps.

      I've also tried using the JSON JS parser instead of "eval" but that
      takes a good 10-20 seconds before returning null.

      Can anyone please suggest where I'm going wrong, or if anyone else has
      experienced something similar?

      Thanks,

      Chris.
    • chris_nappin
      Sorry, the JavaScript was not quite right and didn t format very well, here it is again: function updateScreenCallback(result) { try { var result = eval( ( +
      Message 2 of 9 , Jun 30, 2006
      • 0 Attachment
        Sorry, the JavaScript was not quite right and didn't format very well,
        here it is again:

        function updateScreenCallback(result) {
        try {
        var result = eval('(' + result + ')');

        if (result.error) {
        alert(result.message);

        } else {
        document.forms[1].outerHTML = result.html;
        }

        } catch (e) {
        if (e instanceof Error) {
        alert(e.name + ': ' + e.message);
        }
        }
        }
      • chris_nappin
        I ve managed to determine that there are no new lines, form feeds or carriage return characters in the JSON text, nor any un-escaped double quotes. However
        Message 3 of 9 , Jul 3 5:41 AM
        • 0 Attachment
          I've managed to determine that there are no new lines, form feeds or
          carriage return characters in the JSON text, nor any un-escaped double
          quotes. However I've still not been able to resolve the problem. Does
          anyone know if any further characters need to be escaped, such as : [
          ] { } ' ?

          I'd be very grateful if anyone can help - if I can't resolve this then
          we'll have to ditch using JSON which would be a shame.

          The complete JSON text is as follows (all one line):

          {"html":"<form name=\"form325\" method=\"post\" action=\"\"
          target=\"_parent\">\r\n<input value=\"\" type=\"hidden\"
          name=\"formaction\"><input value=\"\" type=\"hidden\"
          name=\"row\"><input value=\"Y\" type=\"hidden\"
          name=\"newsave\"><input value=\"\" type=\"hidden\"
          name=\"type\"><input value=\"2006/06/30 08:54:55\" type=\"hidden\"
          name=\"created_date\"><input value=\"Europe/London\" type=\"hidden\"
          name=\"created_tz\"><input value=\"CHRISN\" type=\"hidden\"
          name=\"createdby\"><input value=\"CHRISN\" type=\"hidden\"
          name=\"created_by\"><input value=\"\" type=\"hidden\"
          name=\"createdby_id\"><input value=\"135411\" type=\"hidden\"
          name=\"doc_id\"><input value=\"\" type=\"hidden\" name=\"gpms\"
          class=\"textboxgpmsmand\"><input value=\"\" type=\"hidden\"
          name=\"gpms_id\"><input value=\"\" type=\"hidden\"
          name=\"descriptor\"><input value=\"\" type=\"hidden\"
          name=\"prefix\"><input value=\"\" type=\"hidden\"
          name=\"suffix\"><input value=\"0\" type=\"hidden\"
          name=\"actionable\"><input value=\"0\" type=\"hidden\"
          name=\"state\"><input value=\"325\" type=\"hidden\"
          name=\"formref\"><input value=\"1\" type=\"hidden\"
          name=\"app_type\"><input value=\"INCIDENT - Number: , Class: ,
          Category: , Type: , Occurred Date From: , Occurred Date To: ,
          Reported By: , Status: New Record\" type=\"hidden\"
          name=\"summary\"><input value=\"\" type=\"hidden\"
          name=\"triggervalidation\"><input value=\"false\" type=\"hidden\"
          name=\"viewonlymode\"><input value=\"1\" type=\"hidden\"
          name=\"maxpriority\"><input value=\"CHRIS\" type=\"hidden\"
          name=\"user_forename\"><input value=\"NAPPIN\" type=\"hidden\"
          name=\"user_surname\"><input value=\"11986\" type=\"hidden\"
          name=\"user_parentid\"><input value=\"\" type=\"hidden\"
          name=\"general/reasonforreopen\"><input value=\"\" type=\"hidden\"
          name=\"general/reasonforentryerror\"><input value=\"false\"
          type=\"hidden\" name=\"popupConfirmed\">\r\n<table width=\"100%\"
          name=\"\" id=\"\" class=\"tableform\" style=\"display:none;
          \">\r\n<tr>\r\n<td nowrap=\"nowrap\" width=\"25%\"><input
          value=\"Assault\" type=\"hidden\"
          name=\"general/matrixtypes/matrixtype/matrixtypedesc\"><\/td><td
          nowrap=\"nowrap\" colspan=\"5\" width=\"*\"><input value=\"1\"
          type=\"hidden\"
          name=\"general/matrixtypes/matrixtype/matrixtypedesc_id\"><\/td>\r\n<\/tr>\r\n<\/table>\r\n<table
          class=\"tableform\">\r\n<tr>\r\n<td><span
          id=\"generaldetailscollapsebtn\" class=\"floatright\"
          style=\"display:block;\"><a
          onclick=\"collapse('generaldetails');return false;\"
          href=\"#\">collapse<\/a><img style=\"width: 17px; height: 17px;
          cursor:hand;\" src=\"/pegasus/core/images/nav_rootMinus_new.gif\"
          onclick=\"collapse('generaldetails');return false;\"
          alt=\"Collapse\"><a href=\"#\" onClick=\"call_info('ccmi0325',
          'INCIDENT_GENERALSECTION'); return false;\"><img
          src=\"/pegasus/core/images/form_button_info.gif\" border=\"0\"
          alt=\"Click for information\"><\/a><\/span><span
          id=\"generaldetailsexpandbtn\" class=\"floatright\"
          style=\"display:none;\"><a onclick=\"expand('generaldetails');return
          false;\" href=\"#\">expand<\/a><img style=\"width: 17px; height: 17px;
          cursor:hand;\" src=\"/pegasus/core/images/nav_rootPlus_new.gif\"
          onclick=\"expand('generaldetails');return false;\" alt=\"Expand\"><a
          href=\"#\" onClick=\"call_info('ccmi0325', 'INCIDENT_GENERALSECTION');
          return false;\"><img src=\"/pegasus/core/images/form_button_info.gif\"
          border=\"0\" alt=\"Click for information\"><\/a><\/span><span
          style=\"font-weight:bold\" class=\"tableformheader\">General Incident
          Details<\/span><\/td>\r\n<\/tr>\r\n<\/table>\r\n<input type=\"hidden\"
          name=\"generaldetailsexpandCollapseState\" value=\"expand\">\r\n<div
          id=\"generaldetails\" style=\"display:block;\">\r\n<table
          width=\"100%\" name=\"\" id=\"\" class=\"tableform\"
          style=\"\">\r\n<tr>\r\n<td class=\"tableformheader\"
          width=\"25%\"><span class=\"tableformheader\">Incident
          Number<\/span><\/td><td nowrap=\"nowrap\" width=\"25%\"><input
          value=\"\" type=\"hidden\" name=\"sensitiveautoflag\"><textarea
          style=\"height:10px;overflow:visible\" rows=\"1\" readonly=\"true\"
          name=\"general/incidentrefno\"
          class=\"textboxinvisible\">5172<\/textarea><\/td><td
          class=\"tableformheader\" width=\"25%\"><span
          class=\"tableformheader\">Sensitive?<\/span><\/td><td
          nowrap=\"nowrap\" colspan=\"3\" width=\"*\"><span style=\"\"
          sectionClasses=\"textbox, \" id=\"DEPUNQID0\"> <input value=\"Y\"
          type=\"checkbox\" onclick=\"\" name=\"general/sensitiveflag\"
          id=\"sensitiveflag\" class=\"textbox\"><span
          class=\"tableformheader\">
          <\/span><\/span><\/td>\r\n<\/tr>\r\n<tr>\r\n<td
          class=\"tableformheader\" width=\"25%\"><span
          class=\"tableformheader\">Incident Originator<\/span><\/td><td
          nowrap=\"nowrap\" colspan=\"5\" width=\"*\"><input value=\"11986\"
          type=\"hidden\" name=\"general/incidentoriginator_id\"><textarea
          style=\"height:10px;overflow:visible\" rows=\"1\" readonly=\"true\"
          name=\"general/incidentoriginator\" class=\"textboxinvisible\">CHRIS
          NAPPIN<\/textarea><\/td>\r\n<\/tr>\r\n<tr>\r\n<td
          class=\"tableformheader\" width=\"25%\"><span
          class=\"tableformheader\">Incident Type(s)<\/span><\/td><td
          nowrap=\"nowrap\" colspan=\"5\" width=\"*\"><textarea
          style=\"height:10px;overflow:visible\" rows=\"1\" readonly=\"true\"
          name=\"inctypeconcat\"
          class=\"textboxinvisible\">Assault<\/textarea><\/td>\r\n<\/tr>\r\n<tr>\r\n<td
          class=\"tableformheader\" width=\"25%\"><span
          class=\"tableformheader\">Query As Type(s)<\/span><\/td><td
          nowrap=\"nowrap\" colspan=\"5\" width=\"*\"><textarea
          style=\"height:10px;overflow:visible\" rows=\"1\" readonly=\"true\"
          name=\"incqaconcat\"
          class=\"textboxinvisible\"><\/textarea><\/td>\r\n<\/tr>\r\n<tr>\r\n<td
          class=\"tableformheader\" width=\"25%\"><span
          class=\"tableformheader\">Incident Category<\/span><\/td><td
          nowrap=\"nowrap\" width=\"25%\"><textarea
          style=\"height:10px;overflow:visible\" rows=\"1\" readonly=\"true\"
          name=\"general/incidentcategory\"
          class=\"textboxinvisible\">Safeness<\/textarea><\/td><td
          class=\"tableformheader\" width=\"25%\"><span
          class=\"tableformheader\">Incident Class<\/span><\/td><td
          nowrap=\"nowrap\" colspan=\"3\" width=\"*\"><textarea
          style=\"height:10px;overflow:visible\" rows=\"1\" readonly=\"true\"
          name=\"general/class\"
          class=\"textboxinvisible\">Unknown<\/textarea><\/td>\r\n<\/tr>\r\n<tr>\r\n<td
          class=\"tableformheader\" width=\"25%\"><span
          class=\"tableformheader\">Incident Owner<\/span><\/td><td
          nowrap=\"nowrap\" colspan=\"5\" width=\"*\"><input value=\"11986\"
          type=\"hidden\"
          name=\"general/incidentowners/incidentowner/owner_id\"><input
          value=\"2006/06/30 08:54:55\" type=\"hidden\"
          name=\"general/incidentowners/incidentowner/from_date\"><input
          value=\"Europe/London\" type=\"hidden\"
          name=\"general/incidentowners/incidentowner/from_tz\"><input
          value=\"\" type=\"hidden\"
          name=\"general/incidentowners/incidentowner/to_date\"><input
          value=\"\" type=\"hidden\"
          name=\"general/incidentowners/incidentowner/to_tz\"><textarea
          style=\"height:10px;overflow:visible\" rows=\"1\" readonly=\"true\"
          name=\"general/incidentowners/incidentowner/owner\"
          class=\"textboxinvisible\">CHRIS
          NAPPIN<\/textarea><\/td>\r\n<\/tr>\r\n<tr>\r\n<td
          class=\"tableformheader\" width=\"25%\"><span
          class=\"tableformheader\">When did the Incident
          start?<\/span><\/td><td nowrap=\"nowrap\" colspan=\"5\"
          width=\"*\"><span style=\"\"><input value=\"\" type=\"hidden\"
          name=\"general/occurrencetime1_date\"><input type=\"text\" size=\"10\"
          class=\"textbox\" name=\"general/displaydateoccurrencetime1_date\"
          value=\"\" onBlur=\"checkdatetime(this, nextSibling.nextSibling,
          previousSibling, null,
          nextSibling.nextSibling.nextSibling.nextSibling,
          nextSibling.nextSibling.nextSibling.nextSibling.nextSibling);\"><img
          width=\"3\" src=\"/pegasus/core/images/block.gif\" height=\"1\"
          border=\"0\"><input type=\"text\" size=\"5\" class=\"textbox\"
          name=\"general/displaytimeoccurrencetime1_date\" value=\"\"
          onBlur=\"checkdatetime(previousSibling.previousSibling, this,
          previousSibling.previousSibling.previousSibling, null,
          nextSibling.nextSibling, nextSibling.nextSibling.nextSibling);\"><a
          name=\"anchor1\" id=\"anchor1\" href=\"#\"
          onClick=\"callCalClock(previousSibling.previousSibling.previousSibling,
          previousSibling,
          previousSibling.previousSibling.previousSibling.previousSibling, true,
          '', nextSibling, nextSibling.nextSibling);return false;\"><img
          width=\"3\" src=\"/pegasus/core/images/block.gif\" height=\"1\"
          border=\"0\"><img width=\"16\" src=\"/pegasus/core/images/cal.gif\"
          height=\"16\" border=\"0\" alt=\"Click to select date\"
          align=\"absmiddle\"><img width=\"3\"
          src=\"/pegasus/core/images/block.gif\" height=\"1\"
          border=\"0\"><\/a><input value=\"\" type=\"hidden\"
          class=\"textboxinvisible\" name=\"general/occurrencetime1_tz\"><input
          value=\"\" size=\"12\" readonly class=\"textboxinvisiblesmall\"
          name=\"general/occurrencetime1_displaytz\"
          type=\"text\"><\/span><\/td>\r\n<\/tr>\r\n<tr>\r\n<td
          class=\"tableformheader\" width=\"25%\"><span
          class=\"tableformheader\">When did the Incident end?<\/span><\/td><td
          nowrap=\"nowrap\" colspan=\"5\" width=\"*\"><span style=\"\"><input
          value=\"\" type=\"hidden\"
          name=\"general/occurrencetime2_date\"><input type=\"text\" size=\"10\"
          class=\"textbox\" name=\"general/displaydateoccurrencetime2_date\"
          value=\"\" onBlur=\"checkdatetime(this, nextSibling.nextSibling,
          previousSibling, null,
          nextSibling.nextSibling.nextSibling.nextSibling,
          nextSibling.nextSibling.nextSibling.nextSibling.nextSibling);dateafter(document.all.item('general/occurrencetime1_date'),
          this, previousSibling);\"><img width=\"3\"
          src=\"/pegasus/core/images/block.gif\" height=\"1\"
          border=\"0\"><input type=\"text\" size=\"5\" class=\"textbox\"
          name=\"general/displaytimeoccurrencetime2_date\" value=\"\"
          onBlur=\"checkdatetime(previousSibling.previousSibling, this,
          previousSibling.previousSibling.previousSibling, null,
          nextSibling.nextSibling,
          nextSibling.nextSibling.nextSibling);dateafter(document.all.item('general/occurrencetime1_date'),
          this, previousSibling.previousSibling.previousSibling);\"><a
          name=\"anchor1\" id=\"anchor1\" href=\"#\"
          onClick=\"callCalClock(previousSibling.previousSibling.previousSibling,
          previousSibling,
          previousSibling.previousSibling.previousSibling.previousSibling, true,
          '', nextSibling, nextSibling.nextSibling);return false;\"><img
          width=\"3\" src=\"/pegasus/core/images/block.gif\" height=\"1\"
          border=\"0\"><img width=\"16\" src=\"/pegasus/core/images/cal.gif\"
          height=\"16\" border=\"0\" alt=\"Click to select date\"
          align=\"absmiddle\"><img width=\"3\"
          src=\"/pegasus/core/images/block.gif\" height=\"1\"
          border=\"0\"><\/a><input value=\"\" type=\"hidden\"
          class=\"textboxinvisible\" name=\"general/occurrencetime2_tz\"><input
          value=\"\" size=\"12\" readonly class=\"textboxinvisiblesmall\"
          name=\"general/occurrencetime2_displaytz\"
          type=\"text\"><\/span><\/td>\r\n<\/tr>\r\n<tr>\r\n<td
          class=\"tableformheader\" width=\"25%\"><span
          class=\"tableformheader\">Describe what happened<\/span><\/td><td
          nowrap=\"nowrap\" colspan=\"5\" width=\"*\"><textarea onblur=\"\"
          onDblClick=\"openeditor(this)\" name=\"general/description\"
          maxlength=\"\"
          class=\"textbox\"><\/textarea><\/td>\r\n<\/tr>\r\n<\/table>\r\n<table
          width=\"100%\" class=\"tableform\">\r\n<tr>\r\n<td><span
          class=\"tableformheader\">Participants Involved in the
          Incident<\/span><\/td>\r\n<\/tr>\r\n<\/table>\r\n<table name=\"\"
          id=\"\" class=\"tableform_nest\" style=\"\">\r\n<tr
          class=\"tableform_nest\">\r\n<td style=\"border:0px;\" colspan=\"6\"
          align=\"right\"><img src=\"/pegasus/core/images/form_button_add.gif\"
          onClick=\"\r\n\t\t\t\t\taddMultiRowBlock('general/participants/participant');\r\n\t\t\t\t\"
          id=\"addrow\" class=\"floatright\" border=\"0\" alt=\"Add Repeating
          Region\"><img src=\"/pegasus/core/images/form_button_minus.gif\"
          onClick=\"\r\n\t\t\t\t\talert('You cannot delete this row, as it is
          locked.'); return false;\r\n\t\t\t\t\" id=\"delrow\"
          class=\"floatright\" border=\"0\" alt=\"Delete Repeating
          Region\"><\/td>\r\n<\/tr>\r\n<\/table>\r\n<table name=\"\" id=\"\"
          class=\"tableform_nest\" style=\"\">\r\n<tr>\r\n<td
          class=\"tableformheader\"><span onmouseover=\"\" onclick=\"\"
          style=\"\">1.<br>\r\n<\/span><\/td><td nowrap=\"nowrap\"
          width=\"90%\"><input value=\"CHRIS NAPPIN\" type=\"hidden\"
          name=\"general/participants/participant/nomdescription\"><input
          value=\"68356\" type=\"hidden\"
          name=\"general/participants/participant/nom_id\"><input
          value=\"Originator\" type=\"hidden\"
          name=\"general/participants/participant/involvementtypes/involvementtype/type\"><input
          value=\"6\" type=\"hidden\"
          name=\"general/participants/participant/involvementtypes/involvementtype/type_id\"><textarea
          style=\"height:10px;overflow:visible\" rows=\"1\" readonly=\"true\"
          name=\"general/participants/participant/nomdescriptionconcat\"
          class=\"textboxinvisible\">CHRIS
          NAPPIN,Originator<\/textarea><\/td><td class=\"tableformheader\"
          width=\"5%\"><span class=\"tableformheader\"
          onMouseOver=\"ddrivetip('Injured');\"
          onMouseOut=\"hideddrivetip();\">I<\/span><\/td><td nowrap=\"nowrap\"
          width=\"5%\"> <input value=\"Y\" type=\"checkbox\" onclick=\"\"
          name=\"general/participants/participant/injured\" id=\"injured\"
          class=\"textbox\"><span class=\"tableformheader\"> <\/span><\/td><td
          class=\"tableformheader\" width=\"5%\"><span class=\"tableformheader\"
          onMouseOver=\"ddrivetip('Medical Attention Required');\"
          onMouseOut=\"hideddrivetip();\">M<\/span><\/td><td nowrap=\"nowrap\"
          colspan=\"1\" width=\"5%\"> <input value=\"Y\" type=\"checkbox\"
          onclick=\"\"
          name=\"general/participants/participant/medicalattention\"
          id=\"medical\" class=\"textbox\"><span class=\"tableformheader\">
          <\/span><\/td>\r\n<\/tr>\r\n<\/table>\r\n<table width=\"100%\"
          class=\"tableform\">\r\n<tr>\r\n<td><span
          class=\"tableformheader\">Investigative Activities and Techniques
          used<\/span><\/td>\r\n<\/tr>\r\n<\/table>\r\n<table name=\"\" id=\"\"
          class=\"tableform_nest\" style=\"\">\r\n<tr
          class=\"tableform_nest\">\r\n<td style=\"border:0px;\" colspan=\"6\"
          align=\"right\"><img src=\"/pegasus/core/images/form_button_add.gif\"
          onClick=\"\r\n\t\t\t\t\taddMultiRowBlock('general/activitiestechniques/activitiestechnique');\r\n\t\t\t\t\"
          id=\"addrow\" class=\"floatright\" border=\"0\" alt=\"Add Repeating
          Region\"><img src=\"/pegasus/core/images/form_button_minus.gif\"
          onClick=\"\r\n\t\t\t\t\talert('The first row cannot be deleted');
          return false;\r\n\t\t\t\t\" id=\"delrow\" class=\"floatright\"
          border=\"0\" alt=\"Delete Repeating
          Region\"><\/td>\r\n<\/tr>\r\n<tr>\r\n<script
          language=\"JavaScript\">\r\n\t\t\t\t\t\t\t\t\tfunction
          confirmactivitiestechnique1(){\r\n\t\t\t\t\t\t\t\t\t\t\t
          \ttestunique('activitiestechniques/activitiestechnique:typeemployed',
          'general/activitiestechniques/activitiestechnique/typeemployed');\r\n\t\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t<\/script><td
          nowrap=\"nowrap\" colspan=\"6\" width=\"*\"><input value=\"\"
          type=\"text\" onkeydown=\"return callAutoLOV(event, '5118',
          'general/activitiestechniques/activitiestechnique/typeemployed','Y','confirmactivitiestechnique1','general/activitiestechniques/activitiestechnique/typeemployed_id','');\"
          name=\"general/activitiestechniques/activitiestechnique/typeemployed\"
          class=\"textbox\" style=\"\r\r\n\t\t\twidth:90%;\r\r\n\t\t\"><a
          onClick=\"callLOV('5118',
          'general/activitiestechniques/activitiestechnique/typeemployed','Y','confirmactivitiestechnique1','general/activitiestechniques/activitiestechnique/typeemployed_id','');return
          false;\"
          name=\"general/activitiestechniques/activitiestechnique/typeemployedlink\"
          href=\"#\"><img width=\"3\" src=\"/pegasus/core/images/block.gif\"
          height=\"1\" border=\"0\"><img
          src=\"/pegasus/core/images/form_button_lov.gif\" border=\"0\"
          alt=\"Click to select from LOV\" align=\"absmiddle\"><\/a><input
          value=\"\" type=\"hidden\"
          name=\"general/activitiestechniques/activitiestechnique/typeemployed_id\"><\/td>\r\n<\/tr>\r\n<\/table>\r\n<table
          width=\"100%\" name=\"\" id=\"\" class=\"tableform\"
          style=\"\">\r\n<tr>\r\n<td class=\"tableformheader\"
          width=\"25%\"><span class=\"tableformheader\">Is there Video of
          Location Available?<\/span><\/td><td nowrap=\"nowrap\" width=\"25%\">
          <input value=\"Y\" type=\"checkbox\" onclick=\"\"
          name=\"general/videoavailable\" id=\"videoavailable\"
          class=\"textbox\"><span class=\"tableformheader\"> <\/span><\/td><td
          class=\"tableformheader\" width=\"25%\"><span
          class=\"tableformheader\">Has the Video Been
          Retained?<\/span><\/td><td nowrap=\"nowrap\" colspan=\"3\"
          width=\"*\"> <input value=\"Y\" type=\"checkbox\" onclick=\"\"
          name=\"general/videoretained\" id=\"videoretained\"
          class=\"textbox\"><span class=\"tableformheader\">
          <\/span><\/td>\r\n<\/tr>\r\n<tr>\r\n<td class=\"tableformheader\"
          width=\"25%\"><span class=\"tableformheader\">Describe the content of
          the Video<\/span><\/td><td nowrap=\"nowrap\" colspan=\"5\"
          width=\"*\"><textarea onblur=\"\" onDblClick=\"openeditor(this)\"
          name=\"general/videocontent\" maxlength=\"\"
          class=\"textbox\"><\/textarea><\/td>\r\n<\/tr>\r\n<\/table>\r\n<\/div>\r\n<br>\r\n<br>\r\n<table
          class=\"tableform\">\r\n<tr>\r\n<td><span
          id=\"subjectdetailscollapsebtn\" class=\"floatright\"
          style=\"display:block;\"><a
          onclick=\"collapse('subjectdetails');return false;\"
          href=\"#\">collapse<\/a><img style=\"width: 17px; height: 17px;
          cursor:hand;\" src=\"/pegasus/core/images/nav_rootMinus_new.gif\"
          onclick=\"collapse('subjectdetails');return false;\"
          alt=\"Collapse\"><a href=\"#\" onClick=\"call_info('ccmi0325',
          'INCIDENT_SUBJECTSECTION'); return false;\"><img
          src=\"/pegasus/core/images/form_button_info.gif\" border=\"0\"
          alt=\"Click for information\"><\/a><\/span><span
          id=\"subjectdetailsexpandbtn\" class=\"floatright\"
          style=\"display:none;\"><a onclick=\"expand('subjectdetails');return
          false;\" href=\"#\">expand<\/a><img style=\"width: 17px; height: 17px;
          cursor:hand;\" src=\"/pegasus/core/images/nav_rootPlus_new.gif\"
          onclick=\"expand('subjectdetails');return false;\" alt=\"Expand\"><a
          href=\"#\" onClick=\"call_info('ccmi0325', 'INCIDENT_SUBJECTSECTION');
          return false;\"><img src=\"/pegasus/core/images/form_button_info.gif\"
          border=\"0\" alt=\"Click for information\"><\/a><\/span><span
          style=\"font-weight:bold\" class=\"tableformheader\">Subjects
          (0)<\/span><\/td>\r\n<\/tr>\r\n<\/table>\r\n<input type=\"hidden\"
          name=\"subjectdetailsexpandCollapseState\" value=\"expand\">\r\n<div
          id=\"subjectdetails\" style=\"display:block;\">\r\n<table name=\"\"
          id=\"\" class=\"tableform_nest\" style=\"\">\r\n<tr
          class=\"tableform_nest\">\r\n<td style=\"border:0px;\" colspan=\"6\"
          align=\"right\"><img src=\"/pegasus/core/images/form_button_add.gif\"
          onClick=\"\r\n\t\t\t\t\taddMultiRowBlock('subjects/subject[1]');\r\n\t\t\t\t\"
          id=\"addrow\" class=\"floatright\" border=\"0\" alt=\"Add Repeating
          Region\"><img src=\"/pegasus/core/images/form_button_minus.gif\"
          onClick=\"\r\n\t\t\t\t\t\t\tif (confirm('Are you sure you wish to
          delete this multirow block?\\n\\nPlease ensure you update any freetext
          that may reference this item.')) {
          deleteMultiRowBlock('subjects/subject[1]'); } else { return false;
          }\r\n\t\t\t\t\t\t\" id=\"delrow\" class=\"floatright\" border=\"0\"
          alt=\"Delete Repeating Region\"><\/td>\r\n<\/tr>\r\n<\/table>\r\n<span
          style=\"\" sectionClasses=\"\" id=\"DEPUNQID1\"><span style=\"\"
          sectionClasses=\"\" id=\"DEPUNQID2\">\r\n<table width=\"100%\"
          name=\"\" id=\"\" class=\"tableform\" style=\"\">\r\n<tr>\r\n<td
          nowrap=\"nowrap\" width=\"25%\" class=\"tableformheader\"><span
          class=\"tableformheader\">Person<\/span><img width=\"3\"
          src=\"/pegasus/core/images/block.gif\" height=\"1\" border=\"0\">
          <input value=\"P\" type=\"radio\"
          onclick=\"manipulateFields('DEPUNQID3',
          'subjects/subject[1]/nomorgind', '=', 'P', 'hide', 'none', 'null',
          'null');manipulateFields('DEPUNQID4', 'subjects/subject[1]/nomorgind',
          '=', 'O', 'hide', 'none', 'null', 'null');\"
          name=\"subjects/subject[1]/nomorgind\" id=\"\" class=\"textbox\">
          <\/td><td nowrap=\"nowrap\" colspan=\"5\" width=\"*\"
          class=\"tableformheader\"><span
          class=\"tableformheader\">Organization<\/span><img width=\"3\"
          src=\"/pegasus/core/images/block.gif\" height=\"1\" border=\"0\">
          <input value=\"O\" type=\"radio\"
          onclick=\"manipulateFields('DEPUNQID3',
          'subjects/subject[1]/nomorgind', '=', 'P', 'hide', 'none', 'null',
          'null');manipulateFields('DEPUNQID4', 'subjects/subject[1]/nomorgind',
          '=', 'O', 'hide', 'none', 'null', 'null');\"
          name=\"subjects/subject[1]/nomorgind\" id=\"\" class=\"textbox\">
          <\/td>\r\n<\/tr>\r\n<\/table>\r\n<\/span><\/span><span
          style=\"display:none\" sectionClasses=\"\" id=\"DEPUNQID3\">\r\n<table
          width=\"100%\" name=\"\" id=\"\" class=\"tableform\"
          style=\"display:none; \">\r\n<tr>\r\n<td nowrap=\"nowrap\"
          colspan=\"6\" width=\"*\"><input value=\"\" type=\"hidden\"
          name=\"subjects/subject[1]/hiddennom_id\"><input value=\"\"
          type=\"hidden\" name=\"subjects/subject[1]/repeatsubject\"><input
          value=\"\" type=\"hidden\"
          name=\"subjects/subject[1]/apprehended\"><input value=\"\"
          type=\"hidden\"
          name=\"subjects/subject[1]/exemployeenotification\"><\/td>\r\n<\/tr>\r\n<\/table>\r\n<table
          width=\"100%\" name=\"\" id=\"\" class=\"tableform\"
          style=\"\">\r\n<input value=\"\" type=\"hidden\"
          name=\"subjects/subject[1]/nominal/nom_id\"
          class=\"textboxsearch\">\r\n<tr>\r\n<td width=\"25%\"><a
          name=\"subjects/subject[1]/nominal/nomlink\"><\/a><span
          class=\"tableformheader\">Person Type<\/span><\/td><td
          colspan=\"5\"><input value=\"\" type=\"hidden\" reserved=\"true\"
          readonly name=\"subjects/subject[1]/nominal/persontype_id\"
          class=\"textboxsearch\"><input value=\"\" type=\"text\"
          reserved=\"true\" readonly
          name=\"subjects/subject[1]/nominal/persontype\"
          class=\"textboxsearch\"><img width=\"3\"
          src=\"/pegasus/core/images/block.gif\" height=\"1\" border=\"0\"><a
          name=\"subjects/subject[1]/nominal/link\" href=\"#\"
          onClick=\"removedisabled();document.forms[1].target =
          '_self';document.forms[1].action =
          '/pegasus/manipulateForm#subjects/subject[1]/nominal/nomlink';document.forms[1].row.value
          =
          'subjects/subject[1]/nominal/entitylink';document.forms[1].formaction.value
          = 'refresh';callLOV(5337,'subjects/subject[1]/nominal/persontype',
          'Y', '',
          'subjects/subject[1]/nominal/persontype_id');document.forms[1].submit();\"><img
          src=\"/pegasus/core/images/form_button_lov.gif\" border=\"0\"
          alt=\"Click to select from LOV\"
          align=\"absmiddle\"><\/a><\/td>\r\n<\/tr>\r\n<input value=\"\"
          type=\"hidden\" name=\"subjects/subject[1]/nominal/persontype\"><input
          value=\"\" type=\"hidden\"
          name=\"subjects/subject[1]/nominal/persontype_id\"><input value=\"
          \" type=\"hidden\"
          name=\"subjects/subject[1]/nominal/summary\">\r\n<tr>\r\n<td
          width=\"25%\"><a name=\"subjects/subject[1]/nominal/entitylink\"><span
          class=\"tableformheader\">Last Name<\/span><\/a><\/td><td
          width=\"25%\"><input value=\"\" type=\"text\"
          name=\"subjects/subject[1]/nominal/surname\"
          class=\"textboxsearch\"><\/td><td width=\"25%\"><span
          class=\"tableformheader\">First Name<\/span><\/td><td width=\"25%\"
          colspan=\"3\"><input value=\"\" type=\"text\"
          name=\"subjects/subject[1]/nominal/forenames\"
          class=\"textboxsearch\"><\/td>\r\n<\/tr>\r\n<tr>\r\n<td><span
          class=\"tableformheader\">Date of Birth<\/span><\/td><td
          style=\"border-right:0px\"><input value=\"\" type=\"hidden\"
          name=\"subjects/subject[1]/nominal/birth_date\"><input value=\"\"
          type=\"text\" size=\"10\" onblur=\"checkdate(this,
          previousSibling);inPast(this, previousSibling);\"
          class=\"textboxsearch\"
          name=\"subjects/subject[1]/nominal/displaydatebirth_date\"><a
          onclick=\"callCal(previousSibling, previousSibling.previousSibling,
          '', '', nextSibling, nextSibling.nextSibling);return false;\"
          name=\"anchor1\" id=\"anchor1\" href=\"#\"><img width=\"3\"
          src=\"/pegasus/core/images/block.gif\" height=\"1\" border=\"0\"><img
          src=\"/pegasus/core/images/cal.gif\" border=\"0\" alt=\"Click to
          select date\" align=\"absmiddle\"><img width=\"3\"
          src=\"/pegasus/core/images/block.gif\" height=\"1\"
          border=\"0\"><\/a><input value=\"\" type=\"hidden\"
          class=\"textboxinvisible\"
          name=\"subjects/subject[1]/nominal/birth_tz\"><input value=\"\"
          type=\"hidden\" readonly class=\"textboxinvisible\"
          name=\"subjects/subject[1]/nominal/birth_displaytz\"><\/td><td
          style=\"text-align:right;border-left:0px;\" colspan=\"4\"><input
          value=\"\" type=\"hidden\"
          name=\"subjects/subject[1]/nominal/userflag\"><input value=\"\"
          type=\"hidden\" name=\"subjects/subject[1]/nominal/leoflag\"><input
          value=\"\" type=\"hidden\"
          name=\"subjects/subject[1]/nominal/employeeflag\"><input value=\"\"
          type=\"hidden\" name=\"subjects/subject[1]/nominal/title\"><input
          value=\"\" type=\"hidden\"
          name=\"subjects/subject[1]/nominal/nomsuffix\"><input value=\"\"
          type=\"hidden\" name=\"subjects/subject[1]/nominal/nibnumber\"><input
          value=\"\" type=\"hidden\"
          name=\"subjects/subject[1]/nominal/ncisnumber\"><input value=\"\"
          type=\"hidden\"
          name=\"subjects/subject[1]/nominal/forcefolionumber\"><img
          style=\"cursor:hand\" src=\"/pegasus/core/images/detailbutton.gif\"
          onClick=\"entityDetails('', 'subjects/subject[1]/nominal/',
          'nominal');\" alt=\"Edit Person Details\"><img width=\"3\"
          src=\"/pegasus/core/images/block.gif\" height=\"1\" border=\"0\"><img
          style=\"cursor:hand\" src=\"/pegasus/core/images/clearbutton.gif\"
          onClick=\"clearEntity('subjects/subject[1]/nominal/', 'nominal');\"
          alt=\"Clear Fields\"><img width=\"3\"
          src=\"/pegasus/core/images/block.gif\" height=\"1\" border=\"0\"><img
          style=\"cursor:hand\" src=\"/pegasus/core/images/searchbutton.gif\"
          onClick=\"searchEntity('subjects/subject[1]/nominal/', 'N',
          'nominal');\" alt=\"Person
          Search\"><\/td>\r\n<\/tr>\r\n<\/table>\r\n<table name=\"\" id=\"\"
          class=\"tableform_nest\" style=\"\">\r\n<tr
          class=\"tableform_nest\">\r\n<td style=\"border:0px;\" colspan=\"6\"
          align=\"right\"><img src=\"/pegasus/core/images/form_button_add.gif\"
          onClick=\"\r\n\t\t\t\t\taddMultiRowBlock('subjects/subject[1]/communications/communication');\r\n\t\t\t\t\"
          id=\"addrow\" class=\"floatright\" border=\"0\" alt=\"Add Repeating
          Region\"><img src=\"/pegasus/core/images/form_button_minus.gif\"
          onClick=\"\r\n\t\t\t\t\talert('The first row cannot be deleted');
          return false;\r\n\t\t\t\t\" id=\"delrow\" class=\"floatright\"
          border=\"0\" alt=\"Delete Repeating
          Region\"><\/td>\r\n<\/tr>\r\n<tr>\r\n<td width=\"25%\"><a
          name=\"subjects/subject[1]/communications/communication/comm/entitylink\"><\/a><a
          name=\"subjects/subject[1]/communications/communication/comm/commlink\"><span
          class=\"tableformheader\">Communications Type<\/span><\/a><\/td><td
          colspan=\"5\"><input value=\"\" type=\"hidden\"
          name=\"subjects/subject[1]/communications/communication/comm/comm_id\"><input
          value=\"\" type=\"hidden\" reserved=\"true\"
          name=\"subjects/subject[1]/communications/communication/comm/communicationstypeid\"><input
          value=\"\" type=\"text\" reserved=\"true\" readonly
          name=\"subjects/subject[1]/communications/communication/comm/communicationstype\"
          id=\"159\" class=\"textboxsearch\"><img width=\"3\"
          src=\"/pegasus/core/images/block.gif\" height=\"1\" border=\"0\"><a
          name=\"subjects/subject[1]/communications/communication/comm/communicationstypelink\"
          href=\"#\" onClick=\"removedisabled();document.forms[1].target =
          '_self';document.forms[1].action =
          '/pegasus/manipulateForm#subjects/subject[1]/communications/communication/comm/commlink';document.forms[1].row.value
          =
          'subjects/subject[1]/communications/communication/comm/entitylink';document.forms[1].formaction.value
          = 'refresh';callLOV('159',
          'subjects/subject[1]/communications/communication/comm/communicationstype',
          'Y', '',
          'subjects/subject[1]/communications/communication/comm/communicationstypeid');document.forms[1].submit();\"><img
          src=\"/pegasus/core/images/form_button_lov.gif\" border=\"0\"
          alt=\"Click to select from LOV\"
          align=\"absmiddle\"><\/a><\/td>\r\n<\/tr>\r\n<tr>\r\n<td
          colspan=\"6\"><span
          id=\"comms_1\"><\/span><\/td>\r\n<\/tr>\r\n<\/table>\r\n<\/span><span
          style=\"display:none\" sectionClasses=\"\" id=\"DEPUNQID4\">\r\n<table
          width=\"100%\" name=\"\" id=\"\" class=\"tableform\"
          style=\"display:none; \">\r\n<tr>\r\n<td nowrap=\"nowrap\"
          colspan=\"6\" width=\"*\"><input value=\"\" type=\"hidden\"
          name=\"subjects/subject[1]/hiddenorg_id\"><input value=\"\"
          type=\"hidden\"
          name=\"subjects/subject[1]/repeatsubject\"><\/td>\r\n<\/tr>\r\n<\/table>\r\n<table
          width=\"100%\" name=\"\" id=\"\" class=\"tableform\"
          style=\"\">\r\n<tr>\r\n<td width=\"25%\"><a
          name=\"subjects/subject[1]/organisation/entitylink\"><span
          class=\"tableformheader\">Organization Type<\/span><\/a><\/td><td
          style=\"border-right:0px\"><input value=\"\" type=\"hidden\"
          name=\"subjects/subject[1]/organisation/org_id\"><input value=\"\"
          type=\"hidden\" reserved=\"true\"
          name=\"subjects/subject[1]/organisation/orgtype_id\"><input value=\"\"
          type=\"text\" reserved=\"true\" readonly
          name=\"subjects/subject[1]/organisation/orgtype\"
          class=\"textboxsearch\"><img width=\"3\"
          src=\"/pegasus/core/images/block.gif\" height=\"1\" border=\"0\"><a
          style=\"cursor:hand\" onClick=\"callLOV('2112',
          'subjects/subject[1]/organisation/orgtype', 'Y', null,
          'subjects/subject[1]/organisation/orgtype_id');return false;\"
          href=\"#\"><img src=\"/pegasus/core/images/form_button_lov.gif\"
          border=\"0\" alt=\"Click to select from LOV\"
          align=\"absmiddle\"><\/a><\/td><td style=\"border-left: 0px none;
          text-align: right;\" colspan=\"4\"><img style=\"cursor:hand\"
          src=\"/pegasus/core/images/detailbutton.gif\"
          onClick=\"entityDetails(parentNode.previousSibling.firstChild.value,
          getPrefixFromName(parentNode.previousSibling.firstChild.name),
          'organisation');\" alt=\"Edit Organization Details\"><img width=\"3\"
          src=\"/pegasus/core/images/block.gif\" height=\"1\" border=\"0\"><img
          style=\"cursor:hand\" src=\"/pegasus/core/images/clearbutton.gif\"
          onClick=\"clearEntity(getPrefixFromName(parentNode.previousSibling.firstChild.name),
          'organisation');\" alt=\"Clear Fields\"><img width=\"3\"
          src=\"/pegasus/core/images/block.gif\" height=\"1\" border=\"0\"><img
          style=\"cursor:hand\" src=\"/pegasus/core/images/searchbutton.gif\"
          onClick=\"searchEntity(getPrefixFromName(parentNode.previousSibling.firstChild.name),
          'N', 'organisation');\" alt=\"Organization
          Search\"><\/td>\r\n<\/tr>\r\n<tr>\r\n<td width=\"25%\"><input
          value=\"\" type=\"hidden\"
          name=\"subjects/subject[1]/organisation/summary\"><span
          class=\"tableformheader\">Organization Name<\/span><\/td><td
          colspan=\"5\"><input value=\"\" type=\"text\" style=\"width:100%\"
          name=\"subjects/subject[1]/organisation/orgname\"
          class=\"textboxsearch\"><\/td>\r\n<\/tr>\r\n<\/table>\r\n<\/span>\r\n<table
          name=\"\" id=\"\" class=\"tableform_nest\" style=\"\">\r\n<tr
          class=\"tableform_nest\">\r\n<td style=\"border:0px;\" colspan=\"6\"
          align=\"right\"><img src=\"/pegasus/core/images/form_button_add.gif\"
          onClick=\"\r\n\t\t\t\t\taddMultiRowBlock('subjects/subject[2]');\r\n\t\t\t\t\"
          id=\"addrow\" class=\"floatright\" border=\"0\" alt=\"Add Repeating
          Region\"><img src=\"/pegasus/core/images/form_button_minus.gif\"
          onClick=\"\r\n\t\t\t\t\t\t\tif (confirm('Are you sure you wish to
          delete this multirow block?\\n\\nPlease ensure you update any freetext
          that may reference this item.')) {
          deleteMultiRowBlock('subjects/subject[2]'); } else { return false;
          }\r\n\t\t\t\t\t\t\" id=\"delrow\" class=\"floatright\" border=\"0\"
          alt=\"Delete Repeating Region\"><\/td>\r\n<\/tr>\r\n<\/table>\r\n<span
          style=\"\" sectionClasses=\"\" id=\"DEPUNQID5\"><span style=\"\"
          sectionClasses=\"\" id=\"DEPUNQID6\">\r\n<table width=\"100%\"
          name=\"\" id=\"\" class=\"tableform\" style=\"\">\r\n<tr>\r\n<td
          nowrap=\"nowrap\" width=\"25%\" class=\"tableformheader\"><span
          class=\"tableformheader\">Person<\/span><img width=\"3\"
          src=\"/pegasus/core/images/block.gif\" height=\"1\" border=\"0\">
          <input value=\"P\" type=\"radio\"
          onclick=\"manipulateFields('DEPUNQID7',
          'subjects/subject[2]/nomorgind', '=', 'P', 'hide', 'none', 'null',
          'null');manipulateFields('DEPUNQID8', 'subjects/subject[2]/nomorgind',
          '=', 'O', 'hide', 'none', 'null', 'null');\"
          name=\"subjects/subject[2]/nomorgind\" id=\"\" class=\"textbox\">
          <\/td><td nowrap=\"nowrap\" colspan=\"5\" width=\"*\"
          class=\"tableformheader\"><span
          class=\"tableformheader\">Organization<\/span><img width=\"3\"
          src=\"/pegasus/core/images/block.gif\" height=\"1\" border=\"0\">
          <input value=\"O\" type=\"radio\"
          onclick=\"manipulateFields('DEPUNQID7',
          'subjects/subject[2]/nomorgind', '=', 'P', 'hide', 'none', 'null',
          'null');manipulateFields('DEPUNQID8', 'subjects/subject[2]/nomorgind',
          '=', 'O', 'hide', 'none', 'null', 'null');\"
          name=\"subjects/subject[2]/nomorgind\" id=\"\" class=\"textbox\">
          <\/td>\r\n<\/tr>\r\n<\/table>\r\n<\/span><\/span><span
          style=\"display:none\" sectionClasses=\"\" id=\"DEPUNQID7\">\r\n<table
          width=\"100%\" name=\"\" id=\"\" class=\"tableform\"
          style=\"display:none; \">\r\n<tr>\r\n<td nowrap=\"nowrap\"
          colspan=\"6\" width=\"*\"><input value=\"\" type=\"hidden\"
          name=\"subjects/subject[2]/hiddennom_id\"><input value=\"\"
          type=\"hidden\" name=\"subjects/subject[2]/repeatsubject\"><input
          value=\"\" type=\"hidden\"
          name=\"subjects/subject[2]/apprehended\"><input value=\"\"
          type=\"hidden\"
          name=\"subjects/subject[2]/exemployeenotification\"><\/td>\r\n<\/tr>\r\n<\/table>\r\n<table
          width=\"100%\" name=\"\" id=\"\" class=\"tableform\"
          style=\"\">\r\n<input value=\"\" type=\"hidden\"
          name=\"subjects/subject[2]/nominal/nom_id\"
          class=\"textboxsearch\">\r\n<tr>\r\n<td width=\"25%\"><a
          name=\"subjects/subject[2]/nominal/nomlink\"><\/a><span
          class=\"tableformheader\">Person Type<\/span><\/td><td
          colspan=\"5\"><input value=\"\" type=\"hidden\" reserved=\"true\"
          readonly name=\"subjects/subject[2]/nominal/persontype_id\"
          class=\"textboxsearch\"><input value=\"\" type=\"text\"
          reserved=\"true\" readonly
          name=\"subjects/subject[2]/nominal/persontype\"
          class=\"textboxsearch\"><img width=\"3\"
          src=\"/pegasus/core/images/block.gif\" height=\"1\" border=\"0\"><a
          name=\"subjects/subject[2]/nominal/link\" href=\"#\"
          onClick=\"removedisabled();document.forms[1].target =
          '_self';document.forms[1].action =
          '/pegasus/manipulateForm#subjects/subject[2]/nominal/nomlink';document.forms[1].row.value
          =
          'subjects/subject[2]/nominal/entitylink';document.forms[1].formaction.value
          = 'refresh';callLOV(5337,'subjects/subject[2]/nominal/persontype',
          'Y', '',
          'subjects/subject[2]/nominal/persontype_id');document.forms[1].submit();\"><img
          src=\"/pegasus/core/images/form_button_lov.gif\" border=\"0\"
          alt=\"Click to select from LOV\"
          align=\"absmiddle\"><\/a><\/td>\r\n<\/tr>\r\n<input value=\"\"
          type=\"hidden\" name=\"subjects/subject[2]/nominal/persontype\"><input
          value=\"\" type=\"hidden\"
          name=\"subjects/subject[2]/nominal/persontype_id\"><input value=\"
          \" type=\"hidden\"
          name=\"subjects/subject[2]/nominal/summary\">\r\n<tr>\r\n<td
          width=\"25%\"><a name=\"subjects/subject[2]/nominal/entitylink\"><span
          class=\"tableformheader\">Last Name<\/span><\/a><\/td><td
          width=\"25%\"><input value=\"\" type=\"text\"
          name=\"subjects/subject[2]/nominal/surname\"
          class=\"textboxsearch\"><\/td><td width=\"25%\"><span
          class=\"tableformheader\">First Name<\/span><\/td><td width=\"25%\"
          colspan=\"3\"><input value=\"\" type=\"text\"
          name=\"subjects/subject[2]/nominal/forenames\"
          class=\"textboxsearch\"><\/td>\r\n<\/tr>\r\n<tr>\r\n<td><span
          class=\"tableformheader\">Date of Birth<\/span><\/td><td
          style=\"border-right:0px\"><input value=\"\" type=\"hidden\"
          name=\"subjects/subject[2]/nominal/birth_date\"><input value=\"\"
          type=\"text\" size=\"10\" onblur=\"checkdate(this,
          previousSibling);inPast(this, previousSibling);\"
          class=\"textboxsearch\"
          name=\"subjects/subject[2]/nominal/displaydatebirth_date\"><a
          onclick=\"callCal(previousSibling, previousSibling.previousSibling,
          '', '', nextSibling, nextSibling.nextSibling);return false;\"
          name=\"anchor1\" id=\"anchor1\" href=\"#\"><img width=\"3\"
          src=\"/pegasus/core/images/block.gif\" height=\"1\" border=\"0\"><img
          src=\"/pegasus/core/images/cal.gif\" border=\"0\" alt=\"Click to
          select date\" align=\"absmiddle\"><img width=\"3\"
          src=\"/pegasus/core/images/block.gif\" height=\"1\"
          border=\"0\"><\/a><input value=\"\" type=\"hidden\"
          class=\"textboxinvisible\"
          name=\"subjects/subject[2]/nominal/birth_tz\"><input value=\"\"
          type=\"hidden\" readonly class=\"textboxinvisible\"
          name=\"subjects/subject[2]/nominal/birth_displaytz\"><\/td><td
          style=\"text-align:right;border-left:0px;\" colspan=\"4\"><input
          value=\"\" type=\"hidden\"
          name=\"subjects/subject[2]/nominal/userflag\"><input value=\"\"
          type=\"hidden\" name=\"subjects/subject[2]/nominal/leoflag\"><input
          value=\"\" type=\"hidden\"
          name=\"subjects/subject[2]/nominal/employeeflag\"><input value=\"\"
          type=\"hidden\" name=\"subjects/subject[2]/nominal/title\"><input
          value=\"\" type=\"hidden\"
          name=\"subjects/subject[2]/nominal/nomsuffix\"><input value=\"\"
          type=\"hidden\" name=\"subjects/subject[2]/nominal/nibnumber\"><input
          value=\"\" type=\"hidden\"
          name=\"subjects/subject[2]/nominal/ncisnumber\"><input value=\"\"
          type=\"hidden\"
          name=\"subjects/subject[2]/nominal/forcefolionumber\"><img
          style=\"cursor:hand\" src=\"/pegasus/core/images/detailbutton.gif\"
          onClick=\"entityDetails('', 'subjects/subject[2]/nominal/',
          'nominal');\" alt=\"Edit Person Details\"><img width=\"3\"
          src=\"/pegasus/core/images/block.gif\" height=\"1\" border=\"0\"><img
          style=\"cursor:hand\" src=\"/pegasus/core/images/clearbutton.gif\"
          onClick=\"clearEntity('subjects/subject[2]/nominal/', 'nominal');\"
          alt=\"Clear Fields\"><img width=\"3\"
          src=\"/pegasus/core/images/block.gif\" height=\"1\" border=\"0\"><img
          style=\"cursor:hand\" src=\"/pegasus/core/images/searchbutton.gif\"
          onClick=\"searchEntity('subjects/subject[2]/nominal/', 'N',
          'nominal');\" alt=\"Person
          Search\"><\/td>\r\n<\/tr>\r\n<\/table>\r\n<table name=\"\" id=\"\"
          class=\"tableform_nest\" style=\"\">\r\n<tr
          class=\"tableform_nest\">\r\n<td style=\"border:0px;\" colspan=\"6\"
          align=\"right\"><img src=\"/pegasus/core/images/form_button_add.gif\"
          onClick=\"\r\n\t\t\t\t\taddMultiRowBlock('subjects/subject[2]/communications/communication');\r\n\t\t\t\t\"
          id=\"addrow\" class=\"floatright\" border=\"0\" alt=\"Add Repeating
          Region\"><img src=\"/pegasus/core/images/form_button_minus.gif\"
          onClick=\"\r\n\t\t\t\t\talert('The first row cannot be deleted');
          return false;\r\n\t\t\t\t\" id=\"delrow\" class=\"floatright\"
          border=\"0\" alt=\"Delete Repeating
          Region\"><\/td>\r\n<\/tr>\r\n<tr>\r\n<td width=\"25%\"><a
          name=\"subjects/subject[2]/communications/communication/comm/entitylink\"><\/a><a
          name=\"subjects/subject[2]/communications/communication/comm/commlink\"><span
          class=\"tableformheader\">Communications Type<\/span><\/a><\/td><td
          colspan=\"5\"><input value=\"\" type=\"hidden\"
          name=\"subjects/subject[2]/communications/communication/comm/comm_id\"><input
          value=\"\" type=\"hidden\" reserved=\"true\"
          name=\"subjects/subject[2]/communications/communication/comm/communicationstypeid\"><input
          value=\"\" type=\"text\" reserved=\"true\" readonly
          name=\"subjects/subject[2]/communications/communication/comm/communicationstype\"
          id=\"159\" class=\"textboxsearch\"><img width=\"3\"
          src=\"/pegasus/core/images/block.gif\" height=\"1\" border=\"0\"><a
          name=\"subjects/subject[2]/communications/communication/comm/communicationstypelink\"
          href=\"#\" onClick=\"removedisabled();document.forms[1].target =
          '_self';document.forms[1].action =
          '/pegasus/manipulateForm#subjects/subject[2]/communications/communication/comm/commlink';document.forms[1].row.value
          =
          'subjects/subject[2]/communications/communication/comm/entitylink';document.forms[1].formaction.value
          = 'refresh';callLOV('159',
          'subjects/subject[2]/communications/communication/comm/communicationstype',
          'Y', '',
          'subjects/subject[2]/communications/communication/comm/communicationstypeid');document.forms[1].submit();\"><img
          src=\"/pegasus/core/images/form_button_lov.gif\" border=\"0\"
          alt=\"Click to select from LOV\"
          align=\"absmiddle\"><\/a><\/td>\r\n<\/tr>\r\n<tr>\r\n<td
          colspan=\"6\"><span
          id=\"comms_1\"><\/span><\/td>\r\n<\/tr>\r\n<\/table>\r\n<\/span><span
          style=\"display:none\" sectionClasses=\"\" id=\"DEPUNQID8\">\r\n<table
          width=\"100%\" name=\"\" id=\"\" class=\"tableform\"
          style=\"display:none; \">\r\n<tr>\r\n<td nowrap=\"nowrap\"
          colspan=\"6\" width=\"*\"><input value=\"\" type=\"hidden\"
          name=\"subjects/subject[2]/hiddenorg_id\"><input value=\"\"
          type=\"hidden\"
          name=\"subjects/subject[2]/repeatsubject\"><\/td>\r\n<\/tr>\r\n<\/table>\r\n<table
          width=\"100%\" name=\"\" id=\"\" class=\"tableform\"
          style=\"\">\r\n<tr>\r\n<td width=\"25%\"><a
          name=\"subjects/subject[2]/organisation/entitylink\"><span
          class=\"tableformheader\">Organization Type<\/span><\/a><\/td><td
          style=\"border-right:0px\"><input value=\"\" type=\"hidden\"
          name=\"subjects/subject[2]/organisation/org_id\"><input value=\"\"
          type=\"hidden\" reserved=\"true\"
          name=\"subjects/subject[2]/organisation/orgtype_id\"><input value=\"\"
          type=\"text\" reserved=\"true\" readonly
          name=\"subjects/subject[2]/organisation/orgtype\"
          class=\"textboxsearch\"><img width=\"3\"
          src=\"/pegasus/core/images/block.gif\" height=\"1\" border=\"0\"><a
          style=\"cursor:hand\" onClick=\"callLOV('2112',
          'subjects/subject[2]/organisation/orgtype', 'Y', null,
          'subjects/subject[2]/organisation/orgtype_id');return false;\"
          href=\"#\"><img src=\"/pegasus/core/images/form_button_lov.gif\"
          border=\"0\" alt=\"Click to select from LOV\"
          align=\"absmiddle\"><\/a><\/td><td style=\"border-left: 0px none;
          text-align: right;\" colspan=\"4\"><img style=\"cursor:hand\"
          src=\"/pegasus/core/images/detailbutton.gif\"
          onClick=\"entityDetails(parentNode.previousSibling.firstChild.value,
          getPrefixFromName(parentNode.previousSibling.firstChild.name),
          'organisation');\" alt=\"Edit Organization Details\"><img width=\"3\"
          src=\"/pegasus/core/images/block.gif\" height=\"1\" border=\"0\"><img
          style=\"cursor:hand\" src=\"/pegasus/core/images/clearbutton.gif\"
          onClick=\"clearEntity(getPrefixFromName(parentNode.previousSibling.firstChild.name),
          'organisation');\" alt=\"Clear Fields\"><img width=\"3\"
          src=\"/pegasus/core/images/block.gif\" height=\"1\" border=\"0\"><img
          style=\"cursor:hand\" src=\"/pegasus/core/images/searchbutton.gif\"
          onClick=\"searchEntity(getPrefixFromName(parentNode.previousSibling.firstChild.name),
          'N', 'organisation');\" alt=\"Organization
          Search\"><\/td>\r\n<\/tr>\r\n<tr>\r\n<td width=\"25%\"><input
          value=\"\" type=\"hidden\"
          name=\"subjects/subject[2]/organisation/summary\"><span
          class=\"tableformheader\">Organization Name<\/span><\/td><td
          colspan=\"5\"><input value=\"\" type=\"text\" style=\"width:100%\"
          name=\"subjects/subject[2]/organisation/orgname\"
          class=\"textboxsearch\"><\/td>\r\n<\/tr>\r\n<\/table>\r\n<\/span>\r\n<\/div>\r\n<br>\r\n<br>\r\n<table
          class=\"tableform\">\r\n<tr>\r\n<td><span
          id=\"victimdetailscollapsebtn\" class=\"floatright\"
          style=\"display:block;\"><a onclick=\"collapse('victimdetails');return
          false;\" href=\"#\">collapse<\/a><img style=\"width: 17px; height:
          17px; cursor:hand;\"
          src=\"/pegasus/core/images/nav_rootMinus_new.gif\"
          onclick=\"collapse('victimdetails');return false;\"
          alt=\"Collapse\"><a href=\"#\" onClick=\"call_info('ccmi0325',
          'INCIDENT_VICTIMSECTION'); return false;\"><img
          src=\"/pegasus/core/images/form_button_info.gif\" border=\"0\"
          alt=\"Click for information\"><\/a><\/span><span
          id=\"victimdetailsexpandbtn\" class=\"floatright\"
          style=\"display:none;\"><a onclick=\"expand('victimdetails');return
          false;\" href=\"#\">expand<\/a><img style=\"width: 17px; height: 17px;
          cursor:hand;\" src=\"/pegasus/core/images/nav_rootPlus_new.gif\"
          onclick=\"expand('victimdetails');return false;\" alt=\"Expand\"><a
          href=\"#\" onClick=\"call_info('ccmi0325', 'INCIDENT_VICTIMSECTION');
          return false;\"><img src=\"/pegasus/core/images/form_button_info.gif\"
          border=\"0\" alt=\"Click for information\"><\/a><\/span><span
          style=\"font-weight:bold\" class=\"tableformheader\">Victims
          (0)<\/span><\/td>\r\n<\/tr>\r\n<\/table>\r\n<input type=\"hidden\"
          name=\"victimdetailsexpandCollapseState\" value=\"expand\">\r\n<div
          id=\"victimdetails\" style=\"display:block;\">\r\n<table name=\"\"
          id=\"\" class=\"tableform_nest\" style=\"\">\r\n<tr
          class=\"tableform_nest\">\r\n<td style=\"border:0px;\" colspan=\"6\"
          align=\"right\"><img src=\"/pegasus/core/images/form_button_add.gif\"
          onClick=\"\r\n\t\t\t\t\taddMultiRowBlock('victims/victim');\r\n\t\t\t\t\"
          id=\"addrow\" class=\"floatright\" border=\"0\" alt=\"Add Repeating
          Region\"><img src=\"/pegasus/core/images/form_button_minus.gif\"
          onClick=\"\r\n\t\t\t\t\talert('The first row cannot be deleted');
          return false;\r\n\t\t\t\t\" id=\"delrow\" class=\"floatright\"
          border=\"0\" alt=\"Delete Repeating
          Region\"><\/td>\r\n<\/tr>\r\n<\/table>\r\n<table name=\"\" id=\"\"
          class=\"tableform_nest\" style=\"display:none; \">\r\n<tr>\r\n<td
          nowrap=\"nowrap\" colspan=\"6\" width=\"*\"><input value=\"\"
          type=\"hidden\" name=\"victims/victim/hiddenorg_id\"><input value=\"\"
          type=\"hidden\"
          name=\"victims/victim/hiddennom_id\"><\/td>\r\n<\/tr>\r\n<\/table>\r\n<span
          style=\"\" sectionClasses=\"\" id=\"DEPUNQID9\"><span style=\"\"
          sectionClasses=\"\" id=\"DEPUNQID10\">\r\n<table width=\"100%\"
          name=\"\" id=\"\" class=\"tableform\" style=\"\">\r\n<tr>\r\n<td
          nowrap=\"nowrap\" width=\"25%\" class=\"tableformheader\"><span
          class=\"tableformheader\">Person<\/span><img width=\"3\"
          src=\"/pegasus/core/images/block.gif\" height=\"1\" border=\"0\">
          <input value=\"P\" type=\"radio\"
          onclick=\"manipulateFields('DEPUNQID11', 'victims/victim/nomorgind',
          '=', 'P', 'hide', 'none', 'null',
          'null');manipulateFields('DEPUNQID12', 'victims/victim/nomorgind',
          '=', 'P', 'hide', 'none', 'null',
          'null');manipulateFields('DEPUNQID13', 'victims/victim/nomorgind',
          '=', 'O', 'hide', 'none', 'null',
          'null');manipulateFields('DEPUNQID14', 'victims/victim/nomorgind',
          '=', 'B', 'hide', 'none', 'null', 'null');\"
          name=\"victims/victim/nomorgind\" id=\"\" class=\"textbox\"> <\/td><td
          nowrap=\"nowrap\" width=\"25%\" class=\"tableformheader\"><span
          class=\"tableformheader\">Organization<\/span><img width=\"3\"
          src=\"/pegasus/core/images/block.gif\" height=\"1\" border=\"0\">
          <input value=\"O\" type=\"radio\"
          onclick=\"manipulateFields('DEPUNQID11', 'victims/victim/nomorgind',
          '=', 'P', 'hide', 'none', 'null',
          'null');manipulateFields('DEPUNQID12', 'victims/victim/nomorgind',
          '=', 'P', 'hide', 'none', 'null',
          'null');manipulateFields('DEPUNQID13', 'victims/victim/nomorgind',
          '=', 'O', 'hide', 'none', 'null',
          'null');manipulateFields('DEPUNQID14', 'victims/victim/nomorgind',
          '=', 'B', 'hide', 'none', 'null', 'null');\"
          name=\"victims/victim/nomorgind\" id=\"\" class=\"textbox\"> <\/td><td
          nowrap=\"nowrap\" colspan=\"4\" width=\"*\"
          class=\"tableformheader\"><span
          class=\"tableformheader\">Internal<\/span><img width=\"3\"
          src=\"/pegasus/core/images/block.gif\" height=\"1\" border=\"0\">
          <input value=\"B\" type=\"radio\"
          onclick=\"manipulateFields('DEPUNQID11', 'victims/victim/nomorgind',
          '=', 'P', 'hide', 'none', 'null',
          'null');manipulateFields('DEPUNQID12', 'victims/victim/nomorgind',
          '=', 'P', 'hide', 'none', 'null',
          'null');manipulateFields('DEPUNQID13', 'victims/victim/nomorgind',
          '=', 'O', 'hide', 'none', 'null',
          'null');manipulateFields('DEPUNQID14', 'victims/victim/nomorgind',
          '=', 'B', 'hide', 'none', 'null', 'null');\"
          name=\"victims/victim/nomorgind\" id=\"\" class=\"textbox\">
          <\/td>\r\n<\/tr>\r\n<tr>\r\n<td class=\"tableformheader\"
          width=\"25%\"><span class=\"tableformheader\">Victim as
          Witness?<\/span><\/td><td nowrap=\"nowrap\" colspan=\"5\"
          width=\"*\"><span style=\"display:none\" sectionClasses=\"\"
          id=\"DEPUNQID11\"> <input value=\"Y\" type=\"checkbox\" onclick=\"\"
          name=\"victims/victim/victimaswitness\" id=\"\"
          class=\"textbox\"><span class=\"tableformheader\">
          <\/span><\/span><\/td>\r\n<\/tr>\r\n<\/table>\r\n<\/span><\/span><span
          style=\"display:none\" sectionClasses=\"\"
          id=\"DEPUNQID12\">\r\n<table width=\"100%\" name=\"\" id=\"\"
          class=\"tableform\" style=\"display:none; \">\r\n<tr>\r\n<td
          nowrap=\"nowrap\" colspan=\"6\" width=\"*\"><input value=\"\"
          type=\"hidden\"
          name=\"victims/victim/repeatvictim\"><\/td>\r\n<\/tr>\r\n<\/table>\r\n<table
          width=\"100%\" name=\"\" id=\"\" class=\"tableform\"
          style=\"\">\r\n<input value=\"\" type=\"hidden\"
          name=\"victims/victim/nominal/nom_id\"
          class=\"textboxsearch\">\r\n<tr>\r\n<td width=\"25%\"><a
          name=\"victims/victim/nominal/nomlink\"><\/a><span
          class=\"tableformheader\">Person Type<\/span><\/td><td
          colspan=\"5\"><input value=\"\" type=\"hidden\" reserved=\"true\"
          readonly name=\"victims/victim/nominal/persontype_id\"
          class=\"textboxsearch\"><input value=\"\" type=\"text\"
          reserved=\"true\" readonly name=\"victims/victim/nominal/persontype\"
          class=\"textboxsearch\"><img width=\"3\"
          src=\"/pegasus/core/images/block.gif\" height=\"1\" border=\"0\"><a
          name=\"victims/victim/nominal/link\" href=\"#\"
          onClick=\"removedisabled();document.forms[1].target =
          '_self';document.forms[1].action =
          '/pegasus/manipulateForm#victims/victim/nominal/nomlink';document.forms[1].row.value
          =
          'victims/victim/nominal/entitylink';document.forms[1].formaction.value
          =
          'refresh';callLOV(\r\r\n\t\t\t\t\t\t'5125'\r\r\n\t\t\t\t\t,'victims/victim/nominal/persontype',
          'Y', '',
          'victims/victim/nominal/persontype_id');document.forms[1].submit();\"><img
          src=\"/pegasus/core/images/form_button_lov.gif\" border=\"0\"
          alt=\"Click to select from LOV\"
          align=\"absmiddle\"><\/a><\/td>\r\n<\/tr>\r\n<input value=\"\"
          type=\"hidden\" name=\"victims/victim/nominal/persontype\"><input
          value=\"\" type=\"hidden\"
          name=\"victims/victim/nominal/persontype_id\"><input value=\" \"
          type=\"hidden\"
          name=\"victims/victim/nominal/summary\">\r\n<tr>\r\n<td
          width=\"25%\"><a name=\"victims/victim/nominal/entitylink\"><span
          class=\"tableformheader\">Last Name<\/span><\/a><\/td><td
          width=\"25%\"><input value=\"\" type=\"text\"
          name=\"victims/victim/nominal/surname\"
          class=\"textboxsearch\"><\/td><td width=\"25%\"><span
          class=\"tableformheader\">First Name<\/span><\/td><td width=\"25%\"
          colspan=\"3\"><input value=\"\" type=\"text\"
          name=\"victims/victim/nominal/forenames\"
          class=\"textboxsearch\"><\/td>\r\n<\/tr>\r\n<tr>\r\n<td><span
          class=\"tableformheader\">Date of Birth<\/span><\/td><td
          style=\"border-right:0px\"><input value=\"\" type=\"hidden\"
          name=\"victims/victim/nominal/birth_date\"><input value=\"\"
          type=\"text\" size=\"10\" onblur=\"checkdate(this,
          previousSibling);inPast(this, previousSibling);\"
          class=\"textboxsearch\"
          name=\"victims/victim/nominal/displaydatebirth_date\"><a
          onclick=\"callCal(previousSibling, previousSibling.previousSibling,
          '', '', nextSibling, nextSibling.nextSibling);return false;\"
          name=\"anchor1\" id=\"anchor1\" href=\"#\"><img width=\"3\"
          src=\"/pegasus/core/images/block.gif\" height=\"1\" border=\"0\"><img
          src=\"/pegasus/core/images/cal.gif\" border=\"0\" alt=\"Click to
          select date\" align=\"absmiddle\"><img width=\"3\"
          src=\"/pegasus/core/images/block.gif\" height=\"1\"
          border=\"0\"><\/a><input value=\"\" type=\"hidden\"
          class=\"textboxinvisible\"
          name=\"victims/victim/nominal/birth_tz\"><input value=\"\"
          type=\"hidden\" readonly class=\"textboxinvisible\"
          name=\"victims/victim/nominal/birth_displaytz\"><\/td><td
          style=\"text-align:right;border-left:0px;\" colspan=\"4\"><input
          value=\"\" type=\"hidden\"
          name=\"victims/victim/nominal/userflag\"><input value=\"\"
          type=\"hidden\" name=\"victims/victim/nominal/leoflag\"><input
          value=\"\" type=\"hidden\"
          name=\"victims/victim/nominal/employeeflag\"><input value=\"\"
          type=\"hidden\" name=\"victims/victim/nominal/title\"><input
          value=\"\" type=\"hidden\"
          name=\"victims/victim/nominal/nomsuffix\"><input value=\"\"
          type=\"hidden\" name=\"victims/victim/nominal/nibnumber\"><input
          value=\"\" type=\"hidden\"
          name=\"victims/victim/nominal/ncisnumber\"><input value=\"\"
          type=\"hidden\" name=\"victims/victim/nominal/forcefolionumber\"><img
          style=\"cursor:hand\" src=\"/pegasus/core/images/detailbutton.gif\"
          onClick=\"entityDetails('', 'victims/victim/nominal/', 'nominal');\"
          alt=\"Edit Person Details\"><img width=\"3\"
          src=\"/pegasus/core/images/block.gif\" height=\"1\" border=\"0\"><img
          style=\"cursor:hand\" src=\"/pegasus/core/images/clearbutton.gif\"
          onClick=\"clearEntity('victims/victim/nominal/', 'nominal');\"
          alt=\"Clear Fields\"><img width=\"3\"
          src=\"/pegasus/core/images/block.gif\" height=\"1\" border=\"0\"><img
          style=\"cursor:hand\" src=\"/pegasus/core/images/searchbutton.gif\"
          onClick=\"searchEntity('victims/victim/nominal/', 'N', 'nominal');\"
          alt=\"Person Search\"><\/td>\r\n<\/tr>\r\n<\/table>\r\n<table
          name=\"\" id=\"\" class=\"tableform_nest\" style=\"\">\r\n<tr
          class=\"tableform_nest\">\r\n<td style=\"border:0px;\" colspan=\"6\"
          align=\"right\"><img src=\"/pegasus/core/images/form_button_add.gif\"
          onClick=\"\r\n\t\t\t\t\taddMultiRowBlock('victims/victim/communications/communication');\r\n\t\t\t\t\"
          id=\"addrow\" class=\"floatright\" border=\"0\" alt=\"Add Repeating
          Region\"><img src=\"/pegasus/core/images/form_button_minus.gif\"
          onClick=\"\r\n\t\t\t\t\talert('The first row cannot be deleted');
          return false;\r\n\t\t\t\t\" id=\"delrow\" class=\"floatright\"
          border=\"0\" alt=\"Delete Repeating
          Region\"><\/td>\r\n<\/tr>\r\n<tr>\r\n<td width=\"25%\"><a
          name=\"victims/victim/communications/communication/comm/entitylink\"><\/a><a
          name=\"victims/victim/communications/communication/comm/commlink\"><span
          class=\"tableformheader\">Communications Type<\/span><\/a><\/td><td
          colspan=\"5\"><input value=\"\" type=\"hidden\"
          name=\"victims/victim/communications/communication/comm/comm_id\"><input
          value=\"\" type=\"hidden\" reserved=\"true\"
          name=\"victims/victim/communications/communication/comm/communicationstypeid\"><input
          value=\"\" type=\"text\" reserved=\"true\" readonly
          name=\"victims/victim/communications/communication/comm/communicationstype\"
          id=\"159\" class=\"textboxsearch\"><img width=\"3\"
          src=\"/pegasus/core/images/block.gif\" height=\"1\" border=\"0\"><a
          name=\"victims/victim/communications/communication/comm/communicationstypelink\"
          href=\"#\" onClick=\"removedisabled();document.forms[1].target =
          '_self';document.forms[1].action =
          '/pegasus/manipulateForm#victims/victim/communications/communication/comm/commlink';document.forms[1].row.value
          =
          'victims/victim/communications/communication/comm/entitylink';document.forms[1].formaction.value
          = 'refresh';callLOV('159',
          'victims/victim/communications/communication/comm/communicationstype',
          'Y', '',
          'victims/victim/communications/communication/comm/communicationstypeid');document.forms[1].submit();\"><img
          src=\"/pegasus/core/images/form_button_lov.gif\" border=\"0\"
          alt=\"Click to select from LOV\"
          align=\"absmiddle\"><\/a><\/td>\r\n<\/tr>\r\n<tr>\r\n<td
          colspan=\"6\"><span
          id=\"comms_1\"><\/span><\/td>\r\n<\/tr>\r\n<\/table>\r\n<\/span><span
          style=\"display:none\" sectionClasses=\"\"
          id=\"DEPUNQID13\">\r\n<table width=\"100%\" name=\"\" id=\"\"
          class=\"tableform\" style=\"display:none; \">\r\n<tr>\r\n<td
          nowrap=\"nowrap\" colspan=\"6\" width=\"*\"><input value=\"\"
          type=\"hidden\"
          name=\"victims/victim/repeatvictim\"><\/td>\r\n<\/tr>\r\n<\/table>\r\n<table
          width=\"100%\" name=\"\" id=\"\" class=\"tableform\"
          style=\"\">\r\n<tr>\r\n<td width=\"25%\"><a
          name=\"victims/victim/organisation/entitylink\"><span
          class=\"tableformheader\">Organization Type<\/span><\/a><\/td><td
          style=\"border-right:0px\"><input value=\"\" type=\"hidden\"
          name=\"victims/victim/organisation/org_id\"><input value=\"\"
          type=\"hidden\" reserved=\"true\"
          name=\"victims/victim/organisation/orgtype_id\"><input value=\"\"
          type=\"text\" reserved=\"true\" readonly
          name=\"victims/victim/organisation/orgtype\"
          class=\"textboxsearch\"><img width=\"3\"
          src=\"/pegasus/core/images/block.gif\" height=\"1\" border=\"0\"><a
          style=\"cursor:hand\" onClick=\"callLOV('2112',
          'victims/victim/organisation/orgtype', 'Y', null,
          'victims/victim/organisation/orgtype_id');return false;\"
          href=\"#\"><img src=\"/pegasus/core/images/form_button_lov.gif\"
          border=\"0\" alt=\"Click to select from LOV\"
          align=\"absmiddle\"><\/a><\/td><td style=\"border-left: 0px none;
          text-align: right;\" colspan=\"4\"><img style=\"cursor:hand\"
          src=\"/pegasus/core/images/detailbutton.gif\"
          onClick=\"entityDetails(parentNode.previousSibling.firstChild.value,
          getPrefixFromName(parentNode.previousSibling.firstChild.name),
          'organisation');\" alt=\"Edit Organization Details\"><img width=\"3\"
          src=\"/pegasus/core/images/block.gif\" height=\"1\" border=\"0\"><img
          style=\"cursor:hand\" src=\"/pegasus/core/images/clearbutton.gif\"
          onClick=\"clearEntity(getPrefixFromName(parentNode.previousSibling.firstChild.name),
          'organisation');\" alt=\"Clear Fields\"><img width=\"3\"
          src=\"/pegasus/core/images/block.gif\" height=\"1\" border=\"0\"><img
          style=\"cursor:hand\" src=\"/pegasus/core/images/searchbutton.gif\"
          onClick=\"searchEntity(getPrefixFromName(parentNode.previousSibling.firstChild.name),
          'N', 'organisation');\" alt=\"Organization
          Search\"><\/td>\r\n<\/tr>\r\n<tr>\r\n<td width=\"25%\"><input
          value=\"\" type=\"hidden\"
          name=\"victims/victim/organisation/summary\"><span
          class=\"tableformheader\">Organization Name<\/span><\/td><td
          colspan=\"5\"><input value=\"\" type=\"text\" style=\"width:100%\"
          name=\"victims/victim/organisation/orgname\"
          class=\"textboxsearch\"><\/td>\r\n<\/tr>\r\n<\/table>\r\n<\/span><span
          style=\"display:none\" sectionClasses=\"\"
          id=\"DEPUNQID14\">\r\n<table width=\"100%\" name=\"\" id=\"\"
          class=\"tableform\" style=\"\">\r\n<tr>\r\n<script
          language=\"JavaScript\">\r\n\t\t\t\t\t\t\t
          \r\n\t\t\t\t\t\t\t\tfunction refreshOrg1(){\r\n\t\t\t\t\t\t\t\t
          \tmanipulateForm('victims/victim/organisation/entitylink',
          'victims/victim/organisation/entitylink',
          'refresh');\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t<\/script><td
          width=\"25%\"><a name=\"victims/victim/organisation/entitylink\"><span
          class=\"tableformheader\">On Site<\/span><\/a><\/td><td
          colspan=\"5\"><input value=\"\" type=\"text\" onfocus=\"\" onblur=\"\"
          name=\"victims/victim/organisation/orgname2\" id=\"5404\"
          class=\"textboxsearch\"
          onkeydown=\"callExtendedLOV(event,5404,previousSibling.name,nextSibling.name,'N','refreshOrg1',null,['victims/victim/organisation/orgtype','orgtype','victims/victim/organisation/typeid','typeid','victims/victim/organisation/typeid','typeid','victims/victim/organisation/orgname','orgname','victims/victim/organisation/org_id','rc_id'],null);return
          false;\" style=\"\"><a
          name=\"victims/victim/organisation/orgname2link\" href=\"#\"
          onClick=\"callExtendedLOV(5404,previousSibling.name,nextSibling.name,'N','refreshOrg1',null,['victims/victim/organisation/orgtype','orgtype','victims/victim/organisation/typeid','typeid','victims/victim/organisation/typeid','typeid','victims/victim/organisation/orgname','orgname','victims/victim/organisation/org_id','rc_id'],null);return
          false;\"><img width=\"3\" src=\"/pegasus/core/images/block.gif\"
          height=\"1\" border=\"0\"><img
          src=\"/pegasus/core/images/form_button_lov.gif\" border=\"0\"
          alt=\"Click to select from LOV\" align=\"absmiddle\"><\/a><input
          value=\"victims/victim/organisation/org_id\" type=\"hidden\"
          name=\"victims/victim/organisation/orgname2_id\"><input value=\"\"
          type=\"hidden\" name=\"victims/victim/organisation/orgtype\"><input
          value=\"\" type=\"hidden\"
          name=\"victims/victim/organisation/orgname\"><input value=\"\"
          type=\"hidden\" name=\"victims/victim/organisation/org_id\"><input
          value=\"\" type=\"hidden\"
          name=\"victims/victim/organisation/typeid\"><\/td>\r\n<\/tr>\r\n<\/table>\r\n<\/span>\r\n<\/div>\r\n<br>\r\n<br>\r\n<table
          class=\"tableform\">\r\n<tr>\r\n<td><span
          id=\"witnessdetailscollapsebtn\" class=\"floatright\"
          style=\"display:block;\"><a
          onclick=\"collapse('witnessdetails');return false;\"
          href=\"#\">collapse<\/a><img style=\"width: 17px; height: 17px;
          cursor:hand;\" src=\"/pegasus/core/images/nav_rootMinus_new.gif\"
          onclick=\"collapse('witnessdetails');return false;\"
          alt=\"Collapse\"><a href=\"#\" onClick=\"call_info('ccmi0325',
          'INCIDENT_WITNESSSECTION'); return false;\"><img
          src=\"/pegasus/core/images/form_button_info.gif\" border=\"0\"
          alt=\"Click for information\"><\/a><\/span><span
          id=\"witnessdetailsexpandbtn\" class=\"floatright\"
          style=\"display:none;\"><a onclick=\"expand('witnessdetails');return
          false;\" href=\"#\">expand<\/a><img style=\"width: 17px; height: 17px;
          cursor:hand;\" src=\"/pegasus/core/images/nav_rootPlus_new.gif\"
          onclick=\"expand('witnessdetails');return false;\" alt=\"Expand\"><a
          href=\"#\" onClick=\"call_info('ccmi0325', 'INCIDENT_WITNESSSECTION');
          return false;\"><img src=\"/pegasus/core/images/form_button_info.gif\"
          border=\"0\" alt=\"Click for information\"><\/a><\/span><span
          style=\"font-weight:bold\" class=\"tableformheader\">Witnesses
          (0)<\/span><\/td>\r\n<\/tr>\r\n<\/table>\r\n<input type=\"hidden\"
          name=\"witnessdetailsexpandCollapseState\" value=\"expand\">\r\n<div
          id=\"witnessdetails\" style=\"display:block;\">\r\n<table name=\"\"
          id=\"\" class=\"tableform_nest\" style=\"\">\r\n<tr
          class=\"tableform_nest\">\r\n<td style=\"border:0px;\" colspan=\"6\"
          align=\"right\"><img src=\"/pegasus/core/images/form_button_add.gif\"
          onClick=\"\r\n\t\t\t\t\taddMultiRowBlock('witnessblocks/witnessblock');\r\n\t\t\t\t\"
          id=\"addrow\" class=\"floatright\" border=\"0\" alt=\"Add Repeating
          Region\"><img src=\"/pegasus/core/images/form_button_minus.gif\"
          onClick=\"\r\n\t\t\t\t\talert('The first row cannot be deleted');
          return false;\r\n\t\t\t\t\" id=\"delrow\" class=\"floatright\"
          border=\"0\" alt=\"Delete Repeating
          Region\"><\/td>\r\n<\/tr>\r\n<\/table>\r\n<table name=\"\" id=\"\"
          class=\"tableform_nest\" style=\"\">\r\n<input value=\"\"
          type=\"hidden\" name=\"witnessblocks/witnessblock/nominal/nom_id\"
          class=\"textboxsearch\">\r\n<tr>\r\n<td width=\"25%\"><a
          name=\"witnessblocks/witnessblock/nominal/nomlink\"><\/a><span
          class=\"tableformheader\">Person Type<\/span><\/td><td
          colspan=\"5\"><input value=\"\" type=\"hidden\" reserved=\"true\"
          readonly name=\"witnessblocks/witnessblock/nominal/persontype_id\"
          class=\"textboxsearch\"><input value=\"\" type=\"text\"
          reserved=\"true\" readonly
          name=\"witnessblocks/witnessblock/nominal/persontype\"
          class=\"textboxsearch\"><img width=\"3\"
          src=\"/pegasus/core/images/block.gif\" height=\"1\" border=\"0\"><a
          name=\"witnessblocks/witnessblock/nominal/link\" href=\"#\"
          onClick=\"removedisabled();document.forms[1].target =
          '_self';document.forms[1].action =
          '/pegasus/manipulateForm#witnessblocks/witnessblock/nominal/nomlink';document.forms[1].row.value
          =
          'witnessblocks/witnessblock/nominal/entitylink';document.forms[1].formaction.value
          =
          'refresh';callLOV(\r\r\n\t\t\t\t\t\t'5125'\r\r\n\t\t\t\t\t,'witnessblocks/witnessblock/nominal/persontype',
          'Y', '',
          'witnessblocks/witnessblock/nominal/persontype_id');document.forms[1].submit();\"><img
          src=\"/pegasus/core/images/form_button_lov.gif\" border=\"0\"
          alt=\"Click to select from LOV\"
          align=\"absmiddle\"><\/a><\/td>\r\n<\/tr>\r\n<input value=\"\"
          type=\"hidden\"
          name=\"witnessblocks/witnessblock/nominal/persontype\"><input
          value=\"\" type=\"hidden\"
          name=\"witnessblocks/witnessblock/nominal/persontype_id\"><input
          value=\" \" type=\"hidden\"
          name=\"witnessblocks/witnessblock/nominal/summary\">\r\n<tr>\r\n<td
          width=\"25%\"><a
          name=\"witnessblocks/witnessblock/nominal/entitylink\"><span
          class=\"tableformheader\">Last Name<\/span><\/a><\/td><td
          width=\"25%\"><input value=\"\" type=\"text\"
          name=\"witnessblocks/witnessblock/nominal/surname\"
          class=\"textboxsearch\"><\/td><td width=\"25%\"><span
          class=\"tableformheader\">First Name<\/span><\/td><td width=\"25%\"
          colspan=\"3\"><input value=\"\" type=\"text\"
          name=\"witnessblocks/witnessblock/nominal/forenames\"
          class=\"textboxsearch\"><\/td>\r\n<\/tr>\r\n<tr>\r\n<td><span
          class=\"tableformheader\">Date of Birth<\/span><\/td><td
          style=\"border-right:0px\"><input value=\"\" type=\"hidden\"
          name=\"witnessblocks/witnessblock/nominal/birth_date\"><input
          value=\"\" type=\"text\" size=\"10\" onblur=\"checkdate(this,
          previousSibling);inPast(this, previousSibling);\"
          class=\"textboxsearch\"
          name=\"witnessblocks/witnessblock/nominal/displaydatebirth_date\"><a
          onclick=\"callCal(previousSibling, previousSibling.previousSibling,
          '', '', nextSibling, nextSibling.nextSibling);return false;\"
          name=\"anchor1\" id=\"anchor1\" href=\"#\"><img width=\"3\"
          src=\"/pegasus/core/images/block.gif\" height=\"1\" border=\"0\"><img
          src=\"/pegasus/core/images/cal.gif\" border=\"0\" alt=\"Click to
          select date\" align=\"absmiddle\"><img width=\"3\"
          src=\"/pegasus/core/images/block.gif\" height=\"1\"
          border=\"0\"><\/a><input value=\"\" type=\"hidden\"
          class=\"textboxinvisible\"
          name=\"witnessblocks/witnessblock/nominal/birth_tz\"><input value=\"\"
          type=\"hidden\" readonly class=\"textboxinvisible\"
          name=\"witnessblocks/witnessblock/nominal/birth_displaytz\"><\/td><td
          style=\"text-align:right;border-left:0px;\" colspan=\"4\"><input
          value=\"\" type=\"hidden\"
          name=\"witnessblocks/witnessblock/nominal/userflag\"><input value=\"\"
          type=\"hidden\"
          name=\"witnessblocks/witnessblock/nominal/leoflag\"><input value=\"\"
          type=\"hidden\"
          name=\"witnessblocks/witnessblock/nominal/employeeflag\"><input
          value=\"\" type=\"hidden\"
          name=\"witnessblocks/witnessblock/nominal/title\"><input v<br/><br/>(Message over 64 KB, truncated)
        • geoffreyk00
          ... double ... then ... Are you using eval like this? eval( ( + theResponse + ) ); the ( and ) are important. I recently was bit by not having these
          Message 4 of 9 , Jul 3 8:15 AM
          • 0 Attachment
            --- In json@yahoogroups.com, "chris_nappin" <chris_nappin@...> wrote:
            >
            > I've managed to determine that there are no new lines, form feeds or
            > carriage return characters in the JSON text, nor any un-escaped
            double
            > quotes. However I've still not been able to resolve the problem. Does
            > anyone know if any further characters need to be escaped, such as : [
            > ] { } ' ?
            >
            > I'd be very grateful if anyone can help - if I can't resolve this
            then
            > we'll have to ditch using JSON which would be a shame.
            >
            > The complete JSON text is as follows (all one line):

            Are you using eval like this?
            eval('(' + theResponse + ')');
            the '(' and ')' are important. I recently was bit by not having these
            inside the eval statement

            FWIW, I was able to eval the string you provided by using this
            technique. I could use innerHTML to place the html into a page.

            Do you have a url that we could look at for more investigation?
            If it would be helpful, I could post my extremely quick and dirty
            tests for you too look at
          • Henrik Hjelte
            ... The spec says: char any-Unicode-except- -or- -or-control / b f n r t u four-hex-digits The first line is most important, and it says you
            Message 5 of 9 , Jul 3 8:27 AM
            • 0 Attachment
              On Mon, 2006-07-03 at 12:41 +0000, chris_nappin wrote:
              > I've managed to determine that there are no new lines, form feeds or
              > carriage return characters in the JSON text, nor any un-escaped double
              > quotes. However I've still not been able to resolve the problem. Does
              > anyone know if any further characters need to be escaped, such as : [
              > ] { } ' ?
              The spec says:
              char
              any-Unicode-except-"-or-\-or-control
              \"
              \\
              \/
              \b
              \f
              \n
              \r
              \t
              \u four-hex-digits

              The first line is most important, and it says you should be able to use
              any character that is not a control-character (below ascii 32 decimal),
              except double-quote or backslash.
              Note that there are thirty other control characters except newlines and
              carriage return. You may have tabs for example. You can always use the
              backslash-u-hex if you are unsure about a character. You don't HAVE to
              use the \n and similar short versions, you can use the hex notation as
              an alternative.

              It might be useful to try your example with different JSON parsers,
              there is a JSON_checker in c which might be useful.

              /Henrik Hjelte


              >
              > I'd be very grateful if anyone can help - if I can't resolve this then
              > we'll have to ditch using JSON which would be a shame.
              >
              > The complete JSON text is as follows (all one line):
              >
              > {"html":"<form name=\"form325\" method=\"post\" action=\"\"
              > target=\"_parent\">\r\n<input value=\"\" type=\"hidden\"
              > name=\"formaction\"><input value=\"\" type=\"hidden\"
              > name=\"row\"><input value=\"Y\" type=\"hidden\"
              > name=\"newsave\"><input value=\"\" type=\"hidden\"
              > name=\"type\"><input value=\"2006/06/30 08:54:55\" type=\"hidden\"
              > name=\"created_date\"><input value=\"Europe/London\" type=\"hidden\"
              > name=\"created_tz\"><input value=\"CHRISN\" type=\"hidden\"
              > name=\"createdby\"><input value=\"CHRISN\" type=\"hidden\"
              > name=\"created_by\"><input value=\"\" type=\"hidden\"
              > name=\"createdby_id\"><input value=\"135411\" type=\"hidden\"
              > name=\"doc_id\"><input value=\"\" type=\"hidden\" name=\"gpms\"
              > class=\"textboxgpmsmand\"><input value=\"\" type=\"hidden\"
              > name=\"gpms_id\"><input value=\"\" type=\"hidden\"
              > name=\"descriptor\"><input value=\"\" type=\"hidden\"
              > name=\"prefix\"><input value=\"\" type=\"hidden\"
              > name=\"suffix\"><input value=\"0\" type=\"hidden\"
              > name=\"actionable\"><input value=\"0\" type=\"hidden\"
              > name=\"state\"><input value=\"325\" type=\"hidden\"
              > name=\"formref\"><input value=\"1\" type=\"hidden\"
              > name=\"app_type\"><input value=\"INCIDENT - Number: , Class: ,
              > Category: , Type: , Occurred Date From: , Occurred Date To: ,
              > Reported By: , Status: New Record\" type=\"hidden\"
              > name=\"summary\"><input value=\"\" type=\"hidden\"
              > name=\"triggervalidation\"><input value=\"false\" type=\"hidden\"
              > name=\"viewonlymode\"><input value=\"1\" type=\"hidden\"
              > name=\"maxpriority\"><input value=\"CHRIS\" type=\"hidden\"
              > name=\"user_forename\"><input value=\"NAPPIN\" type=\"hidden\"
              > name=\"user_surname\"><input value=\"11986\" type=\"hidden\"
              > name=\"user_parentid\"><input value=\"\" type=\"hidden\"
              > name=\"general/reasonforreopen\"><input value=\"\" type=\"hidden\"
              > name=\"general/reasonforentryerror\"><input value=\"false\"
              > type=\"hidden\" name=\"popupConfirmed\">\r\n<table width=\"100%\"
              > name=\"\" id=\"\" class=\"tableform\" style=\"display:none;
              > \">\r\n<tr>\r\n<td nowrap=\"nowrap\" width=\"25%\"><input
              > value=\"Assault\" type=\"hidden\"
              > name=\"general/matrixtypes/matrixtype/matrixtypedesc\"><\/td><td
              > nowrap=\"nowrap\" colspan=\"5\" width=\"*\"><input value=\"1\"
              > type=\"hidden\"
              > name=\"general/matrixtypes/matrixtype/matrixtypedesc_id\"><\/td>\r\n<
              > \/tr>\r\n<\/table>\r\n<table
              > class=\"tableform\">\r\n<tr>\r\n<td><span
              > id=\"generaldetailscollapsebtn\" class=\"floatright\"
              > style=\"display:block;\"><a
              > onclick=\"collapse('generaldetails');return false;\"
              > href=\"#\">collapse<\/a><img style=\"width: 17px; height: 17px;
              > cursor:hand;\" src=\"/pegasus/core/images/nav_rootMinus_new.gif\"
              > onclick=\"collapse('generaldetails');return false;\"
              > alt=\"Collapse\"><a href=\"#\" onClick=\"call_info('ccmi0325',
              > 'INCIDENT_GENERALSECTION'); return false;\"><img
              > src=\"/pegasus/core/images/form_button_info.gif\" border=\"0\"
              > alt=\"Click for information\"><\/a><\/span><span
              > id=\"generaldetailsexpandbtn\" class=\"floatright\"
              > style=\"display:none;\"><a onclick=\"expand('generaldetails');return
              > false;\" href=\"#\">expand<\/a><img style=\"width: 17px; height: 17px;
              > cursor:hand;\" src=\"/pegasus/core/images/nav_rootPlus_new.gif\"
              > onclick=\"expand('generaldetails');return false;\" alt=\"Expand\"><a
              > href=\"#\" onClick=\"call_info('ccmi0325', 'INCIDENT_GENERALSECTION');
              > return false;\"><img src=\"/pegasus/core/images/form_button_info.gif\"
              > border=\"0\" alt=\"Click for information\"><\/a><\/span><span
              > style=\"font-weight:bold\" class=\"tableformheader\">General Incident
              > Details<\/span><\/td>\r\n<\/tr>\r\n<\/table>\r\n<input type=\"hidden\"
              > name=\"generaldetailsexpandCollapseState\" value=\"expand\">\r\n<div
              > id=\"generaldetails\" style=\"display:block;\">\r\n<table
              > width=\"100%\" name=\"\" id=\"\" class=\"tableform\"
              > style=\"\">\r\n<tr>\r\n<td class=\"tableformheader\"
              > width=\"25%\"><span class=\"tableformheader\">Incident
              > Number<\/span><\/td><td nowrap=\"nowrap\" width=\"25%\"><input
              > value=\"\" type=\"hidden\" name=\"sensitiveautoflag\"><textarea
              > style=\"height:10px;overflow:visible\" rows=\"1\" readonly=\"true\"
              > name=\"general/incidentrefno\"
              > class=\"textboxinvisible\">5172<\/textarea><\/td><td
              > class=\"tableformheader\" width=\"25%\"><span
              > class=\"tableformheader\">Sensitive?<\/span><\/td><td
              > nowrap=\"nowrap\" colspan=\"3\" width=\"*\"><span style=\"\"
              > sectionClasses=\"textbox, \" id=\"DEPUNQID0\"> <input value=\"Y\"
              > type=\"checkbox\" onclick=\"\" name=\"general/sensitiveflag\"
              > id=\"sensitiveflag\" class=\"textbox\"><span
              > class=\"tableformheader\">
              > <\/span><\/span><\/td>\r\n<\/tr>\r\n<tr>\r\n<td
              > class=\"tableformheader\" width=\"25%\"><span
              > class=\"tableformheader\">Incident Originator<\/span><\/td><td
              > nowrap=\"nowrap\" colspan=\"5\" width=\"*\"><input value=\"11986\"
              > type=\"hidden\" name=\"general/incidentoriginator_id\"><textarea
              > style=\"height:10px;overflow:visible\" rows=\"1\" readonly=\"true\"
              > name=\"general/incidentoriginator\" class=\"textboxinvisible\">CHRIS
              > NAPPIN<\/textarea><\/td>\r\n<\/tr>\r\n<tr>\r\n<td
              > class=\"tableformheader\" width=\"25%\"><span
              > class=\"tableformheader\">Incident Type(s)<\/span><\/td><td
              > nowrap=\"nowrap\" colspan=\"5\" width=\"*\"><textarea
              > style=\"height:10px;overflow:visible\" rows=\"1\" readonly=\"true\"
              > name=\"inctypeconcat\"
              > class=\"textboxinvisible\">Assault<\/textarea><\/td>\r\n<\/tr>\r
              > \n<tr>\r\n<td
              > class=\"tableformheader\" width=\"25%\"><span
              > class=\"tableformheader\">Query As Type(s)<\/span><\/td><td
              > nowrap=\"nowrap\" colspan=\"5\" width=\"*\"><textarea
              > style=\"height:10px;overflow:visible\" rows=\"1\" readonly=\"true\"
              > name=\"incqaconcat\"
              > class=\"textboxinvisible\"><\/textarea><\/td>\r\n<\/tr>\r\n<tr>\r\n<td
              > class=\"tableformheader\" width=\"25%\"><span
              > class=\"tableformheader\">Incident Category<\/span><\/td><td
              > nowrap=\"nowrap\" width=\"25%\"><textarea
              > style=\"height:10px;overflow:visible\" rows=\"1\" readonly=\"true\"
              > name=\"general/incidentcategory\"
              > class=\"textboxinvisible\">Safeness<\/textarea><\/td><td
              > class=\"tableformheader\" width=\"25%\"><span
              > class=\"tableformheader\">Incident Class<\/span><\/td><td
              > nowrap=\"nowrap\" colspan=\"3\" width=\"*\"><textarea
              > style=\"height:10px;overflow:visible\" rows=\"1\" readonly=\"true\"
              > name=\"general/class\"
              > class=\"textboxinvisible\">Unknown<\/textarea><\/td>\r\n<\/tr>\r
              > \n<tr>\r\n<td
              > class=\"tableformheader\" width=\"25%\"><span
              > class=\"tableformheader\">Incident Owner<\/span><\/td><td
              > nowrap=\"nowrap\" colspan=\"5\" width=\"*\"><input value=\"11986\"
              > type=\"hidden\"
              > name=\"general/incidentowners/incidentowner/owner_id\"><input
              > value=\"2006/06/30 08:54:55\" type=\"hidden\"
              > name=\"general/incidentowners/incidentowner/from_date\"><input
              > value=\"Europe/London\" type=\"hidden\"
              > name=\"general/incidentowners/incidentowner/from_tz\"><input
              > value=\"\" type=\"hidden\"
              > name=\"general/incidentowners/incidentowner/to_date\"><input
              > value=\"\" type=\"hidden\"
              > name=\"general/incidentowners/incidentowner/to_tz\"><textarea
              > style=\"height:10px;overflow:visible\" rows=\"1\" readonly=\"true\"
              > name=\"general/incidentowners/incidentowner/owner\"
              > class=\"textboxinvisible\">CHRIS
              > NAPPIN<\/textarea><\/td>\r\n<\/tr>\r\n<tr>\r\n<td
              > class=\"tableformheader\" width=\"25%\"><span
              > class=\"tableformheader\">When did the Incident
              > start?<\/span><\/td><td nowrap=\"nowrap\" colspan=\"5\"
              > width=\"*\"><span style=\"\"><input value=\"\" type=\"hidden\"
              > name=\"general/occurrencetime1_date\"><input type=\"text\" size=\"10\"
              > class=\"textbox\" name=\"general/displaydateoccurrencetime1_date\"
              > value=\"\" onBlur=\"checkdatetime(this, nextSibling.nextSibling,
              > previousSibling, null,
              > nextSibling.nextSibling.nextSibling.nextSibling,
              > nextSibling.nextSibling.nextSibling.nextSibling.nextSibling);\"><img
              > width=\"3\" src=\"/pegasus/core/images/block.gif\" height=\"1\"
              > border=\"0\"><input type=\"text\" size=\"5\" class=\"textbox\"
              > name=\"general/displaytimeoccurrencetime1_date\" value=\"\"
              > onBlur=\"checkdatetime(previousSibling.previousSibling, this,
              > previousSibling.previousSibling.previousSibling, null,
              > nextSibling.nextSibling, nextSibling.nextSibling.nextSibling);\"><a
              > name=\"anchor1\" id=\"anchor1\" href=\"#\"
              > onClick=
              > \"callCalClock(previousSibling.previousSibling.previousSibling,
              > previousSibling,
              > previousSibling.previousSibling.previousSibling.previousSibling, true,
              > '', nextSibling, nextSibling.nextSibling);return false;\"><img
              > width=\"3\" src=\"/pegasus/core/images/block.gif\" height=\"1\"
              > border=\"0\"><img width=\"16\" src=\"/pegasus/core/images/cal.gif\"
              > height=\"16\" border=\"0\" alt=\"Click to select date\"
              > align=\"absmiddle\"><img width=\"3\"
              > src=\"/pegasus/core/images/block.gif\" height=\"1\"
              > border=\"0\"><\/a><input value=\"\" type=\"hidden\"
              > class=\"textboxinvisible\" name=\"general/occurrencetime1_tz\"><input
              > value=\"\" size=\"12\" readonly class=\"textboxinvisiblesmall\"
              > name=\"general/occurrencetime1_displaytz\"
              > type=\"text\"><\/span><\/td>\r\n<\/tr>\r\n<tr>\r\n<td
              > class=\"tableformheader\" width=\"25%\"><span
              > class=\"tableformheader\">When did the Incident end?<\/span><\/td><td
              > nowrap=\"nowrap\" colspan=\"5\" width=\"*\"><span style=\"\"><input
              > value=\"\" type=\"hidden\"
              > name=\"general/occurrencetime2_date\"><input type=\"text\" size=\"10\"
              > class=\"textbox\" name=\"general/displaydateoccurrencetime2_date\"
              > value=\"\" onBlur=\"checkdatetime(this, nextSibling.nextSibling,
              > previousSibling, null,
              > nextSibling.nextSibling.nextSibling.nextSibling,
              > nextSibling.nextSibling.nextSibling.nextSibling.nextSibling);dateafter(document.all.item('general/occurrencetime1_date'),
              > this, previousSibling);\"><img width=\"3\"
              > src=\"/pegasus/core/images/block.gif\" height=\"1\"
              > border=\"0\"><input type=\"text\" size=\"5\" class=\"textbox\"
              > name=\"general/displaytimeoccurrencetime2_date\" value=\"\"
              > onBlur=\"checkdatetime(previousSibling.previousSibling, this,
              > previousSibling.previousSibling.previousSibling, null,
              > nextSibling.nextSibling,
              > nextSibling.nextSibling.nextSibling);dateafter(document.all.item('general/occurrencetime1_date'),
              > this, previousSibling.previousSibling.previousSibling);\"><a
              > name=\"anchor1\" id=\"anchor1\" href=\"#\"
              > onClick=
              > \"callCalClock(previousSibling.previousSibling.previousSibling,
              > previousSibling,
              > previousSibling.previousSibling.previousSibling.previousSibling, true,
              > '', nextSibling, nextSibling.nextSibling);return false;\"><img
              > width=\"3\" src=\"/pegasus/core/images/block.gif\" height=\"1\"
              > border=\"0\"><img width=\"16\" src=\"/pegasus/core/images/cal.gif\"
              > height=\"16\" border=\"0\" alt=\"Click to select date\"
              > align=\"absmiddle\"><img width=\"3\"
              > src=\"/pegasus/core/images/block.gif\" height=\"1\"
              > border=\"0\"><\/a><input value=\"\" type=\"hidden\"
              > class=\"textboxinvisible\" name=\"general/occurrencetime2_tz\"><input
              > value=\"\" size=\"12\" readonly class=\"textboxinvisiblesmall\"
              > name=\"general/occurrencetime2_displaytz\"
              > type=\"text\"><\/span><\/td>\r\n<\/tr>\r\n<tr>\r\n<td
              > class=\"tableformheader\" width=\"25%\"><span
              > class=\"tableformheader\">Describe what happened<\/span><\/td><td
              > nowrap=\"nowrap\" colspan=\"5\" width=\"*\"><textarea onblur=\"\"
              > onDblClick=\"openeditor(this)\" name=\"general/description\"
              > maxlength=\"\"
              > class=\"textbox\"><\/textarea><\/td>\r\n<\/tr>\r\n<\/table>\r\n<table
              > width=\"100%\" class=\"tableform\">\r\n<tr>\r\n<td><span
              > class=\"tableformheader\">Participants Involved in the
              > Incident<\/span><\/td>\r\n<\/tr>\r\n<\/table>\r\n<table name=\"\"
              > id=\"\" class=\"tableform_nest\" style=\"\">\r\n<tr
              > class=\"tableform_nest\">\r\n<td style=\"border:0px;\" colspan=\"6\"
              > align=\"right\"><img src=\"/pegasus/core/images/form_button_add.gif\"
              > onClick=\"\r\n\t\t\t\t
              > \taddMultiRowBlock('general/participants/participant');\r\n\t\t\t\t\"
              > id=\"addrow\" class=\"floatright\" border=\"0\" alt=\"Add Repeating
              > Region\"><img src=\"/pegasus/core/images/form_button_minus.gif\"
              > onClick=\"\r\n\t\t\t\t\talert('You cannot delete this row, as it is
              > locked.'); return false;\r\n\t\t\t\t\" id=\"delrow\"
              > class=\"floatright\" border=\"0\" alt=\"Delete Repeating
              > Region\"><\/td>\r\n<\/tr>\r\n<\/table>\r\n<table name=\"\" id=\"\"
              > class=\"tableform_nest\" style=\"\">\r\n<tr>\r\n<td
              > class=\"tableformheader\"><span onmouseover=\"\" onclick=\"\"
              > style=\"\">1.<br>\r\n<\/span><\/td><td nowrap=\"nowrap\"
              > width=\"90%\"><input value=\"CHRIS NAPPIN\" type=\"hidden\"
              > name=\"general/participants/participant/nomdescription\"><input
              > value=\"68356\" type=\"hidden\"
              > name=\"general/participants/participant/nom_id\"><input
              > value=\"Originator\" type=\"hidden\"
              > name=
              > \"general/participants/participant/involvementtypes/involvementtype/type\"><input
              > value=\"6\" type=\"hidden\"
              > name=
              > \"general/participants/participant/involvementtypes/involvementtype/type_id\"><textarea
              > style=\"height:10px;overflow:visible\" rows=\"1\" readonly=\"true\"
              > name=\"general/participants/participant/nomdescriptionconcat\"
              > class=\"textboxinvisible\">CHRIS
              > NAPPIN,Originator<\/textarea><\/td><td class=\"tableformheader\"
              > width=\"5%\"><span class=\"tableformheader\"
              > onMouseOver=\"ddrivetip('Injured');\"
              > onMouseOut=\"hideddrivetip();\">I<\/span><\/td><td nowrap=\"nowrap\"
              > width=\"5%\"> <input value=\"Y\" type=\"checkbox\" onclick=\"\"
              > name=\"general/participants/participant/injured\" id=\"injured\"
              > class=\"textbox\"><span class=\"tableformheader\"> <\/span><\/td><td
              > class=\"tableformheader\" width=\"5%\"><span class=\"tableformheader\"
              > onMouseOver=\"ddrivetip('Medical Attention Required');\"
              > onMouseOut=\"hideddrivetip();\">M<\/span><\/td><td nowrap=\"nowrap\"
              > colspan=\"1\" width=\"5%\"> <input value=\"Y\" type=\"checkbox\"
              > onclick=\"\"
              > name=\"general/participants/participant/medicalattention\"
              > id=\"medical\" class=\"textbox\"><span class=\"tableformheader\">
              > <\/span><\/td>\r\n<\/tr>\r\n<\/table>\r\n<table width=\"100%\"
              > class=\"tableform\">\r\n<tr>\r\n<td><span
              > class=\"tableformheader\">Investigative Activities and Techniques
              > used<\/span><\/td>\r\n<\/tr>\r\n<\/table>\r\n<table name=\"\" id=\"\"
              > class=\"tableform_nest\" style=\"\">\r\n<tr
              > class=\"tableform_nest\">\r\n<td style=\"border:0px;\" colspan=\"6\"
              > align=\"right\"><img src=\"/pegasus/core/images/form_button_add.gif\"
              > onClick=\"\r\n\t\t\t\t
              > \taddMultiRowBlock('general/activitiestechniques/activitiestechnique');\r\n\t\t\t\t\"
              > id=\"addrow\" class=\"floatright\" border=\"0\" alt=\"Add Repeating
              > Region\"><img src=\"/pegasus/core/images/form_button_minus.gif\"
              > onClick=\"\r\n\t\t\t\t\talert('The first row cannot be deleted');
              > return false;\r\n\t\t\t\t\" id=\"delrow\" class=\"floatright\"
              > border=\"0\" alt=\"Delete Repeating
              > Region\"><\/td>\r\n<\/tr>\r\n<tr>\r\n<script
              > language=\"JavaScript\">\r\n\t\t\t\t\t\t\t\t\tfunction
              > confirmactivitiestechnique1(){\r\n\t\t\t\t\t\t\t\t\t\t\t
              > \ttestunique('activitiestechniques/activitiestechnique:typeemployed',
              > 'general/activitiestechniques/activitiestechnique/typeemployed');\r\n
              > \t\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t<\/script><td
              > nowrap=\"nowrap\" colspan=\"6\" width=\"*\"><input value=\"\"
              > type=\"text\" onkeydown=\"return callAutoLOV(event, '5118',
              > 'general/activitiestechniques/activitiestechnique/typeemployed','Y','confirmactivitiestechnique1','general/activitiestechniques/activitiestechnique/typeemployed_id','');\"
              > name=\"general/activitiestechniques/activitiestechnique/typeemployed\"
              > class=\"textbox\" style=\"\r\r\n\t\t\twidth:90%;\r\r\n\t\t\"><a
              > onClick=\"callLOV('5118',
              > 'general/activitiestechniques/activitiestechnique/typeemployed','Y','confirmactivitiestechnique1','general/activitiestechniques/activitiestechnique/typeemployed_id','');return
              > false;\"
              > name=
              > \"general/activitiestechniques/activitiestechnique/typeemployedlink\"
              > href=\"#\"><img width=\"3\" src=\"/pegasus/core/images/block.gif\"
              > height=\"1\" border=\"0\"><img
              > src=\"/pegasus/core/images/form_button_lov.gif\" border=\"0\"
              > alt=\"Click to select from LOV\" align=\"absmiddle\"><\/a><input
              > value=\"\" type=\"hidden\"
              > name=
              > \"general/activitiestechniques/activitiestechnique/typeemployed_id\"><
              > \/td>\r\n<\/tr>\r\n<\/table>\r\n<table
              > width=\"100%\" name=\"\" id=\"\" class=\"tableform\"
              > style=\"\">\r\n<tr>\r\n<td class=\"tableformheader\"
              > width=\"25%\"><span class=\"tableformheader\">Is there Video of
              > Location Available?<\/span><\/td><td nowrap=\"nowrap\" width=\"25%\">
              > <input value=\"Y\" type=\"checkbox\" onclick=\"\"
              > name=\"general/videoavailable\" id=\"videoavailable\"
              > class=\"textbox\"><span class=\"tableformheader\"> <\/span><\/td><td
              > class=\"tableformheader\" width=\"25%\"><span
              > class=\"tableformheader\">Has the Video Been
              > Retained?<\/span><\/td><td nowrap=\"nowrap\" colspan=\"3\"
              > width=\"*\"> <input value=\"Y\" type=\"checkbox\" onclick=\"\"
              > name=\"general/videoretained\" id=\"videoretained\"
              > class=\"textbox\"><span class=\"tableformheader\">
              > <\/span><\/td>\r\n<\/tr>\r\n<tr>\r\n<td class=\"tableformheader\"
              > width=\"25%\"><span class=\"tableformheader\">Describe the content of
              > the Video<\/span><\/td><td nowrap=\"nowrap\" colspan=\"5\"
              > width=\"*\"><textarea onblur=\"\" onDblClick=\"openeditor(this)\"
              > name=\"general/videocontent\" maxlength=\"\"
              > class=\"textbox\"><\/textarea><\/td>\r\n<\/tr>\r\n<\/table>\r\n<
              > \/div>\r\n<br>\r\n<br>\r\n<table
              > class=\"tableform\">\r\n<tr>\r\n<td><span
              > id=\"subjectdetailscollapsebtn\" class=\"floatright\"
              > style=\"display:block;\"><a
              > onclick=\"collapse('subjectdetails');return false;\"
              > href=\"#\">collapse<\/a><img style=\"width: 17px; height: 17px;
              > cursor:hand;\" src=\"/pegasus/core/images/nav_rootMinus_new.gif\"
              > onclick=\"collapse('subjectdetails');return false;\"
              > alt=\"Collapse\"><a href=\"#\" onClick=\"call_info('ccmi0325',
              > 'INCIDENT_SUBJECTSECTION'); return false;\"><img
              > src=\"/pegasus/core/images/form_button_info.gif\" border=\"0\"
              > alt=\"Click for information\"><\/a><\/span><span
              > id=\"subjectdetailsexpandbtn\" class=\"floatright\"
              > style=\"display:none;\"><a onclick=\"expand('subjectdetails');return
              > false;\" href=\"#\">expand<\/a><img style=\"width: 17px; height: 17px;
              > cursor:hand;\" src=\"/pegasus/core/images/nav_rootPlus_new.gif\"
              > onclick=\"expand('subjectdetails');return false;\" alt=\"Expand\"><a
              > href=\"#\" onClick=\"call_info('ccmi0325', 'INCIDENT_SUBJECTSECTION');
              > return false;\"><img src=\"/pegasus/core/images/form_button_info.gif\"
              > border=\"0\" alt=\"Click for information\"><\/a><\/span><span
              > style=\"font-weight:bold\" class=\"tableformheader\">Subjects
              > (0)<\/span><\/td>\r\n<\/tr>\r\n<\/table>\r\n<input type=\"hidden\"
              > name=\"subjectdetailsexpandCollapseState\" value=\"expand\">\r\n<div
              > id=\"subjectdetails\" style=\"display:block;\">\r\n<table name=\"\"
              > id=\"\" class=\"tableform_nest\" style=\"\">\r\n<tr
              > class=\"tableform_nest\">\r\n<td style=\"border:0px;\" colspan=\"6\"
              > align=\"right\"><img src=\"/pegasus/core/images/form_button_add.gif\"
              > onClick=\"\r\n\t\t\t\t\taddMultiRowBlock('subjects/subject[1]');\r\n\t
              > \t\t\t\"
              > id=\"addrow\" class=\"floatright\" border=\"0\" alt=\"Add Repeating
              > Region\"><img src=\"/pegasus/core/images/form_button_minus.gif\"
              > onClick=\"\r\n\t\t\t\t\t\t\tif (confirm('Are you sure you wish to
              > delete this multirow block?\\n\\nPlease ensure you update any freetext
              > that may reference this item.')) {
              > deleteMultiRowBlock('subjects/subject[1]'); } else { return false;
              > }\r\n\t\t\t\t\t\t\" id=\"delrow\" class=\"floatright\" border=\"0\"
              > alt=\"Delete Repeating Region\"><\/td>\r\n<\/tr>\r\n<\/table>\r\n<span
              > style=\"\" sectionClasses=\"\" id=\"DEPUNQID1\"><span style=\"\"
              > sectionClasses=\"\" id=\"DEPUNQID2\">\r\n<table width=\"100%\"
              > name=\"\" id=\"\" class=\"tableform\" style=\"\">\r\n<tr>\r\n<td
              > nowrap=\"nowrap\" width=\"25%\" class=\"tableformheader\"><span
              > class=\"tableformheader\">Person<\/span><img width=\"3\"
              > src=\"/pegasus/core/images/block.gif\" height=\"1\" border=\"0\">
              > <input value=\"P\" type=\"radio\"
              > onclick=\"manipulateFields('DEPUNQID3',
              > 'subjects/subject[1]/nomorgind', '=', 'P', 'hide', 'none', 'null',
              > 'null');manipulateFields('DEPUNQID4', 'subjects/subject[1]/nomorgind',
              > '=', 'O', 'hide', 'none', 'null', 'null');\"
              > name=\"subjects/subject[1]/nomorgind\" id=\"\" class=\"textbox\">
              > <\/td><td nowrap=\"nowrap\" colspan=\"5\" width=\"*\"
              > class=\"tableformheader\"><span
              > class=\"tableformheader\">Organization<\/span><img width=\"3\"
              > src=\"/pegasus/core/images/block.gif\" height=\"1\" border=\"0\">
              > <input value=\"O\" type=\"radio\"
              > onclick=\"manipulateFields('DEPUNQID3',
              > 'subjects/subject[1]/nomorgind', '=', 'P', 'hide', 'none', 'null',
              > 'null');manipulateFields('DEPUNQID4', 'subjects/subject[1]/nomorgind',
              > '=', 'O', 'hide', 'none', 'null', 'null');\"
              > name=\"subjects/subject[1]/nomorgind\" id=\"\" class=\"textbox\">
              > <\/td>\r\n<\/tr>\r\n<\/table>\r\n<\/span><\/span><span
              > style=\"display:none\" sectionClasses=\"\" id=\"DEPUNQID3\">\r\n<table
              > width=\"100%\" name=\"\" id=\"\" class=\"tableform\"
              > style=\"display:none; \">\r\n<tr>\r\n<td nowrap=\"nowrap\"
              > colspan=\"6\" width=\"*\"><input value=\"\" type=\"hidden\"
              > name=\"subjects/subject[1]/hiddennom_id\"><input value=\"\"
              > type=\"hidden\" name=\"subjects/subject[1]/repeatsubject\"><input
              > value=\"\" type=\"hidden\"
              > name=\"subjects/subject[1]/apprehended\"><input value=\"\"
              > type=\"hidden\"
              > name=\"subjects/subject[1]/exemployeenotification\"><\/td>\r\n<\/tr>\r
              > \n<\/table>\r\n<table
              > width=\"100%\" name=\"\" id=\"\" class=\"tableform\"
              > style=\"\">\r\n<input value=\"\" type=\"hidden\"
              > name=\"subjects/subject[1]/nominal/nom_id\"
              > class=\"textboxsearch\">\r\n<tr>\r\n<td width=\"25%\"><a
              > name=\"subjects/subject[1]/nominal/nomlink\"><\/a><span
              > class=\"tableformheader\">Person Type<\/span><\/td><td
              > colspan=\"5\"><input value=\"\" type=\"hidden\" reserved=\"true\"
              > readonly name=\"subjects/subject[1]/nominal/persontype_id\"
              > class=\"textboxsearch\"><input value=\"\" type=\"text\"
              > reserved=\"true\" readonly
              > name=\"subjects/subject[1]/nominal/persontype\"
              > class=\"textboxsearch\"><img width=\"3\"
              > src=\"/pegasus/core/images/block.gif\" height=\"1\" border=\"0\"><a
              > name=\"subjects/subject[1]/nominal/link\" href=\"#\"
              > onClick=\"removedisabled();document.forms[1].target =
              > '_self';document.forms[1].action =
              > '/pegasus/manipulateForm#subjects/subject[1]/nominal/nomlink';document.forms[1].row.value
              > =
              > 'subjects/subject[1]/nominal/entitylink';document.forms[1].formaction.value
              > = 'refresh';callLOV(5337,'subjects/subject[1]/nominal/persontype',
              > 'Y', '',
              > 'subjects/subject[1]/nominal/persontype_id');document.forms[1].submit();\"><img
              > src=\"/pegasus/core/images/form_button_lov.gif\" border=\"0\"
              > alt=\"Click to select from LOV\"
              > align=\"absmiddle\"><\/a><\/td>\r\n<\/tr>\r\n<input value=\"\"
              > type=\"hidden\" name=\"subjects/subject[1]/nominal/persontype\"><input
              > value=\"\" type=\"hidden\"
              > name=\"subjects/subject[1]/nominal/persontype_id\"><input value=\"
              > \" type=\"hidden\"
              > name=\"subjects/subject[1]/nominal/summary\">\r\n<tr>\r\n<td
              > width=\"25%\"><a name=\"subjects/subject[1]/nominal/entitylink\"><span
              > class=\"tableformheader\">Last Name<\/span><\/a><\/td><td
              > width=\"25%\"><input value=\"\" type=\"text\"
              > name=\"subjects/subject[1]/nominal/surname\"
              > class=\"textboxsearch\"><\/td><td width=\"25%\"><span
              > class=\"tableformheader\">First Name<\/span><\/td><td width=\"25%\"
              > colspan=\"3\"><input value=\"\" type=\"text\"
              > name=\"subjects/subject[1]/nominal/forenames\"
              > class=\"textboxsearch\"><\/td>\r\n<\/tr>\r\n<tr>\r\n<td><span
              > class=\"tableformheader\">Date of Birth<\/span><\/td><td
              > style=\"border-right:0px\"><input value=\"\" type=\"hidden\"
              > name=\"subjects/subject[1]/nominal/birth_date\"><input value=\"\"
              > type=\"text\" size=\"10\" onblur=\"checkdate(this,
              > previousSibling);inPast(this, previousSibling);\"
              > class=\"textboxsearch\"
              > name=\"subjects/subject[1]/nominal/displaydatebirth_date\"><a
              > onclick=\"callCal(previousSibling, previousSibling.previousSibling,
              > '', '', nextSibling, nextSibling.nextSibling);return false;\"
              > name=\"anchor1\" id=\"anchor1\" href=\"#\"><img width=\"3\"
              > src=\"/pegasus/core/images/block.gif\" height=\"1\" border=\"0\"><img
              > src=\"/pegasus/core/images/cal.gif\" border=\"0\" alt=\"Click to
              > select date\" align=\"absmiddle\"><img width=\"3\"
              > src=\"/pegasus/core/images/block.gif\" height=\"1\"
              > border=\"0\"><\/a><input value=\"\" type=\"hidden\"
              > class=\"textboxinvisible\"
              > name=\"subjects/subject[1]/nominal/birth_tz\"><input value=\"\"
              > type=\"hidden\" readonly class=\"textboxinvisible\"
              > name=\"subjects/subject[1]/nominal/birth_displaytz\"><\/td><td
              > style=\"text-align:right;border-left:0px;\" colspan=\"4\"><input
              > value=\"\" type=\"hidden\"
              > name=\"subjects/subject[1]/nominal/userflag\"><input value=\"\"
              > type=\"hidden\" name=\"subjects/subject[1]/nominal/leoflag\"><input
              > value=\"\" type=\"hidden\"
              > name=\"subjects/subject[1]/nominal/employeeflag\"><input value=\"\"
              > type=\"hidden\" name=\"subjects/subject[1]/nominal/title\"><input
              > value=\"\" type=\"hidden\"
              > name=\"subjects/subject[1]/nominal/nomsuffix\"><input value=\"\"
              > type=\"hidden\" name=\"subjects/subject[1]/nominal/nibnumber\"><input
              > value=\"\" type=\"hidden\"
              > name=\"subjects/subject[1]/nominal/ncisnumber\"><input value=\"\"
              > type=\"hidden\"
              > name=\"subjects/subject[1]/nominal/forcefolionumber\"><img
              > style=\"cursor:hand\" src=\"/pegasus/core/images/detailbutton.gif\"
              > onClick=\"entityDetails('', 'subjects/subject[1]/nominal/',
              > 'nominal');\" alt=\"Edit Person Details\"><img width=\"3\"
              > src=\"/pegasus/core/images/block.gif\" height=\"1\" border=\"0\"><img
              > style=\"cursor:hand\" src=\"/pegasus/core/images/clearbutton.gif\"
              > onClick=\"clearEntity('subjects/subject[1]/nominal/', 'nominal');\"
              > alt=\"Clear Fields\"><img width=\"3\"
              > src=\"/pegasus/core/images/block.gif\" height=\"1\" border=\"0\"><img
              > style=\"cursor:hand\" src=\"/pegasus/core/images/searchbutton.gif\"
              > onClick=\"searchEntity('subjects/subject[1]/nominal/', 'N',
              > 'nominal');\" alt=\"Person
              > Search\"><\/td>\r\n<\/tr>\r\n<\/table>\r\n<table name=\"\" id=\"\"
              > class=\"tableform_nest\" style=\"\">\r\n<tr
              > class=\"tableform_nest\">\r\n<td style=\"border:0px;\" colspan=\"6\"
              > align=\"right\"><img src=\"/pegasus/core/images/form_button_add.gif\"
              > onClick=\"\r\n\t\t\t\t
              > \taddMultiRowBlock('subjects/subject[1]/communications/communication');\r\n\t\t\t\t\"
              > id=\"addrow\" class=\"floatright\" border=\"0\" alt=\"Add Repeating
              > Region\"><img src=\"/pegasus/core/images/form_button_minus.gif\"
              > onClick=\"\r\n\t\t\t\t\talert('The first row cannot be deleted');
              > return false;\r\n\t\t\t\t\" id=\"delrow\" class=\"floatright\"
              > border=\"0\" alt=\"Delete Repeating
              > Region\"><\/td>\r\n<\/tr>\r\n<tr>\r\n<td width=\"25%\"><a
              > name=
              > \"subjects/subject[1]/communications/communication/comm/entitylink\"><
              > \/a><a
              > name=\"subjects/subject[1]/communications/communication/comm/commlink
              > \"><span
              > class=\"tableformheader\">Communications Type<\/span><\/a><\/td><td
              > colspan=\"5\"><input value=\"\" type=\"hidden\"
              > name=\"subjects/subject[1]/communications/communication/comm/comm_id
              > \"><input
              > value=\"\" type=\"hidden\" reserved=\"true\"
              > name=
              > \"subjects/subject[1]/communications/communication/comm/communicationstypeid\"><input
              > value=\"\" type=\"text\" reserved=\"true\" readonly
              > name=
              > \"subjects/subject[1]/communications/communication/comm/communicationstype\"
              > id=\"159\" class=\"textboxsearch\"><img width=\"3\"
              > src=\"/pegasus/core/images/block.gif\" height=\"1\" border=\"0\"><a
              > name=
              > \"subjects/subject[1]/communications/communication/comm/communicationstypelink\"
              > href=\"#\" onClick=\"removedisabled();document.forms[1].target =
              > '_self';document.forms[1].action =
              > '/pegasus/manipulateForm#subjects/subject[1]/communications/communication/comm/commlink';document.forms[1].row.value
              > =
              > 'subjects/subject[1]/communications/communication/comm/entitylink';document.forms[1].formaction.value
              > = 'refresh';callLOV('159',
              > 'subjects/subject[1]/communications/communication/comm/communicationstype',
              > 'Y', '',
              > 'subjects/subject[1]/communications/communication/comm/communicationstypeid');document.forms[1].submit();\"><img
              > src=\"/pegasus/core/images/form_button_lov.gif\" border=\"0\"
              > alt=\"Click to select from LOV\"
              > align=\"absmiddle\"><\/a><\/td>\r\n<\/tr>\r\n<tr>\r\n<td
              > colspan=\"6\"><span
              > id=\"comms_1\"><\/span><\/td>\r\n<\/tr>\r\n<\/table>\r\n<\/span><span
              > style=\"display:none\" sectionClasses=\"\" id=\"DEPUNQID4\">\r\n<table
              > width=\"100%\" name=\"\" id=\"\" class=\"tableform\"
              > style=\"display:none; \">\r\n<tr>\r\n<td nowrap=\"nowrap\"
              > colspan=\"6\" width=\"*\"><input value=\"\" type=\"hidden\"
              > name=\"subjects/subject[1]/hiddenorg_id\"><input value=\"\"
              > type=\"hidden\"
              > name=\"subjects/subject[1]/repeatsubject\"><\/td>\r\n<\/tr>\r\n<
              > \/table>\r\n<table
              > width=\"100%\" name=\"\" id=\"\" class=\"tableform\"
              > style=\"\">\r\n<tr>\r\n<td width=\"25%\"><a
              > name=\"subjects/subject[1]/organisation/entitylink\"><span
              > class=\"tableformheader\">Organization Type<\/span><\/a><\/td><td
              > style=\"border-right:0px\"><input value=\"\" type=\"hidden\"
              > name=\"subjects/subject[1]/organisation/org_id\"><input value=\"\"
              > type=\"hidden\" reserved=\"true\"
              > name=\"subjects/subject[1]/organisation/orgtype_id\"><input value=\"\"
              > type=\"text\" reserved=\"true\" readonly
              > name=\"subjects/subject[1]/organisation/orgtype\"
              > class=\"textboxsearch\"><img width=\"3\"
              > src=\"/pegasus/core/images/block.gif\" height=\"1\" border=\"0\"><a
              > style=\"cursor:hand\" onClick=\"callLOV('2112',
              > 'subjects/subject[1]/organisation/orgtype', 'Y', null,
              > 'subjects/subject[1]/organisation/orgtype_id');return false;\"
              > href=\"#\"><img src=\"/pegasus/core/images/form_button_lov.gif\"
              > border=\"0\" alt=\"Click to select from LOV\"
              > align=\"absmiddle\"><\/a><\/td><td style=\"border-left: 0px none;
              > text-align: right;\" colspan=\"4\"><img style=\"cursor:hand\"
              > src=\"/pegasus/core/images/detailbutton.gif\"
              > onClick=\"entityDetails(parentNode.previousSibling.firstChild.value,
              > getPrefixFromName(parentNode.previousSibling.firstChild.name),
              > 'organisation');\" alt=\"Edit Organization Details\"><img width=\"3\"
              > src=\"/pegasus/core/images/block.gif\" height=\"1\" border=\"0\"><img
              > style=\"cursor:hand\" src=\"/pegasus/core/images/clearbutton.gif\"
              > onClick=
              > \"clearEntity(getPrefixFromName(parentNode.previousSibling.firstChild.name),
              > 'organisation');\" alt=\"Clear Fields\"><img width=\"3\"
              > src=\"/pegasus/core/images/block.gif\" height=\"1\" border=\"0\"><img
              > style=\"cursor:hand\" src=\"/pegasus/core/images/searchbutton.gif\"
              > onClick=
              > \"searchEntity(getPrefixFromName(parentNode.previousSibling.firstChild.name),
              > 'N', 'organisation');\" alt=\"Organization
              > Search\"><\/td>\r\n<\/tr>\r\n<tr>\r\n<td width=\"25%\"><input
              > value=\"\" type=\"hidden\"
              > name=\"subjects/subject[1]/organisation/summary\"><span
              > class=\"tableformheader\">Organization Name<\/span><\/td><td
              > colspan=\"5\"><input value=\"\" type=\"text\" style=\"width:100%\"
              > name=\"subjects/subject[1]/organisation/orgname\"
              > class=\"textboxsearch\"><\/td>\r\n<\/tr>\r\n<\/table>\r\n<\/span>\r
              > \n<table
              > name=\"\" id=\"\" class=\"tableform_nest\" style=\"\">\r\n<tr
              > class=\"tableform_nest\">\r\n<td style=\"border:0px;\" colspan=\"6\"
              > align=\"right\"><img src=\"/pegasus/core/images/form_button_add.gif\"
              > onClick=\"\r\n\t\t\t\t\taddMultiRowBlock('subjects/subject[2]');\r\n\t
              > \t\t\t\"
              > id=\"addrow\" class=\"floatright\" border=\"0\" alt=\"Add Repeating
              > Region\"><img src=\"/pegasus/core/images/form_button_minus.gif\"
              > onClick=\"\r\n\t\t\t\t\t\t\tif (confirm('Are you sure you wish to
              > delete this multirow block?\\n\\nPlease ensure you update any freetext
              > that may reference this item.')) {
              > deleteMultiRowBlock('subjects/subject[2]'); } else { return false;
              > }\r\n\t\t\t\t\t\t\" id=\"delrow\" class=\"floatright\" border=\"0\"
              > alt=\"Delete Repeating Region\"><\/td>\r\n<\/tr>\r\n<\/table>\r\n<span
              > style=\"\" sectionClasses=\"\" id=\"DEPUNQID5\"><span style=\"\"
              > sectionClasses=\"\" id=\"DEPUNQID6\">\r\n<table width=\"100%\"
              > name=\"\" id=\"\" class=\"tableform\" style=\"\">\r\n<tr>\r\n<td
              > nowrap=\"nowrap\" width=\"25%\" class=\"tableformheader\"><span
              > class=\"tableformheader\">Person<\/span><img width=\"3\"
              > src=\"/pegasus/core/images/block.gif\" height=\"1\" border=\"0\">
              > <input value=\"P\" type=\"radio\"
              > onclick=\"manipulateFields('DEPUNQID7',
              > 'subjects/subject[2]/nomorgind', '=', 'P', 'hide', 'none', 'null',
              > 'null');manipulateFields('DEPUNQID8', 'subjects/subject[2]/nomorgind',
              > '=', 'O', 'hide', 'none', 'null', 'null');\"
              > name=\"subjects/subject[2]/nomorgind\" id=\"\" class=\"textbox\">
              > <\/td><td nowrap=\"nowrap\" colspan=\"5\" width=\"*\"
              > class=\"tableformheader\"><span
              > class=\"tableformheader\">Organization<\/span><img width=\"3\"
              > src=\"/pegasus/core/images/block.gif\" height=\"1\" border=\"0\">
              > <input value=\"O\" type=\"radio\"
              > onclick=\"manipulateFields('DEPUNQID7',
              > 'subjects/subject[2]/nomorgind', '=', 'P', 'hide', 'none', 'null',
              > 'null');manipulateFields('DEPUNQID8', 'subjects/subject[2]/nomorgind',
              > '=', 'O', 'hide', 'none', 'null', 'null');\"
              > name=\"subjects/subject[2]/nomorgind\" id=\"\" class=\"textbox\">
              > <\/td>\r\n<\/tr>\r\n<\/table>\r\n<\/span><\/span><span
              > style=\"display:none\" sectionClasses=\"\" id=\"DEPUNQID7\">\r\n<table
              > width=\"100%\" name=\"\" id=\"\" class=\"tableform\"
              > style=\"display:none; \">\r\n<tr>\r\n<td nowrap=\"nowrap\"
              > colspan=\"6\" width=\"*\"><input value=\"\" type=\"hidden\"
              > name=\"subjects/subject[2]/hiddennom_id\"><input value=\"\"
              > type=\"hidden\" name=\"subjects/subject[2]/repeatsubject\"><input
              > value=\"\" type=\"hidden\"
              > name=\"subjects/subject[2]/apprehended\"><input value=\"\"
              > type=\"hidden\"
              > name=\"subjects/subject[2]/exemployeenotification\"><\/td>\r\n<\/tr>\r
              > \n<\/table>\r\n<table
              > width=\"100%\" name=\"\" id=\"\" class=\"tableform\"
              > style=\"\">\r\n<input value=\"\" type=\"hidden\"
              > name=\"subjects/subject[2]/nominal/nom_id\"
              > class=\"textboxsearch\">\r\n<tr>\r\n<td width=\"25%\"><a
              > name=\"subjects/subject[2]/nominal/nomlink\"><\/a><span
              > class=\"tableformheader\">Person Type<\/span><\/td><td
              > colspan=\"5\"><input value=\"\" type=\"hidden\" reserved=\"true\"
              > readonly name=\"subjects/subject[2]/nominal/persontype_id\"
              > class=\"textboxsearch\"><input value=\"\" type=\"text\"
              > reserved=\"true\" readonly
              > name=\"subjects/subject[2]/nominal/persontype\"
              > class=\"textboxsearch\"><img width=\"3\"
              > src=\"/pegasus/core/images/block.gif\" height=\"1\" border=\"0\"><a
              > name=\"subjects/subject[2]/nominal/link\" href=\"#\"
              > onClick=\"removedisabled();document.forms[1].target =
              > '_self';document.forms[1].action =
              > '/pegasus/manipulateForm#subjects/subject[2]/nominal/nomlink';document.forms[1].row.value
              > =
              > 'subjects/subject[2]/nominal/entitylink';document.forms[1].formaction.value
              > = 'refresh';callLOV(5337,'subjects/subject[2]/nominal/persontype',
              > 'Y', '',
              > 'subjects/subject[2]/nominal/persontype_id');document.forms[1].submit();\"><img
              > src=\"/pegasus/core/images/form_button_lov.gif\" border=\"0\"
              > alt=\"Click to select from LOV\"
              > align=\"absmiddle\"><\/a><\/td>\r\n<\/tr>\r\n<input value=\"\"
              > type=\"hidden\" name=\"subjects/subject[2]/nominal/persontype\"><input
              > value=\"\" type=\"hidden\"
              > name=\"subjects/subject[2]/nominal/persontype_id\"><input value=\"
              > \" type=\"hidden\"
              > name=\"subjects/subject[2]/nominal/summary\">\r\n<tr>\r\n<td
              > width=\"25%\"><a name=\"subjects/subject[2]/nominal/entitylink\"><span
              > class=\"tableformheader\">Last Name<\/span><\/a><\/td><td
              > width=\"25%\"><input value=\"\" type=\"text\"
              > name=\"subjects/subject[2]/nominal/surname\"
              > class=\"textboxsearch\"><\/td><td width=\"25%\"><span
              > class=\"tableformheader\">First Name<\/span><\/td><td width=\"25%\"
              > colspan=\"3\"><input value=\"\" type=\"text\"
              > name=\"subjects/subject[2]/nominal/forenames\"
              > class=\"textboxsearch\"><\/td>\r\n<\/tr>\r\n<tr>\r\n<td><span
              > class=\"tableformheader\">Date of Birth<\/span><\/td><td
              > style=\"border-right:0px\"><input value=\"\" type=\"hidden\"
              > name=\"subjects/subject[2]/nominal/birth_date\"><input value=\"\"
              > type=\"text\" size=\"10\" onblur=\"checkdate(this,
              > previousSibling);inPast(this, previousSibling);\"
              > class=\"textboxsearch\"
              > name=\"subjects/subject[2]/nominal/displaydatebirth_date\"><a
              > onclick=\"callCal(previousSibling, previousSibling.previousSibling,
              > '', '', nextSibling, nextSibling.nextSibling);return false;\"
              > name=\"anchor1\" id=\"anchor1\" href=\"#\"><img width=\"3\"
              > src=\"/pegasus/core/images/block.gif\" height=\"1\" border=\"0\"><img
              > src=\"/pegasus/core/images/cal.gif\" border=\"0\" alt=\"Click to
              > select date\" align=\"absmiddle\"><img width=\"3\"
              > src=\"/pegasus/core/images/block.gif\" height=\"1\"
              > border=\"0\"><\/a><input value=\"\" type=\"hidden\"
              > class=\"textboxinvisible\"
              > name=\"subjects/subject[2]/nominal/birth_tz\"><input value=\"\"
              > type=\"hidden\" readonly class=\"textboxinvisible\"
              > name=\"subjects/subject[2]/nominal/birth_displaytz\"><\/td><td
              > style=\"text-align:right;border-left:0px;\" colspan=\"4\"><input
              > value=\"\" type=\"hidden\"
              > name=\"subjects/subject[2]/nominal/userflag\"><input value=\"\"
              > type=\"hidden\" name=\"subjects/subject[2]/nominal/leoflag\"><input
              > value=\"\" type=\"hidden\"
              > name=\"subjects/subject[2]/nominal/employeeflag\"><input value=\"\"
              > type=\"hidden\" name=\"subjects/subject[2]/nominal/title\"><input
              > value=\"\" type=\"hidden\"
              > name=\"subjects/subject[2]/nominal/nomsuffix\"><input value=\"\"
              > type=\"hidden\" name=\"subjects/subject[2]/nominal/nibnumber\"><input
              > value=\"\" type=\"hidden\"
              > name=\"subjects/subject[2]/nominal/ncisnumber\"><input value=\"\"
              > type=\"hidden\"
              > name=\"subjects/subject[2]/nominal/forcefolionumber\"><img
              > style=\"cursor:hand\" src=\"/pegasus/core/images/detailbutton.gif\"
              > onClick=\"entityDetails('', 'subjects/subject[2]/nominal/',
              > 'nominal');\" alt=\"Edit Person Details\"><img width=\"3\"
              > src=\"/pegasus/core/images/block.gif\" height=\"1\" border=\"0\"><img
              > style=\"cursor:hand\" src=\"/pegasus/core/images/clearbutton.gif\"
              > onClick=\"clearEntity('subjects/subject[2]/nominal/', 'nominal');\"
              > alt=\"Clear Fields\"><img width=\"3\"
              > src=\"/pegasus/core/images/block.gif\" height=\"1\" border=\"0\"><img
              > style=\"cursor:hand\" src=\"/pegasus/core/images/searchbutton.gif\"
              > onClick=\"searchEntity('subjects/subject[2]/nominal/', 'N',
              > 'nominal');\" alt=\"Person
              > Search\"><\/td>\r\n<\/tr>\r\n<\/table>\r\n<table name=\"\" id=\"\"
              > class=\"tableform_nest\" style=\"\">\r\n<tr
              > class=\"tableform_nest\">\r\n<td style=\"border:0px;\" colspan=\"6\"
              > align=\"right\"><img src=\"/pegasus/core/images/form_button_add.gif\"
              > onClick=\"\r\n\t\t\t\t
              > \taddMultiRowBlock('subjects/subject[2]/communications/communication');\r\n\t\t\t\t\"
              > id=\"addrow\" class=\"floatright\" border=\"0\" alt=\"Add Repeating
              > Region\"><img src=\"/pegasus/core/images/form_button_minus.gif\"
              > onClick=\"\r\n\t\t\t\t\talert('The first row cannot be deleted');
              > return false;\r\n\t\t\t\t\" id=\"delrow\" class=\"floatright\"
              > border=\"0\" alt=\"Delete Repeating
              > Region\"><\/td>\r\n<\/tr>\r\n<tr>\r\n<td width=\"25%\"><a
              > name=
              > \"subjects/subject[2]/communications/communication/comm/entitylink\"><
              > \/a><a
              > name=\"subjects/subject[2]/communications/communication/comm/commlink
              > \"><span
              > class=\"tableformheader\">Communications Type<\/span><\/a><\/td><td
              > colspan=\"5\"><input value=\"\" type=\"hidden\"
              > name=\"subjects/subject[2]/communications/communication/comm/comm_id
              > \"><input
              > value=\"\" type=\"hidden\" reserved=\"true\"
              > name=
              > \"subjects/subject[2]/communications/communication/comm/communicationstypeid\"><input
              > value=\"\" type=\"text\" reserved=\"true\" readonly
              > name=
              > \"subjects/subject[2]/communications/communication/comm/communicationstype\"
              > id=\"159\" class=\"textboxsearch\"><img width=\"3\"
              > src=\"/pegasus/core/images/block.gif\" height=\"1\" border=\"0\"><a
              > name=
              > \"subjects/subject[2]/communications/communication/comm/communicationstypelink\"
              > href=\"#\" onClick=\"removedisabled();document.forms[1].target =
              > '_self';document.forms[1].action =
              > '/pegasus/manipulateForm#subjects/subject[2]/communications/communication/comm/commlink';document.forms[1].row.value
              > =
              > 'subjects/subject[2]/communications/communication/comm/entitylink';document.forms[1].formaction.value
              > = 'refresh';callLOV('159',
              > 'subjects/subject[2]/communications/communication/comm/communicationstype',
              > 'Y', '',
              > 'subjects/subject[2]/communications/communication/comm/communicationstypeid');document.forms[1].submit();\"><img
              > src=\"/pegasus/core/images/form_button_lov.gif\" border=\"0\"
              > alt=\"Click to select from LOV\"
              > align=\"absmiddle\"><\/a><\/td>\r\n<\/tr>\r\n<tr>\r\n<td
              > colspan=\"6\"><span
              > id=\"comms_1\"><\/span><\/td>\r\n<\/tr>\r\n<\/table>\r\n<\/span><span
              > style=\"display:none\" sectionClasses=\"\" id=\"DEPUNQID8\">\r\n<table
              > width=\"100%\" name=\"\" id=\"\" class=\"tableform\"
              > style=\"display:none; \">\r\n<tr>\r\n<td nowrap=\"nowrap\"
              > colspan=\"6\" width=\"*\"><input value=\"\" type=\"hidden\"
              > name=\"subjects/subject[2]/hiddenorg_id\"><input value=\"\"
              > type=\"hidden\"
              > name=\"subjects/subject[2]/repeatsubject\"><\/td>\r\n<\/tr>\r\n<
              > \/table>\r\n<table
              > width=\"100%\" name=\"\" id=\"\" class=\"tableform\"
              > style=\"\">\r\n<tr>\r\n<td width=\"25%\"><a
              > name=\"subjects/subject[2]/organisation/entitylink\"><span
              > class=\"tableformheader\">Organization Type<\/span><\/a><\/td><td
              > style=\"border-right:0px\"><input value=\"\" type=\"hidden\"
              > name=\"subjects/subject[2]/organisation/org_id\"><input value=\"\"
              > type=\"hidden\" reserved=\"true\"
              > name=\"subjects/subject[2]/organisation/orgtype_id\"><input value=\"\"
              > type=\"text\" reserved=\"true\" readonly
              > name=\"subjects/subject[2]/organisation/orgtype\"
              > class=\"textboxsearch\"><img width=\"3\"
              > src=\"/pegasus/core/images/block.gif\" height=\"1\" border=\"0\"><a
              > style=\"cursor:hand\" onClick=\"callLOV('2112',
              > 'subjects/subject[2]/organisation/orgtype', 'Y', null,
              > 'subjects/subject[2]/organisation/orgtype_id');return false;\"
              > href=\"#\"><img src=\"/pegasus/core/images/form_button_lov.gif\"
              > border=\"0\" alt=\"Click to select from LOV\"
              > align=\"absmiddle\"><\/a><\/td><td style=\"border-left: 0px none;
              > text-align: right;\" colspan=\"4\"><img style=\"cursor:hand\"
              > src=\"/pegasus/core/images/detailbutton.gif\"
              > onClick=\"entityDetails(parentNode.previousSibling.firstChild.value,
              > getPrefixFromName(parentNode.previousSibling.firstChild.name),
              > 'organisation');\" alt=\"Edit Organization Details\"><img width=\"3\"
              > src=\"/pegasus/core/images/block.gif\" height=\"1\" border=\"0\"><img
              > style=\"cursor:hand\" src=\"/pegasus/core/images/clearbutton.gif\"
              > onClick=
              > \"clearEntity(getPrefixFromName(parentNode.previousSibling.firstChild.name),
              > 'organisation');\" alt=\"Clear Fields\"><img width=\"3\"
              > src=\"/pegasus/core/images/block.gif\" height=\"1\" border=\"0\"><img
              > style=\"cursor:hand\" src=\"/pegasus/core/images/searchbutton.gif\"
              > onClick=
              > \"searchEntity(getPrefixFromName(parentNode.previousSibling.firstChild.name),
              > 'N', 'organisation');\" alt=\"Organization
              > Search\"><\/td>\r\n<\/tr>\r\n<tr>\r\n<td width=\"25%\"><input
              > value=\"\" type=\"hidden\"
              > name=\"subjects/subject[2]/organisation/summary\"><span
              > class=\"tableformheader\">Organization Name<\/span><\/td><td
              > colspan=\"5\"><input value=\"\" type=\"text\" style=\"width:100%\"
              > name=\"subjects/subject[2]/organisation/orgname\"
              > class=\"textboxsearch\"><\/td>\r\n<\/tr>\r\n<\/table>\r\n<\/span>\r\n<
              > \/div>\r\n<br>\r\n<br>\r\n<table
              > class=\"tableform\">\r\n<tr>\r\n<td><span
              > id=\"victimdetailscollapsebtn\" class=\"floatright\"
              > style=\"display:block;\"><a onclick=\"collapse('victimdetails');return
              > false;\" href=\"#\">collapse<\/a><img style=\"width: 17px; height:
              > 17px; cursor:hand;\"
              > src=\"/pegasus/core/images/nav_rootMinus_new.gif\"
              > onclick=\"collapse('victimdetails');return false;\"
              > alt=\"Collapse\"><a href=\"#\" onClick=\"call_info('ccmi0325',
              > 'INCIDENT_VICTIMSECTION'); return false;\"><img
              > src=\"/pegasus/core/images/form_button_info.gif\" border=\"0\"
              > alt=\"Click for information\"><\/a><\/span><span
              > id=\"victimdetailsexpandbtn\" class=\"floatright\"
              > style=\"display:none;\"><a onclick=\"expand('victimdetails');return
              > false;\" href=\"#\">expand<\/a><img style=\"width: 17px; height: 17px;
              > cursor:hand;\" src=\"/pegasus/core/images/nav_rootPlus_new.gif\"
              > onclick=\"expand('victimdetails');return false;\" alt=\"Expand\"><a
              > href=\"#\" onClick=\"call_info('ccmi0325', 'INCIDENT_VICTIMSECTION');
              > return false;\"><img src=\"/pegasus/core/images/form_button_info.gif\"
              > border=\"0\" alt=\"Click for information\"><\/a><\/span><span
              > style=\"font-weight:bold\" class=\"tableformheader\">Victims
              > (0)<\/span><\/td>\r\n<\/tr>\r\n<\/table>\r\n<input type=\"hidden\"
              > name=\"victimdetailsexpandCollapseState\" value=\"expand\">\r\n<div
              > id=\"victimdetails\" style=\"display:block;\">\r\n<table name=\"\"
              > id=\"\" class=\"tableform_nest\" style=\"\">\r\n<tr
              > class=\"tableform_nest\">\r\n<td style=\"border:0px;\" colspan=\"6\"
              > align=\"right\"><img src=\"/pegasus/core/images/form_button_add.gif\"
              > onClick=\"\r\n\t\t\t\t\taddMultiRowBlock('victims/victim');\r\n\t\t\t
              > \t\"
              > id=\"addrow\" class=\"floatright\" border=\"0\" alt=\"Add Repeating
              > Region\"><img src=\"/pegasus/core/images/form_button_minus.gif\"
              > onClick=\"\r\n\t\t\t\t\talert('The first row cannot be deleted');
              > return false;\r\n\t\t\t\t\" id=\"delrow\" class=\"floatright\"
              > border=\"0\" alt=\"Delete Repeating
              > Region\"><\/td>\r\n<\/tr>\r\n<\/table>\r\n<table name=\"\" id=\"\"
              > class=\"tableform_nest\" style=\"display:none; \">\r\n<tr>\r\n<td
              > nowrap=\"nowrap\" colspan=\"6\" width=\"*\"><input value=\"\"
              > type=\"hidden\" name=\"victims/victim/hiddenorg_id\"><input value=\"\"
              > type=\"hidden\"
              > name=\"victims/victim/hiddennom_id\"><\/td>\r\n<\/tr>\r\n<\/table>\r
              > \n<span
              > style=\"\" sectionClasses=\"\" id=\"DEPUNQID9\"><span style=\"\"
              > sectionClasses=\"\" id=\"DEPUNQID10\">\r\n<table width=\"100%\"
              > name=\"\" id=\"\" class=\"tableform\" style=\"\">\r\n<tr>\r\n<td
              > nowrap=\"nowrap\" width=\"25%\" class=\"tableformheader\"><span
              > class=\"tableformheader\">Person<\/span><img width=\"3\"
              > src=\"/pegasus/core/images/block.gif\" height=\"1\" border=\"0\">
              > <input value=\"P\" type=\"radio\"
              > onclick=\"manipulateFields('DEPUNQID11', 'victims/victim/nomorgind',
              > '=', 'P', 'hide', 'none', 'null',
              > 'null');manipulateFields('DEPUNQID12', 'victims/victim/nomorgind',
              > '=', 'P', 'hide', 'none', 'null',
              > 'null');manipulateFields('DEPUNQID13', 'victims/victim/nomorgind',
              > '=', 'O', 'hide', 'none', 'null',
              > 'null');manipulateFields('DEPUNQID14', 'victims/victim/nomorgind',
              > '=', 'B', 'hide', 'none', 'null', 'null');\"
              > name=\"victims/victim/nomorgind\" id=\"\" class=\"textbox\"> <\/td><td
              > nowrap=\"nowrap\" width=\"25%\" class=\"tableformheader\"><span
              > class=\"tableformheader\">Organization<\/span><img width=\"3\"
              > src=\"/pegasus/core/images/block.gif\" height=\"1\" border=\"0\">
              > <input value=\"O\" type=\"radio\"
              > onclick=\"manipulateFields('DEPUNQID11', 'victims/victim/nomorgind',
              > '=', 'P', 'hide', 'none', 'null',
              > 'null');manipulateFields('DEPUNQID12', 'victims/victim/nomorgind',
              > '=', 'P', 'hide', 'none', 'null',
              > 'null');manipulateFields('DEPUNQID13', 'victims/victim/nomorgind',
              > '=', 'O', 'hide', 'none', 'null',
              > 'null');manipulateFields('DEPUNQID14', 'victims/victim/nomorgind',
              > '=', 'B', 'hide', 'none', 'null', 'null');\"
              > name=\"victims/victim/nomorgind\" id=\"\" class=\"textbox\"> <\/td><td
              > nowrap=\"nowrap\" colspan=\"4\" width=\"*\"
              > class=\"tableformheader\"><span
              > class=\"tableformheader\">Internal<\/span><img width=\"3\"
              > src=\"/pegasus/core/images/block.gif\" height=\"1\" border=\"0\">
              > <input value=\"B\" type=\"radio\"
              > onclick=\"manipulateFields('DEPUNQID11', 'victims/victim/nomorgind',
              > '=', 'P', 'hide', 'none', 'null',
              > 'null');manipulateFields('DEPUNQID12', 'victims/victim/nomorgind',
              > '=', 'P', 'hide', 'none', 'null',
              > 'null');manipulateFields('DEPUNQID13', 'victims/victim/nomorgind',
              > '=', 'O', 'hide', 'none', 'null',
              > 'null');manipulateFields('DEPUNQID14', 'victims/victim/nomorgind',
              > '=', 'B', 'hide', 'none', 'null', 'null');\"
              > name=\"victims/victim/nomorgind\" id=\"\" class=\"textbox\">
              > <\/td>\r\n<\/tr>\r\n<tr>\r\n<td class=\"tableformheader\"
              > width=\"25%\"><span class=\"tableformheader\">Victim as
              > Witness?<\/span><\/td><td nowrap=\"nowrap\" colspan=\"5\"
              > width=\"*\"><span style=\"display:none\" sectionClasses=\"\"
              > id=\"DEPUNQID11\"> <input value=\"Y\" type=\"checkbox\" onclick=\"\"
              > name=\"victims/victim/victimaswitness\" id=\"\"
              > class=\"textbox\"><span class=\"tableformheader\">
              > <\/span><\/span><\/td>\r\n<\/tr>\r\n<\/table>\r\n<\/span><\/span><span
              > style=\"display:none\" sectionClasses=\"\"
              > id=\"DEPUNQID12\">\r\n<table width=\"100%\" name=\"\" id=\"\"
              > class=\"tableform\" style=\"display:none; \">\r\n<tr>\r\n<td
              > nowrap=\"nowrap\" colspan=\"6\" width=\"*\"><input value=\"\"
              > type=\"hidden\"
              > name=\"victims/victim/repeatvictim\"><\/td>\r\n<\/tr>\r\n<\/table>\r
              > \n<table
              > width=\"100%\" name=\"\" id=\"\" class=\"tableform\"
              > style=\"\">\r\n<input value=\"\" type=\"hidden\"
              > name=\"victims/victim/nominal/nom_id\"
              > class=\"textboxsearch\">\r\n<tr>\r\n<td width=\"25%\"><a
              > name=\"victims/victim/nominal/nomlink\"><\/a><span
              > class=\"tableformheader\">Person Type<\/span><\/td><td
              > colspan=\"5\"><input value=\"\" type=\"hidden\" reserved=\"true\"
              > readonly name=\"victims/victim/nominal/persontype_id\"
              > class=\"textboxsearch\"><input value=\"\" type=\"text\"
              > reserved=\"true\" readonly name=\"victims/victim/nominal/persontype\"
              > class=\"textboxsearch\"><img width=\"3\"
              > src=\"/pegasus/core/images/block.gif\" height=\"1\" border=\"0\"><a
              > name=\"victims/victim/nominal/link\" href=\"#\"
              > onClick=\"removedisabled();document.forms[1].target =
              > '_self';document.forms[1].action =
              > '/pegasus/manipulateForm#victims/victim/nominal/nomlink';document.forms[1].row.value
              > =
              > 'victims/victim/nominal/entitylink';document.forms[1].formaction.value
              > =
              > 'refresh';callLOV(\r\r\n\t\t\t\t\t\t'5125'\r\r\n\t\t\t\t
              > \t,'victims/victim/nominal/persontype',
              > 'Y', '',
              > 'victims/victim/nominal/persontype_id');document.forms[1].submit();
              > \"><img
              > src=\"/pegasus/core/images/form_button_lov.gif\" border=\"0\"
              > alt=\"Click to select from LOV\"
              > align=\"absmiddle\"><\/a><\/td>\r\n<\/tr>\r\n<input value=\"\"
              > type=\"hidden\" name=\"victims/victim/nominal/persontype\"><input
              > value=\"\" type=\"hidden\"
              > name=\"victims/victim/nominal/persontype_id\"><input value=\" \"
              > type=\"hidden\"
              > name=\"victims/victim/nominal/summary\">\r\n<tr>\r\n<td
              > width=\"25%\"><a name=\"victims/victim/nominal/entitylink\"><span
              > class=\"tableformheader\">Last Name<\/span><\/a><\/td><td
              > width=\"25%\"><input value=\"\" type=\"text\"
              > name=\"victims/victim/nominal/surname\"
              > class=\"textboxsearch\"><\/td><td width=\"25%\"><span
              > class=\"tableformheader\">First Name<\/span><\/td><td width=\"25%\"
              > colspan=\"3\"><input value=\"\" type=\"text\"
              > name=\"victims/victim/nominal/forenames\"
              > class=\"textboxsearch\"><\/td>\r\n<\/tr>\r\n<tr>\r\n<td><span
              > class=\"tableformheader\">Date of Birth<\/span><\/td><td
              > style=\"border-right:0px\"><input value=\"\" type=\"hidden\"
              > name=\"victims/victim/nominal/birth_date\"><input value=\"\"
              > type=\"text\" size=\"10\" onblur=\"checkdate(this,
              > previousSibling);inPast(this, previousSibling);\"
              > class=\"textboxsearch\"
              > name=\"victims/victim/nominal/displaydatebirth_date\"><a
              > onclick=\"callCal(previousSibling, previousSibling.previousSibling,
              > '', '', nextSibling, nextSibling.nextSibling);return false;\"
              > name=\"anchor1\" id=\"anchor1\" href=\"#\"><img width=\"3\"
              > src=\"/pegasus/core/images/block.gif\" height=\"1\" border=\"0\"><img
              > src=\"/pegasus/core/images/cal.gif\" border=\"0\" alt=\"Click to
              > select date\" align=\"absmiddle\"><img width=\"3\"
              > src=\"/pegasus/core/images/block.gif\" height=\"1\"
              > border=\"0\"><\/a><input value=\"\" type=\"hidden\"
              > class=\"textboxinvisible\"
              > name=\"victims/victim/nominal/birth_tz\"><input value=\"\"
              > type=\"hidden\" readonly class=\"textboxinvisible\"
              > name=\"victims/victim/nominal/birth_displaytz\"><\/td><td
              > style=\"text-align:right;border-left:0px;\" colspan=\"4\"><input
              > value=\"\" type=\"hidden\"
              > name=\"victims/victim/nominal/userflag\"><input value=\"\"
              > type=\"hidden\" name=\"victims/victim/nominal/leoflag\"><input
              > value=\"\" type=\"hidden\"
              > name=\"victims/victim/nominal/employeeflag\"><input value=\"\"
              > type=\"hidden\" name=\"victims/victim/nominal/title\"><input
              > value=\"\" type=\"hidden\"
              > name=\"victims/victim/nominal/nomsuffix\"><input value=\"\"
              > type=\"hidden\" name=\"victims/victim/nominal/nibnumber\"><input
              > value=\"\" type=\"hidden\"
              > name=\"victims/victim/nominal/ncisnumber\"><input value=\"\"
              > type=\"hidden\" name=\"victims/victim/nominal/forcefolionumber\"><img
              > style=\"cursor:hand\" src=\"/pegasus/core/images/detailbutton.gif\"
              > onClick=\"entityDetails('', 'victims/victim/nominal/', 'nominal');\"
              > alt=\"Edit Person Details\"><img width=\"3\"
              > src=\"/pegasus/core/images/block.gif\" height=\"1\" border=\"0\"><img
              > style=\"cursor:hand\" src=\"/pegasus/core/images/clearbutton.gif\"
              > onClick=\"clearEntity('victims/victim/nominal/', 'nominal');\"
              > alt=\"Clear Fields\"><img width=\"3\"
              > src=\"/pegasus/core/images/block.gif\" height=\"1\" border=\"0\"><img
              > style=\"cursor:hand\" src=\"/pegasus/core/images/searchbutton.gif\"
              > onClick=\"searchEntity('victims/victim/nominal/', 'N', 'nominal');\"
              > alt=\"Person Search\"><\/td>\r\n<\/tr>\r\n<\/table>\r\n<table
              > name=\"\" id=\"\" class=\"tableform_nest\" style=\"\">\r\n<tr
              > class=\"tableform_nest\">\r\n<td style=\"border:0px;\" colspan=\"6\"
              > align=\"right\"><img src=\"/pegasus/core/images/form_button_add.gif\"
              > onClick=\"\r\n\t\t\t\t
              > \taddMultiRowBlock('victims/victim/communications/communication');\r\n
              > \t\t\t\t\"
              > id=\"addrow\" class=\"floatright\" border=\"0\" alt=\"Add Repeating
              > Region\"><img src=\"/pegasus/core/images/form_button_minus.gif\"
              > onClick=\"\r\n\t\t\t\t\talert('The first row cannot be deleted');
              > return false;\r\n\t\t\t\t\" id=\"delrow\" class=\"floatright\"
              > border=\"0\" alt=\"Delete Repeating
              > Region\"><\/td>\r\n<\/tr>\r\n<tr>\r\n<td width=\"25%\"><a
              > name=\"victims/victim/communications/communication/comm/entitylink\"><
              > \/a><a
              > name=\"victims/victim/communications/communication/comm/commlink
              > \"><span
              > class=\"tableformheader\">Communications Type<\/span><\/a><\/td><td
              > colspan=\"5\"><input value=\"\" type=\"hidden\"
              > name=\"victims/victim/communications/communication/comm/comm_id
              > \"><input
              > value=\"\" type=\"hidden\" reserved=\"true\"
              > name=
              > \"victims/victim/communications/communication/comm/communicationstypeid\"><input
              > value=\"\" type=\"text\" reserved=\"true\" readonly
              > name=
              > \"victims/victim/communications/communication/comm/communicationstype
              > \"
              > id=\"159\" class=\"textboxsearch\"><img width=\"3\"
              > src=\"/pegasus/core/images/block.gif\" height=\"1\" border=\"0\"><a
              > name=
              > \"victims/victim/communications/communication/comm/communicationstypelink\"
              > href=\"#\" onClick=\"removedisabled();document.forms[1].target =
              > '_self';document.forms[1].action =
              > '/pegasus/manipulateForm#victims/victim/communications/communication/comm/commlink';document.forms[1].row.value
              > =
              > 'victims/victim/communications/communication/comm/entitylink';document.forms[1].formaction.value
              > = 'refresh';callLOV('159',
              > 'victims/victim/communications/communication/comm/communicationstype',
              > 'Y', '',
              > 'victims/victim/communications/communication/comm/communicationstypeid');document.forms[1].submit();\"><img
              > src=\"/pegasus/core/images/form_button_lov.gif\" border=\"0\"
              > alt=\"Click to select from LOV\"
              > align=\"absmiddle\"><\/a><\/td>\r\n<\/tr>\r\n<tr>\r\n<td
              > colspan=\"6\"><span
              > id=\"comms_1\"><\/span><\/td>\r\n<\/tr>\r\n<\/table>\r\n<\/span><span
              > style=\"display:none\" sectionClasses=\"\"
              > id=\"DEPUNQID13\">\r\n<table width=\"100%\" name=\"\" id=\"\"
              > class=\"tableform\" style=\"display:none; \">\r\n<tr>\r\n<td
              > nowrap=\"nowrap\" colspan=\"6\" width=\"*\"><input value=\"\"
              > type=\"hidden\"
              > name=\"victims/victim/repeatvictim\"><\/td>\r\n<\/tr>\r\n<\/table>\r
              > \n<table
              > width=\"100%\" name=\"\" id=\"\" class=\"tableform\"
              > style=\"\">\r\n<tr>\r\n<td width=\"25%\"><a
              > name=\"victims/victim/organisation/entitylink\"><span
              > class=\"tableformheader\">Organization Type<\/span><\/a><\/td><td
              > style=\"border-right:0px\"><input value=\"\" type=\"hidden\"
              > name=\"victims/victim/organisation/org_id\"><input value=\"\"
              > type=\"hidden\" reserved=\"true\"
              > name=\"victims/victim/organisation/orgtype_id\"><input value=\"\"
              > type=\"text\" reserved=\"true\" readonly
              > name=\"victims/victim/organisation/orgtype\"
              > class=\"textboxsearch\"><img width=\"3\"
              > src=\"/pegasus/core/images/block.gif\" height=\"1\" border=\"0\"><a
              > style=\"cursor:hand\" onClick=\"callLOV('2112',
              > 'victims/victim/organisation/orgtype', 'Y', null,
              > 'victims/victim/organisation/orgtype_id');return false;\"
              > href=\"#\"><img src=\"/pegasus/core/images/form_button_lov.gif\"
              > border=\"0\" alt=\"Click to select from LOV\"
              > align=\"absmiddle\"><\/a><\/td><td style=\"border-left: 0px none;
              > text-align: right;\" colspan=\"4\"><img style=\"cursor:hand\"
              > src=\"/pegasus/core/images/detailbutton.gif\"
              > onClick=\"entityDetails(parentNode.previousSibling.firstChild.value,
              > getPrefixFromName(parentNode.previousSibling.firstChild.name),
              > 'organisation');\" alt=\"Edit Organization Details\"><img width=\"3\"
              > src=\"/pegasus/core/images/block.gif\" height=\"1\" border=\"0\"><img
              > style=\"cursor:hand\" src=\"/pegasus/core/images/clearbutton.gif\"
              > onClick=
              > \"clearEntity(getPrefixFromName(parentNode.previousSibling.firstChild.name),
              > 'organisation');\" alt=\"Clear Fields\"><img width=\"3\"
              > src=\"/pegasus/core/images/block.gif\" height=\"1\" border=\"0\"><img
              > style=\"cursor:hand\" src=\"/pegasus/core/images/searchbutton.gif\"
              > onClick=
              > \"searchEntity(getPrefixFromName(parentNode.previousSibling.firstChild.name),
              > 'N', 'organisation');\" alt=\"Organization
              > Search\"><\/td>\r\n<\/tr>\r\n<tr>\r\n<td width=\"25%\"><input
              > value=\"\" type=\"hidden\"
              > name=\"victims/victim/organisation/summary\"><span
              > class=\"tableformheader\">Organization Name<\/span><\/td><td
              > colspan=\"5\"><input value=\"\" type=\"text\" style=\"width:100%\"
              > name=\"victims/victim/organisation/orgname\"
              > class=\"textboxsearch\"><\/td>\r\n<\/tr>\r\n<\/table>\r\n<\/span><span
              > style=\"display:none\" sectionClasses=\"\"
              > id=\"DEPUNQID14\">\r\n<table width=\"100%\" name=\"\" id=\"\"
              > class=\"tableform\" style=\"\">\r\n<tr>\r\n<script
              > language=\"JavaScript\">\r\n\t\t\t\t\t\t\t
              > \r\n\t\t\t\t\t\t\t\tfunction refreshOrg1(){\r\n\t\t\t\t\t\t\t\t
              > \tmanipulateForm('victims/victim/organisation/entitylink',
              > 'victims/victim/organisation/entitylink',
              > 'refresh');\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t<\/script><td
              > width=\"25%\"><a name=\"victims/victim/organisation/entitylink\"><span
              > class=\"tableformheader\">On Site<\/span><\/a><\/td><td
              > colspan=\"5\"><input value=\"\" type=\"text\" onfocus=\"\" onblur=\"\"
              > name=\"victims/victim/organisation/orgname2\" id=\"5404\"
              > class=\"textboxsearch\"
              > onkeydown=
              > \"callExtendedLOV(event,5404,previousSibling.name,nextSibling.name,'N','refreshOrg1',null,['victims/victim/organisation/orgtype','orgtype','victims/victim/organisation/typeid','typeid','victims/victim/organisation/typeid','typeid','victims/victim/organisation/orgname','orgname','victims/victim/organisation/org_id','rc_id'],null);return
              > false;\" style=\"\"><a
              > name=\"victims/victim/organisation/orgname2link\" href=\"#\"
              > onClick=
              > \"callExtendedLOV(5404,previousSibling.name,nextSibling.name,'N','refreshOrg1',null,['victims/victim/organisation/orgtype','orgtype','victims/victim/organisation/typeid','typeid','victims/victim/organisation/typeid','typeid','victims/victim/organisation/orgname','orgname','victims/victim/organisation/org_id','rc_id'],null);return
              > false;\"><img width=\"3\" src=\"/pegasus/core/images/block.gif\"
              > height=\"1\" border=\"0\"><img
              > src=\"/pegasus/core/images/form_button_lov.gif\" border=\"0\"
              > alt=\"Click to select from LOV\" align=\"absmiddle\"><\/a><input
              > value=\"victims/victim/organisation/org_id\" type=\"hidden\"
              > name=\"victims/victim/organisation/orgname2_id\"><input value=\"\"
              > type=\"hidden\" name=\"victims/victim/organisation/orgtype\"><input
              > value=\"\" type=\"hidden\"
              > name=\"victims/victim/organisation/orgname\"><input value=\"\"
              > type=\"hidden\" name=\"victims/victim/organisation/org_id\"><input
              > value=\"\" type=\"hidden\"
              > name=\"victims/victim/organisation/typeid\"><\/td>\r\n<\/tr>\r\n<
              > \/table>\r\n<\/span>\r\n<\/div>\r\n<br>\r\n<br>\r\n<table
              > class=\"tableform\">\r\n<tr>\r\n<td><span
              > id=\"witnessdetailscollapsebtn\" class=\"floatright\"
              > style=\"display:block;\"><a
              > onclick=\"collapse('witnessdetails');return false;\"
              > href=\"#\">collapse<\/a><img style=\"width: 17px; height: 17px;
              > cursor:hand;\" src=\"/pegasus/core/images/nav_rootMinus_new.gif\"
              > onclick=\"collapse('witnessdetails');return false;\"
              > alt=\"Collapse\"><a href=\"#\" onClick=\"call_info('ccmi0325',
              > 'INCIDENT_WITNESSSECTION'); return false;\"><img
              > src=\"/pegasus/core/images/form_button_info.gif\" border=\"0\"
              > alt=\"Click for information\"><\/a><\/span><span
              > id=\"witnessdetailsexpandbtn\" class=\"floatright\"
              > style=\"display:none;\"><a onclick=\"expand('witnessdetails');return
              > false;\" href=\"#\">expand<\/a><img style=\"width: 17px; height: 17px;
              > cursor:hand;\" src=\"/pegasus/core/images/nav_rootPlus_new.gif\"
              > onclick=\"expand('witnessdetails');return false;\" alt=\"Expand\"><a
              > href=\"#\" onClick=\"call_info('ccmi0325', 'INCIDENT_WITNESSSECTION');
              > return false;\"><img src=\"/pegasus/core/images/form_button_info.gif\"
              > border=\"0\" alt=\"Click for information\"><\/a><\/span><span
              > style=\"font-weight:bold\" class=\"tableformheader\">Witnesses
              > (0)<\/span><\/td>\r\n<\/tr>\r\n<\/table>\r\n<input type=\"hidden\"
              > name=\"witnessdetailsexpandCollapseState\" value=\"expand\">\r\n<div
              > id=\"witnessdetails\" style=\"display:block;\">\r\n<table name=\"\"
              > id=\"\" class=\"tableform_nest\" style=\"\">\r\n<tr
              > class=\"tableform_nest\">\r\n<td style=\"border:0px;\" colspan=\"6\"
              > align=\"right\"><img src=\"/pegasus/core/images/form_button_add.gif\"
              > onClick=\"\r\n\t\t\t\t
              > \taddMultiRowBlock('witnessblocks/witnessblock');\r\n\t\t\t\t\"
              > id=\"addrow\" class=\"floatright\" border=\"0\" alt=\"Add Repeating
              > Region\"><img src=\"/pegasus/core/images/form_button_minus.gif\"
              > onClick=\"\r\n\t\t\t\t\talert('The first row cannot be deleted');
              > return false;\r\n\t\t\t\t\" id=\"delrow\" class=\"floatright\"
              > border=\"0\" alt=\"Delete Repeating
              > Region\"><\/td>\r\n<\/tr>\r\n<\/table>\r\n<table name=\"\" id=\"\"
              > class=\"tableform_nest\" style=\"\">\r\n<input value=\"\"
              > type=\"hidden\" name=\"witnessblocks/witnessblock/nominal/nom_id\"
              > class=\"textboxsearch\">\r\n<tr>\r\n<td width=\"25%\"><a
              > name=\"witnessblocks/witnessblock/nominal/nomlink\"><\/a><span
              > class=\"tableformheader\">Person Type<\/span><\/td><td
              > colspan=\"5\"><input value=\"\" type=\"hidden\" reserved=\"true\"
              > readonly name=\"witnessblocks/witnessblock/nominal/persontype_id\"
              > class=\"textboxsearch\"><input value=\"\" type=\"text\"
              > <br/><br/>(Message over 64 KB, truncated)
            • chris_nappin
              Hi, Thanks for the reply. Yes, I am using eval exactly as you describe. I can also copy and paste the code into a standalone HTML test page and run it through
              Message 6 of 9 , Jul 4 4:07 AM
              • 0 Attachment
                Hi,

                Thanks for the reply. Yes, I am using eval exactly as you describe.
                I can also copy and paste the code into a standalone HTML test page
                and run it through "eval" successfully. However inside our application
                (which is using identical JavaScript to my standalone tests, as
                detailed in my first and second posts) I always get the Syntax error
                in one specific page, but not in others.

                Unfortunately I can't provide a publically available copy of the
                application. If you have standalone HTML/JavaScript tests then I can
                try them out though.

                I'm really not sure what the issue is. I've viewed the raw HTTP
                packets and the data looks fine so I guess it might be an issue with JSRS?


                --- In json@yahoogroups.com, "geoffreyk00" <geoffreyk@...> wrote:
                >
                > --- In json@yahoogroups.com, "chris_nappin" <chris_nappin@> wrote:
                > >
                > > I've managed to determine that there are no new lines, form feeds or
                > > carriage return characters in the JSON text, nor any un-escaped
                > double
                > > quotes. However I've still not been able to resolve the problem. Does
                > > anyone know if any further characters need to be escaped, such as : [
                > > ] { } ' ?
                > >
                > > I'd be very grateful if anyone can help - if I can't resolve this
                > then
                > > we'll have to ditch using JSON which would be a shame.
                > >
                > > The complete JSON text is as follows (all one line):
                >
                > Are you using eval like this?
                > eval('(' + theResponse + ')');
                > the '(' and ')' are important. I recently was bit by not having these
                > inside the eval statement
                >
                > FWIW, I was able to eval the string you provided by using this
                > technique. I could use innerHTML to place the html into a page.
                >
                > Do you have a url that we could look at for more investigation?
                > If it would be helpful, I could post my extremely quick and dirty
                > tests for you too look at
                >
              • chris_nappin
                I ve added some further debug and there are no characters in the JSON string with ASCII values below 32 or above 125. I can t think of anything else to try, or
                Message 7 of 9 , Jul 5 4:11 AM
                • 0 Attachment
                  I've added some further debug and there are no characters in the JSON
                  string with ASCII values below 32 or above 125.

                  I can't think of anything else to try, or anything in the String I can
                  "fix"? I'm going to have to put it down to a random Internet Explorer
                  bug, and we're going to have to stop using JSON all together, which is
                  a great shame.

                  However if it really is an IE bug then I'd expect someone else has
                  also come accross the same issue?
                • geoffreyk00
                  ... can ... is ... My *guess* is that the problem is somewhere else on your page. I would try taking the page apart, piece by piece untill the problem goes
                  Message 8 of 9 , Jul 5 7:54 AM
                  • 0 Attachment
                    --- In json@yahoogroups.com, "chris_nappin" <chris_nappin@...> wrote:
                    >
                    > I've added some further debug and there are no characters in the JSON
                    > string with ASCII values below 32 or above 125.
                    >
                    > I can't think of anything else to try, or anything in the String I
                    can
                    > "fix"? I'm going to have to put it down to a random Internet Explorer
                    > bug, and we're going to have to stop using JSON all together, which
                    is
                    > a great shame.
                    >
                    > However if it really is an IE bug then I'd expect someone else has
                    > also come accross the same issue?
                    >
                    My *guess* is that the problem is somewhere else on your page. I would
                    try taking the page apart, piece by piece untill the problem goes
                    away.

                    Could you post the files that you are using? maybe we could help
                  • chris_nappin
                    ... Thanks for the offer. Unfortunately the page is huge and dynamically generated using a complex XSLT sub-system, plus a lot of the JavaScript is held in
                    Message 9 of 9 , Jul 6 2:18 AM
                    • 0 Attachment
                      --- In json@yahoogroups.com, "geoffreyk00" <geoffreyk@...> wrote:
                      > My *guess* is that the problem is somewhere else on your page. I would
                      > try taking the page apart, piece by piece untill the problem goes
                      > away.
                      >
                      > Could you post the files that you are using? maybe we could help
                      >

                      Thanks for the offer. Unfortunately the page is huge and dynamically
                      generated using a complex XSLT sub-system, plus a lot of the
                      JavaScript is held in external files. I will post a capture of the
                      generated HTML on the group "files" section, and would be very
                      grateful if you could scan this to find anything obvious.

                      The "addMultiRowBlock" JavaScript method is the one I'm testing. The
                      JSRS response results in "updateScreenCallback" being called, which is
                      where the JSON is being "eval"ed.

                      Regards,

                      Chris.
                    Your message has been successfully submitted and would be delivered to recipients shortly.