gc.smartcompliance.co Open in urlscan Pro
2620:1ec:bdf::60  Public Scan

Submitted URL: http://url7468.smartcompliance.co/ls/click?upn=rlCcx0I-2B-2FVhVteekn9u-2FpVEAGbWXKkE7QIP3DN43D1b6mZMYo1lDYeo9V5QkS7N0yUGXeQV59LbMA...
Effective URL: https://gc.smartcompliance.co/Sub/Default.aspx?sUrl=/Project/BidProject.aspx&Id=-3
Submission: On April 18 via manual from US — Scanned from DE

Form analysis 1 forms found in the DOM

POST ./Default.aspx?sUrl=%2fProject%2fBidProject.aspx&Id=-3

<form method="post" action="./Default.aspx?sUrl=%2fProject%2fBidProject.aspx&amp;Id=-3" 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="/wEPDwULLTE3MjA4ODAzNDUPZBYEAgEPZBYCAhYPFgIeBFRleHQF7gM8c2NyaXB0PiB2YXIgb0xhbmd1YWdlX0ZkYXRhVGFibGUgPSB7DQoJInNTZWFyY2giOiAiIiwNCgkic0luZm8iOiAiX1NUQVJUXyB0byBfRU5EXyBvZiBfVE9UQUxfIGVudHJpZXMiLA0KCSJzSW5mb0NvdW50UmVjb3JkcyI6ICJUb3RhbCBSZWNvcmRzOiAiLA0KCSJzSW5mb0VtcHR5IjogIlNob3dpbmcgMCB0byAwIG9mIDAgZW50cmllcyIsDQoJInNJbmZvRmlsdGVyZWQiOiAiKGZpbHRlcmVkIGZyb20gX01BWF8gdG90YWwgZW50cmllcykiLA0KCSJzWmVyb1JlY29yZHMiOiAiWW91ciBzZWFyY2ggZGlkIG5vdCBtYXRjaCBhbnkgcmVzdWx0cyIsDQoJIm9QYWdpbmF0ZSI6DQoJew0KCQkic0ZpcnN0IjogInw8IiwNCgkJInNQcmV2aW91cyI6ICI8IiwNCgkJInNOZXh0IjogIj4iLA0KCQkic0xhc3QiOiAiPnwiDQoJfSwNCgkic0NvbHVtbnNUb1Nob3dIaWRlT3BlbiI6ICJDb2x1bW5zIiwNCgkic0NvbHVtbnNUb1Nob3dIaWRlT2siOiAiU2F2ZSINCn08L3NjcmlwdD4NCmQCAw9kFgoCAQ8WAh4JaW5uZXJodG1sBRlrZ3V0aWVycmV6QGF2YWxvbnJpc2suY29tZAIDDxYCHwEFEEthdGhpYSBHdXRpZXJyZXpkAgUPFgIfAQUXUGFjaWZpYyBDb2FzdCBDb21wYW5pZXNkAgcPFgIfAQUZa2d1dGllcnJlekBhdmFsb25yaXNrLmNvbWQCDQ8WAh4Fc3R5bGUFX0JBQ0tHUk9VTkQtSU1BR0U6dXJsKCdodHRwczovL3NjY29tbW9ucHJvZHB1YmxpYy5ibG9iLmNvcmUud2luZG93cy5uZXQvJHdlYi9TQy1QUk9ELUxvZ28ucG5nJyk7FgICAQ8PFgIeCEltYWdlVXJsBUZodHRwczovL3NjY29tbW9ucHJvZHB1YmxpYy5ibG9iLmNvcmUud2luZG93cy5uZXQvJHdlYi9TQy1QUk9ELUxvZ28ucG5nZGRky4tYSkAxbwXT9kN9X1muDYk/FYM=">
  </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=637820768258550206" type="text/javascript"></script>
  <script src="/ScriptResource.axd?d=55EYlRYIlzvL1KuRlCxfT6oHqrS9oe0rqR_jmWcgPS--HhF1ZNf3dDVYkOAWUOZB1mjqSrneF5VV0678hppV4vEBLij4g4EMr9eFfphYPhXST4TnrY4zLW4cxQLMVfzFMpXCD2jSIDLKB9tLL1K0Dtyg5Bbpc9Eb8uuNgnDkW-bkCmf30&amp;t=ffffffffd202a464"
    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=ffffffffd202a464"
    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="EEC6FDB5">
    <input type="hidden" name="__EVENTVALIDATION" id="__EVENTVALIDATION" value="/wEdAAOlMVP0heiDuhujjArG5CnK/JNxdCLy2AfNypmYYg+JaiEWFSqMobU0QqJrZSlifOz+5QBdK1+op8sX/aib7k6/Kc4TlQ==">
  </div>
  <div id="Default_UserMail" style="display: none" class="custom_displayNone">kgutierrez@avalonrisk.com</div>
  <div id="Default_Name" style="display: none" class="custom_displayNone">Kathia Gutierrez</div>
  <div id="Default_GcSystemName" style="display: none;">Pacific Coast Companies</div>
  <div id="Default_UserName" style="display: none;">kgutierrez@avalonrisk.com</div>
  <script type="text/javascript">
    //<![CDATA[
    Sys.WebForms.PageRequestManager._initialize('ScriptManager1', 'form1', [], [], [], 90, '');
    //]]>
  </script>
  <nav id="divHeader" class="navbar navbar-default HeaderSkin">
    <div class="container-fluid None">
      <div id="divHeaderLogoSc" class="HeaderLogoSc HeaderLogoSkin Round5" style="BACKGROUND-IMAGE: url('../Images/SC-Logo.png'); width: 38px; height: 38px; margin-left: 10px; margin-top: 5px; float: left; margin-right: 10px;"></div>
      <div id="divHeaderLogo" class="navbar-header HeaderLogo HeaderLogoSkin Round5" style="BACKGROUND-IMAGE:url('https://sccommonprodpublic.blob.core.windows.net/$web/SC-PROD-Logo.png');">
        <img id="imgLogo" src="https://sccommonprodpublic.blob.core.windows.net/$web/SC-PROD-Logo.png" style="height: 38px; width: 207px;border-radius: 5px;">
      </div>
      <div class="collapse navbar-collapse None" id="bs-example-navbar-collapse-1">
        <div id="divHeaderMenu" class="Menu">
          <ul class="nav navbar-nav">
            <li id="liMenu_Company" class="MenuOption" style="margin-bottom:-20px;"><a id="aMenu_Company" href="#" onclick="window.location='Default.aspx?sUrl=/Project/BidProject.aspx&amp;Id=-3';" class="MenuOptionSkin">Company</a></li>
            <li class="MenuOptionDivisor MenuOptionDivisorSkin"></li>
          </ul>
          <div class="MenuOption" style="margin-top: 14px;cursor: context-menu;"><a class="MenuOptionSkin">User: kgutierrez@avalonrisk.com</a></div>
        </div>
        <div id="NotifyDiv" class="notifyMessage gradientOrange" style="float: left; margin-left: 53%; margin-top: 10px;" onclick="this.style.display = 'none'">
          <div style="display: inline; width: auto" class="JBFont">j</div>
          <div id="NotifyMessage" style="display: inline; margin-left: 10px; margin-top: 6px; max-width: 500px; width: auto;"> Default message </div>
        </div>
        <div id="divHeaderMenuRight" class="nav navbar-nav navbar-right">
          <ul class="nav navbar-nav">
            <li id="liMenu_Support" class="MenuOption"><a href="https://smartcompliance.co/request-customer-support" target="_blank" class="MenuOptionSkin">Customer Service</a></li>
            <li class="MenuOptionDivisor MenuOptionDivisorSkin"></li>
            <li id="liMenu_Lng" class="MenuOptionRight" style="padding-right:7px">
              <a id="aMenu_LngEnglish" style="font-size:16px;" href="#" onclick="document.location.href='Default.aspx?lang=1';return false;" class="MenuOptionSkin"><img src="../Images/Flag/1.gif" style="border:solid 1px WHITE;">&nbsp;English&nbsp;<img src="../Images/down-w.png" border="0"></a>
              <div id="divSubMenu_Lng" class="SubMenuRight" style="left: -10px;">
                <div class="SubMenuArrowRight SubMenuArrowSkin">
                </div>
                <div class="SubMenuSkin SubMenuOptions Round2">
                  <div class="SubMenuOptionsColumn SubMenuOptionsColumnSkin" style="width:80px;">
                    <a id="aMenu_LngEnglish2" href="#" onclick="document.location.href='Default.aspx?lang=1';return false;" class="MenuOptionSkin"><img src="../Images/Flag/1.gif" style="border:solid 1px WHITE;">&nbsp;English</a><br>
                    <a id="aMenu_LngEspaniol2" href="#" onclick="document.location.href='Default.aspx?lang=2';return false;" class="MenuOptionSkin"><img src="../Images/Flag/2.gif" style="border:solid 1px WHITE;">&nbsp;Español</a><br>
                    <a id="aMenu_LngFrances2" href="#" onclick="document.location.href='Default.aspx?lang=3';return false;" class="MenuOptionSkin"><img src="../Images/Flag/3.gif" style="border:solid 1px WHITE;">&nbsp;Français</a>
                  </div>
                </div>
              </div>
            </li>
            <li class="MenuOptionDivisor MenuOptionDivisorSkin"></li>
            <li id="liMenu_LogOff" class="MenuOption"><a id="aMenu_LogOff" href="#" onclick="document.location=&quot;../Logoff.aspx?sIdMenu=Log Off&quot;;return false;" class="MenuOptionSkin">Log Off</a> </li>
          </ul>
        </div>
      </div>
    </div>
  </nav>
  <input id="hdnPageLocation_Fajax" type="hidden" value="Sub/Project/BidProject.aspx?sUrl=/Project/BidProject.aspx&amp;Id=-3">
  <input name="hdnZendeskSecretKey" type="hidden" id="hdnZendeskSecretKey" value="4th1n4dahe4kgeGql16CMidImBTsc0Z6Ns2dn7haNSWTmfQi">
  <input name="hdnZendeskSupportUrl" type="hidden" id="hdnZendeskSupportUrl" value="https://smartcompliancehelp.zendesk.com/">
  <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 id="divContentMain_Fajax" class="contentall_main" style="height: 1118px; display: block; overflow: auto; top: 0px; left: 0px;">
      <div id="divLanguage_Sub_Project_BidProject_Fajax"><input type="hidden" name="hdnLanguage_Sub_Project_BidProject_Fajax" id="hdnLanguage_Sub_Project_BidProject_Fajax" value="en-US"></div>
      <script>
        var lng_Sub_Project_BidProject = {
          msgUnloadPage: "We have noticed you are leaving this page, please indicate your intent to bid on all ",
          msgErrorValidation: "Validation",
          msgErrorTitle: "Error",
          msgErrorDeletingDocument: "There was an error deleting the document",
          msgConfirmActionTitle: "Confirm action",
          msgErrorDocumentProcessed: "Cannot delete a file that has already been processed",
          msgConfirmDelete: "Are you sure you want to delete this Document?",
          msgErrorAplication: "Application Error: ",
          msgValidationCountFiles: "You must select at least one file.",
          msgAlertValidationTitleGeneric: "Message",
          sZipFileWaitMessage: "The system is zipping files right now, please wait until that process is completed.",
          sDownloadsFilesUnavailable: "File downloads temporarily unavailable.",
          msgValidationGoogleMapTitle: "Validation fields",
          msgValidationGoogleMap: "You must complete the following fields:\n\n",
          msgAlertAcceptAgreementTitle: "Accept Agreement",
          msgAlertAcceptAgreement_TypeName: "Please type your name.",
          msgAlertDeclineAgreementTitle: "Decline Agreement",
          msgAlertDeclineAgreement_Sure: "Are you sure you want to decline?",
          msgPastDueDate: "This package is past the due date and time.",
          msgAlertOpenProposal: "In order to submit your proposal, please indicate your intent to bid on all ",
          msgAlertOpenProposal_AcceptAtLeastOne: "You must accept at least one trade/package to submit a proposal.",
          msgAlertOpenProposal_DueDate: "As the project is Past Bid Due Date, you won't be able submit a proposal.",
          msgValidationCountFiles: "You must select at least one file.",
          msgValidationVendor: "Vendor",
          msgValidationEmail: "E-Mail",
          msgValidationPhone: "Phone",
          msgValidationPrintSetFullHalf: "Print sets of copies (Full, Half or Specifications)",
          msgValidationAccount: "Payment Options - Account",
          msgValidationInvoiceInformation: "Payment Options - Using the following Information",
          msgValidationDeliveryAddress: "Delivery Options - Address",
          msgValidationMessage: "Please enter or correct the information on the following fields:",
          msgAlertOrderGeneratedTitle: "Print Order Confirmation",
          msgAlertOrderGenerated: "The order has been successfully generated.",
          msgAlertSelectZip: "You must select at least one file to ZIP & download.",
          sZipFileWaitMessage: "The system is zipping files right now, please wait until that process is completed.",
          DonwnloadPlanRoomTitle: "Download Plan Room	",
          msgValidationDocTypesTitle: "Document type required",
          msgValidationDocTypes: "You must select at least one document type to request",
          msgSelectDocumentType: "Select Document Type",
          msgComplianceDueDateExpired: "The compliance Due Date has Expired",
          msgValidationOCRDocType: "The uploaded document does not match with the expected document type.",
          WindowsMessage: "Message",
          msgTimeOut: "Timeout. File not recognized",
          msgTryRecognition: "The OCR module is trying to recognize the file, please wait..."
        };
      </script>
      <div class="aspNetHidden">
        <input type="hidden" name="__VIEWSTATE" id="__VIEWSTATE" value="/wEPDwUKLTIxNTYwODg3M2RkesO1lrf5lE3ir74HM6JGf5YQBtQ=">
      </div>
      <!-- InitialVars -->
      <script type="text/javascript">
        System.ZipFileWait = 0;
        System.DelayTimeToZipAndDownload = 5;
        System.LimitOfFilesToWaitForZipAndDownload = 0;
        var bDownloadsFilesOK = true;
        var sExtensionsToPrint = "tif,tiff,pdf,doc,docx,jpg,jpeg,gif,dwg,dwf,xls,xlsx,plt";
        var sCostPerPage = "0";
        var sErrorMessage = "";
      </script>
      <style type="text/css">
        .tbRow0 {
          clear: left;
          /*width: 40px;*/
          width: 6%;
        }

        .tbRow1 {
          width: 80px;
        }

        .tbRow2 {
          /*width: 80px;*/
          width: 10%;
        }

        .tbRow3 {
          /*width: 80px;*/
          width: 13%;
        }

        .tbRow4 {
          /*width: 140px;*/
          width: 24%;
        }

        .tbRow6 {
          width: 18%;
          /*width: 110px;*/
        }

        .tbRow7 {
          width: 22%;
        }

        a.button {
          color: #444;
          display: block;
          float: left;
          font: normal 12px arial, sans-serif;
          height: 24px;
          margin-right: 6px;
          padding-right: 18px;
          /* no debe sobrepasa la anchura de la imagen que utilizamos arriba */
          text-decoration: none;
        }

        /* Fixes */
        .ButtonFormat {
          height: inherit;
        }

        .FormBox {
          height: inherit;
        }

        label {
          font-weight: inherit;
        }

        .divButtonBar,
        .PageToolbar {
          height: inherit;
        }

        .multiSelectOptions label {
          margin-bottom: inherit;
        }

        #txtComents {
          height: 55px;
        }

        #popup_container {
          left: 38%;
          line-height: inherit;
          top: 40%;
        }

        #popup_title {
          padding-top: 5px;
        }

        .alert {
          padding: 0px;
        }

        #popup_message {
          padding-left: 30px;
        }

        /* COI Form Fixes */
        #DivShow_DivBox_Insurer {
          padding-left: 0px;
          padding-right: 0px;
        }

        #COIProducerContainer,
        #DivCoiHolder,
        #divInsurers {
          width: 49%;
        }

        .navbar {
          margin-bottom: 0px;
        }
      </style>
      <!-- generic script -->
      <script type="text/javascript">
        var BidProjectNoAnswer = false;
        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)
        var altoDivRequirements;
        var BidProjectSub = {};

        function LoadPageSubBidProject() {
          // $("#divReqGroupGral").removeClass().css("float", "left").css("margin-top", "10px").css("padding-left", "15px");                
          if (document.getElementById("lblDescription")) {
            var altoPantalla = $(window).height();
            altoDivRequirements = $("#divRequirementGroup").offset().top;
            altoDIvData = $("#divData").offset().top + 200;
            if (altoDIvData < altoDivRequirements) {
              $("#divDataGral").css("width", "").css("padding-right", "50px");
              altoPantalla = $(window).height();
              altoDivRequirements = $("#divRequirementGroup").offset().top;
            }
            $("#divTitleText").addClass("bold").css("font-size", "20px");
            $("#divPageTitle").css("width", "auto");
            if ($("#lblDescription").html().trim() == "") {
              $("#dvDescription").css("border", "");
              $("#Label2").css("float", "left");
              $("#Label11").css("display", "block").css("float", "right");
            }
          }
          if (localStorage["saveDocs"] == 1) {
            localStorage["saveDocs"] = 0;
            var sBidProjectId = GetElementById("hdnBidProjectId").value;
            var sCompanyLocationId = $("#hdnCompanyLocationId").val();
            var sDocTypeId = localStorage["LastDocumentTypeIdUploaded"];
            var sfileDocumentUploaded = localStorage["fileDocumentUploaded"];
            localStorage["LastDocumentTypeIdUploaded"] = 0;
            localStorage["fileDocumentUploaded"] = "";
            Notify("The document has been succesfully uploaded");
            Fajax.CallFunction("Project.BidProject.SendMailstoManagers", sBidProjectId, sCompanyLocationId, sDocTypeId, sfileDocumentUploaded);
          }
          var wHeight = $(window).height() - 75;
          $("#SubViewer_imgWrapper").css("height", wHeight + "px");
          var dateDueDate = $("#hdnComplianceDueDate").val().trim();
          var dateToday = $("#hdnServerDateToday").val().trim();
          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>';
            $("[id^=upload]").html(labelExpired);
            Alert("", lng_Sub_Project_BidProject.msgAlertValidationTitleGeneric, lng_Sub_Project_BidProject.msgComplianceDueDateExpired); // + GetElementById("spTitleColumn").innerHTML
          }
        }

        function SendMailstoManagers_CallBack(response) {
          if ((response.error == null) && (response.value[0] != null)) {
            HidePleaseWaitBox();
          } else {
            HidePleaseWaitBox();
            if (response.error != null) alert("Application Error: " + response);
            else ConfirmSendError(response.value[1]);
          }
        }

        function ClientPageUnload() {
          VirtualFormValidation("");
          if (BidProjectNoAnswer) {
            Alert("", lng_Sub_Project_BidProject.msgAlertValidationTitleGeneric, lng_Sub_Project_BidProject.msgUnloadPage + "."); // + GetElementById("spTitleColumn").innerHTML
            return false;
          } else return true;
        }

        function ClientPageLoad() {
          GetRelativePath_ClientEvent();
          LoadPageSubBidProject();
        }

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

        function setScroll() {
          document.getElementById("divListTable").style.height = (getBrowserHeight() - 730) + "px";
        }

        function ShowAlertPastDueDate() {
          Alert("", lng_Sub_Project_BidProject.msgAlertValidationTitleGeneric, lng_Sub_Project_BidProject.msgPastDueDate);
        }

        function ViewCommunication() {
          var sBidProjectId = GetElementById("hdnBidProjectId").value;
          var sUrl = "Sub/Project/ViewCommunication.aspx?BidProjectId=" + sBidProjectId;
          Fajax.GetPage_CallFunction("popin:" + sUrl, "Project.ViewCommunication.smartLoad", sBidProjectId);
        }

        function OpenSendNote() {
          var sPage = "Sub/Project/SendNote.aspx?BidProjectId=" + GetElementById("hdnBidProjectId").value;
          Fajax.GetPopin(sPage);
        }

        function findPosY(obj) {
          var curtop = 0;
          if (obj.offsetParent)
            while (1) {
              curtop += obj.offsetTop;
              if (!obj.offsetParent) break;
              obj = obj.offsetParent;
            }
          else if (obj.y) curtop += obj.y;
          return curtop;
        }

        function DownloadFiles(sFileIds) {
          var sBidProjectId = GetElementById("hdnBidProjectId").value;
          Fajax.CallFunction("Project.BidProject.DownloadFiles", sBidProjectId, sFileIds);
        }

        function DownloadFiles_CallBack(response) {
          if ((response.error == null) && (response.value[0] != null)) {
            HidePleaseWaitBox();
            if (response.value[0] != "Done") {
              ConfirmSendError("DownloadFiles_CallBack: " + response.value[1]);
            }
          } else {
            HidePleaseWaitBox();
            if (response.error != null) alert(lng_Sub_Project_SendNote.msgErrorAplication + response);
            else ConfirmSendError(response.value[1]);
          }
        }

        function openMap(event) {
          try {
            Address = GetElementById("hdnAddress1").value.replace(",", "");
            City = GetElementById("hdnCity").value.replace(",", "");
            indiceState = GetElementById("hdnStateId").value;
            State = GetElementById("hdnStateDescription").value;
            ZipCode = GetElementById("hdnBidZipCode").value;
            indiceCountry = GetElementById("hdnCountryId").value;
            Country = GetElementById("hdnCountryDescription").value;
            var Permission = true;
            var ValidationFields = "";
            if (Address == "") {
              Permission = false;
              ValidationFields += "Address1\n";
            }
            if (City == "") {
              Permission = false;
              ValidationFields += "City\n";
            }
            if (indiceState == 0) {
              Permission = false;
              ValidationFields += "State\n";
            }
            if (indiceCountry == 2) {
              Permission = false;
              ValidationFields += "Country\n";
            }
            if (Permission) {
              var sParameter = Address + "," + City + "," + State + " " + ZipCode + "," + Country;
              var sPage = "../SC/Include/ViewInfoMap.aspx";
              var parameter = "parameter=" + sParameter;
              StopEvent(event);
              System.OpenMiniPopin("<iframe height=\"450px\" width=\"420px\" src=\"../SC/Include/ViewInfoMap.aspx?" + parameter + "&caller=bid\"></iframe>", GetElementById("lnkViewGoogleMap"), false, "GoogleMap");
              if (navigator.appName == "Microsoft Internet Explorer") {
                if (parseInt(navigator.appVersion.split(";")[1].substring(5, navigator.appVersion.split(";")[1].lenght)) == 7) {
                  $("#divMiniPopin").each(function() {
                    $(this).css({
                      "width": "445px"
                    });
                    var popup = $("#divMiniPopin");
                    popup.css({
                      'left': parseInt(($(window).width() / 2) - ($(popup).width() / 2)) + "px",
                      'top': parseInt($(window).height() / 2 - $(popup).height() / 2) + "px"
                    });
                  });
                }
              }
            } else {
              Alert("", lng_Sub_Project_BidProject.msgValidationGoogleMapTitle, lng_Sub_Project_BidProject.msgValidationGoogleMap + ValidationFields);
            }
          } catch (err) {
            Alert("", "Error", err);
          }
        }

        function CloseIframe(name) {
          GetElementById(name).style.display = "none";
        }

        function getBrowserWidth() {
          if (window.innerWidth) {
            return window.innerWidth;
          } else if (document.documentElement && document.documentElement.clientWidth != 0) {
            return document.documentElement.clientWidth;
          } else if (document.body) {
            return document.body.clientWidth;
          }
          return 0;
        }

        function getBrowserHeight() {
          if (window.innerHeight) {
            return window.innerHeight;
          } else if (document.documentElement && document.documentElement.clientHeight != 0) {
            return document.documentElement.clientHeight;
          } else if (document.body) {
            return document.body.clientHeight;
          }
          return 0;
        }

        function GoToLogin() {
          window.location = "../Login.aspx";
        }

        function RefreshBibProjectList() {
          ShowPleaseWaitBox();
          window.location = "Default.aspx?sUrl=/Project/BidProjectList.aspx&methodSmartLoad=Project.BidProjectList";
        }

        function ViewReq(e) {
          $("body,html").animate({
            scrollTop: 1150
          }, 600);
        }

        function ToggleProjectDescription() {
          if (document.getElementById("lblDescription")) { //project
            var iCurrentHeight = parseInt($("#lblDescription").css("height").replace("px", ""), 10);
            if (iCurrentHeight > 150) {
              $("#lblDescription").animate({
                height: "150px"
              }, 500);
              $("#lnkViewText").html("View more");
            } else {
              var iPrevHeight = $("#lblDescription").css("height");
              $("#lblDescription").css("height", "auto");
              var iCalcHeight = $("#lblDescription").css("height");
              if (parseInt(iCalcHeight.replace("px", ""), 10) < 170) {
                $(".dvExpander").hide();
                return;
              }
              $("#lblDescription").css("height", iPrevHeight);
              $("#lblDescription").animate({
                height: iCalcHeight
              }, 500);
              $("#lnkViewText").html("View less");
            }
          }
        };

        function createVariables() {
          window['responseUploadXhrs'] = "";
          window['setUploadReponseJson'] = true;
        }
        initUpload = function() {
          $(".UploadDocument").fineUploader({
            request: {
              endpoint: sUrlToUploadFiles + "?Type=Json&ProjId=" + $("#hdnBidProjectId").val() + "&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.SetTimeUploadFile_ClientEvent(responseJSON.fileNameSaved);
                  BidProject.OcrStaedOn = new Date();
                  $(".qq-file-id-" + id).fadeIn(5000);
                  BidProject.CurrentFileName = responseJSON.fileNameSaved;
                  localStorage["fileDocumentUploaded"] = name;
                  if ($("#hdnNonVendorOcr").val() != "True") {
                    if (BidProject.DocumentTypeId == 7 || BidProject.DocumentTypeId == 3) {
                      localStorage["MjeLoad"] = "File uploaded. OCR engine is processing the file";
                      HidePleaseWaitBox();
                      /*-------- OCR -------------------*/
                      BidProject.StartOcrProcess_ClientEvent(responseJSON.fileNameSaved);
                      /*-------------------------------*/
                    } else {
                      BidProject.OpenFormToSaveFile();
                      oViewer["SubViewer"].LoadFile(responseJSON.fileNameSaved);
                    }
                    ////////////////////////////////////////////////////////////////////////////////////
                  } else {
                    if (BidProject.DocumentTypeId == 7 || BidProject.DocumentTypeId == 3) {
                      /*-------- OCR --------------------*/
                      BidProjectSub.OnlyOcrProcess_ClientEvent(responseJSON.fileNameSaved);
                      /*-------------------------------*/
                    }
                    BidProject.SaveSubDocAndFileInfo_ClientEvent(responseJSON.fileNameSaved, BidProject.DocumentTypeId);
                  }
                } else {
                  $(".UploadDocument").empty();
                  initUpload();
                  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);
          });
        }
        $(document).ready(function() {
          ToggleProjectDescription();
          initUpload();
        });

        function SetDocumentType(DocTypeId) {
          BidProject.DocumentTypeId = parseInt(DocTypeId, 10);
          sIndex = "SubViewer";
          oViewer["SubViewer"].DivContainerId = "#divSubViewerContainer";
        }

        function GetRelativePath_ClientEvent() {
          Fajax.CallFunction("Project.BidProject.GetRelativePath", $("#hdnBidProjectId").val(), $("#hdnCompanyLocationId").val(), oViewer["SubViewer"].RootDirectory);
        };

        function GetRelativePath_CallBack(response) {
          HidePleaseWaitBox();
          if ((response.error == null) && (response.value[0] != null)) {
            oViewer["SubViewer"].RelativePath = response.value[1];
            oViewer["SubViewer"].IsOnInbox = false;
          } else {
            if (response.error != null) ConfirmSendError(response);
            else ConfirmSendError(response.value[1]);
          }
        };

        function btnLoadProducer_ClientEvent() {
          //        StopEvent(event);
          var sCompanyLocationId = $("#hdnCompanyLocationId").val();
          var sBidProjectId = $("#hdnBidProjectId").val();
          Fajax.CallFunction("Project.BidProject.btnLoadProducer", sCompanyLocationId, sBidProjectId);
        }

        function btnLoadProducer_CallBack(response) {
          if ((response.error == null) && (response.value[0] != null)) {
            ////
            HidePleaseWaitBox();
            var aArrayFromForm = response.value[1];
            System.OpenMiniPopin(GetElementById("divPopinProducerForwardMgmt").innerHTML, GetElementById("btnProducerForward"), false, "Producer");
            //
            PopulateSelect("ddlDocType", response.value[2]);
            $("#ddlDocType").multiSelect({});
            $("#ddlDocType").show();
            //
            if (aArrayFromForm != null) {
              $("#txtCompanyName").val(aArrayFromForm["txtCompanyName"]);
              $("#txtProducerFirstName").val(aArrayFromForm["txtProducerFirstName"]);
              $("#txtProducerLastName").val(aArrayFromForm["txtProducerLastName"]);
              $("#txtProducerMiddleInitial").val(aArrayFromForm["txtProducerMiddleInitial"]);
              $("#txtProducerEmail").val(aArrayFromForm["txtProducerEmail"]);
              $("#txtProducerFax").val(aArrayFromForm["txtProducerFax"]);
              $("#txtProducerPhone").val(aArrayFromForm["txtProducerPhone"]);
              $("#hdnProducerContactId").val(aArrayFromForm["hdnProducerContactId"]);
            }
            SetUnsetMasks();
          } else {
            HidePleaseWaitBox();
            if (response.error != null) alert("Application Error: " + response);
            else ConfirmSendError(response.value[1]);
          }
        }

        function PopulateSelect(ddlId, aList) { // = function(, ddlId, iSelectedIndex) {
          var ddl = GetElementById(ddlId);
          ddl.length = 0;
          var iSelectedIndex = 0;
          for (var i = 0; i < aList.length; i++) {
            var sOpt = aList[i].split("|");
            ddl.options.add(new Option(sOpt[1], sOpt[0]));
            if (sOpt[0] == "1") iSelectedIndex = 1;
          }
          if (iSelectedIndex != 0) ddl.selectedIndex = iSelectedIndex;
        }

        function OpenCertificate() {
          BidProject.DocumentTypeId = parseInt($("input[name=rbCertificate]:checked").val());
          BidProject.OpenFormToSaveFile();
          oViewer["SubViewer"].LoadFile(BidProject.CurrentFileName);
        };

        function SaveAndForward() {
          var sCompanyLocationId = $("#hdnCompanyLocationId").val();
          var sBidProjectId = $("#hdnBidProjectId").val();
          var sDocumentTypeIds = $().getOptionsSelected("ddlDocType");
          var sDocumentTypeNames = $().getTextOptionsSelected("ddlDocType");
          var sBidProjectName = $("#divTitleText").html();
          if (ClientValidators.IsValidForm("dvSaveAndForward")) {
            if (sDocumentTypeIds != "") {
              Fajax.CallFunction("Project.BidProject.SaveAndForward", GetElementById("dvSaveAndForward"), sCompanyLocationId, sBidProjectId, sDocumentTypeIds, sDocumentTypeNames);
            } else Alert("", lng_Sub_Project_BidProject.msgValidationDocTypesTitle, lng_Sub_Project_BidProject.msgValidationDocTypes);
          }
        }
        SaveAndForward_CallBack = function(response) {
          if ((response.error == null) && (response.value[0] != null) && (response.value[0] != "validationPerson")) {
            if (response.value[0] != "Error") {
              if (response.value[1] != null) {
                closeMiniPopin();
              }
            }
          } else {
            if (response.value[0] == "validationPerson") {
              ConfirmSendError('Validation Person: Session information is wrong.Please refresh your session');
              setTimeout(function() {
                $("#popup_ok").click(function() {
                  location.reload();
                });
              }, 300);
            } else {
              if (response.error != null) alert("Application Error: " + response);
              else ConfirmSendError(response.value[1]);
            }
          }
          HidePleaseWaitBox();
        };
        var BidProjectSub = {};
        BidProjectSub.OnlyOcrProcess_ClientEvent = function(sFileName) {
          VirtualFormValidation('');
          Fajax.CallFunction('SC!Main.Inbox.StartOcrProcess:BidProjectSub', sFileName, '0', 'false', $("#hdnBidProjectId").val(), $("#hdnCompanyLocationId").val(), 'false', '0');
        };
        BidProjectSub.StartOcrProcess_CallBack = function(response) {};
      </script>
      <script type="text/javascript">
        // Do not insert code here!! becouse repeat then
      </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="hdnCompanyLocationId" type="hidden" id="hdnCompanyLocationId" value="10569143">
      <input name="hdnBidProjectId" type="hidden" id="hdnBidProjectId">
      <input id="hdnLasDocumentTypeIdUploaded" value="0" type="hidden">
      <input name="hdnOpenToBid" type="hidden" id="hdnOpenToBid">
      <input name="hdnNonVendorOcr" type="hidden" id="hdnNonVendorOcr" value="True">
      <input name="hdnNoAnswer" type="hidden" id="hdnNoAnswer" value="0">
      <input name="hdnAcceptedAnswer" type="hidden" id="hdnAcceptedAnswer" value="0">
      <input name="hdnUrlInfo" type="hidden" id="hdnUrlInfo">
      <input name="hdnSystemId" type="hidden" id="hdnSystemId" value="3165">
      <input name="hdnDueDateNoAnswer" type="hidden" id="hdnDueDateNoAnswer" value="0">
      <input name="hdnFilesIds" type="hidden" id="hdnFilesIds" value="0">
      <input name="hdnAddress1" type="hidden" id="hdnAddress1" value="500 E. 76th Ave. BLDG 2">
      <input name="hdnCity" type="hidden" id="hdnCity" value="Denver">
      <input name="hdnStateId" type="hidden" id="hdnStateId" value="5">
      <input name="hdnStateDescription" type="hidden" id="hdnStateDescription" value="Colorado">
      <input name="hdnBidZipCode" type="hidden" id="hdnBidZipCode" value="80229">
      <input name="hdnCountryId" type="hidden" id="hdnCountryId" value="181">
      <input name="hdnCountryDescription" type="hidden" id="hdnCountryDescription" value="United States of America">
      <input name="hdnComplianceDueDate" type="hidden" id="hdnComplianceDueDate">
      <input name="hdnServerDateToday" type="hidden" id="hdnServerDateToday">
      <textarea name="hdnCollection" id="hdnCollection" rows="30" cols="50" style="display: none"></textarea>
      <div id="divProducerForward" class="" style="background-color: #eeeeee; padding: 5px 0px 12px 0px; width: 100%;">
        <div id="divPageTitle" class="PageTitle PageTitleSkin">
          <div id="divTitleText" class="PageTitleText PageTitleTextSkin"> Company: &nbsp;RFMX CORPORATION (BAS) </div>
        </div>
        <input name="btnProducerForward" type="button" id="btnProducerForward" style="margin-left: 10px; margin-top: 5px" onclick=" btnLoadProducer_ClientEvent();" class="ButtonFormat ButtonSkin" value="Forward Request to broker/producer">
      </div>
      <div id="divProjectIntro" style="display: none; clear: both; background-color: #eeeeee;width: 100%">
        <div class="PageTitleText PageTitleTextSkin bold" style="display: block; clear: both; margin-top: 10px;">Welcome to SmartCompliance</div>
        <div class="PageTitleText PageTitleTextSkin " style="display: block; clear: both; margin-bottom: 10px;">In this section you can find the Requirements for Project </div>
        <label id="lblTitleProject" class="PageTitleText PageTitleTextSkin " style="margin-bottom: 10px;"> </label>
        <div class="PageTitleText PageTitleTextSkin " style="margin-bottom: 10px;">You may also forward this to your broker/producer where the requested documents may be uploaded.</div>
      </div>
      <div id="divCompanyIntro" style="display:block;clear:both;background-color:#eeeeee;width:100%;">
        <div class="PageTitleText PageTitleTextSkin bold" style="display: block; clear: both; margin-top: 10px;">Welcome to SmartCompliance</div>
        <div class="PageTitleText PageTitleTextSkin " style="display: block; clear: both; ">Please review and upload the requested documents. You will be able to visually confirm if you have met the compliance requirements.</div>
        <div class="PageTitleText PageTitleTextSkin " style="display: block; clear: both; margin-bottom: 10px;">You may also forward this to your broker/producer where the requested documents may be uploaded.</div>
      </div>
      <div id="divMain" style="position: relative;width:100%">
        <div style="width:100%">
          <div class="Padding10">
            <!-------------------------- Data --------------------------------------->
            <div class="TopRound5 BottomRound5 FormBoxBorder Left">
              <div id="divDataGral">
              </div>
              <!-------------------------- END Data --------------------------------------->
              <div style="padding-left: 40%;">
                <span id="spAlertMsg" class="highlight bold"></span>
              </div>
            </div>
          </div>
          <div id="divReqGroupGral" class="Left" style="padding-left: 5px;width: 99%;">
            <div class="DivLabelBox" style="width: 100%;">
              <div style="width: auto;" id="divPageTitle" class="PageTitle">
                <label id="lblRequirements" style="font-size: 20px" class="PageTitleText PageTitleTextSkin bold">Requirements</label>
              </div>
              <div style="margin-left: 20px; padding-top: 7px;"> ( <label id="lblComplianceReference">Reference: </label>
                <label class="Pictos " style="color: #01a901; font-size: 14px !important; margin-left: 10px;">3</label>
                <label id="lblRefIncompliance">In Compliance</label>
                <label class="Pictos " style="color: #FF0000; font-size: 14px !important; margin-left: 10px;">*</label>
                <label id="lblRefNonCompliance">Non Compliance</label> )
              </div>
              <br>
              <div id="divIntro2" class="PageTitleText PageTitleTextSkin " style="background-color: #eeeeee; padding: 5px 0px 12px 10px; width: 100%;clear:both;display: none">Please review and upload the requested documents. You will be able to
                visually confirm if you have met the compliance requirements.</div>
              <div id="divRequirementGroup" style="width: 100%;">
                <div id="dvDocTypes_Deficienses" class="row" style="margin:15px;margin-right:0px; margin-top:5px;width: 98.5%;">
                  <div id="dv_7" class="TopRound5 BottomRound5 FormBoxBorder rgRuleWrapper">
                    <div id="dv1head1" 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:30%;border-right: 1px solid rgb(209, 209, 209);" class="">
                      <div class="bold TextContectUpdate">Details</div>
                      <div id="dv1DataAndHeader" class="ControlBox" style="width:100%;margin-top:5px;">
                        <div class="FormBox BoxFormSkin TopRound5" style="padding-left:5px;height:inherit;">
                          <div style="width:207px;">Message </div>
                        </div>
                        <div id="dv1DataTab" class="rgRuleList">
                          <div style="clear:both;border-top:1px solid #dddddd;padding:5px;width:100%;height:auto" class="odd">
                            <div style="width:4%;"><span class="Pictos RedFont" style="text-decoration:none;color:#ff0000;"> * </span></div>
                            <div><span><b>AL Combined Single Limits $1M</b></span></div>
                            <div style="width:95%;">Automobile Liability coverage with limits of at least $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%;"><span class="Pictos RedFont" style="text-decoration:none;color:#ff0000;"> * </span></div>
                            <div><span><b>Any Auto or Contingent Auto Liability</b></span></div>
                            <div style="width:95%;">Auto Liability must cover Any Auto or Contingent Auto</div>
                          </div>
                          <div style="clear:both;border-top:1px solid #dddddd;padding:5px;width:100%;height:auto" class="odd">
                            <div style="width:4%;"><span class="Pictos RedFont" style="text-decoration:none;color:#ff0000;"> * </span></div>
                            <div><span><b>AL Additional Insured</b></span></div>
                            <div style="width:95%;">An Additional Insured Endorsement naming Certificate Holder for Auto Liability is Required</div>
                          </div>
                          <div style="clear:both;border-top:1px solid #dddddd;padding:5px;width:100%;height:auto" class="even">
                            <div style="width:4%;"><span class="Pictos RedFont" style="text-decoration:none;color:#ff0000;"> * </span></div>
                            <div><span><b>Contingent Cargo $100,000</b></span></div>
                            <div style="width:95%;">Contingent Cargo limit must be at least $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%;"><span class="Pictos RedFont" style="text-decoration:none;color:#ff0000;"> * </span></div>
                            <div><span><b>E&amp;O</b></span></div>
                            <div style="width:95%;">COL.[(other).(Error &amp; Omissions)] &gt;= 100,000</div>
                          </div>
                        </div><!-- closes dv1DataTab -->
                      </div><!-- closes dv1DataAndHeader -->
                    </div>
                    <div style="width:69%;border-left: 1px solid rgb(209, 209, 209);">
                      <div class="TextContectUpdate 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;">
                            <div class="tbRow0">View</div>
                            <div class="tbRow2">Doc Date</div>
                            <div class="tbRow3">Uploaded on</div>
                            <div class="tbRow4">Uploaded by</div>
                            <div class="tbRow6">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(1112269);">View</a></div>
                            <div class="tbRow2">05-20-2020</div>
                            <div class="tbRow3">06-12-2020</div>
                            <div class="tbRow4" style="word-wrap: break-word;">allison.page@pcci.com</div>
                            <div class="tbRow6">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="17483ca5-b383-40e2-9940-0ec4c7f5e12f" 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 id="dv_797" class="TopRound5 BottomRound5 FormBoxBorder rgRuleWrapper">
                    <div id="dv1head1" class="FormBox BoxFormSkin TopRound5">
                      <div class="Pictos " style="color:#01a901;font-size:24px !important; width: 25px;"> 3 </div>
                      <div class="FormBoxText"> Agreement </div>
                    </div>
                    <div style="width:30%;border-right: 1px solid rgb(209, 209, 209);" class="">
                      <div class="bold TextContectUpdate">Details</div>
                      <div id="dv1DataAndHeader" class="ControlBox" style="width:100%;margin-top:5px;">
                        <div class="FormBox BoxFormSkin TopRound5" style="padding-left:5px;height:inherit;">
                          <div style="width:207px;">Message </div>
                        </div>
                        <div id="dv1DataTab" class="rgRuleList">
                          <div style="clear:both;border-top:1px solid #dddddd;padding:5px;width:100%;height:auto" class="odd">
                            <div style="width:4%;"><span class="Pictos" style="text-decoration:none;color:#01a901;"> 3 </span></div>
                            <div><span><b>It Is Required</b></span></div>
                            <div style="width:95%;">It Is Required</div>
                          </div>
                        </div><!-- closes dv1DataTab -->
                      </div><!-- closes dv1DataAndHeader -->
                    </div>
                    <div style="width: 69%;border-left: 1px solid rgb(209, 209, 209);">
                      <div class="TextContectUpdate bold"> Uploaded Agreement </div>
                      <div style="width:100%">
                        <div class="ControlBox" style="margin-top:5px;width:100%">
                          <div class="FormBox BoxFormSkin TopRound5" style="padding-left:5px;">
                            <div class="tbRow0">View</div>
                            <div class="tbRow2">Number</div>
                            <div class="tbRow3">Uploaded on</div>
                            <div class="tbRow4">Uploaded by</div>
                            <div class="tbRow6">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(1112264);">View</a></div>
                            <div class="tbRow2">-</div>
                            <div class="tbRow3">06-12-2020</div>
                            <div class="tbRow4" style="word-wrap: break-word;">allison.page@pcci.com</div>
                            <div class="tbRow6">Processed</div>
                          </div>
                          <div style="display:inline" id="dvProgAgreement"></div>
                          <div id="uploadCustomFile_797" class="UploadDocument" style="width:100%; padding-top:20px; 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="1c88e553-694f-48dc-bbc9-d453f652a0b8" 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><!-- closes dv_id -->
              </div>
              <div id="divViewTop" style="display: none; float: right; margin-bottom: 10px">
                <a class="ButtonFormat ButtonSkin" style="color: white;" href="#divPageTitle">View Data Project</a>
              </div>
            </div>
          </div>
        </div>
        <script type="text/javascript">
          //            plUploadInit();
          //            $("#uploader_container").hide();
        </script>
        <div style="height: auto; position: absolute; width: 100%;">
          <div id="dvFormDataEdit" style="display: none;">
            <div id="divSubViewerContainer" 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; width: 100%; height: 1125px;">
                      <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="dvSubDataFormContainer" style="overflow: inherit" class="FormPopinBorder Round5">
            </div>
          </div>
        </div>
      </div>
      <div id="divPopinProducerForwardMgmt" style="display: none">
        <div id="dvSaveAndForward">
          <input name="hdnProducerContactId" type="hidden" id="hdnProducerContactId" value="0">
          <div class="PageToolbar">
            <input id="btnSave_SystemPopin" onclick="SaveAndForward();" type="button" class="ButtonFormat ButtonSkinSave" value="Save and forward">
            <input id="btnCancel_SystemPopin" onclick="closeMiniPopin();" type="button" class="ButtonFormat ButtonSkinRed_s" value="Cancel">
          </div>
          <br>
          <div class="Padding10" style="margin-bottom: 5px; margin-right: 5px;">
            <div class="DivLabelBox">
              <label id="Label13" for="txtCompanyName" class="LabelBox">Producer Name</label>
              <br>
              <label id="Label25" for="txtProducerFirstName" class="LabelBox">First Name</label>
              <br>
              <label id="Label26" for="txtProducerMiddleInitial" class="LabelBox">Middle Name</label>
              <br>
              <label id="Label27" for="txtProducerLastName" class="LabelBox">Last Name</label>
              <br>
              <label id="Label20" for="txtProducerPhone" class="LabelBox">Phone</label>
              <br>
              <label id="Label21" for="txtProducerFax" class="LabelBox">Fax</label>
              <br>
              <label id="Label22" for="txtProducerEmail" class="LabelBox">Email</label>
              <br>
              <label id="Label12" for="ddlDocType" class="LabelBox">Request Type</label>
              <br>
            </div>
            <div class="ControlBox">
              <div class="ControlBoxRow">
                <input name="txtCompanyName" type="text" id="txtCompanyName" class="Input" style="width: 200px;" maxlength="100">
              </div>
              <div class="ControlBoxRow">
                <input name="txtProducerFirstName" type="text" id="txtProducerFirstName" class="Input" style="width: 200px;" maxlength="100">
              </div>
              <div class="ControlBoxRow">
                <input name="txtProducerMiddleInitial" type="text" id="txtProducerMiddleInitial" class="Input" style="width: 200px;" maxlength="100">
              </div>
              <div class="ControlBoxRow">
                <input name="txtProducerLastName" type="text" id="txtProducerLastName" class="Input" style="width: 200px;" maxlength="100">
              </div>
              <div class="ControlBoxRow">
                <input name="txtProducerPhone" type="text" id="txtProducerPhone" class="Input" style="width: 200px;" maxlength="30">
              </div>
              <div class="ControlBoxRow">
                <input name="txtProducerFax" type="text" id="txtProducerFax" class="Input" style="width: 200px;" maxlength="30">
              </div>
              <div class="ControlBoxRow">
                <input name="txtProducerEmail" type="text" id="txtProducerEmail" class="Input" style="width: 200px;" maxlength="100">
              </div>
              <div id="dvDocType" class="ControlBoxRow">
                <select name="ddlDocType" id="ddlDocType" class="Ddl" multiple="multiple" style="min-width: 182px;">
                </select>
              </div>
            </div>
          </div>
        </div>
      </div>
      <div id="divPopinCertificates" style="display: none;">
        <div id="divSelectCertificate" style="">
          <div class="PageToolbar" style="height: 45px;">
            <label style="float: left; margin-left: 8px;">OCR engine did not recognize the document.<br>Please select the document type you are uploading.</label>
          </div>
          <br>
          <div id="dvDocumentTypes" class="Padding10" style="max-height: 255px; overflow: auto;">
            <div id="DivContentControls">
              <div id="dvControlWS" 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 id="dvlblWS" style="float: left; margin-top: -5px; text-align: left;" class="DivLabelBox">
                <label for="rbCoi">Certificate of Liability (ACORD 25)</label>
                <br>
                <label for="rbCertProperty">Certificate of Property (ACORD 24)</label>
                <br>
                <label for="rbCSIO">CSIO</label>
                <br>
                <label for="rbEvidence">Evidence of Comercial Property</label>
                <br>
                <label for="rbEOPI" style="margin: 0px;">Evidence of Property</label>
                <br>
              </div>
            </div>
          </div>
          <div align="Right" style="margin-bottom: 10px; width: 90%;">
            <input id="btnOpenCertificate_SystemPopin" onclick="OpenCertificate();" type="button" class="ButtonFormat ButtonSkinSave" value="Open">
            <input id="btnCancelCertificate_SystemPopin" onclick="BidProject.CancelForm(); return false;" type="button" class="ButtonFormat ButtonSkinRed_s" value="Cancel">
          </div>
        </div>
      </div>
      <div id="alert-img-error" class="ContainerFormat ui-draggable" style="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="43006744">
        <input type="hidden" name="__EVENTVALIDATION" id="__EVENTVALIDATION"
          value="/wEdAB7C4QcbtZckY14cZ9rTMDpf5zVZ/bnxDUAhNBWBZNwCXRKn7waMCsxBdGrJMa/bXLRQl+LLaeZHBpp/mGDyqBj+FtVFpsBsckwApwNMoVcoHT+1bX70+NpYQVio3T8BzaXGbTBc+2xHnIvEzYLpFmgWcf7c3xbDucWBQG/EjZsjriK1jMm5JBvc/Ii4CPhWkX17VlC1uZb3dkiXJs6Vm2U/JT8wg7+Zi5uIXM5U/T34ismih2tcgLVOlO0CZzE1yWQRwkKSbE4hP8pqiWcYi2Terlyv/6vZkYgwwqICs3y1DXNN5gFqKj4JZpax3w8Ew0rgE7yquBrFir2mbIEp7HnMkg5EZKrI96WnM/aEeLdztGLxrjH+IjUxW+a8FT5utt24cyzBWmd5Y8UXYX/hhDpKaM6KlhWTBuN5SSQxhkiXaEW5/xIf8kLslA5GOME81tNpo0o5AliPtxOnUEnVYi9cVMXmwzCyPleN6bPaBUMZngG/C30u3Fos/EHTQwAdb2LLP2Gzc/qpr2dSZJJ6UOpgbcjxCtrA9rPmIJuQ9Idim2Es2MJCmhBI+FG0rMHrCZBYJUjRt+NdK1efCt19Y3ztpVPeSLFVS+/FShXajdphHJyz2mxI4mbsPfYvwpSSaZoOLbrTJGO9+1sw6636Oger8uzElw==">
      </div>
    </div>
    <div id="divContentDashboard_Fajax" class="PageContent" style="display: none;">
    </div>
    <div id="divContentTabDynamic_Fajax" class="PageContent" style="height: 1118px; display: none;">
    </div>
    <div id="divPopinId_Fajax" style="display: none; float: none; opacity: 1; position: absolute; z-index: 900; left: 800px; top: 600px;" class="ui-draggable"></div>
    <div id="divPopinShadeId_Fajax" style="display: none;">
    </div>
    <div id="divBody_MiniPopin">
    </div>
  </div>
  <div id="divWidget">
  </div>
</form>

Text Content

kgutierrez@avalonrisk.com
Kathia Gutierrez
Pacific Coast Companies
kgutierrez@avalonrisk.com
 * Company
 * 

User: kgutierrez@avalonrisk.com
j
Default message
 * Customer Service
 * 
 *  English 
    English
    Español
    Français
 * 
 * Log Off



Loading Data



Company:  RFMX CORPORATION (BAS)
Welcome to SmartCompliance
In this section you can find the Requirements for Project
You may also forward this to your broker/producer where the requested documents
may be uploaded.
Welcome to SmartCompliance
Please review and upload the requested documents. You will be able to visually
confirm if you have met the compliance requirements.
You may also forward this to your broker/producer where the requested documents
may be uploaded.
Requirements
( Reference: 3 In Compliance * Non Compliance )

Please review and upload the requested documents. You will be able to visually
confirm if you have met the compliance requirements.
*
Certificate of Insurance
Details
Message
*
AL Combined Single Limits $1M
Automobile Liability coverage with limits of at least $1,000,000
*
Any Auto or Contingent Auto Liability
Auto Liability must cover Any Auto or Contingent Auto
*
AL Additional Insured
An Additional Insured Endorsement naming Certificate Holder for Auto Liability
is Required
*
Contingent Cargo $100,000
Contingent Cargo limit must be at least $100,000
*
E&O
COL.[(other).(Error & Omissions)] >= 100,000
Uploaded Certificate of Insurance
View
Doc Date
Uploaded on
Uploaded by
Status
View
05-20-2020
06-12-2020
allison.page@pcci.com
Processed

Upload new File
Processing dropped files...
3
Agreement
Details
Message
3
It Is Required
It Is Required
Uploaded Agreement
View
Number
Uploaded on
Uploaded by
Status
View
-
06-12-2020
allison.page@pcci.com
Processed

Upload new File
Processing dropped files...
View Data Project
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




Producer Name
First Name
Middle Name
Last Name
Phone
Fax
Email
Request Type


OCR engine did not recognize the document.
Please select the document type you are uploading.

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


Message
D
File is corrupt.