gc.smartcompliance.co Open in urlscan Pro
2620:1ec:40::45  Public Scan

URL: https://gc.smartcompliance.co/External/Default.aspx?sUrl=/Broker/BidProjectBroker.aspx&AccessKey=MTA1ODIyMjl8fDU0MjI4OA==
Submission: On October 20 via manual from US — Scanned from DE

Form analysis 1 forms found in the DOM

POST ./Default.aspx?sUrl=%2fBroker%2fBidProjectBroker.aspx&AccessKey=MTA1ODIyMjl8fDU0MjI4OA%3d%3d

<form method="post" action="./Default.aspx?sUrl=%2fBroker%2fBidProjectBroker.aspx&amp;AccessKey=MTA1ODIyMjl8fDU0MjI4OA%3d%3d" id="form1">
  <div class="aspNetHidden">
    <input type="hidden" name="__EVENTTARGET" id="__EVENTTARGET" value="">
    <input type="hidden" name="__EVENTARGUMENT" id="__EVENTARGUMENT" value="">
    <input type="hidden" name="__VIEWSTATE" id="__VIEWSTATE"
      value="/wEPDwUJODQxODQ3ODYzD2QWBAIBD2QWAgIHDxYCHgRUZXh0Be4DPHNjcmlwdD4gdmFyIG9MYW5ndWFnZV9GZGF0YVRhYmxlID0gew0KCSJzU2VhcmNoIjogIiIsDQoJInNJbmZvIjogIl9TVEFSVF8gdG8gX0VORF8gb2YgX1RPVEFMXyBlbnRyaWVzIiwNCgkic0luZm9Db3VudFJlY29yZHMiOiAiVG90YWwgUmVjb3JkczogIiwNCgkic0luZm9FbXB0eSI6ICJTaG93aW5nIDAgdG8gMCBvZiAwIGVudHJpZXMiLA0KCSJzSW5mb0ZpbHRlcmVkIjogIihmaWx0ZXJlZCBmcm9tIF9NQVhfIHRvdGFsIGVudHJpZXMpIiwNCgkic1plcm9SZWNvcmRzIjogIllvdXIgc2VhcmNoIGRpZCBub3QgbWF0Y2ggYW55IHJlc3VsdHMiLA0KCSJvUGFnaW5hdGUiOg0KCXsNCgkJInNGaXJzdCI6ICJ8PCIsDQoJCSJzUHJldmlvdXMiOiAiPCIsDQoJCSJzTmV4dCI6ICI+IiwNCgkJInNMYXN0IjogIj58Ig0KCX0sDQoJInNDb2x1bW5zVG9TaG93SGlkZU9wZW4iOiAiQ29sdW1ucyIsDQoJInNDb2x1bW5zVG9TaG93SGlkZU9rIjogIlNhdmUiDQp9PC9zY3JpcHQ+DQpkAgMPZBYCAgUPFgIeBXN0eWxlBXdiYWNrZ3JvdW5kLWltYWdlOnVybCgnaHR0cHM6Ly9zY2NvbW1vbnByb2RwdWJsaWMuYmxvYi5jb3JlLndpbmRvd3MubmV0LyR3ZWIvNzQ5NTA1MzUtOTg1OS00NGYxLWE5MWQtMjQ4ZGJlZmUyZjE5LnBuZycpO2RkWgfnCBFRIJr2GZq04T2Ba1xtRvc=">
  </div>
  <script type="text/javascript">
    //<![CDATA[
    var theForm = document.forms['form1'];
    if (!theForm) {
      theForm = document.form1;
    }

    function __doPostBack(eventTarget, eventArgument) {
      if (!theForm.onsubmit || (theForm.onsubmit() != false)) {
        theForm.__EVENTTARGET.value = eventTarget;
        theForm.__EVENTARGUMENT.value = eventArgument;
        theForm.submit();
      }
    }
    //]]>
  </script>
  <script src="/WebResource.axd?d=hSC3_rjGKmwDj5SvV3C84q0KUwjwY_RNYKbKFgqvQy6ih7VQgpVCHVwjcd1Diqr3XPbS2WEhpvFHBIxDh7PDqZMSuZE1&amp;t=637814660020000000" type="text/javascript"></script>
  <script src="/ScriptResource.axd?d=55EYlRYIlzvL1KuRlCxfT6oHqrS9oe0rqR_jmWcgPS--HhF1ZNf3dDVYkOAWUOZB1mjqSrneF5VV0678hppV4vEBLij4g4EMr9eFfphYPhXST4TnrY4zLW4cxQLMVfzFMpXCD2jSIDLKB9tLL1K0Dtyg5Bbpc9Eb8uuNgnDkW-bkCmf30&amp;t=49337fe8"
    type="text/javascript"></script>
  <script type="text/javascript">
    //<![CDATA[
    if (typeof(Sys) === 'undefined') throw new Error('ASP.NET Ajax client-side framework failed to load.');
    //]]>
  </script>
  <script src="/ScriptResource.axd?d=TTlx8As_Q3puPxq1gGAY4oWH91tPnqgd_Y0GKr22SO_n3NIydGwgIUNJ5OpPQJoErKlroNFv1pLHIWZjm9UqvIJmFJ3MetqINhCt8tCnQ_YbYqmtMRtyUCKqgY1zqXslwtet8gPkEhN7L8910Flt7vmM59eVYhg-X6YRqEHgdaopPIi-0&amp;t=49337fe8"
    type="text/javascript"></script>
  <script type="text/javascript">
    //<![CDATA[
    var PageMethods = function() {
      PageMethods.initializeBase(this);
      this._timeout = 0;
      this._userContext = null;
      this._succeeded = null;
      this._failed = null;
    }
    PageMethods.prototype = {
      _get_path: function() {
        var p = this.get_path();
        if (p) return p;
        else return PageMethods._staticInstance.get_path();
      },
      GetAjaxPage_ServerEvent: function(sPageTarget, sParam, succeededCallback, failedCallback, userContext) {
        /// <param name="sPageTarget" type="String">System.String</param>
        /// <param name="sParam" type="String">System.String</param>
        /// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
        /// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
        /// <param name="userContext" optional="true" mayBeNull="true"></param>
        return this._invoke(this._get_path(), 'GetAjaxPage_ServerEvent', false, {
          sPageTarget: sPageTarget,
          sParam: sParam
        }, succeededCallback, failedCallback, userContext);
      },
      GetObject_ServerEvent: function(sProjectName, sMethodName, aFormId, aFormValue, oDataSet, aArguments, succeededCallback, failedCallback, userContext) {
        /// <param name="sProjectName" type="String">System.String</param>
        /// <param name="sMethodName" type="String">System.String</param>
        /// <param name="aFormId" type="Array">System.Object[]</param>
        /// <param name="aFormValue" type="Array">System.Object[]</param>
        /// <param name="oDataSet">System.Object</param>
        /// <param name="aArguments" type="Array">System.Object[]</param>
        /// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
        /// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
        /// <param name="userContext" optional="true" mayBeNull="true"></param>
        return this._invoke(this._get_path(), 'GetObject_ServerEvent', false, {
          sProjectName: sProjectName,
          sMethodName: sMethodName,
          aFormId: aFormId,
          aFormValue: aFormValue,
          oDataSet: oDataSet,
          aArguments: aArguments
        }, succeededCallback, failedCallback, userContext);
      },
      GetPageAndObject_ServerEvent: function(sProjectName, sPageTarget, sParam, sMethodName, sMethodNameAndClass, aArguments, succeededCallback, failedCallback, userContext) {
        /// <param name="sProjectName" type="String">System.String</param>
        /// <param name="sPageTarget" type="String">System.String</param>
        /// <param name="sParam" type="String">System.String</param>
        /// <param name="sMethodName" type="String">System.String</param>
        /// <param name="sMethodNameAndClass" type="String">System.String</param>
        /// <param name="aArguments" type="Array">System.Object[]</param>
        /// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
        /// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
        /// <param name="userContext" optional="true" mayBeNull="true"></param>
        return this._invoke(this._get_path(), 'GetPageAndObject_ServerEvent', false, {
          sProjectName: sProjectName,
          sPageTarget: sPageTarget,
          sParam: sParam,
          sMethodName: sMethodName,
          sMethodNameAndClass: sMethodNameAndClass,
          aArguments: aArguments
        }, succeededCallback, failedCallback, userContext);
      },
      GetObjectAndPage_ServerEvent: function(sProjectName, sPageTarget, sParam, sMethodName, sMethodNameAndClass, aFormId, aFormValue, aArguments, succeededCallback, failedCallback, userContext) {
        /// <param name="sProjectName" type="String">System.String</param>
        /// <param name="sPageTarget" type="String">System.String</param>
        /// <param name="sParam" type="String">System.String</param>
        /// <param name="sMethodName" type="String">System.String</param>
        /// <param name="sMethodNameAndClass" type="String">System.String</param>
        /// <param name="aFormId" type="Array">System.Object[]</param>
        /// <param name="aFormValue" type="Array">System.Object[]</param>
        /// <param name="aArguments" type="Array">System.Object[]</param>
        /// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
        /// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
        /// <param name="userContext" optional="true" mayBeNull="true"></param>
        return this._invoke(this._get_path(), 'GetObjectAndPage_ServerEvent', false, {
          sProjectName: sProjectName,
          sPageTarget: sPageTarget,
          sParam: sParam,
          sMethodName: sMethodName,
          sMethodNameAndClass: sMethodNameAndClass,
          aFormId: aFormId,
          aFormValue: aFormValue,
          aArguments: aArguments
        }, succeededCallback, failedCallback, userContext);
      }
    }
    PageMethods.registerClass('PageMethods', Sys.Net.WebServiceProxy);
    PageMethods._staticInstance = new PageMethods();
    PageMethods.set_path = function(value) {
      PageMethods._staticInstance.set_path(value);
    }
    PageMethods.get_path = function() {
      /// <value type="String" mayBeNull="true">The service url.</value>
      return PageMethods._staticInstance.get_path();
    }
    PageMethods.set_timeout = function(value) {
      PageMethods._staticInstance.set_timeout(value);
    }
    PageMethods.get_timeout = function() {
      /// <value type="Number">The service timeout.</value>
      return PageMethods._staticInstance.get_timeout();
    }
    PageMethods.set_defaultUserContext = function(value) {
      PageMethods._staticInstance.set_defaultUserContext(value);
    }
    PageMethods.get_defaultUserContext = function() {
      /// <value mayBeNull="true">The service default user context.</value>
      return PageMethods._staticInstance.get_defaultUserContext();
    }
    PageMethods.set_defaultSucceededCallback = function(value) {
      PageMethods._staticInstance.set_defaultSucceededCallback(value);
    }
    PageMethods.get_defaultSucceededCallback = function() {
      /// <value type="Function" mayBeNull="true">The service default succeeded callback.</value>
      return PageMethods._staticInstance.get_defaultSucceededCallback();
    }
    PageMethods.set_defaultFailedCallback = function(value) {
      PageMethods._staticInstance.set_defaultFailedCallback(value);
    }
    PageMethods.get_defaultFailedCallback = function() {
      /// <value type="Function" mayBeNull="true">The service default failed callback.</value>
      return PageMethods._staticInstance.get_defaultFailedCallback();
    }
    PageMethods.set_enableJsonp = function(value) {
      PageMethods._staticInstance.set_enableJsonp(value);
    }
    PageMethods.get_enableJsonp = function() {
      /// <value type="Boolean">Specifies whether the service supports JSONP for cross domain calling.</value>
      return PageMethods._staticInstance.get_enableJsonp();
    }
    PageMethods.set_jsonpCallbackParameter = function(value) {
      PageMethods._staticInstance.set_jsonpCallbackParameter(value);
    }
    PageMethods.get_jsonpCallbackParameter = function() {
      /// <value type="String">Specifies the parameter name that contains the callback function name for a JSONP request.</value>
      return PageMethods._staticInstance.get_jsonpCallbackParameter();
    }
    PageMethods.set_path("Default.aspx");
    PageMethods.GetAjaxPage_ServerEvent = function(sPageTarget, sParam, onSuccess, onFailed, userContext) {
      /// <param name="sPageTarget" type="String">System.String</param>
      /// <param name="sParam" type="String">System.String</param>
      /// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
      /// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
      /// <param name="userContext" optional="true" mayBeNull="true"></param>
      PageMethods._staticInstance.GetAjaxPage_ServerEvent(sPageTarget, sParam, onSuccess, onFailed, userContext);
    }
    PageMethods.GetObject_ServerEvent = function(sProjectName, sMethodName, aFormId, aFormValue, oDataSet, aArguments, onSuccess, onFailed, userContext) {
      /// <param name="sProjectName" type="String">System.String</param>
      /// <param name="sMethodName" type="String">System.String</param>
      /// <param name="aFormId" type="Array">System.Object[]</param>
      /// <param name="aFormValue" type="Array">System.Object[]</param>
      /// <param name="oDataSet">System.Object</param>
      /// <param name="aArguments" type="Array">System.Object[]</param>
      /// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
      /// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
      /// <param name="userContext" optional="true" mayBeNull="true"></param>
      PageMethods._staticInstance.GetObject_ServerEvent(sProjectName, sMethodName, aFormId, aFormValue, oDataSet, aArguments, onSuccess, onFailed, userContext);
    }
    PageMethods.GetPageAndObject_ServerEvent = function(sProjectName, sPageTarget, sParam, sMethodName, sMethodNameAndClass, aArguments, onSuccess, onFailed, userContext) {
      /// <param name="sProjectName" type="String">System.String</param>
      /// <param name="sPageTarget" type="String">System.String</param>
      /// <param name="sParam" type="String">System.String</param>
      /// <param name="sMethodName" type="String">System.String</param>
      /// <param name="sMethodNameAndClass" type="String">System.String</param>
      /// <param name="aArguments" type="Array">System.Object[]</param>
      /// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
      /// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
      /// <param name="userContext" optional="true" mayBeNull="true"></param>
      PageMethods._staticInstance.GetPageAndObject_ServerEvent(sProjectName, sPageTarget, sParam, sMethodName, sMethodNameAndClass, aArguments, onSuccess, onFailed, userContext);
    }
    PageMethods.GetObjectAndPage_ServerEvent = function(sProjectName, sPageTarget, sParam, sMethodName, sMethodNameAndClass, aFormId, aFormValue, aArguments, onSuccess, onFailed, userContext) {
      /// <param name="sProjectName" type="String">System.String</param>
      /// <param name="sPageTarget" type="String">System.String</param>
      /// <param name="sParam" type="String">System.String</param>
      /// <param name="sMethodName" type="String">System.String</param>
      /// <param name="sMethodNameAndClass" type="String">System.String</param>
      /// <param name="aFormId" type="Array">System.Object[]</param>
      /// <param name="aFormValue" type="Array">System.Object[]</param>
      /// <param name="aArguments" type="Array">System.Object[]</param>
      /// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
      /// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
      /// <param name="userContext" optional="true" mayBeNull="true"></param>
      PageMethods._staticInstance.GetObjectAndPage_ServerEvent(sProjectName, sPageTarget, sParam, sMethodName, sMethodNameAndClass, aFormId, aFormValue, aArguments, onSuccess, onFailed, userContext);
    }
    //]]>
  </script>
  <div class="aspNetHidden">
    <input type="hidden" name="__VIEWSTATEGENERATOR" id="__VIEWSTATEGENERATOR" value="51329231">
    <input type="hidden" name="__EVENTVALIDATION" id="__EVENTVALIDATION" value="/wEdAAIXM4qFO2bLWB7+gwvlBpITIrWMybkkG9z8iLgI+FaRff7kwZ8CHFw5QEyhLDKOz5Zt0JnQ">
  </div>
  <script type="text/javascript">
    //<![CDATA[
    Sys.WebForms.PageRequestManager._initialize('ScriptManager1', 'form1', [], [], [], 90, '');
    //]]>
  </script>
  <div id="divHeader" class="Header HeaderSkin">
    <div id="divHeaderLogoSc" class="HeaderLogoSc HeaderLogoSkin Round5" style="BACKGROUND-IMAGE: url('../Images/SC-Logo.svg'); width: 38px; height: 38px; margin-left: 10px; margin-top: 5px; float: left;"></div>
    <div id="divHeaderLogo" class="HeaderLogo HeaderLogoSkin Round5" style="background-image:url('https://sccommonprodpublic.blob.core.windows.net/$web/74950535-9859-44f1-a91d-248dbefe2f19.png');">
    </div>
    <div id="divHeaderMenu" class="Menu">
    </div>
    <div id="NotifyDiv" class="notifyMessage gradientOrange" style="margin-left: 53%; margin-top: 10px; float: left" onclick="this.style.display = 'none'">
      <div style="display: inline; width: auto" class="JBFont"> j </div>
      <div id="NotifyMessage" style="margin-top: 6px; margin-left: 10px; display: inline; width: auto; max-width: 500px;"> Default message </div>
    </div>
    <div id="divHeaderMenuRight" class="MenuRight">
    </div>
  </div>
  <input id="hdnPageLocation_Fajax" type="hidden" value="External/Broker/BidProjectBroker.aspx?">
  <input name="hdnSystemId" type="hidden" id="hdnSystemId" value="3323">
  <input id="StartFormDeveloper" type="hidden" name="StartFormDeveloper">
  <div class="div_wait_please_style" id="divWaitPleaseBack" style="top: 0px; background: silver; display: none;">
    <table border="0" cellspacing="0" cellpadding="0" width="1600" height="1200">
      <tbody>
        <tr>
          <td align="center"></td>
        </tr>
      </tbody>
    </table>
  </div>
  <div class="div_wait_please_style" id="divWaitPlease" style="display: none; top: 0px;">
    <table border="0" cellspacing="0" cellpadding="0" width="1600" height="1200">
      <tbody>
        <tr>
          <td align="center">
            <div id="divTblWaitPlease" style="Z-INDEX: 999; float:none;">
              <div id="tblWaitPlease" class="table_wait_please_style"><img src="../images/LoadingIcon.gif" style="vertical-align:middle;height:40px;"><span style="font-size:18px;padding-left:20px; font-weight: 400; ">Loading
                  Data</span><a href="#" onclick="return false;" id="lnkWaitPlease" onfocus="window.status='';"></a>
                <div id="divProgressToFileUpload"></div><br>
              </div>
            </div>
          </td>
        </tr>
      </tbody>
    </table>
  </div>
  <div id="divBodyContent" class="BodyContent">
    <div style="padding: 15px; width: 98%;" class="PageTitleSkin">
      <h3>Welcome to SmartCompliance</h3>
      <b>
                <label>A request to upload documents has been forwarded to you by </label>
                <label id="lblCompany">Arrowpac Inc.</label>
                <label>in an effort to comply with the requirements of </label>
                <label id="lblGC">CAR-FRESHNER Corporation</label>
                <label>. Please review and upload all the documents necessary. The requester will be notified once the upload is complete.</label>
            </b>
    </div>
    <div id="divPageTitle" class="PageTitle PageTitleSkin PageToolbar" style="">
      <div id="divTitleText" class="PageTitleText PageTitleTextSkin bold" style="font-size: 18px; padding-left: 15px;">Company: Arrowpac Inc. (New Jersey)</div>
    </div>
    <div id="divContentMain_Fajax" class="contentall_main" style="height: 998px; display: block; overflow: auto; top: 0px; left: 0px;">
      <div id="divLanguage_External_Broker_BidProjectBroker_Fajax"><input type="hidden" name="hdnLanguage_External_Broker_BidProjectBroker_Fajax" id="hdnLanguage_External_Broker_BidProjectBroker_Fajax" value="en-Us"></div>
      <script>
        var lng_External_Broker_BidProjectBroker = {
          msgErrorDeletingDocument: "There was an error deleting the document",
          msgConfirmActionTitle: "Confirm action",
          msgErrorDocumentProcessed: "Can not delete a file that has already been processed",
          msgConfirmDelete: "Are you sure you want to delete this Document?",
          msgErrorAplication: "Application Error: ",
          msgTitleProject: "Project: ",
          msgTitleCompany: "Company: "
        };
      </script>
      <div class="aspNetHidden">
        <input type="hidden" name="__VIEWSTATE" id="__VIEWSTATE"
          value="/wEPDwULLTIwMDA3NjUzMTEPZBYCAgMPZBYCAhEPZBYCAgIPFgIeBFRleHQFVwo8c2NyaXB0IHR5cGU9InRleHQvamF2YXNjcmlwdCI+b1ZpZXdlclsnU3ViVmlld2VyJ10uUm9vdERpcmVjdG9yeSA9ICdJTkJPWCc7PC9zY3JpcHQ+CmRkoQQYBWv+l3BIwJpYje5rAjXhOhc=">
      </div>
      <style type="text/css">
        #MainWrapper {
          width: 98.5%;
        }

        .PaddingText {
          padding-left: 1.5%;
          padding-top: 1%;
          padding-bottom: 0.5%;
        }

        .tbRow0 {
          width: 40px;
          clear: left;
        }

        .tbRow1 {
          width: 75px;
        }

        .tbRow2 {
          width: 80px;
        }

        .tbRow3 {
          width: 90px;
        }

        .tbRow4 {
          width: 100px;
        }

        .ButtonConfigSkin {
          background-color: #2196f3 !important;
          border: 1px solid #2196f3 !important;
          color: #fff !important;
        }

        .ButtonConfigSkin:hover {
          background-color: transparent !important;
          border: 1px solid #2196f3 !important;
          color: #2196f3 !important;
        }
      </style>
      <script type="text/javascript">
        var BidProjectBroker = {};
        var BidProject = {};
        BidProject.OcrTimer = null;
        var responseUploadXhrs; //if doesn't exist fileNameSaved (this issues is in fine-upload plugins) --- responseUploadXhrs ---> it is load in fine-upload success
        var setUploadReponseJson = true; //if doesn't exist fileNameSaved (this issues is in fine-upload plugins)
        BidProject.OcrId = 0;
        BidProject.CurrentFileName = null;
        BidProject.OcrStaedOn = null;
        BidProject.OcrMaxSecondToWait = 35;
        BidProject.DocumentTypeId = 0;
        BidProject.CurrentFileNameUpload = null;
        BidProject.sUrlToUploadFiles = (System.SiteTargetToUploadFiles.indexOf("Include/UploadFileHandler.aspx") > 0) ? System.SiteTargetToUploadFiles : System.SiteTargetToUploadFiles + "Include/UploadFileHandler.aspx";

        function ClientPageLoad() {
          $("#hdnCompanyLocationId").val(LinkAccessData.CompanyLocationId);
          $("#hdnSBNBidProjectId").val(LinkAccessData.BidProjectId);
          $("#hdnProducerForwardId").val(LinkAccessData.ProducerForwardId);
          $(".PageTitleSkin").show();
        }

        function SetUnsetMasks() {
          System.SetPhoneMask("txtProducerPhone");
          System.SetFaxMask("txtProducerFax");
        }

        function RefreshBibProjectList() {
          //            ShowPleaseWaitBox();
          //            window.location = 'Default.aspx?sUrl=Broker/BidProjectBroker.aspx&id=24790-1812334#&methodSmartLoad=Broker.BidProjectBroker';
        }

        function smartLoad_CallBack(response) {
          if ((response.error == null) && (response.value[0] != null)) {
            var oForm = response.value[1];
            //
            $("#lblCompany").html(oForm["CompanyName"]);
            $("#lblGC").html(oForm["SystemName"]);
            $('#hdnNonVendorOcr').val(oForm["NonVendorOcr"]);
            //
            if ($("#hdnSBNBidProjectId").val() == "") {
              $("#dvBidProjectInformation").hide();
              $("#dvCompanyInvited").hide();
              $("#dvDueDate").hide();
              $("#dvBidStatus").hide();
              $("#divTitleText").html(lng_External_Broker_BidProjectBroker.msgTitleCompany + oForm["Title"]);
            } else {
              $("#dvBidProjectInformation").show();
              $("#lblStatus").html(oForm["ProjectStatus"]);
              $("#lblComplianceManager").html(oForm["ComplianceManager"]);
              $("#lblCompanyName").html(oForm["CompanyName"]);
              var dateDueDate = oForm["ComplianceDueDate"].trim();
              var dateToday = oForm["ServerDateToday"].trim();
              if ((dateDueDate != '') && (dateDueDate != '1/1/1900 12:00:00 AM')) {
                $("#lblComplianceDueDate").html(dateDueDate);
              }
              if ((dateDueDate != '') && (dateDueDate != '1/1/1900 12:00:00 AM') && (new Date(dateToday) > new Date(dateDueDate))) {
                var labelExpired = '<label id="lblComplianceExpired" style="color: rgb(255, 0, 0); margin-left: 5px; font-size: 14px !important;" class="FontBold">The compliance Due Date has Expired</label>';
                var oTmrLic = setInterval(function() {
                  if ($("[id^=upload]").length > 1) {
                    $("[id^=upload]").html(labelExpired);
                    clearInterval(oTmrLic);
                  }
                }, 10);
                Alert("", "Message", "The compliance Due Date has Expired");
              }
              $("#divTitleText").html(lng_External_Broker_BidProjectBroker.msgTitleProject + oForm["Title"]);
            }
            $("#lblFax").html(oForm["Fax"]);
            $("#lblPhone").html(oForm["Phone"]);
            $("#divRequirementGroup").html(oForm["RegGroupData"]);
            $("#dv_1").css({
              "margin-right": "0px",
              "margin-top": "5px",
              "float": "",
              "clear": ""
            });
            $("#dv_2").css({
              "margin-right": "0px",
              "margin-top": "5px",
              "float": "",
              "clear": ""
            });
            $("#dv_3").css({
              "margin-right": "0px",
              "margin-top": "5px",
              "float": "",
              "clear": ""
            });
            BidProject.InitUploadFiles(LinkAccessData.BidProjectId);
            oViewer["SubViewer"].RelativePath = response.value[2];
            oViewer["SubViewer"].IsOnInbox = false;
            HidePleaseWaitBox();
            ////
            if (localStorage["saveDocs"] == 1) {
              localStorage["saveDocs"] = 0;
              Notify("The document has been succesfully uploaded");
            }
            ////
          } else {
            HidePleaseWaitBox();
            if (response.error != null) alert("Error Aplication:" + response);
            else ConfirmSendError(response.value[0]);
          }
        }

        function createVariables() {
          window['responseUploadXhrs'] = "";
          window['setUploadReponseJson'] = true;
        }
        BidProject.ViewDoc = function(DocumentId) {
          //System.DisableWaitBox();
          var sPage = 'SC/Include/ViewDocumentImage.aspx?DocId=' + DocumentId + "&BidProjectId=" + $("#hdnSBNBidProjectId").val() + "&CompanyLocationId=" + $("#hdnCompanyLocationId").val();
          //Fajax.GetPopin(sPage);
          Fajax.GetPageInMiniPopin(sPage, "", document.getElementById('divReqGroupGral'));
        };
        BidProject.InitUploadFiles = function(BidProjectId) {
          $('.UploadDocument').fineUploader({
            request: {
              endpoint: BidProject.sUrlToUploadFiles + "?Type=Json&ProjId=" + BidProjectId + "&CompanyLocationId=" + $("#hdnCompanyLocationId").val(),
              forceMultipart: true
            },
            multiple: false,
            validation: {
              allowedExtensions: ['pdf', 'tiff', 'tif'],
              sizeLimit: 16777216, // 16mb = 16384 * 1024 bytes
              fileNameLength: 140
            },
            chunking: {
              enabled: true,
              partSize: 4000000
            },
            resume: {
              enabled: true
            },
            retry: {
              enableAuto: true
            },
            showMessage: function(message, defaultValue) {
              Alert("", "Failed Upload", message);
            },
            callbacks: {
              onComplete: function(id, name, responseJSON, xhrObject) {
                if (typeof responseJSON.fileNameSaved == 'undefined' && typeof responseUploadXhrs != 'undefined') { //if doesn't exist fileNameSaved (this issues is in fine-upload plugin)
                  responseJSON = JSON.parse(responseUploadXhrs.response);
                }
                if (responseJSON.success && typeof responseJSON.fileNameSaved != "undefined") {
                  BidProject.OcrStaedOn = null;
                  $(".qq-file-id-" + id).fadeIn(5000);
                  BidProject.CurrentFileName = responseJSON.fileNameSaved;
                  BidProject.CurrentFileNameUpload = name;
                  BidProject.SetTimeUploadFile_ClientEvent(responseJSON.fileNameSaved);
                  if ($("#hdnNonVendorOcr").val() != "True") {
                    if (BidProject.DocumentTypeId == 7 || BidProject.DocumentTypeId == 3) {
                      localStorage["MjeLoad"] = "File uploaded. OCR engine is processing the file";
                      /*-------- OCR -------------------*/
                      BidProject.StartOcrProcess_ClientEvent(responseJSON.fileNameSaved);
                      /*-------------------------------*/
                    } else {
                      BidProject.OpenFormToSaveFile();
                      oViewer["SubViewer"].LoadFile(responseJSON.fileNameSaved);
                    }
                  } else {
                    if (BidProject.DocumentTypeId == 7 || BidProject.DocumentTypeId == 3) {
                      /*-------- OCR --------------------*/
                      BidProjectBroker.OnlyOcrProcess_ClientEvent(responseJSON.fileNameSaved);
                      /*-------------------------------*/
                    }
                    BidProject.SaveBrokerDocAndFileInfo_ClientEvent(responseJSON.fileNameSaved, BidProject.DocumentTypeId);
                  }
                } else {
                  $(".UploadDocument").empty();
                  BidProject.InitUploadFiles(BidProjectId);
                  Alert('', '', 'File could not be uploaded.Please try again.');
                  createVariables();
                }
              }
            }
          });
          $(".UploadDocument").bind("click", function(event) {
            event = event || window.event;
            var obj = event.target = event.target || event.srcElement;
            var div = $(obj).closest(".UploadDocument")[0];
            var id = div.id.substring(div.id.indexOf("_") + 1, div.id.length);
            SetDocumentType(id);
          });
        };
        BidProject.StartOcrProcess_ClientEvent = function(sFileName) {
          VirtualFormValidation('');
          Fajax.CallFunction('SC!Main.Inbox.StartOcrProcess:BidProject', sFileName, '0', 'false', $("#hdnSBNBidProjectId").val(), $("#hdnCompanyLocationId").val(), 'false', '0');
        };
        BidProject.StartOcrProcess_CallBack = function(response) {
          if (response.value[0] == 'Done') {
            setTimeout(function() {
              BidProject.CheckOcrStatus_ClientEvent(response.value[1], $("#hdnSBNBidProjectId").val(), $("#hdnCompanyLocationId").val());
            }, 2000);
          }
        };
        var BidProjectBroker = {};
        BidProjectBroker.OnlyOcrProcess_ClientEvent = function(sFileName) {
          VirtualFormValidation('');
          Fajax.CallFunction('SC!Main.Inbox.StartOcrProcess:BidProjectBroker', sFileName, '0', 'false', $("#hdnSBNBidProjectId").val(), $("#hdnCompanyLocationId").val(), 'false', '0');
        };
        BidProjectBroker.StartOcrProcess_CallBack = function(response) {};
        BidProject.SetTimeUploadFile_ClientEvent = function(sFileName) {
          VirtualFormValidation('');
          Fajax.CallFunction('SC!Main.Inbox.SetTimeUploadFile:BidProject', sFileName, $("#hdnSBNBidProjectId").val(), $("#hdnCompanyLocationId").val(), 'false');
        };
        BidProject.SetTimeUploadFile_CallBack = function(response) {}
        BidProjectBroker.closeMiniPopin = function() {
          closeMiniPopin();
          window.location.href = window.location.href;
        }
        /*********************************** Document Type Handler********************************************************/
        function SetDocumentType(DocTypeId) {
          BidProject.DocumentTypeId = parseInt(DocTypeId, 10);
          sIndex = "SubViewer";
          oViewer["SubViewer"].DivContainerId = "#divBrokerViewerContainer";
          //oViewer["SubViewer"].BidProjectId = $("#hdnSBNBidProjectId").val();
        }
      </script>
      <script type="text/javascript">
        BidProject.SendCommunication = function(iNewDocumentId, sCurrentFileName) {
          var SendToSharedManager = $("#hdnSBNBidProjectId").val() != "";
          Fajax.CallFunction('Broker.BidProjectBroker.SendCommunication:BidProject', document.getElementById("hdnProducerForwardId").value, SendToSharedManager.toString(), iNewDocumentId, sCurrentFileName);
        };
        BidProject.SendCommunication_CallBack = function(response) {
          HidePleaseWaitBox();
          if ((response.error == null) && (response.value[0] != null)) {
            if (response.value[1] == "Error") {
              Alert('', 'Error', response.value[1]);
              return;
            }
          } else {
            if (response.error != null) alert("Error Aplication:" + response);
            else ConfirmSendError(response.value[0]);
          }
        };
        /////////////////////////////////////////////////////////////////
        BidProject.CheckOcrStatus_ClientEvent = function(sFileName, sBidProjectId, sCompanyLocationId) {
          var oCtx = System.context({
            LocalFileName: sFileName
          });
          VirtualFormValidation('');
          Fajax.CallFunction('Broker.BidProjectBroker.CheckOcrStatus:BidProject', sFileName, sBidProjectId, sCompanyLocationId);
          System.DisableWaitBox();
        };
        BidProject.CheckOcrStatus_CallBack = function(response) {
          ShowPleaseWaitBox();
          $("#tblWaitPlease").children('span:first').html(localStorage['MjeLoad'].toString());
          $("#tblWaitPlease").css("width", "300px");
          if (response.value[1] == "Error") {
            Alert('', 'Error', response.value[1]);
            return;
          }
          var aResp = response.value[1].split('|');
          if (aResp[0] != "Processing") {
            var sMessage = aResp[0] + ' ';
            if (aResp[0] == "Recognized") {
              if (("3" != aResp[3] && BidProject.DocumentTypeId != 3) || ("3" == aResp[3] && BidProject.DocumentTypeId == 3)) { //DocumentTypeId 3 is W9 Form 
                BidProject.DocumentTypeId = parseInt(aResp[3], 10);
                BidProject.OcrId = aResp[2];
                sMessage += aResp[1];
              } else {
                sMessage = "Not Recognized";
                Alert("", "Message", "The uploaded document does not match with the expected document type.");
              }
              BidProject.OpenFormToSaveFile();
              oViewer["SubViewer"].LoadFile(BidProject.CurrentFileName);
            } else {
              sMessage = "Not Recognized";
              if (aResp[0] != "Not Recognized") {
                sMessage = sMessage + '. ' + aResp[0];
              }
              if (BidProject.DocumentTypeId == 3) {
                BidProject.OpenFormToSaveFile();
                oViewer["SubViewer"].LoadFile(BidProject.CurrentFileName);
              } else {
                System.OpenMiniPopin(GetElementById("divPopinCertificates").innerHTML, GetElementById("divReqGroupGral"), false, "Select Document Type");
                $(".lblMainViewerMessage").hide();
              }
            }
            $(".lblMainViewerMessage").hide();
            HidePleaseWaitBox();
            localStorage["sMessage"] = sMessage;
          } else {
            BidProject.OcrStaedOn = BidProject.OcrStaedOn == null ? new Date() : BidProject.OcrStaedOn;
            var dif = new Date().getTime() - BidProject.OcrStaedOn.getTime();
            var secs = dif / 1000;
            if (secs > BidProject.OcrMaxSecondToWait) {
              localStorage["sMessage"] = 'Timeout. File not recognized';
              if (BidProject.DocumentTypeId == 3) {
                BidProject.OpenFormToSaveFile();
                oViewer["SubViewer"].LoadFile(BidProject.CurrentFileName);
              } else {
                System.OpenMiniPopin(GetElementById("divPopinCertificates").innerHTML, GetElementById("divReqGroupGral"), false, "Select Document Type");
                $(".lblMainViewerMessage").hide();
              }
              HidePleaseWaitBox();
              return;
            }
            BidProject.OcrTimer = setTimeout(function() {
              localStorage['MjeLoad'] = "The OCR module is trying to recognize the file, please wait...";
              localStorage["sMessage"] = "The OCR module is trying to recognize the file, please wait ...";
              BidProject.CheckOcrStatus_ClientEvent(BidProject.CurrentFileName, $("#hdnSBNBidProjectId").val(), $("#hdnCompanyLocationId").val());
            }, 2000);
          }
        };

        function OpenDocuments() {
          BidProject.DocumentTypeId = parseInt($("input[name=rbCertificate]:checked").val());
          BidProject.OpenFormToSaveFile();
          oViewer["SubViewer"].LoadFile(BidProject.CurrentFileName);
        };
        BidProject.OpenFormToSaveFile = function() {
          closeMiniPopin();
          switch (BidProject.DocumentTypeId) {
            case 1: //License
            {
              BidProject.OpenLicenseForm();
              break;
            }
            case 4: //Property
            case 2: //Liability (COI)
            case 8: {
              BidProject.OpenCoiForm(BidProject.DocumentTypeId);
              break;
            }
            case 6: //Evidence of Comercial Property (EOCP)
            case 9: {
              BidProject.OpenEocpForm(BidProject.DocumentTypeId);
              break;
            }
            case 3: //W-9
            {
              BidProject.OpenW9Form();
              break;
            }
            case 5: { //Contract
              BidProject.OpenContractForm();
              break;
            }
            default: {
              BidProject.OpenCustomDocumentForm(BidProject.DocumentTypeId);
              break;
            }
          }
        };
        BidProject.OpenCoiForm = function(sDocumentTypeId) {
          var DocTarget = $("#hdnSBNBidProjectId").val() == "" ? "&DocumentTarget=1" : "&DocumentTarget=2";
          var OcrId = BidProject.OcrId;
          Fajax.GetBox('SC/Main/CoiForm.aspx?FD=1&showbox=false&CompId=' + $("#hdnCompanyLocationId").val() + '&DocStatusId=1&Function=BidProject.UpdateList&OcrId=' + OcrId + DocTarget + '&DocumentTypeId=' + sDocumentTypeId, '',
            'dvBrokerDataFormContainer');
          $("#dvFormDataEdit").show();
          var iViewerWidth = ($(window).width() - 825); // 730 is min-width of form--$("#divFormCointainer").width()
          $("#dvFormDataEdit").css("left", "0px");
          $("#dvFormDataEdit").css("top", "0px");
          $("#dvFormDataEdit").css("bottom", "0px");
          $("#dvFormDataEdit").css("width", "100%");
          $("#dvFormDataEdit").css("padding-top", "0px");
          $("#dvFormDataEdit").css("position", "fixed");
          $("#dvFormDataEdit").css("z-index", "100");
          $("#dvFormDataEdit").css("float", "left");
          //$("#dvFormDataEdit").css("overflow", "hidden");
          $("#dvFormDataEdit").css("background-color", "#666");
          $("#dvFullScreenBar").show();
          //$("#dvImgviewer").hide();
          $("#dvImgviewer").css("position", "absolute");
          $("#dvImgviewer").css("top", "3px");
          $("#dvImgviewer").css("left", "1px");
          $("#dvImgviewer").css("width", iViewerWidth + "px");
          var iMaxHeight = $(window).height() - 170;
          //$("#dvImgviewer").css("height", iMaxHeight + "px");
          $("#dvImgviewer").css("max-height", "100%");
          //$("#dvImgviewer").css("overflow", "scroll");
          $("#dvDragExternal").addClass("drsElement");
          $("#dvDragInternal").addClass("drsMoveHandle");
          $("#dvImgviewer").css("float", "left");
          $("#dvImgviewer").css("z-index", "101");
          $("#dvimgCointainer").css("width", "100%"); //$("#dvImgviewer").width() + 
          $("#dvimgCointainer").css("height", ($(window).height() - 60) + "px");
          $("#dvimgCointainer").css("overflow-x", "hidden");
          $("#dvimgCointainer").css("overflow-y", "auto");
          $("#dvBrokerDataFormContainer").show();
          $("#dvBrokerDataFormContainer").css("position", "absolute");
          $("#dvBrokerDataFormContainer").css("top", "3px");
          $("#dvBrokerDataFormContainer").css("right", "-4px");
          //$("#dvBrokerDataFormContainer").css("width", "730");
          $("#dvBrokerDataFormContainer").css("z-index", "101");
          $("#dvCoiDataContainer").css("height", iMaxHeight + "px");
          // setTimeout(function () { BidProject.InitViewer(2); }, 5000);
          var oTmrLic = setInterval(function() {
            if (document.getElementById("dvCoiDataContainer") && typeof(CoiForm) != 'undefined') {
              BidProject.InitViewer(2);
              clearInterval(oTmrLic);
            }
          }, 1000);
          $("#btnImgViewZoomIn").hide();
        };
        BidProject.OpenEocpForm = function(DocumentTypeId) {
          var DocTarget = $("#hdnSBNBidProjectId").val() == "" ? "&DocumentTarget=1" : "&DocumentTarget=2";
          var OcrId = BidProject.OcrId;
          Fajax.GetBox('SC/Main/EocpForm.aspx?FD=1&showbox=true&CompId=' + $("#hdnCompanyLocationId").val() + '&DocStatusId=1&DocumentTypeId=' + DocumentTypeId + '&Function=BidProject.UpdateList&OcrId=' + OcrId + DocTarget, '',
            'dvBrokerDataFormContainer');
          $("#dvFormDataEdit").show();
          var iViewerWidth = ($(window).width() - 825);
          $("#dvFormDataEdit").css("left", "0px");
          $("#dvFormDataEdit").css("top", "0px");
          $("#dvFormDataEdit").css("bottom", "0px");
          $("#dvFormDataEdit").css("width", "100%");
          $("#dvFormDataEdit").css("padding-top", "0px");
          $("#dvFormDataEdit").css("position", "fixed");
          $("#dvFormDataEdit").css("z-index", "100");
          $("#dvFormDataEdit").css("float", "left");
          $("#dvFormDataEdit").css("background-color", "#666");
          $("#dvFullScreenBar").show();
          $("#dvImgviewer").css("position", "absolute");
          $("#dvImgviewer").css("top", "3px");
          $("#dvImgviewer").css("left", "1px");
          $("#dvImgviewer").css("width", iViewerWidth + "px");
          var iMaxHeight = $(window).height() - 170;
          $("#dvImgviewer").css("max-height", "100%");
          $("#dvDragExternal").addClass("drsElement");
          $("#dvDragInternal").addClass("drsMoveHandle");
          $("#dvImgviewer").css("float", "left");
          $("#dvImgviewer").css("z-index", "101");
          $("#dvimgCointainer").css("width", "100%");
          $("#dvimgCointainer").css("height", ($(window).height() - 60) + "px");
          $("#dvimgCointainer").css("overflow-x", "hidden");
          $("#dvimgCointainer").css("overflow-y", "auto");
          $("#dvBrokerDataFormContainer").show();
          $("#dvBrokerDataFormContainer").css("position", "absolute");
          $("#dvBrokerDataFormContainer").css("top", "3px");
          $("#dvBrokerDataFormContainer").css("right", "-4px");
          $("#dvBrokerDataFormContainer").css("z-index", "101");
          var oTmrLic = setInterval(function() {
            if (document.getElementById("dvEocpDataContainer") && typeof(EocpForm) != 'undefined') {
              BidProject.InitViewer(BidProject.DocumentTypeId);
              clearInterval(oTmrLic);
            }
          }, 1000);
          //setTimeout("BidProject.ReziseEocpForm()", 1000);
          var oTimer = setInterval(function() {
            if (document.getElementById("dvEocpDataContainer")) {
              clearInterval(oTimer);
            }
          }, 200);
          $("#btnImgViewZoomIn").hide();
        };
        BidProject.ReziseEocpForm = function() {
          var iMaxHeight = $(window).height() - 57;
          $("#dvEocpDataContainer").css("max-height", iMaxHeight + "px");
          $("#dvEocpDataContainer").css("width", "");
          $(".Coverages").css("height", "34px");
          $(".CenterCoverages").css("width", "33px");
          $(".CoverageHeader").css("height", "35px");
          $(".CoverageHeader").css("width", "766px");
          $(".ColumnContainer").css("width", "382px");
          $(".DivBox_Producer").css("width", "355px");
          $(".DivBox_SubData").css("width", "355px");
          $("#PropertyColumn2").css("width", "350px");
          $(".LeftCoverages").css("width", "334");
          $(".RightCoverages").css("width", "335");
          $("#SubDataContainerRight_Content").css("width", "");
          $("#BasicInfoContainer").css("width", "766px");
          $("#PropertyInformationContainer").css("width", "766px");
        };
        BidProject.OpenLicenseForm = function(ProjectLicenseId) {
          var DocTarget = $("#hdnSBNBidProjectId").val() == "" ? "&DocumentTarget=1" : "&DocumentTarget=2";
          Fajax.GetBox('SC/Admin/LicenseForm.aspx?FD=1&Function=BidProject.UpdateList&DocStatusId=1&CompLocId=' + $("#hdnCompanyLocationId").val() + '' + DocTarget, '', 'dvBrokerDataFormContainer');
          $("#dvFormDataEdit").show();
          var iViewerWidth = ($(window).width() - 825); // 730 is min-width of form--$("#divFormCointainer").width()
          $("#dvFormDataEdit").css("left", "0px");
          $("#dvFormDataEdit").css("top", "0px");
          $("#dvFormDataEdit").css("bottom", "0px");
          $("#dvFormDataEdit").css("width", "100%");
          $("#dvFormDataEdit").css("padding-top", "0px");
          $("#dvFormDataEdit").css("position", "fixed");
          $("#dvFormDataEdit").css("z-index", "100");
          $("#dvFormDataEdit").css("float", "left");
          //$("#dvFormDataEdit").css("overflow", "hidden");
          $("#dvFormDataEdit").css("background-color", "#666");
          $("#dvFullScreenBar").show();
          //$("#dvImgviewer").hide();
          $("#dvImgviewer").css("position", "absolute");
          $("#dvImgviewer").css("top", "3px");
          $("#dvImgviewer").css("left", "1px");
          $("#dvImgviewer").css("width", iViewerWidth + "px");
          var iMaxHeight = $(window).height() - 170;
          //$("#dvImgviewer").css("height", iMaxHeight + "px");
          $("#dvImgviewer").css("max-height", "100%");
          //$("#dvImgviewer").css("overflow-x", "hidden");
          //$("#dvImgviewer").css("overflow-y", "auto");
          $("#dvimgCointainer").css("height", ($(window).height() - 60) + "px");
          $("#dvimgCointainer").css("overflow-x", "hidden");
          $("#dvimgCointainer").css("overflow-y", "auto");
          $("#dvDragExternal").addClass("drsElement");
          $("#dvDragInternal").addClass("drsMoveHandle");
          $("#dvImgviewer").css("float", "left");
          $("#dvImgviewer").css("z-index", "101");
          $("#dvimgCointainer").css("width", "100%"); //$("#dvImgviewer").width() + 
          $("#dvBrokerDataFormContainer").show();
          $("#dvBrokerDataFormContainer").css("position", "absolute");
          $("#dvBrokerDataFormContainer").css("top", "3px");
          var DvSubWidth = iViewerWidth + 20;
          $("#dvBrokerDataFormContainer").css("left", DvSubWidth + "px");
          //$("#dvBrokerDataFormContainer").css("width", "730");
          $("#dvBrokerDataFormContainer").css("z-index", "101");
          $("#divFormCointainer").css("height", iMaxHeight + "px");
          var oTmrLic = setInterval(function() {
            if (document.getElementById("divFormCointainer") && typeof(LicenseForm) != 'undefined') {
              BidProject.InitViewer(1);
              clearInterval(oTmrLic);
            }
          }, 1000);
          $("#btnImgViewZoomIn").hide();
        };
        BidProject.OpenW9Form = function() {
          var DocTarget = $("#hdnSBNBidProjectId").val() == "" ? "&DocumentTarget=1" : "&DocumentTarget=2";
          var OcrId = BidProject.OcrId;
          // $("#divDataForms").show();
          Fajax.GetBox('SC/Admin/W9Form.aspx?FD=1&Function=BidProject.UpdateList&DocStatusId=1&CompLocId=' + $("#hdnCompanyLocationId").val() + '&OcrId=' + BidProject.OcrId + DocTarget, '', 'dvBrokerDataFormContainer');
          $("#dvFormDataEdit").show();
          var iViewerWidth = ($(window).width() - 825);
          $("#dvFormDataEdit").css("left", "0px");
          $("#dvFormDataEdit").css("top", "0px");
          $("#dvFormDataEdit").css("bottom", "0px");
          $("#dvFormDataEdit").css("width", "100%");
          $("#dvFormDataEdit").css("padding-top", "0px");
          $("#dvFormDataEdit").css("position", "fixed");
          $("#dvFormDataEdit").css("z-index", "100");
          $("#dvFormDataEdit").css("float", "left");
          //$("#dvFormDataEdit").css("overflow", "hidden");
          $("#dvFormDataEdit").css("background-color", "#666");
          $("#dvFullScreenBar").show();
          //$("#dvImgviewer").hide();
          $("#dvImgviewer").css("position", "absolute");
          $("#dvImgviewer").css("top", "3px");
          $("#dvImgviewer").css("left", "1px");
          $("#dvImgviewer").css("width", iViewerWidth + "px");
          var iMaxHeight = $(window).height() - 170;
          //$("#dvImgviewer").css("height", iMaxHeight + "px");
          $("#dvImgviewer").css("max-height", "100%");
          //$("#dvImgviewer").css("overflow", "scroll");
          $("#dvimgCointainer").css("height", ($(window).height() - 60) + "px");
          $("#dvimgCointainer").css("overflow-x", "hidden");
          $("#dvimgCointainer").css("overflow-y", "auto");
          $("#dvDragExternal").addClass("drsElement");
          $("#dvDragInternal").addClass("drsMoveHandle");
          $("#dvImgviewer").css("float", "left");
          $("#dvImgviewer").css("z-index", "101");
          $("#dvimgCointainer").css("width", "100%"); //$("#dvImgviewer").width() + 
          $("#dvBrokerDataFormContainer").show();
          $("#dvBrokerDataFormContainer").css("position", "absolute");
          $("#dvBrokerDataFormContainer").css("top", "3px");
          var DvSubWidth = iViewerWidth + 20;
          $("#dvBrokerDataFormContainer").css("left", DvSubWidth + "px");
          //$("#dvBrokerDataFormContainer").css("width", "730");
          $("#dvBrokerDataFormContainer").css("z-index", "101");
          $("#divFormCointainer").css("height", iMaxHeight + "px");
          var oTmrLic = setInterval(function() {
            if (document.getElementById("divFormCointainer") && typeof(W9Form) != 'undefined') {
              BidProject.InitViewer(3);
              clearInterval(oTmrLic);
            }
          }, 1000);
          $("#btnImgViewZoomIn").hide();
        };
        BidProject.OpenContractForm = function() {
          var OcrId = BidProject.OcrId;
          //var DocumentTarget = $("#ddlSetDocumentFor").is(":visible") ? $("#ddlSetDocumentFor").val() : "2"; // upload for project is default 
          var DocumentTarget = $("#hdnSBNBidProjectId").val() == "" ? "&DocumentTarget=1" : "&DocumentTarget=2";
          Fajax.GetBox('SC/Admin/ContractForm.aspx?FD=1&showbox=false&Function=BidProject.UpdateList&DocStatusId=1&CompLocId=' + $("#hdnCompanyLocationId").val() + '&OcrId=' + OcrId + DocumentTarget, '', 'dvBrokerDataFormContainer');
          $("#dvFormDataEdit").show();
          var iViewerWidth = ($(window).width() - 825); // 730 is min-width of form--$("#divFormCointainer").width()
          $("#dvFormDataEdit").css("left", "0px");
          $("#dvFormDataEdit").css("top", "0px");
          $("#dvFormDataEdit").css("bottom", "0px");
          $("#dvFormDataEdit").css("width", "100%");
          $("#dvFormDataEdit").css("padding-top", "0px");
          $("#dvFormDataEdit").css("position", "fixed");
          $("#dvFormDataEdit").css("z-index", "100");
          $("#dvFormDataEdit").css("float", "left");
          //$("#dvFormDataEdit").css("overflow", "hidden");
          $("#dvFormDataEdit").css("background-color", "#666");
          $("#dvFullScreenBar").show();
          //$("#dvImgviewer").hide();
          $("#dvImgviewer").css("position", "absolute");
          $("#dvImgviewer").css("top", "3px");
          $("#dvImgviewer").css("left", "1px");
          $("#dvImgviewer").css("width", iViewerWidth + "px");
          var iMaxHeight = $(window).height() - 170;
          //$("#dvImgviewer").css("height", iMaxHeight + "px");
          $("#dvImgviewer").css("max-height", "100%");
          //$("#dvImgviewer").css("overflow", "scroll");
          $("#dvimgCointainer").css("height", ($(window).height() - 60) + "px");
          $("#dvimgCointainer").css("overflow-x", "hidden");
          $("#dvimgCointainer").css("overflow-y", "auto");
          $("#dvDragExternal").addClass("drsElement");
          $("#dvDragInternal").addClass("drsMoveHandle");
          $("#dvImgviewer").css("float", "left");
          $("#dvImgviewer").css("z-index", "101");
          $("#dvimgCointainer").css("width", "100%"); //$("#dvImgviewer").width() + 
          $("#dvBrokerDataFormContainer").show();
          $("#dvBrokerDataFormContainer").css("position", "absolute");
          $("#dvBrokerDataFormContainer").css("top", "3px");
          $("#dvBrokerDataFormContainer").css("right", "-4px");
          //$("#dvBrokerDataFormContainer").css("width", "730");
          $("#dvBrokerDataFormContainer").css("z-index", "101");
          $("#dvCoiDataContainer").css("height", iMaxHeight + "px");
          // setTimeout(function () { BidProject.InitViewer(2); }, 5000);
          var oTmrLic = setInterval(function() {
            if (document.getElementById("divFormCointainer") && typeof(ContractForm) != 'undefined') {
              BidProject.InitViewer(5);
              clearInterval(oTmrLic);
            }
          }, 1000);
          $("#btnImgViewZoomIn").hide();
        };
        BidProject.OpenCustomDocumentForm = function(DocumentTypeId) {
          Fajax.GetBox('SC/CustomDocument/CustomDocumentForm.aspx?FD=1&DocumentTypeId=' + DocumentTypeId + '&ShowHeader=true', '', 'dvBrokerDataFormContainer');
          $("#dvFormDataEdit").show();
          var iViewerWidth = ($(window).width() - 825); // 730 is min-width of form--$("#divFormCointainer").width()
          $("#dvFormDataEdit").css("left", "0px");
          $("#dvFormDataEdit").css("top", "0px");
          $("#dvFormDataEdit").css("bottom", "0px");
          $("#dvFormDataEdit").css("width", "100%");
          $("#dvFormDataEdit").css("padding-top", "0px");
          $("#dvFormDataEdit").css("position", "fixed");
          $("#dvFormDataEdit").css("z-index", "100");
          $("#dvFormDataEdit").css("float", "left");
          //$("#dvFormDataEdit").css("overflow", "hidden");
          $("#dvFormDataEdit").css("background-color", "#666");
          $("#dvFullScreenBar").show();
          //$("#dvImgviewer").hide();
          $("#dvImgviewer").css("position", "absolute");
          $("#dvImgviewer").css("top", "3px");
          $("#dvImgviewer").css("left", "1px");
          $("#dvImgviewer").css("width", iViewerWidth + "px");
          var iMaxHeight = $(window).height() - 170;
          //$("#dvImgviewer").css("height", iMaxHeight + "px");
          $("#dvImgviewer").css("max-height", "100%");
          //$("#dvImgviewer").css("overflow", "scroll");
          $("#dvimgCointainer").css("height", ($(window).height() - 60) + "px");
          $("#dvimgCointainer").css("overflow-x", "hidden");
          $("#dvimgCointainer").css("overflow-y", "auto");
          $("#dvDragExternal").addClass("drsElement");
          $("#dvDragInternal").addClass("drsMoveHandle");
          $("#dvImgviewer").css("float", "left");
          $("#dvImgviewer").css("z-index", "101");
          $("#dvimgCointainer").css("width", "100%"); //$("#dvImgviewer").width() + 
          $("#dvBrokerDataFormContainer").show();
          $("#dvBrokerDataFormContainer").css("position", "absolute");
          $("#dvBrokerDataFormContainer").css("top", "3px");
          var DvSubWidth = iViewerWidth + 20;
          $("#dvBrokerDataFormContainer").css("left", DvSubWidth + "px");
          //$("#dvBrokerDataFormContainer").css("width", "730");
          $("#dvBrokerDataFormContainer").css("z-index", "101");
          $("#divFormCointainer").css("height", iMaxHeight + "px");
          var oTmrLic = setInterval(function() {
            if (typeof(CustomDocumentForm["D0"]) != 'undefined') {
              BidProject.InitViewer(DocumentTypeId);
              clearInterval(oTmrLic);
            }
          }, 1000);
          $("#btnImgViewZoomIn").hide();
        };
        BidProject.InitViewer = function(sDocType) {
          var iDocType = parseInt(sDocType, 10);
          switch (iDocType) {
            case 1:
              // $("#hdnDocStatusId").val(1);
              LicenseForm.CompanyLocationId = $("#hdnCompanyLocationId").val();
              LicenseForm.BidProjectId = $("#hdnSBNBidProjectId").val();
              document.getElementById("btnCancel_License").onclick = BidProject.CancelForm;
              document.getElementById("closeLicenseFrm").onclick = BidProject.CancelForm;
              break;
            case 4:
            case 2:
            case 8:
              // $("#hdnDocStatusId").val(1);
              CoiForm.CompanyLocationId = $("#hdnCompanyLocationId").val();
              $("#hdnCoiFormBidProjectId").val($("#hdnSBNBidProjectId").val());
              document.getElementById("btnCancel_Coi").onclick = function() {
                BidProject.SaveBrokerFileInfo_CallBack();
                return false;
              };
              break;
            case 3:
              // $("#hdnDocStatusId").val(1);
              W9Form.BidProjectId = $("#hdnSBNBidProjectId").val();
              document.getElementById("btnCancel_W9").onclick = BidProject.CancelForm;
              document.getElementById("closew9Form").onclick = BidProject.CancelForm;
              break;
            case 6:
            case 9:
              EocpForm.CompanyLocationId = $("#hdnCompanyLocationId").val();
              $("#hdnEocpFormBidProjectId").val($("#hdnSBNBidProjectId").val());
              document.getElementById("btnCancel_Eocp").onclick = function() {
                BidProject.SaveBrokerFileInfo_CallBack();
                return false;
              };
              break;
            case 5:
              // $("#hdnDocStatusId").val(1);
              ContractForm.CompanyLocationId = $("#hdnCompanyLocationId").val();
              ContractForm.BidProjectId = $("#hdnSBNBidProjectId").val();
              document.getElementById("btnCancel_Contract").onclick = function() {
                BidProject.SaveBrokerFileInfo_CallBack();
                return false;
              };
              break;
            default: {
              CustomDocumentForm["D0"].CompanyLocationId = $("#hdnCompanyLocationId").val();
              CustomDocumentForm["D0"].BidProjectId = $("#hdnSBNBidProjectId").val();
              CustomDocumentForm["D0"].StatusId = 1;
              try {
                document.getElementById($($("input[id^='btnCancel_']")).attr("id")).onclick = function() {
                  BidProject.SaveBrokerFileInfo_CallBack();
                  return false;
                };
              } catch (e) {}
              break;
            }
          }
        };
        BidProject.SaveNewCustomDocument = function(DocumentTypeId, sXmlData) {
          var sDocumentTarget = $("#hdnSBNBidProjectId").val() == "" ? "1" : "2";
          var sProjectIds = $("#hdnSBNBidProjectId").val();
          var isCompanyDoc = (sDocumentTarget != "2").toString();
          Fajax.CallFunction('SC!CustomDocument.CustomDocumentForm.SaveNewCustomDocument:BidProject', GetElementById("divCustomDocHdn"), DocumentTypeId, $("#hdnCompanyLocationId").val(), 1, sProjectIds, isCompanyDoc, sXmlData);
        };
        BidProject.SaveNewCustomDocument_CallBack = function(response) {
          HidePleaseWaitBox();
          if (response.error != null || response.value[0] == "Error") {
            ConfirmSendError(response.error || response.value[1]);
            return;
          }
          BidProject.UpdateList(response.value[1], true);
        };
        BidProject.DeleteDocument_ClientEvent = function(DocId, DocumentTypeId) {
          System.DisableWaitBox();
          var fnYes = "VirtualFormValidation('');Fajax.CallFunction('Broker.BidProjectBroker.DeleteDocument:BidProject', " + DocId + "," + DocumentTypeId + ")";
          Confirm(fnYes, "", lng_External_Broker_BidProjectBroker.msgConfirmActionTitle, lng_External_Broker_BidProjectBroker.msgConfirmDelete);
        };
        BidProject.DeleteDocument_CallBack = function(response) {
          if ((response.error == null) && (response.value[0] != null)) {
            if (response.value[0] != "Error") {
              //refresh list
              BidProject.CurrentFileName = response.value[1];
              BidProject.UpdateList(null, false);
              Notify('The file is deleted');
              HidePleaseWaitBox();
            } else if (response.value[1] == "ErrorOnDeleteDocument") {
              Alert("", lng_External_Broker_BidProjectBroker.msgErrorTitle, lng_External_Broker_BidProjectBroker.msgErrorDeletingDocument);
            } else if (response.value[1] == "FileIsProcessed") {
              Alert("", lng_External_Broker_BidProjectBroker.msgErrorTitle, lng_External_Broker_BidProjectBroker.msgErrorDocumentProcessed);
            } else {
              Alert("", lng_External_Broker_BidProjectBroker.msgErrorTitle, response.value[1]);
            }
          } else {
            HidePleaseWaitBox();
            if (response.error != null) alert("Application Error: " + response);
            //else
            //ConfirmSendError(response.value[1]);
            location.reload();
          }
        };
        BidProject.SaveExternalFileInfo_ClientEvent = function(sFileName, iDocumentId) {
          var pageCount = 0;
          var viewerPdfjs = document.getElementById('SubViewer_viewPdfFile');
          if (viewerPdfjs != null && typeof(viewerPdfjs.contentWindow.PDFViewerApplication) != 'undefined') {
            pageCount = viewerPdfjs.contentWindow.PDFViewerApplication.pdfViewer._pages.length;
          }
          Fajax.CallFunction('Broker.BidProjectBroker.SaveBrokerFileInfo:BidProject', sFileName, $("#hdnCompanyLocationId").val(), $("#hdnSBNBidProjectId").val(), oViewer["SubViewer"].RootDirectory, iDocumentId, pageCount, BidProject.OcrId > 0 ?
            BidProject.OcrId : '');
        };
        BidProject.SaveBrokerFileInfo_CallBack = function(response) {
          BidProject.CancelForm();
        };
        BidProject.SaveBrokerDocAndFileInfo_ClientEvent = function(sFileName, iDocTypeId) {
          $("#hdnLasDocumentTypeIdUploaded").val(iDocTypeId);
          var pageCount = 0;
          var viewerPdfjs = document.getElementById('SubViewer_viewPdfFile');
          if (viewerPdfjs != null && typeof(viewerPdfjs.contentWindow.PDFViewerApplication) != 'undefined') {
            pageCount = viewerPdfjs.contentWindow.PDFViewerApplication.pdfViewer._pages.length;
          }
          Fajax.CallFunction('Broker.BidProjectBroker.SaveBrokerDocAndFileInfo:BidProject', sFileName, $("#hdnCompanyLocationId").val(), $("#hdnSBNBidProjectId").val(), iDocTypeId, pageCount);
        }
        BidProject.SaveBrokerDocAndFileInfo_CallBack = function(response) {
          var iNewDocumentId = response.value[1];
          BidProject.UpdateList(iNewDocumentId, true);
        };
        BidProject.UpdateList = function(iNewDocumentId, ifSave) { //BidProject
          if (iNewDocumentId != null) {
            BidProject.SaveExternalFileInfo_ClientEvent(BidProject.CurrentFileName, iNewDocumentId);
            if (ifSave) {
              localStorage['saveDocs'] = 1;
              BidProject.SendCommunication(iNewDocumentId, BidProject.CurrentFileNameUpload);
            } else {
              localStorage['saveDocs'] = 0;
            }
          } else {
            BidProject.CancelForm();
          }
        };
        BidProject.CancelForm = function() {
          VirtualFormValidation("");
          window.location.href = window.location.href;
          window.location.reload();
          //            $("#dvFormDataEdit").hide();
        };
      </script>
      <script type="text/html" id="qq-template">
        <div class="qq-uploader-selector qq-uploader">
          <div class="qq-upload-button-selector ButtonFormat ButtonConfigSkin">
            <div>Upload new File</div>
          </div>
          <span class="qq-drop-processing-selector qq-drop-processing">
            <span>Processing dropped files...</span>
            <span class="qq-drop-processing-spinner-selector qq-drop-processing-spinner"></span>
          </span>
          <ul class="qq-upload-list-selector qq-upload-list">
            <li>
              <div class="qq-progress-bar-container-selector">
                <div class="qq-progress-bar-selector qq-progress-bar"></div>
              </div>
              <span class="qq-upload-spinner-selector qq-upload-spinner"></span>
              <img class="qq-thumbnail-selector" qq-max-size="100" qq-server-scale>
              <span class="qq-edit-filename-icon-selector qq-edit-filename-icon"></span>
              <span id="spnCoiFileName" class="qq-upload-file-selector qq-upload-file"></span>
              <input class="qq-edit-filename-selector qq-edit-filename" tabindex="0" type="text">
              <span class="qq-upload-size-selector qq-upload-size"></span>
              <a class="qq-upload-cancel-selector btn-small btn-warning" href="#">Cancel</a>
              <a class="qq-upload-retry-selector btn-small btn-info" href="#">Retry</a>
              <a class="qq-upload-delete-selector btn-small btn-warning" href="#">Delete</a>
              <a class="qq-upload-pause-selector btn-small btn-info" href="#">Pause</a>
              <a class="qq-upload-continue-selector btn-small btn-info" href="#">Continue</a>
              <span class="qq-upload-status-text-selector qq-upload-status-text"></span>
              <a class="view-btn btn-small btn-info hide" target="_blank">View</a>
            </li>
          </ul>
        </div>
      </script>
      <input name="hdnSBNBidProjectId" type="hidden" id="hdnSBNBidProjectId" value="">
      <input name="hdnCompanyLocationId" type="hidden" id="hdnCompanyLocationId" value="10582229">
      <input name="hdnProducerForwardId" type="hidden" id="hdnProducerForwardId" value="542288">
      <input name="hdnComplianceDueDate" type="hidden" id="hdnComplianceDueDate">
      <input name="hdnServerDateToday" type="hidden" id="hdnServerDateToday">
      <input name="hdnNonVendorOcr" type="hidden" id="hdnNonVendorOcr" value="True">
      <div id="divMain" style="height: 500px; font-size: 13px; width: 99.5%;">
        <div id="ContentData" style="height: 800px; font-size: 13px; width: 100%;">
          <div class="Padding10" style="width: 99.2%;">
            <div class="TopRound5 BottomRound5 FormBoxBorder" style="margin: 0 auto; width: 100%; min-height: 600px;">
              <div id="dvBidProjectInformation" style="display: none;">
                <div style="margin: 15px 0px -10px 18px; font-size: 14px;" class="FontBold">
                  <label id="Label9" class="LabelBox">Information</label>
                </div>
                <div id="divBidInfo" style="width: 100%; font-size: 14px; clear: both;">
                  <div id="dvCompanyInvited" class="PaddingText" style="display: none;">
                    <div style="padding-right: 4px;" class="FontBold">Company Invited:</div>
                    <div id="lblCompanyName">
                    </div>
                  </div>
                  <div id="dvBidStatus" class="PaddingText" style="display: none;">
                    <div id="Div3" class="FontBold" style="padding-right: 4px;">Project Status:</div>
                    <div id="lblStatus">
                    </div>
                  </div>
                  <div class="PaddingText">
                    <div id="Div5" style="padding-right: 4px;" class="FontBold">Phone:</div>
                    <div id="lblPhone"></div>
                  </div>
                  <div class="PaddingText">
                    <div id="Div6" style="padding-right: 4px;" class="FontBold">Fax:</div>
                    <div id="lblFax"></div>
                  </div>
                </div>
                <div style="margin: 15px 0px -10px 18px; font-size: 14px;" class="FontBold">
                  <label id="Label1" class="LabelBox">Compliance Information</label>
                </div>
                <div id="divComplianceInfo" style="width: 100%; font-size: 14px; clear: both;">
                  <div id="dvComplianceManager" class="PaddingText">
                    <div style="padding-right: 4px;" class="FontBold">Manager:</div>
                    <div id="lblComplianceManager">
                    </div>
                  </div>
                  <div id="dvComplianceDueDate" class="PaddingText">
                    <div id="Div1" style="padding-right: 4px;" class="FontBold">Due Date:</div>
                    <div id="lblComplianceDueDate">
                    </div>
                  </div>
                </div>
              </div>
              <div id="divReqGroupGral" style="width: 100%; line-height: 20px; margin-top: 10px;">
                <div id="divRequirementGroup" style="width: 100%;">
                  <div id="dv_7" style="float:left; clear:left; width:761px; margin-bottom:10px; display: block; margin-right:20px;box-shadow: 0 0 0 0; " class="TopRound5 BottomRound5 FormBoxBorder">
                    <div id="dv1head1" style="display: block ; float:none;font-size:17px;padding-left:8px" class="FormBox BoxFormSkin TopRound5">
                      <div class="Pictos " style="color:#FF0000;font-size:24px !important; width: 25px;"> * </div>
                      <div class="FormBoxText"> Certificate of Insurance </div>
                    </div>
                    <div style="width:379px;border-right: 1px solid rgb(209, 209, 209);" class="">
                      <div style="font-size:17px; display: block ; float:none;width:100%;margin-left:10px;margin-top:5px;margin-right:10px; clear:right;" class="bold">Details</div>
                      <div id="dv1DataAndHeader" class="ControlBox" style="width:100%;margin-top:5px;">
                        <div class="FormBox BoxFormSkin TopRound5" style="padding-left:5px;height:20px">
                          <div style="width:207px;">Message </div>
                        </div>
                        <div id="dv1DataTab" style="width:100%;max-height:330px;overflow-x:hidden;overflow-y:auto;border-bottom:1px solid #dddddd;">
                          <div style="clear:both;border-top:1px solid #dddddd;padding:5px;width:100%;height:auto" class="odd">
                            <div style="width:4%; padding-right:5%;"><span class="Pictos RedFont" style="text-decoration:none;color:#ff0000;"> * </span></div>
                            <div style="width:95%;">COL.[(general liability).(General Aggregate)] &gt;= 1,000,000</div>
                          </div>
                          <div style="clear:both;border-top:1px solid #dddddd;padding:5px;width:100%;height:auto" class="even">
                            <div style="width:4%; padding-right:5%;"><span class="Pictos RedFont" style="text-decoration:none;color:#ff0000;"> * </span></div>
                            <div style="width:95%;">COL.[(general liability).(Products - Comp/Op Agg)] &gt;= 1,000,000</div>
                          </div>
                          <div style="clear:both;border-top:1px solid #dddddd;padding:5px;width:100%;height:auto" class="odd">
                            <div style="width:4%; padding-right:5%;"><span class="Pictos RedFont" style="text-decoration:none;color:#ff0000;"> * </span></div>
                            <div style="width:95%;">COL.[(general liability).(Each Occurrence)] &gt;= 1,000,000</div>
                          </div>
                          <div style="clear:both;border-top:1px solid #dddddd;padding:5px;width:100%;height:auto" class="even">
                            <div style="width:4%; padding-right:5%;"><span class="Pictos RedFont" style="text-decoration:none;color:#ff0000;"> * </span></div>
                            <div style="width:95%;">COL.[(automobile liability).(Combined Single Limits)] &gt;= 1,000,000</div>
                          </div>
                          <div style="clear:both;border-top:1px solid #dddddd;padding:5px;width:100%;height:auto" class="odd">
                            <div style="width:4%; padding-right:5%;"><span class="Pictos RedFont" style="text-decoration:none;color:#ff0000;"> * </span></div>
                            <div style="width:95%;">COL.[(automobile liability).(Any Auto)]</div>
                          </div>
                          <div style="clear:both;border-top:1px solid #dddddd;padding:5px;width:100%;height:auto" class="even">
                            <div style="width:4%; padding-right:5%;"><span class="Pictos RedFont" style="text-decoration:none;color:#ff0000;"> * </span></div>
                            <div style="width:95%;">COL.[(excess/umbrella liability).(Each Occurrence)] &gt;= 2,000,000</div>
                          </div>
                          <div style="clear:both;border-top:1px solid #dddddd;padding:5px;width:100%;height:auto" class="odd">
                            <div style="width:4%; padding-right:5%;"><span class="Pictos RedFont" style="text-decoration:none;color:#ff0000;"> * </span></div>
                            <div style="width:95%;">COL.[(excess/umbrella liability).(Aggregate)] &gt;= 2,000,000</div>
                          </div>
                          <div style="clear:both;border-top:1px solid #dddddd;padding:5px;width:100%;height:auto" class="even">
                            <div style="width:4%; padding-right:5%;"><span class="Pictos RedFont" style="text-decoration:none;color:#ff0000;"> * </span></div>
                            <div style="width:95%;">COL.[(workers compensation and employers' liability).(El Each Accident)] &gt;= 100,000</div>
                          </div>
                          <div style="clear:both;border-top:1px solid #dddddd;padding:5px;width:100%;height:auto" class="odd">
                            <div style="width:4%; padding-right:5%;"><span class="Pictos RedFont" style="text-decoration:none;color:#ff0000;"> * </span></div>
                            <div style="width:95%;">COL.[(workers compensation and employers' liability).(El Disease-Policy Limits)] &gt;= 500,000</div>
                          </div>
                          <div style="clear:both;border-top:1px solid #dddddd;padding:5px;width:100%;height:auto" class="even">
                            <div style="width:4%; padding-right:5%;"><span class="Pictos RedFont" style="text-decoration:none;color:#ff0000;"> * </span></div>
                            <div style="width:95%;">COL.[(workers compensation and employers' liability).(El Disease-Each Employee)] &gt;= 100,000</div>
                          </div>
                        </div><!-- closes dv1DataTab -->
                      </div><!-- closes dv1DataAndHeader -->
                    </div>
                    <div style="width:377px;border-left: 1px solid rgb(209, 209, 209);">
                      <div style="font-size:17px; display: block ; float:none;width:100%;margin-left:10px;margin-top:5px;margin-right:10px; clear:right;" class="bold"> Uploaded Certificate of Insurance </div>
                      <div style="width:100%">
                        <div class="ControlBox" style="margin-top:5px;width:100%;">
                          <div class="FormBox BoxFormSkin TopRound5" style="padding-left:5px;height:20px; width:98.5%;">
                            <div class="tbRow0">View</div>
                            <div class="tbRow2">Doc Date</div>
                            <div class="tbRow3">Uploaded on</div>
                            <div class="tbRow4">Status</div>
                          </div>
                          <div style="clear:both;border-top:1px solid #dddddd;padding:5px;width:98%;height:auto" class="even">
                            <div class="tbRow0"><a href="javascript:BidProject.ViewDoc(1330534);">View</a></div>
                            <div class="tbRow2">11-02-2021</div>
                            <div class="tbRow3">11-02-2021</div>
                            <div class="tbRow4">Processed</div>
                          </div>
                          <div style="clear:both;border-top:1px solid #dddddd;padding:5px;width:98%;height:auto" class="odd">
                            <div class="tbRow0"><a href="javascript:BidProject.ViewDoc(1366223);">View</a></div>
                            <div class="tbRow2">01-20-2022</div>
                            <div class="tbRow3">01-20-2022</div>
                            <div class="tbRow4">Processed</div>
                          </div>
                          <div style="clear:both;border-top:1px solid #dddddd;padding:5px;width:98%;height:auto" class="even">
                            <div class="tbRow0"><a href="javascript:BidProject.ViewDoc(1521492);">View</a></div>
                            <div class="tbRow2">09-02-2022</div>
                            <div class="tbRow3">09-06-2022</div>
                            <div class="tbRow4">Processed</div>
                          </div>
                          <div style="clear:both;border-top:1px solid #dddddd;padding:5px;width:98%;height:auto" class="odd">
                            <div class="tbRow0"><a href="javascript:BidProject.ViewDoc(1540236);">View</a></div>
                            <div class="tbRow2">09-30-2022</div>
                            <div class="tbRow3">09-30-2022</div>
                            <div class="tbRow4">Processed</div>
                          </div>
                          <div style="display:inline" id="dvProgCertificate of Insurance"></div>
                          <div id="uploadCOIFile_7" class="UploadDocument" style="width:100%; clear:left; padding-top:5px; padding-bottom: 10px;" align="center">
                            <div class="qq-uploader-selector qq-uploader">
                              <div class="qq-upload-button-selector ButtonFormat ButtonConfigSkin" style="position: relative; overflow: hidden; direction: ltr;">
                                <div>Upload new File</div>
                                <input qq-button-id="c9c224c0-616a-4376-9f42-be18cca24190" type="file" name="qqfile"
                                  style="position: absolute; right: 0px; top: 0px; font-family: Arial; font-size: 118px; margin: 0px; padding: 0px; cursor: pointer; opacity: 0;">
                              </div>
                              <span class="qq-drop-processing-selector qq-drop-processing qq-hide">
                                <span>Processing dropped files...</span>
                                <span class="qq-drop-processing-spinner-selector qq-drop-processing-spinner"></span>
                              </span>
                              <ul class="qq-upload-list-selector qq-upload-list"></ul>
                            </div>
                          </div>
                        </div>
                      </div>
                    </div>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
        <div id="MsgContent">
        </div>
        <div style="position: absolute; width: 100%; height: auto;">
          <div id="dvFormDataEdit" style="display: none;">
            <div id="divBrokerViewerContainer" style="width: 860px;">
              <style type="text/css">
                .ImgV_toolbar,
                a.ImgV_toolbar {
                  font-size: 22px;
                  font-family: pictos;
                  /*color: #ffffff;*/
                  text-decoration: none;
                  padding-left: 10px;
                }

                .ImgV_toolbar:hover {
                  font-size: 22px;
                  font-family: pictos;
                  color: #DDD;
                  text-decoration: none;
                }

                .JBIcons,
                a.JBIcons {
                  font-family: JB-font-6;
                  color: White;
                  font-size: 22px !important;
                  margin-top: 4px;
                }

                .JBIcons:hover {
                  color: #DDD;
                }

                .DTTT_button_pdf {
                  padding-bottom: 4px;
                }

                .ImgV_textToolbar {
                  color: #AAAAAA;
                }

                .disabledToolbarIcon {
                  color: #AAAAAA !important;
                  cursor: default !important;
                  text-decoration: none !important;
                }

                #bgFullScreen {
                  position: fixed;
                  top: 0;
                  left: 0;
                  width: 100%;
                  height: 100%;
                  background: #000;
                  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
                  filter: alpha(opacity=50);
                  opacity: 0.5;
                  display: none;
                }

                .tbcover {
                  position: absolute;
                  top: 0px;
                  left: 0px;
                  width: 100%;
                  height: 22px;
                  /*background-color: #000;*/
                  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=70)";
                  filter: alpha(opacity=70);
                  opacity: 0.7;
                  z-index: 5;
                  display: none;
                  border-bottom: 1px solid;
                }

                .rotated {
                  display: block;
                  -moz-transform: rotate(-180deg);
                  -webkit-transform: rotate(-180deg);
                  transform: rotate(-180deg);
                  filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=2);
                }

                #dvImgviewer a {
                  text-decoration: none;
                }

                .drsElement {
                  position: relative;
                }

                .drsMoveHandle {
                  cursor: move;
                }

                .drsMoveHandle img {
                  -moz-box-shadow: #123456 0 0 10px;
                  -webkit-box-shadow: #123456 0 0 10px;
                  box-shadow: #123456 0 0 10px;
                }

                .recognized {
                  font-family: 'Pictos', sans-serif;
                  cursor: pointer;
                  font-size: 22px;
                  padding-bottom: 4px;
                  display: block;
                  margin-left: 5px;
                  color: #4CAF50;
                  vertical-align: middle;
                  margin-top: -2px;
                }

                .notRecognized {
                  padding-bottom: 5px;
                  line-height: 19px;
                  margin-top: 1px;
                  width: 18px;
                  font-weight: bold;
                  height: 13px;
                  position: relative;
                  display: block;
                  font-size: 15px;
                  text-align: center;
                  padding-top: 0px;
                  margin-left: 5px;
                  text-shadow: none;
                  background-color: #c83f3c;
                  color: white;
                  border-radius: 9px;
                  cursor: pointer;
                }

                .ocrTextNotR {
                  line-height: 20px;
                  font-size: 15px;
                  color: #c83f3c;
                }

                .ocrTextR {
                  line-height: 20px;
                  font-size: 15px;
                  color: #4CAF50;
                }

                .containerNotRecognized {
                  cursor: pointer;
                  width: 70px;
                  border: 1px solid #c83f3c;
                  border-radius: 2px;
                  cursor: pointer;
                  width: 58px;
                  height: 20px;
                  padding-left: 8px;
                }

                .containerRecognized {
                  cursor: pointer;
                  width: 70px;
                  cursor: pointer;
                  width: 58px;
                  height: 20px;
                  padding-left: 8px;
                }

                .containerRecognizedOCR {
                  cursor: pointer;
                }

                .divToolTipDescription {
                  left: -100px;
                  width: 108px;
                  bottom: -32px;
                  border: 1px solid #E2E2E2;
                  background-color: #ffffff;
                  border-radius: 5px;
                  font-size: 12px;
                  font-family: "Roboto Condensed Regular";
                  color: #5E6A70;
                  font-weight: 100;
                  position: absolute;
                }

                .divToolTipDescription:after,
                .divToolTipDescription:before {
                  content: '';
                  display: block;
                  position: absolute;
                  right: 100%;
                  width: 0;
                  height: 0;
                  border-style: solid;
                }

                .divToolTipDescription:before {
                  top: 29px;
                  left: 100%;
                  margin-top: -25px;
                  border-width: 8px;
                  border-color: rgba(136, 183, 213, 0);
                  border-left-color: #FFFFFF;
                }

                .divToolTipDescription:after {
                  border-color: rgba(136, 183, 213, 0);
                  border-left-color: #FFFFFF;
                  border-width: 8px;
                  margin-top: -25px;
                  left: 100%;
                  top: 29px;
                }

                .containerToolTip {
                  position: relative;
                }

                #containerNotRec {
                  padding-left: 20px;
                  height: 84px;
                  width: 245px;
                }

                #containerTitleNotRec {
                  border-bottom: 1px solid #E2E2E2;
                }

                #notRecognizedStatus {
                  width: 95%;
                  padding-bottom: 10px;
                  padding-top: 10px;
                }

                #fileNameV {
                  white-space: nowrap;
                  text-overflow: ellipsis;
                  width: 79%;
                  display: inline-block;
                  overflow: hidden;
                  margin-left: 10px;
                  padding-top: 1px;
                  cursor: pointer
                }
              </style>
              <script type="text/javascript">
                var sIndex = 'SubViewer';
                var ObjViewer = {}
                oViewer[sIndex] = {};
                oViewer[sIndex].RelativePath = new String();
                oViewer[sIndex].RootDirectory = new String();
                oViewer[sIndex].IsOnInbox = new Boolean();
                oViewer[sIndex].CurrentFile = new String();
                oViewer[sIndex].FileName = new String();
                oViewer[sIndex].CurrentPage = 0;
                oViewer[sIndex].PageCount = 0;
                oViewer[sIndex].CurrentRotation = 0;
                oViewer[sIndex].DafaultImageWidth = 100;
                oViewer[sIndex].DefaultImageHeight = 100;
                var height = 0;
                if (TabSystem.ActiveDivId == Fajax.divInboxId) {
                  oViewer[sIndex].DivContainerId = ("#" + Fajax.divInboxId);
                  height = $(window).height() - 171;
                } else if ($("#divMiniPopin") != null && ($("#divMiniPopin").css("visibility") != "hidden")) {
                  oViewer[sIndex].DivContainerId = ("#divMiniPopin");
                  height = $('#divMiniPopin').height() - 80;
                } else if ($("divSubViewerContainer") != null && $("#divSubViewerContainer").length > 0) {
                  oViewer[sIndex].DivContainerId = ("#divSubViewerContainer");
                  height = $(window).height() - 30;
                } else if ($("divBrokerViewerContainer") != null && $("#divBrokerViewerContainer").length > 0) {
                  oViewer[sIndex].DivContainerId = ("#divBrokerViewerContainer");
                  height = $(window).height() - 30;
                } else if ($("divWebSubmissionContainer") != null && $("#divWebSubmissionContainer").length > 0) {
                  oViewer[sIndex].DivContainerId = ("#divWebSubmissionContainer");
                  height = $(window).height() - 30;
                } else if ($("divPopinId_Fajax") != null && $("#divPopinId_Fajax").css("visibility").length > 0) {
                  oViewer[sIndex].DivContainerId = ("#divPopinId_Fajax");
                  height = $('#divPopinId_Fajax').height() - 150;
                } else {
                  oViewer[sIndex].DivContainerId = "";
                  height = $(window).height() - 30;
                }
                $(oViewer[sIndex].DivContainerId + ' #containerFile').height(height + "px");
                if (sIndex.indexOf('InboxViewer') > -1) {
                  $("#btnDeleteFile").show();
                } else {
                  $("#btnDeleteFile").hide();
                }
                var sUrl = window.document.location.href;
                sUrl = sUrl.substring(0, sUrl.indexOf("/SC/") + 4);

                function RestoreViewerId() {
                  // alert('a function has been called');
                }
                oViewer[sIndex].GotoPage = function(iPageNum) {
                  if (!oViewer[sIndex].pdfjsViewer) {
                    $(oViewer[sIndex].DivContainerId + " #dvImgNotLoaded").hide();
                    oViewer[sIndex].CurrentPage = iPageNum;
                    $(oViewer[sIndex].DivContainerId + " #ddlImgViewerZoom").val("1");
                    $("#" + sIndex + "_imgViewer").attr("src", "");
                    $(oViewer[sIndex].DivContainerId + " .lblMainViewerMessage").hide();
                    $(oViewer[sIndex].DivContainerId + " #lblLoadingPage").show();
                    var sFullUrl = oViewer[sIndex].CurrentImageBasePath + '/th_' + iPageNum + '.jpg';
                    $("#" + sIndex + "_imgViewer").attr("src", sFullUrl);
                    $("#" + sIndex + "_imgViewer").show("fast");
                    oViewer[sIndex].ToggleToolbar(true);
                    oViewer[sIndex].SetPageNavigation();
                  }
                };
                oViewer[sIndex].NextPage = function() {
                  oViewer[sIndex].GotoPage(++oViewer[sIndex].CurrentPage);
                };
                oViewer[sIndex].PrevPage = function() {
                  oViewer[sIndex].GotoPage(--oViewer[sIndex].CurrentPage);
                };
                oViewer[sIndex].FirstPage = function() {
                  oViewer[sIndex].CurrentPage = 0;
                  oViewer[sIndex].GotoPage(oViewer[sIndex].CurrentPage);
                };
                oViewer[sIndex].LastPage = function() {
                  oViewer[sIndex].CurrentPage = oViewer[sIndex].PageCount - 1;
                  oViewer[sIndex].GotoPage(oViewer[sIndex].CurrentPage);
                };
                oViewer[sIndex].SetPageNavigation = function() {
                  var iPageNum = oViewer[sIndex].CurrentPage + 1;
                  var dvName = oViewer[sIndex].DivContainerId;
                  $(dvName + " #txtCurrentPage").val(iPageNum);
                  $(dvName + " #lblPageCount").html(oViewer[sIndex].PageCount);
                  if (oViewer[sIndex].CurrentPage == 0) {
                    $(dvName + " .moveBack").bind('click', function(e) {
                      e.preventDefault();
                    });
                    $(dvName + " .moveBack").addClass("disabledToolbarIcon");
                  } else {
                    $(dvName + " .moveBack").unbind('click');
                    $(dvName + " .moveBack").removeClass('disabledToolbarIcon');
                  }
                  if (oViewer[sIndex].CurrentPage == oViewer[sIndex].PageCount - 1) {
                    $(dvName + " .moveOn").bind('click', function(e) {
                      e.preventDefault();
                    });
                    $(dvName + " .moveOn").addClass("disabledToolbarIcon");
                  } else {
                    $(dvName + " .moveOn").unbind('click');
                    $(dvName + " .moveOn").removeClass('disabledToolbarIcon');
                  }
                };
                oViewer[sIndex].ToggleToolbar = function(bIsEnabled) {
                  if (!bIsEnabled) $(oViewer[sIndex].DivContainerId + " .tbcover").show();
                  else $(oViewer[sIndex].DivContainerId + " .tbcover").hide();
                };
                oViewer[sIndex].RotatePage = function() {
                  oViewer[sIndex].CurrentRotation = (oViewer[sIndex].CurrentRotation == 360 || oViewer[sIndex].CurrentRotation == 0) ? 180 : 360;
                  $("#" + sIndex + "_imgViewer").rotate(oViewer[sIndex].CurrentRotation, 900, 1000);
                };
                oViewer[sIndex].ViewInPopup = function() {
                  try {
                    var FileName = oViewer[sIndex].CurrentImageBasePath;
                    FileName = FileName.substring(FileName.lastIndexOf("/") + 1, FileName.lenght);
                    var EncodeRelativePath = encodeURIComponent(oViewer[sIndex].RelativePath);
                    var DocId = (oViewer[sIndex].CurrentDocumentId != null) ? oViewer[sIndex].CurrentDocumentId : "";
                    var FileNameFull = encodeURI(oViewer[sIndex].CurrentFile);
                    var Mode = oViewer[sIndex].RootDirectory == "INBOX" ? "DFI" : "DFD";
                    //if (DocId == "") return;
                    var href = "../SC/Include/ImageViewerPopup.aspx?F=" + FileName + "&Pc=" + oViewer[sIndex].PageCount + "&Rp=" + EncodeRelativePath + "&Rd=" + oViewer[sIndex].RootDirectory + "&Cp=" + oViewer[sIndex].CurrentPage + "&MaxHeight=" +
                      ($(window).height() - 28).toString() + (DocId ? ("&DocId=" + DocId) : "") + "&Fn=" + FileNameFull + "&Md=" + Mode;
                    ViewerOpened = window.open(href, "Image Viewer", "width=840,height=768");
                  } catch (e) {
                    ConfirmSendError(e);
                  }
                };
                oViewer[sIndex].Print = function() {
                  var wo = window.open($("#" + sIndex + "_imgViewer").attr("src"), "", "width:920, height:900, location=no, toolbar=no");
                  wo.print();
                };
                oViewer[sIndex].setCurrentFile = function(sFilePath) {
                  if (sFilePath.indexOf('|') >= 0) sFilePath = sFilePath.replace(/\|/g, "\\"); //try escape
                  oViewer[sIndex].CurrentFile = sFilePath;
                }
                oViewer[sIndex].LoadFile = function(sFilePath) {
                  try {
                    oViewer[sIndex].Error = "";
                    if (sFilePath.indexOf('|') >= 0) sFilePath = sFilePath.replace(/\|/g, "\\"); //try escape
                    var aOcrData = sFilePath.split('*');
                    sFilePath = aOcrData[0];
                    if (aOcrData.length > 1) {
                      $("#divOcr").children().hide();
                      $("#imgOcrRec").css("display", "block");
                      $("#imgOcrRec").attr("title", "Recognized form: " + $("#ddlInboxDocType option[value='" + aOcrData[1] + "']").text() + " - " + aOcrData[2] + " " + aOcrData[3]);
                    }
                    oViewer[sIndex].CurrentFile = sFilePath;
                    oViewer[sIndex].CurrentPage = 0;
                    var sFileName = sFilePath.substring(sFilePath.lastIndexOf("\\") + 1, sFilePath.length).toLowerCase().replace('.pdf', '').replace('.tiff', '').replace('.tif', '');
                    var objContext = System.context({
                      FileName: sFileName
                    });
                    if (!oViewer[sIndex].pdfjsViewer) {
                      if (oViewer[sIndex].IsOnInbox) { //do not request generate the image if it's already cached
                        var oFile = oMap.FindByName(sFileName);
                        if (oFile != null && oFile.ImgPath != "") {
                          HidePleaseWaitBox();
                          return;
                        }
                      }
                    }
                    Fajax.CallFunction('SC!Main.ImageViewer.CreateImagesFromFile:oViewer[sIndex]', sFilePath, oViewer[sIndex].RelativePath, oViewer[sIndex].RootDirectory, navigator.userAgent, objContext);
                  } catch (e) {
                    ConfirmSendError(e);
                  }
                };
                oViewer[sIndex].CreateImagesFromFile_CallBack = function(response) {
                  var vFullName = oViewer[sIndex].CurrentFile.split('\\');
                  var sizeFullName = vFullName.length;
                  $('#fileNameV').html('File Name: ' + vFullName[sizeFullName - 1]);
                  $('#fileNameV').attr('title', 'File Name: ' + vFullName[sizeFullName - 1]);
                  if (response.value[5] != "") {
                    /*pdf viewer*/
                    oViewer[sIndex].pdfjsViewer = true;
                    $(oViewer[sIndex].DivContainerId + ' .oldPreview').hide();
                    if (response.value[0] === 'Done') {
                      oViewer[sIndex].Error = false;
                      $(oViewer[sIndex].DivContainerId + " #" + sIndex + "_viewPdfFile").attr('src', response.value[5]);
                      $(oViewer[sIndex].DivContainerId + ' #containerFile').show();
                      $(oViewer[sIndex].DivContainerId + ' #containerImgFile').hide();
                      $(oViewer[sIndex].DivContainerId + ' #dvimgCointainer').hide();
                      //----------------------------------/
                      if (oViewer[sIndex].IsOnInbox) {
                        $(oViewer[sIndex].DivContainerId + ' #headerscfile').show();
                        InboxTab.StartTimeProcessingDoc = new Date();
                      } else {
                        $(oViewer[sIndex].DivContainerId + ' #headerscfile').hide();
                      }
                      if (response.value[4].indexOf("º") > 0) {
                        setTimeout(InboxTab.GetDocumentStatus(response.value[4].slice(0, -1), 'false'), 2000);
                      }
                      //----------------------------/
                    } else {
                      if (!response.value[3]) {
                        $(oViewer[sIndex].DivContainerId + " #message_title_image").text("File is corrupt");
                      } else {
                        $(oViewer[sIndex].DivContainerId + " #message_title_image").text("File not found");
                      }
                      oViewer[sIndex].Error = true;
                      HideImgOnLoadingError();
                      try {
                        AfterError();
                      } catch (e) {}
                    }
                  } else {
                    HidePleaseWaitBox();
                    oViewer[sIndex].pdfjsViewer = false;
                    $(oViewer[sIndex].DivContainerId + ' .oldPreview').show();
                    $(oViewer[sIndex].DivContainerId + " #dvimgCointainer").show();
                    $(oViewer[sIndex].DivContainerId + ' #containerFile').hide();
                    $(oViewer[sIndex].DivContainerId + ' #headerscfile').show();
                    if ((response.error == null) && (response.value[0] != null)) {
                      oViewer[sIndex].Error = false;
                      var sText = "";
                      if (response.value[4] != null) {
                        oViewer[sIndex].setCurrentFile(response.value[4]);
                      }
                      oViewer[sIndex].PageCount = response.value[1];
                      $(oViewer[sIndex].DivContainerId + " #lblPageCount").html(oViewer[sIndex].PageCount);
                      oViewer[sIndex].CurrentImageBasePath = response.value[2].replace('\\', '//') + '//' + response.context.FileName.replace("&", "").replace(" ", "").replace("'", "").replace("#", "").replace("º", "");
                      oViewer[sIndex].GotoPage(0);
                      if (oViewer[sIndex].IsOnInbox) {
                        InboxTab.StartTimeProcessingDoc = new Date();
                        oMap.FindByName(response.context.FileName).ImgPath = oViewer[sIndex].CurrentImageBasePath; //complete the file info with the img Path                
                        oMap.FindByName(response.context.FileName).iPageCount = response.value[1];
                      }
                      if (response.value[3].indexOf("º") > 0) {
                        setTimeout(InboxTab.GetDocumentStatus(response.value[3].slice(0, -1), 'false'), 2000);
                      }
                    } else {
                      if (!response.value[3]) {
                        $(oViewer[sIndex].DivContainerId + " #message_title_image").text("File is corrupt");
                      } else {
                        $(oViewer[sIndex].DivContainerId + " #message_title_image").text("File not found");
                      }
                      if (oViewer[sIndex].IsOnInbox) {
                        for (var i = 0; i < oMap.CacheList.length; i++) {
                          var sFileNameCache = oMap.CacheList[i].FileName.toUpperCase();
                          var sFileNameResponse = response.context.FileName.toUpperCase();
                          if (sFileNameCache.indexOf(sFileNameResponse) != -1) {
                            oMap.CacheList.splice(i, 1);
                          }
                        }
                      }
                      oViewer[sIndex].Error = true;
                      HideImgOnLoadingError();
                      try {
                        AfterError();
                      } catch (e) {}
                    }
                  }
                };
                oViewer[sIndex].CreateImagesFromFile_ClientEvent = function(sFileName) {};
                oViewer[sIndex].CreateProjectImagesFromFile_CallBack = function(response) {
                  oViewer[sIndex].CreateImagesFromFile_CallBack(response);
                };
                //Load a file generated from server directly
                oViewer[sIndex].LoadCreatedFile = function(sFileUrl, iPageCount, sCurrentFilePath, urlfilePdfjs) {
                  var vFullName = oViewer[sIndex].CurrentFile.split('\\');
                  var sizeFullName = vFullName.length;
                  $('#fileNameV').html('File Name: ' + vFullName[sizeFullName - 1]);
                  $('#fileNameV').attr('title', 'File Name: ' + vFullName[sizeFullName - 1]);
                  if (urlfilePdfjs != "") {
                    /*pdf viewer*/
                    oViewer[sIndex].pdfjsViewer = true;
                    $(oViewer[sIndex].DivContainerId + ' .oldPreview').hide();
                    oViewer[sIndex].Error = false;
                    $(oViewer[sIndex].DivContainerId + " #" + sIndex + "_viewPdfFile").attr('src', urlfilePdfjs);
                    $(oViewer[sIndex].DivContainerId + ' #containerFile').show();
                    $(oViewer[sIndex].DivContainerId + ' #containerImgFile').hide();
                    $(oViewer[sIndex].DivContainerId + ' #dvimgCointainer').hide();
                    if (oViewer[sIndex].IsOnInbox == false) {
                      $(oViewer[sIndex].DivContainerId + ' #headerscfile').hide();
                    }
                    if ($('#imgPopinContent').length > 0) $('#imgPopinContent').css('overflow-y', 'hidden');
                  } else {
                    oViewer[sIndex].pdfjsViewer = false;
                    $(oViewer[sIndex].DivContainerId + ' .oldPreview').show();
                    $(oViewer[sIndex].DivContainerId + ' #containerFile').hide();
                    $(oViewer[sIndex].DivContainerId + ' #containerImgFile').show();
                    $(oViewer[sIndex].DivContainerId + ' #dvimgCointainer').show();
                    $(oViewer[sIndex].DivContainerId + ' #headerscfile').show();
                    if ($('#imgPopinContent').length > 0) $('#imgPopinContent').css('overflow-y', 'auto');
                    try {
                      if (sCurrentFilePath) {
                        oViewer[sIndex].setCurrentFile(sCurrentFilePath);
                      }
                      oViewer[sIndex].PageCount = iPageCount;
                      $(oViewer[sIndex].DivContainerId + " #lblPageCount").html(iPageCount);
                      oViewer[sIndex].CurrentImageBasePath = sFileUrl;
                      oViewer[sIndex].GotoPage(0);
                    } catch (e) {
                      ConfirmSendError(e);
                    }
                  }
                };
                oViewer[sIndex].DeleteFile = function() {};
                oViewer[sIndex].DownloadFile = function() {
                  var vcurrentUrl = window.location.href.split('/');
                  var my_url = '';
                  var Mode = '';
                  var FileName = '';
                  var CDId = '';
                  var oTmrLic = {};
                  var comefromImageViewerPopup = false;
                  vcurrentUrl.forEach(function(item) {
                    if (item.indexOf('ImageViewerPopup.aspx') !== -1) {
                      comefromImageViewerPopup = true;
                    }
                  });
                  if (!comefromImageViewerPopup) {
                    Mode = oViewer[sIndex].RootDirectory == "INBOX" ? "DFI" : "DFD";
                    FileName = encodeURI(oViewer[sIndex].CurrentFile);
                    CDId = oViewer[sIndex].CurrentDocumentId ? oViewer[sIndex].CurrentDocumentId : '';
                    my_url = '../SC/Report/DownloadFile.aspx?Mode=' + Mode + '&FileName=' + FileName + '&CDId=' + CDId;
                    ShowPleaseWaitBox();
                    var iframe = $("<iframe id='ifr'/>").attr({
                      src: my_url,
                      style: "visibility:hidden;display:none"
                    }).appendTo(document.body);
                    oTmrLic = setInterval(function() {
                      var x = document.getElementById("ifr");
                      var y = (x.contentWindow || x.contentDocument);
                      if (y.document) {
                        HidePleaseWaitBox();
                      }
                      clearInterval(oTmrLic);
                    }, 1000);
                  } else {
                    Mode = $('#hdnMode').val();
                    FileName = $('#hdnFnDoc').val();
                    CDId = $('#hdnDocId').val();
                    my_url = '../Report/DownloadFile.aspx?Mode=' + Mode + '&FileName=' + FileName + '&CDId=' + CDId;
                    ShowPleaseWaitBox();
                    $('#tblWaitPlease').children('img').attr('src', "../../images/LoadingIcon.gif");
                    var iframeJQ = $("<iframe id='ifr'/>").attr({
                      src: my_url,
                      style: "visibility:hidden;display:none"
                    }).appendTo($('#bodyIVP'));
                    oTmrLic = setInterval(function() {
                      var y = $("#ifr").contents();
                      if (y[0]) {
                        $('#tblWaitPlease').children('img').attr('src', "../images/LoadingIcon.gif");
                        HidePleaseWaitBox();
                      }
                      clearInterval(oTmrLic);
                    }, 1000);
                  }
                };
                oViewer[sIndex].ToggleDelete = function(bVisible) {
                  if (bVisible) $(oViewer[sIndex].DivContainerId + " #btnDeleteFile").show();
                  else $(oViewer[sIndex].DivContainerId + " #btnDeleteFile").hide();
                };
                oViewer[sIndex].FullScreen = function() {
                  try {
                    $("#dvimgCointainer").css("max-height", "");
                    $("#ddlImgViewerZoom").val(1);
                    oViewer[sIndex].Zoom(1);
                    var iPrevHeight = $(oViewer[sIndex].DivContainerId + " #dvImgviewer").outerHeight();
                    var iNewHeight = $(window).height() - 10;
                    var iRatioFactor = iNewHeight / iPrevHeight;
                    var iPrevWidth = $(oViewer[sIndex].DivContainerId + " #dvImgviewer").outerWidth();
                    var iNewWidth = iPrevWidth * iRatioFactor;
                    var bIsOnInbox = sIndex.indexOf('InboxViewer') > -1;
                    var iLeft = bIsOnInbox ? (($(window).width() / 2) - (iNewWidth / 2)) : 0;
                    var dvViewer = $(oViewer[sIndex].DivContainerId + " #dvImgviewer");
                    if (bIsOnInbox) {
                      $(dvViewer).css("width", iNewWidth + "px");
                      //   $(dvViewer).css("top", "0px");
                    } else {
                      //$(dvViewer).css("top", "-30px");
                    }
                    $(dvViewer).css("top", "0px");
                    $(dvViewer).find("#" + sIndex + "_imgViewer").css("max-height", (iNewHeight - 42) + "px"); //DocSearchViewer
                    $(dvViewer).css("height", iNewHeight + "px");
                    $(dvViewer).css("left", iLeft + "px");
                    $(dvViewer).css("padding-top", "0px");
                    $(dvViewer).css("position", "absolute");
                    $(oViewer[sIndex].DivContainerId + " #bgFullScreen").show();
                    //$("#dvImgviewer").css("position", "absolute"); //keep aspect ratio
                    document.getElementById("btnImgViewZoomIn").onclick = oViewer[sIndex].RestoreSize;
                    $(oViewer[sIndex].DivContainerId + " #btnImgViewZoomIn span").html('u'); //`
                  } catch (e) {
                    ConfirmSendError(e);
                  }
                };
                oViewer[sIndex].RestoreSize = function() {
                  try {
                    $("#dvimgCointainer").css("max-height", ($(window).height() - 185) + "px");
                    $(oViewer[sIndex].DivContainerId + " #bgFullScreen").hide();
                    var dvViewer = $(oViewer[sIndex].DivContainerId + " #dvImgviewer");
                    $(dvViewer).css("left", "");
                    $(dvViewer).css("top", "");
                    $(dvViewer).css("position", "");
                    $(dvViewer).css("width", "100%");
                    $(dvViewer).find("#" + sIndex + "_imgViewer").css("max-height", ""); //DocSearchViewer
                    document.getElementById("btnImgViewZoomIn").onclick = oViewer[sIndex].FullScreen;
                    $(oViewer[sIndex].DivContainerId + " #btnImgViewZoomIn span").html('`');
                    $(dvViewer).css("height", "");
                    $("#ddlImgViewerZoom").val(1);
                    oViewer[sIndex].Zoom(1);
                  } catch (e) {
                    ConfirmSendError(e);
                  }
                };
                oViewer[sIndex].ZoomInitConfig = {
                  minWidth: 500,
                  minHeight: 0,
                  minLeft: -530,
                  minTop: -2800,
                  maxLeft: 1000,
                  maxTop: 2600
                };
                oViewer[sIndex].DragResize = new DragResize("dragresize", oViewer[sIndex].ZoomInitConfig);
                oViewer[sIndex].InitZoom = function() {
                  try {
                    oViewer[sIndex].DragResize.isElement = function(elm) {
                      if (elm.className && elm.className.indexOf("drsElement") > -1) return true;
                    };
                    oViewer[sIndex].DragResize.isHandle = function(elm) {
                      if (elm.className && elm.className.indexOf("drsMoveHandle") > -1) return true;
                    };
                    oViewer[sIndex].DragResize.ondragfocus = function() {};
                    oViewer[sIndex].DragResize.ondragstart = function(isResize) {};
                    oViewer[sIndex].DragResize.ondragmove = function(isResize) {};
                    oViewer[sIndex].DragResize.ondragend = function(isResize) {};
                    oViewer[sIndex].DragResize.ondragblur = function() {};
                    var dvId = oViewer[sIndex].DivContainerId.replace('#', '');
                    oViewer[sIndex].DragResize.apply(document.getElementById(dvId));
                  } catch (e) {}
                };
                oViewer[sIndex].Zoom = function(dFactor) {
                  try {
                    var iWidth = dFactor * oViewer[sIndex].DafaultImageWidth;
                    var iHeight = dFactor * oViewer[sIndex].DefaultImageHeight;
                    var dvDragExternal = $(oViewer[sIndex].DivContainerId + " #dvDragExternal");
                    var dvDragInternal = $(oViewer[sIndex].DivContainerId + " #dvDragInternal");
                    var img = document.getElementById(sIndex + "_imgViewer");
                    img.style.width = iWidth + "%";
                    img.style.height = iHeight + "%";
                    if (dFactor > 1) {
                      $(dvDragExternal).addClass("drsElement");
                      $(dvDragInternal).addClass("drsMoveHandle");
                      $(oViewer[sIndex].DivContainerId + " #lblLoadingPage").hide();
                    } else {
                      $(dvDragExternal).css("top", "0px");
                      $(dvDragExternal).css("left", "0px");
                      $(dvDragInternal).css("top", "0px");
                      $(dvDragInternal).css("left", "0px");
                      $(dvDragExternal).css("height", "auto");
                      $(dvDragExternal).removeClass("drsElement");
                      $(dvDragInternal).removeClass("drsMoveHandle");
                      $(oViewer[sIndex].DivContainerId + " #lblLoadingPage").hide();
                    }
                    oViewer[sIndex].DragResize.maxTop = oViewer[sIndex].ZoomInitConfig.maxTop * dFactor;
                    oViewer[sIndex].DragResize.minLeft = oViewer[sIndex].ZoomInitConfig.minLeft * (dFactor - 0.3);
                  } catch (e) {
                    ConfirmSendError(e);
                  }
                };
                oViewer[sIndex].Reset = function() {
                  try {
                    oViewer[sIndex].ToggleToolbar(false);
                    $("#" + sIndex + "_imgViewer").attr("src", "#");
                    $("#" + sIndex + "_imgViewer").hide();
                    $("#lblLoadingPage").hide();
                    $(oViewer[sIndex].DivContainerId + " .lblMainViewerMessage").show();
                    $(oViewer[sIndex].DivContainerId + ' .oldPreview').hide();
                    $(oViewer[sIndex].DivContainerId + " #dvImgNotLoaded").hide();
                  } catch (e) {
                    ConfirmSendError(e);
                  }
                };

                function LoadImgError(ev, image) {
                  if ($("#" + sIndex + "_imgViewer").attr("src") == "#") return;
                  if ($.browser.msie || !!navigator.userAgent.match(/Trident\/7\./)) { //IE always fires onerror event, so, a double check is needed
                    var ob = setTimeout(function() {
                      if (image.readyState != 'uninitialized') return;
                      else HideImgOnLoadingError();
                    }, 1000);
                  } else HideImgOnLoadingError();
                }
                oViewer[sIndex].tryagainOcr = function() {
                  var offset = $('.notRecognized ').offset();
                  $('#tooltipOcrNoRec').css('top', offset.top - 18);
                  $('#tooltipOcrNoRec').css('left', offset.left + 35);
                  $('.ocrTextNotR').css('color', '#ffffff');
                  $('#imgOcrNoRec').css('background-color', '#c83f3c');
                  $('.notRecognized').css('background-color', '#ffffff');
                  $('.notRecognized').css('color', '#c83f3c');
                  oViewer[sIndex].CheckOcrStatus_ClientEvent();
                }

                function closeTooltip() {
                  $('#tooltipOcrNoRec').hide();
                  $('.ocrTextNotR').css('color', '#c83f3c');
                  $('#imgOcrNoRec').css('background-color', '');
                  $('.notRecognized').css('background-color', '#c83f3c');
                  $('.notRecognized').css('color', '#ffffff');
                }

                function HideImgOnLoadingError() {
                  $(oViewer[sIndex].DivContainerId + " #dvImgNotLoaded").show();
                  $("#" + sIndex + "_imgViewer").attr("src", "#");
                  oViewer[sIndex].CurrentDocumentId = "";
                  //oViewer[sIndex].ToggleToolbar(false);
                }
                oViewer[sIndex].CheckOcrStatus_ClientEvent = function(sFileName) {
                  VirtualFormValidation('');
                  Fajax.CallFunction('SC!Main.Inbox.CheckOcrStatus:oViewer[sIndex]', oViewer[sIndex].CurrentFile, 0, "true");
                };
                oViewer[sIndex].CheckOcrStatus_CallBack = function(response) {
                  HidePleaseWaitBox();
                  var aResp = response.value[1].split('|');
                  if (response.value[0] != "Error") {
                    $('#tooltipOcrNoRec').show();
                    if (aResp[0] != 'Not Recognized' && aResp[0] != 'Processing') {
                      $("#notRecognizedStatus").html(aResp[0]);
                      $("#btnCheckStatusOcr").hide();
                      $("#imgOcrNoRec").attr("title", aResp[0]);
                    } else {
                      $('#notRecognizedStatus').html('The document could not be recognized' + '<br>Reason: ' + aResp[0]);
                      $("#btnCheckStatusOcr").show();
                    }
                  }
                };
                $(document).mouseup(function(e) {
                  if (!$('#tooltipOcrNoRec').is(e.target) && // if the target of the click isn't the container...
                    $('#tooltipOcrNoRec').has(e.target).length === 0 // ... nor a descendant of the container
                  ) {
                    closeTooltip();
                  }
                });
                $(document).ready(function() {
                  oViewer[sIndex].InitZoom();
                });
              </script>
              <div id="bgFullScreen" onclick="oViewer[sIndex].RestoreSize()">
              </div>
              <div id="tooltipOcrNoRec" class="custom_zIndex900 TS_ToolsExpanded TS_TopLeftInternalNote FormBoxBorder" style="display: none;height: 125px;">
                <div class="custom_width100">
                  <div id="containerTitleNotRec" class="custom_marginTop10 custom_marginLeft20 custom_width88 TS_TitleWithClose TopRound5">
                    <div class="custom_marginBottom5 TS_FontTitles marginLeft0Modern TS_FontTitlesColor" style="font-weight:700;">OCR Failed</div>
                    <div class="Right FormPopinTitle custom_positionInitial marginRight0Modern TS_paddingClose">
                      <span class="Pictos TS_Color TS_IconClose custom_cursorPointer MenuOptionSkin TS_IconCloseWithBackgroundColor" onclick="closeTooltip();" title="Close">D</span>
                    </div>
                  </div>
                </div>
                <div id="ocrFailed" class="">
                  <div id="containerNotRec">
                    <div id="notRecognizedStatus" style="">The document could not be recognized.</div>
                    <div>
                      <input id="btnCheckStatusOcr" type="button" class="ButtonFormat ButtonSkinSave" onclick="" value="Try Again" style="margin-left: 0px;">
                    </div>
                  </div>
                </div>
              </div>
              <div id="dvImgviewer" style="width: 99%; margin-left: 2px; margin-right: 2px; padding-top: 3px; top: 200px; z-index: 20; margin-bottom: 5px;">
                <div id="divToolbarContainer" class="TopRound5 BottomRound5 FormBoxBorder" style="width: 100%; position: relative; z-index: 30">
                  <div class="tbcover">
                  </div>
                  <div id="headerscfile" class="FormBox None FormBoxBorder" style="height: 22px;padding-top: 1px;padding-bottom: 1px;border: none;margin: 0px;/*padding-right: 10px;*/">
                    <div id="fileNameV"></div>
                    <div style="float: left; padding-left: 10px; display:none;" id="zoom_viewer" class="oldPreview">
                      <select id="ddlImgViewerZoom" title="Zoom" class="imgtb" onchange="oViewer[sIndex].Zoom(this.options[this.selectedIndex].value)">
                        <option value="0.5">50%</option>
                        <option value="0.75">75%</option>
                        <option value="1" selected="selected">100%</option>
                        <option value="1.25">125%</option>
                        <option value="1.5">150%</option>
                        <option value="1.75">175%</option>
                        <option value="2">200%</option>
                      </select>
                    </div>
                    <div style="float: right; min-width: 10%">
                      <div id="pagination_viewer" class="oldPreview" style="display:none;">
                        <div>
                          <a class="imgtb JBFont  moveBack" id="lnkImgViewFirst" href="javascript:oViewer[sIndex].FirstPage()" title="Go to first page">Z</a>
                          <a class="moveBack JBFont " id="lnkImgViewerPrev" href="javascript:oViewer[sIndex].PrevPage()" title="Go to previous page">e</a>
                        </div>
                        <div>
                          <span style="padding-left: 5px;" class="ImgV_textToolbar">Page</span>
                          <input id="txtCurrentPage" type="text" style="width: 20px; text-align: center;" title="Put the page number to go">
                          <span class="ImgV_textToolbar">of</span> <span id="lblPageCount" class="ImgV_textToolbar" style="margin-left: 3px; margin-right: 10px;"></span>
                        </div>
                        <div>
                          <a class="moveOn imgtb JBFont " style="font-size: 20px" id="lnkImgViewerNext" href="javascript:oViewer[sIndex].NextPage()" title="Go to next page">Q</a>
                          <a id="lnkImgViewerLast" class="JBFont  moveOn" href="javascript:oViewer[sIndex].LastPage()" title="Go to last page">C</a>
                        </div>
                      </div>
                      <div style="min-width: 1%;"></div>
                      <div style="text-align: right; float: right;">
                        <div class="" style="/*float: right;display: inline-block;*/">
                          <div id="divOcr" style="height: 20px;">
                            <div id="imgOcrNoRec" class="containerNotRecognized" style="display:none" onclick="oViewer[sIndex].tryagainOcr();">
                              <div class="ocrTextNotR">OCR</div>
                              <div class="notRecognized HeaderTabIconActiveSkin"> !</div>
                            </div>
                            <div id="imgOcrRec" class="containerRecognized" style="display:none">
                              <div class="ocrTextR">OCR</div>
                              <div class="recognized">2</div>
                            </div>
                            <img id="imgOcrPending" src="../Images/03.svg" style="display: none">
                          </div>
                          <div style="">
                            <a href="javascript:oViewer[sIndex].DeleteFile();" id="btnDeleteFile" title="Remove this file" onclick="" class="imgtb" style="display: none;">
                                <span class="ImgV_toolbar imgtb FormBoxText" style="line-height: 19px;padding-right: 10px;">#</span>
                            </a>
                            <div class="oldPreview" style="display:none;">
                              <a href="javascript:oViewer[sIndex].Print();" id="btnImgViewPrint" title="Print" onclick="" class="imgtb">
                                    <span class="ImgV_toolbar imgtb">/</span>
                                </a>
                              <a href="javascript:oViewer[sIndex].DownloadFile();" id="btnImgViewDownloadFile" title="Download file" onclick="" class="imgtb">
                                    <span class="ImgV_toolbar imgtb">~</span>
                                </a>
                              <a href="javascript:oViewer[sIndex].RotatePage();" id="btnImgViewRotate" title="Rotate" onclick="" class="imgtb">
                                    <span class="ImgV_toolbar imgtb">1</span>
                                </a>
                              <a href="javascript:oViewer[sIndex].ViewInPopup();" id="btnImgViewInPopUp" title="Open in new browser window" onclick="" class="imgtb">
                                    <span class="ImgV_toolbar imgtb">R</span>
                                </a>
                              <a href="javascript:;" id="btnImgViewZoomIn" title="Toogle full screen" onclick="oViewer[sIndex].FullScreen()" class="imgtb">
                                    <span class="ImgV_toolbar imgtb">`</span>
                                </a>
                            </div>
                          </div>
                        </div>
                      </div>
                    </div>
                  </div>
                  <div id="containerFile" style="width: 100%; height: 1170px;">
                    <iframe id="SubViewer_viewPdfFile" style="height: 100%;overflow-x: auto; overflow-y: hidden; width: 99.5%;"></iframe>
                  </div>
                  <div id="dvimgCointainer" style="position: relative; width: 100%; text-align: center; background-color: #FFF; min-height: 500px; z-index: -1;">
                    <div id="SubViewer_imgWrapper" style="overflow: auto; z-index: 0px; width: 100%;">
                      <span class="lblMainViewerMessage" style="font-size: 50px; color: #000; padding-top: 70px; margin-left: auto; margin-right: auto; text-align: center; width: 100%; z-index: 5; position: absolute; top: 0px; left: 0px"> SELECT AN
                        OPTION TO LOAD FILES </span><span id="lblLoadingPage"
                        style="font-size: 20px; padding-top: 40px; margin-left: auto; margin-right: auto; text-align: center; width: 100%; color: #000; display: none; z-index: -3; position: absolute; top: 200px; left: 0px"> Loading page, please wait
                        ... </span>
                      <div id="dvDragExternal" class="oldPreview" style="left: 0px; top: 0px; width: 100%; position: relative; z-index: 2; display:none;">
                        <div id="dvDragInternal" style="z-index: 3; position: relative; margin-left: auto; margin-right: auto; float: none">
                          <img id="SubViewer_imgViewer" alt="Document Viewer" onerror="LoadImgError(event, this)" style="display: none; width: 100%; top: 0px; left: 0px; z-index: 1;">
                        </div>
                      </div>
                    </div>
                    <div id="dvImgNotLoaded"
                      style="position: absolute; top: 0px; left: 0px; bottom: 0px; width: 100%; display: none; background-color: #EDFFFF; z-index: 100; font-family: jbktproductsfont; font-size: 80px; text-align: center; vertical-align: middle; color: red">
                      <br>
                      <span id="img-icon-file">l</span>
                      <br>
                      <span style="font-family: Verdana; font-size: 30px; color: black" id="message_title_image">File not found</span>
                    </div>
                  </div>
                </div>
              </div>
              <script type="text/javascript">
                oViewer['SubViewer'].RootDirectory = 'INBOX';
              </script>
              <div id="SubViewer_dvv">
              </div>
            </div>
            <div id="dvBrokerDataFormContainer" style="overflow: inherit" class="FormPopinBorder">
            </div>
          </div>
        </div>
        <div id="divPopinCertificates" style="display: none;">
          <div id="divSelectCertificate" style="width: 360px;">
            <div class="PageToolbar" style="height: 45px">
              <label style="margin-left: 8px; float: left">The uploaded file could not be recognized by OCR engine. Please select the appropriate document type</label>
            </div>
            <br>
            <div class="Padding10" style="width: 100%;">
              <div class="ControlBox">
                <div class="ControlBoxRow">
                  <input name="rbCertificate" type="radio" id="rbCoi" class="radio" value="2" checked="checked" style="width: 40px;">
                </div>
                <div class="ControlBoxRow">
                  <input name="rbCertificate" type="radio" id="rbCertProperty" class="radio" value="4" style="width: 40px;">
                </div>
                <div class="ControlBoxRow">
                  <input name="rbCertificate" type="radio" id="rbCSIO" class="radio" value="8" style="width: 40px;">
                </div>
                <div class="ControlBoxRow">
                  <input name="rbCertificate" type="radio" id="rbEvidence" class="radio" value="6" style="width: 40px;">
                </div>
                <div class="ControlBoxRow">
                  <input name="rbCertificate" type="radio" id="rbEOPI" class="radio" value="9" style="width: 40px;">
                </div>
              </div>
              <div style="width: 85%; float: left; text-align: left; margin-top: -5px" class="DivLabelBox">
                <label for="rbCoi" style="margin: 0px;">Certificate of Liability (ACORD 25)</label>
                <br>
                <label for="rbCertProperty" style="margin: 0px;">Certificate of Property (ACORD 24)</label>
                <br>
                <label for="rbCSIO" style="margin: 0px;">CSIO</label>
                <br>
                <label for="rbEvidence" style="margin-top: 5px;">Evidence of Comercial Property</label>
                <br>
                <label for="rbEOPI" style="margin-top: 5px;">Evidence of Property</label>
                <br>
              </div>
            </div>
            <div align="Right" style="width: 90%; margin-bottom: 10px;">
              <input id="btnOpenCertificate_SystemPopin" onclick="OpenDocuments();" type="button" class="ButtonFormat ButtonSkinSave" value="Open">
              <input id="btnCancelCertificate_SystemPopin" onclick="BidProjectBroker.closeMiniPopin();return false;" type="button" class="ButtonFormat ButtonSkinRed_s" value="Cancel">
            </div>
          </div>
        </div>
      </div>
      <div id="alert-img-error" class="ContainerFormat ui-draggable" style="height: 17%;position: fixed; z-index: 99999; padding: 0px; margin: 0px; min-width: 320px; max-width: 320px; top: 253px; left: 630px; display: none;">
        <div class="Width100Percent TitleFormat">
          <div style="height: 20px; float: left; position: absolute; width: 98%; cursor: move;padding-top: 7px;">Message</div>
          <div style="float: right;position: relative">
            <a class="Pictos MenuPictos CloseSkinError" onclick="BidProject.CancelForm();" href="#">D</a>
          </div>
        </div>
        <div class="alert Width100Percent">
          <div style="text-align:center; overflow-y:auto; max-height: 500px;padding: 10px 10px 10px 10px;" class="None">File is corrupt.</div>
          <div class="Width100Percent" style="text-align:center;"><input type="button" value="Ok" class="ButtonFormatAlert" onclick="BidProject.CancelForm()"></div>
        </div>
      </div>
      <div class="aspNetHidden">
        <input type="hidden" name="__VIEWSTATEGENERATOR" id="__VIEWSTATEGENERATOR" value="680A7B26">
        <input type="hidden" name="__EVENTVALIDATION" id="__EVENTVALIDATION"
          value="/wEdAAdVp1BIB+ntZ2ED+RA313YtJ7ILsbYsNIXYDK2KSuntV+c1Wf258Q1AITQVgWTcAl3MTRDGUx29L5aeYnbVJq5zuHMswVpneWPFF2F/4YQ6SmjOipYVkwbjeUkkMYZIl2gW1UWmwGxyTACnA0yhVygdgFZmShh09NcTEobRI+XYUtz4ago=">
      </div>
    </div>
    <div id="divContentDashboard_Fajax" class="PageContent" style="display: none;">
    </div>
    <div id="divContentTabDynamic_Fajax" class="PageContent" style="height: 998px; display: none;">
    </div>
    <div id="divPopinId_Fajax" style="z-index: 900; position: absolute; opacity: 1; display: none; float: none; left: 800px; top: 600px;" class="ui-draggable"></div>
    <div id="divPopinShadeId_Fajax" style="display: none;">
    </div>
    <div id="divBody_MiniPopin">
    </div>
  </div>
</form>

Text Content

j
Default message




Loading Data




WELCOME TO SMARTCOMPLIANCE

A request to upload documents has been forwarded to you by Arrowpac Inc. in an
effort to comply with the requirements of CAR-FRESHNER Corporation . Please
review and upload all the documents necessary. The requester will be notified
once the upload is complete.
Company: Arrowpac Inc. (New Jersey)
Information
Company Invited:

Project Status:

Phone:

Fax:

Compliance Information
Manager:

Due Date:

*
Certificate of Insurance
Details
Message
*
COL.[(general liability).(General Aggregate)] >= 1,000,000
*
COL.[(general liability).(Products - Comp/Op Agg)] >= 1,000,000
*
COL.[(general liability).(Each Occurrence)] >= 1,000,000
*
COL.[(automobile liability).(Combined Single Limits)] >= 1,000,000
*
COL.[(automobile liability).(Any Auto)]
*
COL.[(excess/umbrella liability).(Each Occurrence)] >= 2,000,000
*
COL.[(excess/umbrella liability).(Aggregate)] >= 2,000,000
*
COL.[(workers compensation and employers' liability).(El Each Accident)] >=
100,000
*
COL.[(workers compensation and employers' liability).(El Disease-Policy Limits)]
>= 500,000
*
COL.[(workers compensation and employers' liability).(El Disease-Each Employee)]
>= 100,000
Uploaded Certificate of Insurance
View
Doc Date
Uploaded on
Status
View
11-02-2021
11-02-2021
Processed
View
01-20-2022
01-20-2022
Processed
View
09-02-2022
09-06-2022
Processed
View
09-30-2022
09-30-2022
Processed

Upload new File
Processing dropped files...

OCR Failed
D
The document could not be recognized.

50% 75% 100% 125% 150% 175% 200%
Z e
Page of
Q C

OCR
!
OCR
2
#
/ ~ 1 R `

SELECT AN OPTION TO LOAD FILES Loading page, please wait ...


l
File not found


The uploaded file could not be recognized by OCR engine. Please select the
appropriate document type

Certificate of Liability (ACORD 25)
Certificate of Property (ACORD 24)
CSIO
Evidence of Comercial Property
Evidence of Property


Message
D
File is corrupt.








SmartCompliance Help