www.bcscertus.com
Open in
urlscan Pro
54.172.105.225
Public Scan
URL:
https://www.bcscertus.com/SubmitDocuments.aspx?rOfOinZE9kHWXu4VRjJRYXfdqpReuQ2fOY4sLjBPuZHCKx5xdaTn/w+SmJi+HyBtBO3yfqzWxmg=
Submission: On September 27 via manual from US — Scanned from DE
Submission: On September 27 via manual from US — Scanned from DE
Form analysis
1 forms found in the DOMName: aspnetForm — POST ./SubmitDocuments.aspx?rOfOinZE9kHWXu4VRjJRYXfdqpReuQ2fOY4sLjBPuZHCKx5xdaTn%2fw+SmJi+HyBtBO3yfqzWxmg=
<form name="aspnetForm" method="post" action="./SubmitDocuments.aspx?rOfOinZE9kHWXu4VRjJRYXfdqpReuQ2fOY4sLjBPuZHCKx5xdaTn%2fw+SmJi+HyBtBO3yfqzWxmg=" id="aspnetForm" style="padding:0px;height:100%;">
<div>
<input type="hidden" name="ctl00_m_ScriptManagerSM_HiddenField" id="ctl00_m_ScriptManagerSM_HiddenField"
value=";;AjaxControlToolkit, Version=4.1.51116.0, Culture=neutral, PublicKeyToken=28f01b0e84b6d53e::fd384f95-1b49-47cf-9b47-2fa2a921a36a:de1feab2:f2c8e708:720a52bf:f9cec9bc:589eaa30:a67c2700:8613aea7:3202a5a2:ab09e3fe:87104b7c:be6fb298">
<input type="hidden" name="__EVENTTARGET" id="__EVENTTARGET" value="">
<input type="hidden" name="__EVENTARGUMENT" id="__EVENTARGUMENT" value="">
<input type="hidden" name="__VIEWSTATE" id="__VIEWSTATE"
value="/wEPDwUJMzE1OTc1NzQyDxYEHhdJc0NlcnRpZmljYXRlQXR0YWNobWVudGceD0Fzc2lnblRvQW5hbHlzdGUWAmYPZBYCAgMPZBYCAgIPDxYCHghJbWFnZVVybAVTaHR0cHM6Ly9jZXJ0dXMtcHJvZC1sb2dvcy5zMy5hbWF6b25hd3MuY29tLzc1MjU0YTQwLWY1ZDMtNDEwMC1iNjMzLWQ0ZGYzYmFlNzlkMS5qcGdkZGQE2aX4eFHFcjnV7oOHTmWOkPBg2epnQ1hM/8rrGegjxw==">
</div>
<script type="text/javascript">
//<![CDATA[
var theForm = document.forms['aspnetForm'];
if (!theForm) {
theForm = document.aspnetForm;
}
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=idoBEqMEns8lU7Ar6ZlVdkofYq3s4_22fevkJ7TwxIforNIvHYf9xXwGOkEp1UE2I5JguMWVgs7mxNNkIFxtozJxOK7mUJkwCdevtelcDOI1&t=636526467420273046" type="text/javascript"></script>
<script src="/ScriptResource.axd?d=cVT4KlmDnocm7XFkJA9JPUsvHHG9qE4RXkAsST5ll96bcArC_cFaYUjaTkZPrX3Z0S5-Cpt0hRniBf5OxVkRjEYUTrg7sA3EjhnfqjEJtErVwRNYRvOHwVNqXGZ_YLgA0&t=3a1336b1" type="text/javascript"></script>
<script src="/ScriptResource.axd?d=SWKHTWn8YMGAH-1yQg9H5ga2cQT_pHNRJyQ9MrzIN9qTEVNKgah0UsaoUtNJNmFrBS8fvP5OwQ3vNs5EJDpqdkHoT6UnR7gyS0RwO96NlYQhloolw_8c4h58NH-air54tK8BgHw-3fEG84JKZmapeA2&t=3a1336b1" type="text/javascript"></script>
<script
src="/SubmitDocuments.aspx?_TSM_HiddenField_=ctl00_m_ScriptManagerSM_HiddenField&_TSM_CombinedScripts_=%3b%3bAjaxControlToolkit%2c+Version%3d4.1.51116.0%2c+Culture%3dneutral%2c+PublicKeyToken%3d28f01b0e84b6d53e%3a%3afd384f95-1b49-47cf-9b47-2fa2a921a36a%3ade1feab2%3af2c8e708%3a720a52bf%3af9cec9bc%3a589eaa30%3aa67c2700%3a8613aea7%3a3202a5a2%3aab09e3fe%3a87104b7c%3abe6fb298"
type="text/javascript"></script>
<div>
<input type="hidden" name="__VIEWSTATEGENERATOR" id="__VIEWSTATEGENERATOR" value="ED2D403A">
</div>
<script type="text/javascript">
//<![CDATA[
Sys.WebForms.PageRequestManager._initialize('ctl00$m_ScriptManagerSM', 'aspnetForm', ['tctl00$cphMain$ctl00', '', 'tctl00$cphMain$ctl02', '', 'tctl00$cphMain$ctl04', '', 'tctl00$cphMain$ctl06', '', 'tctl00$ctl14', '', 'tctl00$ctl22', ''], [], [],
90, 'ctl00');
//]]>
</script>
<div style="height:100%;" id="wrapper">
<div style="display:none;width:100%;height:1000px;position:relative;" id="dropFilesHereDiv">
<span style="border-radius:30px;line-height:500px;position:absolute;width:90%;height:90%;border: 4px dashed gray;z-index:-1;display: block;font-size: 50px;font-weight: bold;text-align: center;margin:5%;"> Drop the files you want to upload
anywhere on this page </span>
</div>
<div style="height:100%;position:relative;" id="pageWrapper">
<nav style="margin:0px; width:100%;border-bottom:1px dotted #C7C8CA;" class="container navbar navbar-default navbar-fixed-top">
<div class="rfp" style="display:none;">
<p class="pull-right museo"><a href="http://www.businesscredentialingservices.com/rfp.html"><i class="fa fa-comments fa-fw"></i>RFP</a> // +1 862 242 5500</p>
</div>
<div style="float:left !important;" class="navbar-header">
<div style="float:left;border-right:1px dotted #C7C8CA;">
<img class="fltlft" href="http://www.businesscredentialingservices.com/index.html" src="images/certus-logo.jpg" alt="Business Credentialing Services (BCS) Logo" style="height:60px;border-width:0px;padding-right:20px;">
</div>
<img id="ctl00_m_ClientLogoIMG" src="https://certus-prod-logos.s3.amazonaws.com/75254a40-f5d3-4100-b633-d4df3bae79d1.jpg" style="height:60px;border-width:0px;max-width:760px;padding-left:20px;">
</div>
<div style="float:right;" id="btnDiv">
<button id="m_UnableToProvideDocumentsBTN" class="SecondaryBTN" style="margin:15px;margin-left:0px !important;" onclick="fnShowSection('#cannotProvideSection');return false;">Cannot Provide Coverage</button>
</div>
</nav>
<div style="width:100%;height:100%;padding-top:60px;padding-bottom:45px;" class="container background-white">
<input type="hidden" name="ctl00$cphMain$m_NoteContent" id="ctl00_cphMain_m_NoteContent">
<input type="hidden" name="ctl00$cphMain$m_WorkflowItemID" id="ctl00_cphMain_m_WorkflowItemID">
<input type="hidden" name="ctl00$cphMain$m_UserEmailAddress" id="ctl00_cphMain_m_UserEmailAddress">
<input type="hidden" name="ctl00$cphMain$m_NoteID" id="ctl00_cphMain_m_NoteID">
<input type="hidden" name="ctl00$cphMain$m_ClientID" id="ctl00_cphMain_m_ClientID" value="85">
<input type="hidden" name="ctl00$cphMain$m_RecordName" id="ctl00_cphMain_m_RecordName" value="Spectra Contract Flooring">
<input type="hidden" name="ctl00$cphMain$m_CompanyID" id="ctl00_cphMain_m_CompanyID" value="81123">
<input type="hidden" name="ctl00$cphMain$m_CertificateID" id="ctl00_cphMain_m_CertificateID" value="340324">
<input type="hidden" name="ctl00$cphMain$m_TimeList" id="ctl00_cphMain_m_TimeList">
<input type="hidden" name="ctl00$cphMain$m_CertusFileIDList" id="ctl00_cphMain_m_CertusFileIDList">
<input type="hidden" name="ctl00$cphMain$m_CertusFileID" id="ctl00_cphMain_m_CertusFileID">
<input type="hidden" id="m_DocTypeDropDownHF" value="">
<input type="hidden" name="ctl00$cphMain$m_ClientName" id="ctl00_cphMain_m_ClientName" value="Physicians Realty Trust">
<input type="hidden" name="ctl00$cphMain$m_CertificateName" id="ctl00_cphMain_m_CertificateName" value="v0000572">
<input type="hidden" name="ctl00$cphMain$m_CompanyName" id="ctl00_cphMain_m_CompanyName" value="Spectra Contract Flooring dba Shaw Contract Flooring Services, Inc">
<div id="ctl00_cphMain_m_FormPNL" style="position:relative;height:100%;overflow-y:auto;overflow-x:hidden;">
<a id="m_BackBTN" style="position:absolute;top:20px;left:20px;display:none;z-index:1000000;" href="javascript:void(0);" onclick="fnBack();return false;"><i style="margin-right:7px;" class="fa fa-home"></i>Return Home</a>
<div id="m_IntroPage" style="background-color:white;">
<div id="documentSection">
<div id="IntroMessageContainer">
<span id="welcomeLBL">Welcome!</span>
<span id="clientLabel">Physicians Realty Trust <span class="subLabel">is requesting documents for:</span></span>
<span id="m_CompanyLabel">Spectra Contract Flooring</span>
</div>
<div style="display:none;" id="otherCertificates">
<span style="padding-bottom:10px;display:block;">This page is <b style="color:red;">ONLY</b> for submitting files for the <span id="certificateName">v0000572</span>.<br></span>
</div>
<div style="margin:20px 0px;">
<div style="" id="m_DocumentsDIV">
<div id="centerTables">
<table id="m_NoMoreDeficienciesTable" style="display:none;">
<tbody>
<tr>
<td id="m_NoMoreDeficienciesTD">
</td>
</tr>
</tbody>
</table>
<table class="insuranceMainTable">
<thead>
<tr>
<th>Insurance<br><a id="m_ReviewRequirements" href="javascript:void(0);" onclick="fnOpenRequirementsPage();return false;">View Requirements Template</a></th>
<th>Upload insurance file(s) below</th>
</tr>
</thead>
<tbody>
<tr>
<td style="width:100%;">
<table id="insuranceSubTable">
<tbody>
<tr>
<td><span
class="subsectionLabel"><a id="policyExtractorLink1158" defcount="-1" issuedate="10-04-22" class="extractorLink" onclick="fnOpenCertusFileResults(4839351, 2371281, true);" href="javascript:void(0)">Commercial General Liability</a><span
class="extractionSubInfo">View COI Issued: 10-04-22 </span><span class="statusLabel nonCompliantLabel ">Soon to Expire</span></span></td>
</tr>
<tr>
<td><span
class="subsectionLabel"><a id="policyExtractorLink1159" defcount="-1" issuedate="10-04-22" class="extractorLink" onclick="fnOpenCertusFileResults(4839351, 2371281, true);" href="javascript:void(0)">Auto Liability</a><span
class="extractionSubInfo">View COI Issued: 10-04-22 </span><span class="statusLabel nonCompliantLabel ">Soon to Expire</span></span></td>
</tr>
<tr>
<td><span
class="subsectionLabel"><a id="policyExtractorLink1160" defcount="-1" issuedate="10-04-22" class="extractorLink" onclick="fnOpenCertusFileResults(4839351, 2371281, true);" href="javascript:void(0)">Excess/Umbrella</a><span
class="extractionSubInfo">View COI Issued: 10-04-22 </span><span class="statusLabel nonCompliantLabel ">Soon to Expire</span></span></td>
</tr>
<tr>
<td><span
class="subsectionLabel"><a id="policyExtractorLink1161" defcount="-1" issuedate="10-04-22" class="extractorLink" onclick="fnOpenCertusFileResults(4839351, 2371281, true);" href="javascript:void(0)">Workers Compensation</a><span
class="extractionSubInfo">View COI Issued: 10-04-22 </span><span class="statusLabel nonCompliantLabel ">Soon to Expire</span></span></td>
</tr>
</tbody>
</table>
</td>
<td class="uploadSectionTD">
<div class="uploadSection dz-clickable" style="display: block;" id="m_DragAndDropMessageDiv"> <img src="../images/attachfile.svg" style="text-aligncenter;margin:20px 0px;" title="Attach Document" alt="Attach Document">
<label style="line-height100px; margin-bottom:0px;width: 100%;display: Block;text-align: center;cursor:pointer;font: normal bold 18px Helvetica;" id="m_DragAndDropMessage">Drag and drop your file here Or <span
style="font: normal bold 18px Helvetica;color: #0D84E4;text-decoration:underline;">Select a file</span><br><span id="displayBlock;width:100%;font:normal normal normal 24px Helvetica;font-weight: normal;">Supported
files: PDF, JPG, PNG</span></label></div>
</td>
</tr>
<tr id="uploadedInsuranceDocs" style="display:none;">
<td colspan="2">
<div id="submitFilesContents" class="hasFiles dropzone-previews">
<span id="finishedMessage" style="width:100%;font: normal normal normal 20px Helvetica;color:#797979;">Thanks! <b>Please wait for automated results to popup</b>. If revisions are needed, please make the requested changes
and resubmit the file(s).</span>
<button id="m_OpenSubmitFilesBTN" style="bottom:5px;right:20px;position:absolute;display:none;" class="SecondaryBTN" onclick="fnOpenSubmitFiles();return false;">Submit Files</button>
<button id="m_DoneSubmitting" style="bottom:10px;right:20px;position:absolute;" type="button" class="SecondaryBTN" onclick="fnDoneSubmitting();return false;" value="Done Submitting">Done Submitting</button>
</div>
</td>
</tr>
</tbody>
</table>
<table id="documentTypesTable" style="display: none;">
<thead>
<tr>
<th colspan="2">Other Document(s)</th>
</tr>
</thead>
<tbody id="m_DocumentTable">
<tr class="uploadedDocs" style="display:none;">
<td id="submittedDocs" colspan="2"></td>
</tr>
</tbody>
</table>
<div style="display:none;">Your session will end in <span id="time">30:00</span> minutes. If you need more time you can refresh the page.</div>
</div>
</div>
</div>
<div class="uploadSection" style="display:block;" id="uploadSectionDIV">
<span id="m_SuccessSubmitMessage">Thanks, we received the files! Stick around for additional automatic feedback. Once reviewed you can close out of the page.</span>
<span id="m_DocTypeUpdateMSG">Document Type updated!</span>
<div style="display:none;" id="documentFeedbackSection">
<div class="hasFiles" id="submittedFilesDiv">
<span class="tabContainerHeader"></span>
</div>
<div style="display:none;" id="overviewSection">
<div id="pulledDataSectionContent" style="overflow:auto;" class="customTabContents">
<div id="innerDIV">
<div style="display:inline-block; background-color:#E2E2E22E;width:100%;border-radius:6px;" id="loadingBarOutside">
<div style="float:left;display:inline-block;border-radius:6px;background-color:#41DD99;width:1%;height:50px;text-align:center;padding:12px;" id="LoadingBarInside">
<a id="reviewAllResultsBTN" style="display:none;font: normal normal normal 20px Helvetica;color:white;" href="javascript:void(0);" onclick="fnReviewAllResults();">Review Complete! Click here to review the results</a>
<span style="font: normal normal normal 20px Helvetica;color:white;position:relative;"><img style="position:absolute;left:-30px;height:22px;" src="../images/ajax-loading.gif" alt="loading...">Processing...</span>
</div>
</div>
</div>
<table style="display:none;width:100%;" id="documentFeedback">
<thead>
<tr>
<th align="center">Time</th>
<th align="center">File Name</th>
<th align="center">Results</th>
</tr>
</thead>
<tbody id="documentFeedbackRows">
</tbody>
</table>
</div>
</div>
</div>
</div>
</div>
</div>
<div style="display:none;" id="questionSection">
<div style="width:100%;margin-bottom:0px;margin-top:20px;position:relative;border-radius:30px;">
<div id="questionHeader" style="cursor:default;background-color:#234261;">
<span style="font-size:30px;padding-left:10px;font-weight:bold;color:white;">Question</span>
</div>
</div>
<div id="questionContents" style="padding-bottom:80px;background-color:white;border-top:1px solid #CCC;;border-radius:0px 0px 30px 30px; width:100%;margin-top:0px;position:relative;">
<span id="questionErr" style="font-size:18px;color:red;display:none;">Must provide a valid question</span>
<div style="width:100%;"><textarea placeholder="Type your question here and click submit" style="width:100%;height:115px;" rows="4" cols="120" id="QuestionTA"></textarea></div>
<button id="QuestionSubmitBTN" style="position:absolute;bottom:15px;right:15px;padding:5px 30px;" class="SecondaryBTN" onclick="fnOpenQuestionMPE();return false;">Submit</button>
</div>
</div>
<div style="display:none;" id="cannotProvideSection">
<div style="width:100%;margin-bottom:0px;margin-top:20px;position:relative;border-radius:30px;">
<div id="cannotProvideCoverageHeader" style="cursor:default;background-color:#234261;">
<span style="font-size:30px;padding-left:10px;font-weight:bold;color:white;">Please let us know why you cannot provide the documents</span>
</div>
</div>
<div id="cannotProvideCoverageContents" style="border:1px solid black;padding:30px;background-color:white;border-top:1px solid #CCC;;border-radius:0px 0px 30px 30px; width:100%;margin-top:0px;position:relative;">
<span id="m_NoOptionSelectedError" style="width:100%;display:none;color:red;font-size:20px;font-weight:bold;text-indent:50px;">You must select an option before clicking submit.</span>
<input class="cannotProvideCoverageRadioBtn" id="noLongerInsured" type="radio" name="reason"> <label for="noLongerInsured" class="cannotProvideCoverageSpan">We no longer insure this company (For Insurance Agent/Broker Use Only)</label>
<input class="cannotProvideCoverageRadioBtn" id="thirdParty" type="radio" name="reason"><label for="thirdParty" class="cannotProvideCoverageSpan">We cannot provide documents to third party companies (For Insurance Agent/Broker Use
Only)</label>
<input class="cannotProvideCoverageRadioBtn" id="refusesToObtain" type="radio" name="reason"><label for="refusesToObtain" class="cannotProvideCoverageSpan">The insured refuses to obtain the required coverage</label>
<input class="cannotProvideCoverageRadioBtn" id="doesntUnderstand" type="radio" name="reason"><label for="doesntUnderstand" class="cannotProvideCoverageSpan">I don't understand the requirements</label>
<input class="cannotProvideCoverageRadioBtn" id="cannotProvide" type="radio" name="reason"><label for="cannotProvide" class="cannotProvideCoverageSpan">Other</label>
<button id="submitCannotProvideBTN" style="position:absolute;bottom:15px;right:15px;padding:5px 30px;" class="SecondaryBTN" onclick="fnOpenCannotProvideCoverage();return false;">Submit</button>
</div>
</div>
<div id="providedFeedBack" style="display:none;">
<span style="width:100%;color:green;font-size:20px;font-weight:bold;text-indent:50px;">Thanks! Successfully submitted for review! We will get back to you if needed.</span>
</div>
</div>
<input type="submit" name="ctl00$cphMain$m_HiddenBTN22" value="" id="ctl00_cphMain_m_HiddenBTN22" style="display:none;">
<div id="ctl00_cphMain_m_SubmitCannotProvideCoveragePNL" onkeypress="javascript:return WebForm_FireDefaultButton(event, 'ctl00_cphMain_m_SubmitCannotProvidePopUpBTN')"
style="background-color: white; overflow: auto; display: none; padding-bottom: 70px; width: 400px; position: fixed; z-index: 100001;">
<div id="ctl00_cphMain_ctl00">
<div class="popupWrapper">
<div class="popupTitle">
<span id="m_CannotProvidePopupHeader" class="popupHeader"></span>
</div>
<div id="CannotProvidePopupContent" class="popupContents popupContent">
<span id="m_CannotProvideLBL"></span>
<span>Email Address:</span>
<span id="emailErr" style="display:none;color:red;font-weight:bold;">You must supply an email address.</span>
<input type="text" placeholder="Email Address" id="m_EmailAddressCannotProvideCoverageTB">
<div id="OtherSection" style="display:none;">
<span>Comments:</span>
<span id="otherErr" style="display:none;color:red;font-weight:bold;">You must supply a reason before continuing.</span>
<textarea id="m_OtherReasonCannotProvideCoverageTB"></textarea>
</div>
<div id="CommentSection" style="display:none;padding-top:10px;">
<label style="display:inline-block;" id="requiredComment">*</label><label style="display:inline-block;">Comments:</label><label id="noCommentErr" style="display:none;color:red;font-weight:bold;padding-left:7px">You must supply a
comment.</label>
<textarea id="m_CannotProvideCoverageCommentsTB"></textarea>
</div>
</div>
<div class="popupFooter">
<input name="ctl00$cphMain$m_CancelSubmitCannotProvideBTN" type="button" id="ctl00_cphMain_m_CancelSubmitCannotProvideBTN" style="float:left;margin-left:10px;" class="PrimaryBTN" value="Cancel"
onclick="javascript:fnCloseCannotProvideCoverage(); return false;">
<input type="submit" name="ctl00$cphMain$m_SubmitCannotProvidePopUpBTN" value="Submit" onclick="javascript:fnSubmitCannotProvideCoverage(); return false;" id="ctl00_cphMain_m_SubmitCannotProvidePopUpBTN" class="SecondaryBTN">
</div>
</div>
</div>
</div>
<input type="submit" name="ctl00$cphMain$m_HiddenBTN93" value="" id="ctl00_cphMain_m_HiddenBTN93" style="display:none;">
<div id="ctl00_cphMain_m_QuestionPNL" onkeypress="javascript:return WebForm_FireDefaultButton(event, 'ctl00_cphMain_m_SubmitQuestionBTN')"
style="background-color: white; overflow: auto; display: none; padding-bottom: 70px; width: 400px; position: fixed; z-index: 100001;">
<div id="ctl00_cphMain_ctl02">
<div class="popupWrapper">
<div class="popupTitle">
<span class="popupHeader">Submit Question</span>
</div>
<div class="popupContents popupContent">
<span style="font-weight:bold;">Question:</span>
<span style="margin:0px;padding:0px;" id="m_QuestionLBL"></span>
<span>Email Address:</span>
<span id="questionEmlErr" style="display:none;color:red;font-weight:bold;">You must supply a valid email address.</span>
<input type="text" placeholder="Email Address" id="m_QuestionEmailAddress">
<span>We will send a response to the provided email.</span>
</div>
<div class="popupFooter">
<input name="ctl00$cphMain$Button2" type="button" id="ctl00_cphMain_Button2" style="float:left;margin-left:10px;" class="PrimaryBTN" value="Cancel" onclick="javascript:fnCloseQuestionMPE(); return false;">
<input type="submit" name="ctl00$cphMain$m_SubmitQuestionBTN" value="Submit" onclick="javascript:fnSubmitQuestion(); return false;" id="ctl00_cphMain_m_SubmitQuestionBTN" class="SecondaryBTN">
</div>
</div>
</div>
</div>
<input type="submit" name="ctl00$cphMain$m_HiddenBTN23" value="" id="ctl00_cphMain_m_HiddenBTN23" style="display:none;">
<div id="ctl00_cphMain_m_SubmitFilesPNL" onkeypress="javascript:return WebForm_FireDefaultButton(event, 'ctl00_cphMain_m_SubmitFilesBTN')"
style="background-color: white; overflow: auto; display: none; padding-bottom: 70px; width: 400px; position: fixed; z-index: 100001;">
<div id="ctl00_cphMain_ctl04">
<div class="popupWrapper">
<div class="popupTitle">
<span class="popupHeader">Submit Files</span>
</div>
<div class="popupContent popupContents">
<span id="m_submitFilesEmailAddressErr" style="display:none;color:red;font-weight:bold;">You must supply a valid email address.</span>
<span><b>File(s) not yet submitted</b>. Please provide us with an email in case we need to reach you regarding these documents</span>
<span>Email Address:</span>
<input type="text" placeholder="Email Address" id="m_SubmitFilesEmailAddressTB">
</div>
<div class="popupFooter">
<input type="submit" name="ctl00$cphMain$m_SubmitFilesBTN" value="Submit" onclick="javascript:fnSubmitFiles(); return false;" id="ctl00_cphMain_m_SubmitFilesBTN" class="SecondaryBTN">
</div>
</div>
</div>
</div>
<input type="submit" name="ctl00$cphMain$m_HiddenBTN55" value="" id="ctl00_cphMain_m_HiddenBTN55" style="display:none;">
<div id="ctl00_cphMain_m_DoneSubmittingPNL" onkeypress="javascript:return WebForm_FireDefaultButton(event, 'ctl00_cphMain_m_LeavePage')"
style="background-color: white; overflow: auto; display: none; padding-bottom: 70px; width: 400px; position: fixed; z-index: 100001;">
<div id="ctl00_cphMain_ctl06">
<div class="popupWrapper">
<div class="popupTitle">
<span class="popupHeader">Done Submitting</span>
</div>
<div class="popupContent popupContents">
<span> If you have reviewed the automated results and made corrections you may click "Leave Page". A confirmation email will be sent to you with the automation results. </span>
</div>
<div class="popupFooter">
<input type="submit" name="ctl00$cphMain$Button1" value="Upload more file(s)" onclick="javascript:fnHideDoneSubmitting(); return false;" id="ctl00_cphMain_Button1" class="PrimaryBTN" style="float:left;margin-left:10px;">
<input type="submit" name="ctl00$cphMain$m_LeavePage" value="Leave Page" onclick="javascript:fnDoneSubmittingOk(); return false;" id="ctl00_cphMain_m_LeavePage" class="SecondaryBTN">
</div>
</div>
</div>
</div>
<script type="text/javascript">
$(document).ready(function() {
if ($('#ctl00_cphMain_m_CertificateID').val().length > 0) {
$('#btnDiv').show();
} else {
$('#btnDiv').hide();
}
if ($('#ctl00_cphMain_m_ErrorPNL').is(":visible")) {
$('#btnDiv').hide();
}
$("#certificateName").html($('#ctl00_cphMain_m_CertificateName').val());
$('#clientLabel').html($('#ctl00_cphMain_m_ClientName').val() + " <span class='subLabel' >is requesting documents for:</span>");
$('#m_CompanyLabel').text($('#ctl00_cphMain_m_RecordName').val());
InitfileDropper();
var isSafari = /constructor/i.test(window.HTMLElement) || (function(p) {
return p.toString() === "[object SafariRemoteNotification]";
})(!window['safari'] || (typeof safari !== 'undefined' && window['safari'].pushNotification));
if (isSafari) {
window.addEventListener("pagehide", fnSubmitAllFiles);
} else {
window.addEventListener("beforeunload", fnSubmitAllFiles);
}
if ($('#ctl00_cphMain_m_CertificateID').val().length > 0) {
fnGetOtherCertificateLevels();
} else {
$("#m_SuccessSubmitMessage").text("Thanks, we received the files! Make sure you select the correct document type in the drop down before leaving the page.");
$('#m_ReviewRequirements').hide();
$('#m_AttachmentsDIV').hide();
}
fnGetDocuments(true);
if (IsDemo()) {
$("#btnDiv").hide();
$("#m_ReviewRequirements").hide();
$("#finishedMessage").html("Thanks! Please wait a few seconds and a popup will appear showing you the results!")
}
})
function fnSubmitAllFiles() {
if ($('#ctl00_cphMain_m_UserEmailAddress').val().length > 0 && $('#ctl00_cphMain_m_CertusFileIDList').val().length > 0) {
var formdata = new FormData();
formdata.append("q", "SendDeficiencyEmail");
formdata.append("client", $('#ctl00_cphMain_m_ClientID').val());
formdata.append("timelist", $('#ctl00_cphMain_m_TimeList').val());
formdata.append("certusfileids", $('#ctl00_cphMain_m_CertusFileIDList').val());
formdata.append("workflowitemid", $('#ctl00_cphMain_m_WorkflowItemID').val());
formdata.append("CompanyCertificateID", $('#ctl00_cphMain_m_CertificateID').val());
formdata.append("emailaddress", $('#ctl00_cphMain_m_UserEmailAddress').val());
formdata.append("url", window.location.href);
formdata.append("companyname", $('#ctl00_cphMain_m_CompanyName').val());
formdata.append("certificatename", $('#ctl00_cphMain_m_CertificateName').val());
$.ajax({
url: '/handlers/documentcollectionhandler.ashx',
dataType: "json",
data: formdata,
processData: false,
contentType: false,
type: 'POST',
success: function(response) {},
failure: function(error, xhr) {
console.log(error);
console.log(xhr);
},
error: function(error, xhr) {
console.log(error);
console.log(xhr);
},
});
$('#ctl00_cphMain_m_UserEmailAddress').val('');
}
}
var sessionTimer = null;
function startTimer(duration, display) {
var timer = duration,
minutes, seconds;
if (sessionTimer !== null) {
clearInterval(sessionTimer); // Clear the previous interval if it exists
}
sessionTimer = setInterval(function() {
minutes = parseInt(timer / 60, 10)
seconds = parseInt(timer % 60, 10);
minutes = minutes < 10 ? "0" + minutes : minutes;
seconds = seconds < 10 ? "0" + seconds : seconds;
display.textContent = minutes + ":" + seconds;
if (--timer < 0) {
fnSubmitAllFiles();
alert("Your session has expired! After clicking ok your session will refresh and you will be able to upload more documents. If you are done submitting please close the page.");
timer = duration;
window.location.reload();
}
}, 1000);
}
function fnGetEndorsementForms() {
var formdata = new FormData();
formdata.append("q", "GetEndorsements");
formdata.append("client", $('#ctl00_cphMain_m_ClientID').val());
formdata.append("certificate", $('#ctl00_cphMain_m_CertificateID').val());
formdata.append("company", $('#ctl00_cphMain_m_CompanyID').val());
$.ajax({
url: '/handlers/documentcollectionhandler.ashx',
dataType: "json",
data: formdata,
processData: false,
contentType: false,
type: 'POST',
success: function(response) {
var html = "";
Object.keys(response).forEach(function(key) {
html += "<li>"
html += response[key]
html += "</li>"
});
if (html.length > 0) {
$("#m_EndorsementsDIV").show();
$("#m_Endorsements").append(html);
}
},
failure: function(error, xhr) {
console.log(error);
console.log(xhr);
},
error: function(error, xhr) {
console.log(error);
console.log(xhr);
}
});
}
function IsDemo() {
if ($('#ctl00_cphMain_m_ClientID').val() == 228) {
return true;
}
return false;
}
function fnGetDocuments(IsInit) {
var formdata = new FormData();
formdata.append("q", "GetDocuments");
formdata.append("client", $('#ctl00_cphMain_m_ClientID').val());
formdata.append("certificate", $('#ctl00_cphMain_m_CertificateID').val());
formdata.append("company", $('#ctl00_cphMain_m_CompanyID').val());
$.ajax({
url: '/handlers/documentcollectionhandler.ashx',
dataType: "json",
data: formdata,
processData: false,
contentType: false,
type: 'POST',
success: function(response) {
var DocumentsHTML = "";
var InsuranceHTML = "";
Object.keys(response).forEach(function(key) {
if (key == "InsuranceHTML") {
InsuranceHTML = response[key];
}
if (key == "DocumentHTML") {
DocumentsHTML = response[key];
}
});
if (InsuranceHTML.length == 0 && DocumentsHTML.length == 0) {
$("#m_NoMoreDeficienciesTable").show();
var noMoreDefs = "<span style='font-size:20px;font-weight:bold;color:green;'>Good news! There are no more deficiencies on this record!</span> <br><br>";
if ($("#otherCertificatesUL").length > 0) {
noMoreDefs += " There are other sub-records that might need more documents uploaded.<br> You can click the links below to navigate to their upload pages. <br><br>";
}
$("#m_NoMoreDeficienciesTD").html("<span id='noMoreDefText' >" + noMoreDefs + "</span>")
if ($("#otherCertificatesUL").length > 0) {
$("#otherCertificatesUL").insertAfter($("#noMoreDefText"));
$("#otherCertificatesUL").html($("#otherCertificatesUL").html().replace(/instead/g, ""))
$("#otherCertificatesUL").html($("#otherCertificatesUL").html().replace(/If you're trying to upload/g, "To upload"))
}
$("#otherCertificates").hide();
} else {
$("#m_NoMoreDeficienciesTable").hide();
}
if (InsuranceHTML.length > 0) {
$("#insuranceSubTable").empty();
$("#insuranceSubTable").append(InsuranceHTML);
} else {
$('.insuranceMainTable').hide();
}
if (DocumentsHTML.length > 0) {
$('.insuranceMainTable').css("margin-right", '40px');
}
if (IsInit) {
if (DocumentsHTML.length > 0) {
$("#m_DocumentTable > tr").each(function() {
if (!$(this).hasClass("uploadedDocs")) {
$(this).remove();
}
});
$("#m_DocumentTable").prepend(DocumentsHTML);
} else {
//$('.insuranceMainTable').css("width", '100%');
$('#documentTypesTable').hide();
}
$('.documentFileUpload').change(function(ev) {
var fiveMinutes = 60 * 30,
display = document.querySelector('#time');
startTimer(fiveMinutes, display);
if (this.files.length > 0) {
var file = this.files[0];
var fileName = file.name;
$('.uploadedDocs').show();
$('#submittedDocs').append("<span class='submittedDocFileRow' >Submitted " + $(this).prev().val().replace("Upload ", "") + ": <span class='submittedDocFileLabel'>" + fileName + "</span></span>")
fnOpenSubmitFiles();
$("#docStatus" + $(this).attr("id")).html("Under Review");
$("#docStatus" + $(this).attr("id")).addClass("UnderReview");
$("#docStatus" + $(this).attr("id")).removeClass("compliantLabel");
$("#docStatus" + $(this).attr("id")).removeClass("nonCompliantLabel");
$("#docStatus" + $(this).attr("id")).removeClass("minorCompliantLabel");
var fd = new FormData();
fd.append('client', $('#ctl00_cphMain_m_ClientID').val());
fd.append('company', $('#ctl00_cphMain_m_CompanyID').val());
fd.append('companycertificateid', $('#ctl00_cphMain_m_CertificateID').val());
fd.append("q", "UploadDocument");
fd.append("documenttypeid", $(this).attr("id"));
fd.append("file", file);
$.ajax({
url: '/handlers/documentcollectionhandler.ashx',
responseType: "json",
data: fd,
processData: false,
contentType: false,
type: 'POST',
success: function(response) {
var JSONdata = JSON.parse(response);
if (JSONdata.Error) {
alert(JSONdata.Error);
$('#submittedDocs').empty();
return false;
}
var fileID = JSONdata.CertusFileID;
var localTime = new Date().toLocaleTimeString();
$('#ctl00_cphMain_m_TimeList').val($('#ctl00_cphMain_m_TimeList').val() + "," + localTime);
$('#ctl00_cphMain_m_CertusFileIDList').val($('#ctl00_cphMain_m_CertusFileIDList').val() + "," + fileID);
var note = "<a href='javascript:void(0)' onclick='javascript:window.open(\"handlers/viewfile.ashx?f=\"" + fileID + "\",\"Results\",\"width=1000\")' >" + fileName + "</a> added by anonymous.<br>"
$('#ctl00_cphMain_m_NoteContent').val($('#ctl00_cphMain_m_NoteContent').val() + note + "<br>----------------------------------------------------------------------<br>");
$('#ctl00_cphMain_m_CertusFileID').val(fileID);
UpdateNoteAndDocumentWorkflowItem();
},
failure: function(error, xhr) {
console.log(error);
console.log(xhr);
},
error: function(error, xhr) {
console.log(error);
console.log(xhr);
}
});
this.value = null;
}
});
}
$("#m_DocumentsDIV").show();
},
failure: function(error, xhr) {
console.log(error);
console.log(xhr);
},
error: function(error, xhr) {
console.log(error);
console.log(xhr);
},
});
}
function fnGetOtherCertificateLevels() {
var formdata = new FormData();
formdata.append("q", "GetCompanyCertificates");
formdata.append("client", $('#ctl00_cphMain_m_ClientID').val());
formdata.append("certificate", $('#ctl00_cphMain_m_CertificateID').val());
formdata.append("company", $('#ctl00_cphMain_m_CompanyID').val());
$.ajax({
url: '/handlers/documentcollectionhandler.ashx',
dataType: "json",
data: formdata,
processData: false,
contentType: false,
type: 'POST',
success: function(response) {
var CompanyName = $('#ctl00_cphMain_m_CompanyName').val();
var html = "";
Object.keys(response).forEach(function(index) {
html += "<li>"
html += "If you're trying to upload a COI for " + response[index].Key + " click <a style='color:#0D84E4' target='_blank' href='" + response[index].Value + "'>here</a> instead";
html += "</li>"
});
if (html.length > 0) {
html = "<ul id='otherCertificatesUL' >" + html + "</ul>";
$("#otherCertificates").append(html);
$("#otherCertificates").show();
}
},
failure: function(error, xhr) {
console.log(error);
console.log(xhr);
},
error: function(error, xhr) {
console.log(error);
console.log(xhr);
},
});
}
function fnDoneSubmitting() {
fnSubmitFiles();
$find('m_DoneSubmittingPopup').show();
}
function fnDoneSubmittingOk() {
window.open("https://www.businesscredentialingservices.com/", '_self').close()
}
function fnHideDoneSubmitting() {
$find('m_DoneSubmittingPopup').hide();
}
function fnSubmitFiles() {
if (!IsDemo()) {
if ($("#m_SubmitFilesEmailAddressTB").val().trim().length == 0 || !ValidateEmail($("#m_SubmitFilesEmailAddressTB").val().trim())) {
//error
$("#m_submitFilesEmailAddressErr").show();
return false;
}
$('#ctl00_cphMain_m_UserEmailAddress').val($("#m_SubmitFilesEmailAddressTB").val());
}
SubmitFiles();
//just updates the note with the email address..
fnCloseSubmitFiles();
$(".fileBeingSubmitted").addClass("submittedFile");
$(".fileBeingSubmitted").each(function() {
var removeBTN = $(this).find('.removeFileBTN').first();
$(removeBTN).html("<span style='font-weight:normal;font-size:18px;color:#41DD99;vertical-align:middle;'>Submitted</span> <i style='color:#41DD99' class='fa fa-check-circle-o'></i>")
$(removeBTN).css("text-decoration", "none");
$(removeBTN).css("cursor", "default");
$(removeBTN).attr("onclick", "");
$(removeBTN).hide();
});
$("#m_OpenSubmitFilesBTN").hide();
//$('#m_SuccessSubmitMessage').css('display', 'block');
//setTimeout(function () {
// $('#m_SuccessSubmitMessage').fadeOut(2000);
//}, 12000);
}
function fnOpenRequirementsPage() {
var newWin = window.open("/handlers/viewcertificate.ashx" + location.search, "Requirements", "height=842,width=595");
if (!newWin || newWin.closed || typeof newWin.closed == 'undefined') {
alert("You have popup blocker preventing this from opening. Please pause it for this site then try opening it again");
//POPUP BLOCKED
}
}
var windowsOpen = 1;
function fnOpenCertusFileResults(certusfileID, attachmentid, justForShow) {
var fd = new FormData();
fd.append("q", "GetReviewDocumentLink");
fd.append("client", $('#ctl00_cphMain_m_ClientID').val());
fd.append("certusfileid", certusfileID);
fd.append("companycertificateid", $('#ctl00_cphMain_m_CertificateID').val());
if (!attachmentid) {
attachmentid = "";
}
fd.append("attachmentid", attachmentid);
fd.append("IsAUP", "true");
if (justForShow || IsDemo()) {
fd.append("DoApplyChanges", "false");
}
$.ajax({
url: '/handlers/documentcollectionhandler.ashx',
dataType: "json",
data: fd,
processData: false,
contentType: false,
type: 'POST',
success: function(response) {
var newWin;
if (IsDemo()) {
newWin = window.open(response.link, "Results " + certusfileID, "width=690,height=750,top=" + (20 * windowsOpen).toString() + ",left=" + (20 * windowsOpen).toString());
} else {
newWin = window.open(response.link, "Results " + certusfileID, "width=1000,height=1000,top=" + (20 * windowsOpen).toString() + ",left=" + (20 * windowsOpen).toString());
}
windowsOpen = windowsOpen + 1;
if (!newWin || newWin.closed || typeof newWin.closed == 'undefined') {
alert("You have popup blocker preventing the results from showing. Please pause it on this site then open the results.");
//POPUP BLOCKED
}
if (justForShow) {
fnGetDocuments(false);
}
}
});
}
function fnReviewAllResults() {
$(".reviewResultsBTN").each(function() {
$(this).click();
});
}
function fnShowSection(section) {
$('#m_BackBTN').show();
$('#m_IntroPage').hide();
$('#questionSection').hide();
$('#cannotProvideSection').hide();
$('.uploadSection').hide();
$(section).show();
}
function fnBack() {
//go back to main page
$('.uploadSection').show();
$('#cannotProvideSection').hide();
$('#questionSection').hide();
$('#m_IntroPage').show();
$('#m_BackBTN').hide();
}
function ValidateEmail(x) {
var emailReg = new RegExp(/^([a-zA-Z0-9&'_.+-])+\@(([a-zA-Z0-9-])+\.)+([a-zA-Z0-9]{2,4})+$/);
return emailReg.test(x);
}
function fnSubmitQuestion() {
$("#questionEmlErr").hide();
if ($("#m_QuestionEmailAddress").val().trim().length == 0 || !ValidateEmail($("#m_QuestionEmailAddress").val().trim())) {
//error
$("#questionEmlErr").show();
return false;
}
var newContent = "<strong>" + $("#m_QuestionEmailAddress").val() + "</strong> has asked the following question regarding the record <strong>" + getRecordName(true) + "</strong>:" + "<br>";
newContent += "<span style='text-indent:20px;>" + $("#QuestionTA").val() + "</span><br>";
$('#ctl00_cphMain_m_UserEmailAddress').val($("#m_QuestionEmailAddress").val());
$('#ctl00_cphMain_m_NoteContent').val($('#ctl00_cphMain_m_NoteContent').val() + newContent);
UpdateNoteAndDocumentWorkflowItem();
fnCloseQuestionMPE();
$("#feedbackSection").slideUp();
$("#providedFeedBack").slideDown();
$("input:radio.cannotProvideCoverageRadioBtn:checked").prop('checked', false);
$("#QuestionTA").val("");
setTimeout(function() {
$("#feedbackSection").slideDown();
$("#providedFeedBack").slideUp();
}, 10000);
}
function fnSubmitCannotProvideCoverage() {
$("#emailErr").hide();
$("#otherErr").hide();
$("#noCommentErr").hide();
if ($("#requiredComment").is(":visible") && $("#m_CannotProvideCoverageCommentsTB").val().trim().length == 0) {
$("#noCommentErr").css("display", "inline-block");
return false;
}
if ($("#m_EmailAddressCannotProvideCoverageTB").val().trim().length == 0 || !ValidateEmail($("#m_EmailAddressCannotProvideCoverageTB").val().trim())) {
//error
$("#emailErr").show();
return false;
}
var radioButtonID = $("input:radio.cannotProvideCoverageRadioBtn:checked").attr("id");
var reason = "";
if (radioButtonID == "noLongerInsured") {
reason = "No longer insuring this vendor";
} else if (radioButtonID == "thirdParty") {
reason = "Do not cooperate with third parties";
} else if (radioButtonID == "refusesToObtain") {
reason = "Refuses to obtain coverage";
} else if (radioButtonID == "doesntUnderstand") {
reason = "Doesn't understand requirements";
} else if (radioButtonID == "cannotProvide") {
reason = "Other (Read below)";
if ($("#m_OtherReasonCannotProvideCoverageTB").val().trim().length == 0) {
//error
$("#otherErr").show();
return false;
}
}
var newContent = "";
newContent += "<strong>" + $("#m_EmailAddressCannotProvideCoverageTB").val() + "</strong> has stated they are unable to provide coverage for the record <strong>" + getRecordName(true) + "</strong><br>";
newContent += "<strong>Reason:</strong><br><span style='text-indent:10px;'>" + reason + "</span>";
if ($("#m_OtherReasonCannotProvideCoverageTB").val().trim().length > 0) {
newContent += "<br><strong>Other:</strong><br><span style='text-indent:10px;'>" + $("#m_OtherReasonCannotProvideCoverageTB").val() + "</span>";
}
if ($("#m_CannotProvideCoverageCommentsTB").val().trim().length > 0) {
newContent += "<br><strong>Comment:</strong><br><span style='text-indent:10px;'>" + $("#m_CannotProvideCoverageCommentsTB").val() + "</span>";
}
newContent += "<br>";
$('#ctl00_cphMain_m_UserEmailAddress').val($("#m_EmailAddressCannotProvideCoverageTB").val());
$('#ctl00_cphMain_m_NoteContent').val($('#ctl00_cphMain_m_NoteContent').val() + newContent);
UpdateNoteAndDocumentWorkflowItem();
fnCloseCannotProvideCoverage();
$("#feedbackSection").slideUp();
$("#providedFeedBack").slideDown();
$("input:radio.cannotProvideCoverageRadioBtn:checked").prop('checked', false);
setTimeout(function() {
$("#QuestionTA").val("");
$("#feedbackSection").slideDown();
$("#providedFeedBack").slideUp();
}, 10000);
}
function fnCloseCannotProvideCoverage() {
$find('m_SubmitCannotProvideCoverageMPE').hide();
}
function UpdateNoteAndDocumentWorkflowItem() {
var UpdateNoteformData = new FormData();
UpdateNoteformData.append("q", "UpdateNoteAndDocumentWorkflowItem");
UpdateNoteformData.append("client", $('#ctl00_cphMain_m_ClientID').val());
UpdateNoteformData.append("noteid", $('#ctl00_cphMain_m_NoteID').val());
UpdateNoteformData.append("workflowitemid", $('#ctl00_cphMain_m_WorkflowItemID').val());
UpdateNoteformData.append("recordName", getRecordName(true));
UpdateNoteformData.append("CompanyID", $('#ctl00_cphMain_m_CompanyID').val());
UpdateNoteformData.append("CompanyCertificateID", $('#ctl00_cphMain_m_CertificateID').val());
UpdateNoteformData.append("content", escape($('#ctl00_cphMain_m_NoteContent').val()));
UpdateNoteformData.append("certusfileid", $('#ctl00_cphMain_m_CertusFileID').val());
UpdateNoteformData.append("emailaddress", $('#ctl00_cphMain_m_UserEmailAddress').val());
$('#ctl00_cphMain_m_CertusFileID').val("");
addLoading();
$.ajax({
url: '/handlers/documentcollectionhandler.ashx',
dataType: "json",
data: UpdateNoteformData,
processData: false,
contentType: false,
type: 'POST',
success: function(response) {
killLoading();
//show success message somewhere....
$('#ctl00_cphMain_m_NoteID').val(response.noteid);
$('#ctl00_cphMain_m_WorkflowItemID').val(response.workflowitemid);
},
failure: function(error, xhr) {
console.log(error);
console.log(xhr);
},
error: function(error, xhr) {
console.log(error);
console.log(xhr);
},
});
}
function SubmitFiles() {
$('.submittedFileID').each(function() {
//var uuid = $(this).attr('id').replace("CertusFile", "");
var fileName = $(this).next().val();
var certusFileId = $(this).val();
if (!$("#progress" + certusFileId.toString()).is(":visible")) {
$("#fileSubmittedRow" + certusFileId).show();
$("#progress" + certusFileId.toString()).prev().prev().hide();
$("#progress" + certusFileId.toString()).css("display", "inline-block");
} else {
return;
}
if (certusFileId.toString().length == 0) {
alert("Something is wrong with the file you submitted. Please email the file to J" + $('#ctl00_cphMain_m_CertificateID').val() + "@bcscertify.com instead. Thanks!");
return false;
}
var UpdateNoteformData = new FormData();
UpdateNoteformData.append("q", "SubmitFiles");
UpdateNoteformData.append("client", $('#ctl00_cphMain_m_ClientID').val());
UpdateNoteformData.append("filename", fileName);
UpdateNoteformData.append("noteid", $('#ctl00_cphMain_m_NoteID').val());
UpdateNoteformData.append("workflowitemid", $('#ctl00_cphMain_m_WorkflowItemID').val());
UpdateNoteformData.append("recordName", getRecordName(true));
UpdateNoteformData.append("CompanyID", $('#ctl00_cphMain_m_CompanyID').val());
UpdateNoteformData.append("CompanyCertificateID", $('#ctl00_cphMain_m_CertificateID').val());
UpdateNoteformData.append("content", escape($('#ctl00_cphMain_m_NoteContent').val()));
UpdateNoteformData.append("certusfileid", certusFileId);
UpdateNoteformData.append("emailaddress", $('#ctl00_cphMain_m_UserEmailAddress').val());
UpdateNoteformData.append("IsAUP", "true");
$('#ctl00_cphMain_m_CertusFileID').val("");
addLoading();
$.ajax({
url: '/handlers/documentcollectionhandler.ashx',
dataType: "json",
data: UpdateNoteformData,
processData: false,
contentType: false,
type: 'POST',
success: function(response) {
//show success message somewhere....
$('#ctl00_cphMain_m_NoteID').val(response.noteid);
$('#ctl00_cphMain_m_WorkflowItemID').val(response.workflowitemid);
$('#ctl00_cphMain_m_NoteContent').val($('#ctl00_cphMain_m_NoteContent').val() + response.ExtractorNote + "<br>----------------------------------------------------------------------<br>");
$("#IsCompliantColumn" + certusFileId).empty();
if (Number(response.DeficiencyCount) > 0) {
$("#IsCompliantColumn" + certusFileId).html('<img style="width:20px;height:20px;margin-right:10px;" src="../images/non-compliant.jpg" title="Non-Compliant" alt="Non-Compliant" />');
} else {
$("#IsCompliantColumn" + certusFileId).html('<img style="width:20px;height:20px;margin-right:10px;" src="../images/compliant.jpg" title="Compliant" alt="Compliant" />');
}
$('#ctl00_cphMain_m_CertusFileID').val(certusFileId);
UpdateNoteAndDocumentWorkflowItem();
killLoading();
var resultsObj = JSON.parse(response.Results);
var dataResults = JSON.parse(resultsObj.DataResults);
var hasCOI = false;
var IsCompliant = true;
if (resultsObj.CertificateExtractionResults != null && resultsObj.CertificateExtractionResults.length > 0) {
var certificateExtractionResults = JSON.parse(resultsObj.CertificateExtractionResults);
Object.keys(certificateExtractionResults).forEach(function(key) {
if (!certificateExtractionResults[key].IsCompliant) {
IsCompliant = false;
}
});
}
Object.keys(dataResults).forEach(function(key) {
if (dataResults[key].type == "COI" || dataResults[key].type == "Property") {
hasCOI = true;
}
});
$("#notFinishedMessage").hide();
if (!hasCOI) {
if (!IsDemo()) {
$('#bar' + certusFileId).prop('disabled', true);
$('#bar' + certusFileId).css("width", "100%");
$('#bar' + certusFileId).html("This file needs to be manually reviewed. We will contact you if we need anything else. Thanks!");
if (!$("#reviewAllResultsBTN").is(":visible")) {
$("#reviewAllResultsBTN").next().html("Complete! We will review and get back to you!")
$("#reviewAllResultsBTN").next().show();
}
} else {
$('#bar' + certusFileId).prop('disabled', true);
$('#bar' + certusFileId).css("width", "100%");
$('#bar' + certusFileId).html("This file could not be extracted. Acceptable forms include: Acord 24, 25, 27, 28");
}
} else {
if (!IsCompliant) {
$("#finishedMessage").css("display", "block");
}
$('#bar' + certusFileId).css("width", "100%");
$('#bar' + certusFileId).prop('disabled', false);
$('#bar' + certusFileId).css("cursor", "pointer");
$('#bar' + certusFileId).html("<span>Review Complete! Click here to review the results</span>");
$('#bar' + certusFileId).attr("onclick", "fnOpenCertusFileResults(" + certusFileId + ", " + response.attachmentid + ");return false;");
$("#reviewAllResultsBTN").show();
$("#reviewAllResultsBTN").next().hide();
var AppliedChanges = "";
if (resultsObj.AppliedChanges) {
AppliedChanges = resultsObj.AppliedChanges;
}
var issueDate = "";
if (resultsObj.IssueDate) {
issueDate = resultsObj.IssueDate;
}
var AlreadyExistingIssueDate = "";
if (resultsObj.AlreadyExistingIssueDate) {
AlreadyExistingIssueDate = resultsObj.AlreadyExistingIssueDate;
}
console.log(AppliedChanges)
if ((AppliedChanges.toLowerCase() != "true" && AppliedChanges.toLowerCase() != "" && AppliedChanges.toLowerCase() != "compliant") && !IsDemo()) {
$('#bar' + certusFileId).css("background-color", "red");
$('#bar' + certusFileId).html("<span>Rejected - COI is dated " + issueDate + " and we have a more recent version</span>");
} else {
fnOpenCertusFileResults(certusFileId, response.attachmentid);
}
}
},
failure: function(error, xhr) {
console.log(error);
console.log(xhr);
},
error: function(error, xhr) {
console.log(error);
console.log(xhr);
},
});
});
}
function getRecordName(IncludeCertName) {
var companyName = $('#ctl00_cphMain_m_CompanyName').val();
if (IncludeCertName && $('#ctl00_cphMain_m_CertificateName').val().length > 0) {
companyName += " (" + $('#ctl00_cphMain_m_CertificateName').val() + ")";
}
return companyName;
}
function fnOpenCannotProvideCoverage() {
$('#OtherSection').hide();
$('#CommentSection').show();
$('#m_EmailAddressCannotProvideCoverageTB').val('');
$('#m_OtherReasonCannotProvideCoverageTB').val('');
$('#m_NoOptionSelectedError').hide();
$("#requiredComment").css("display", "inline-block");
if ($("input:radio.cannotProvideCoverageRadioBtn:checked").length > 0) {
var radioButtonID = $("input:radio.cannotProvideCoverageRadioBtn:checked").attr("id");
var label = "Thanks for letting us know ";
if (radioButtonID == "noLongerInsured") {
$("#requiredComment").hide();
label += " that you no longer insure " + getRecordName(false) + ". We will reach out to them directly. Please provide us with your email in case we need to reach you at a later date.";
} else if (radioButtonID == "thirdParty") {
label += " that you cannot provide documentation to third party companies. We will reach out to " + getRecordName(false) + " directly. Please provide us with your email in case we need to reach you at a later date.";
} else if (radioButtonID == "refusesToObtain") {
label += " that " + getRecordName(false) + " refuses to obtain the required coverage. Please provide us with your email in case we need to reach you at a later date.";
} else if (radioButtonID == "doesntUnderstand") {
label = label.trim() + " that you do not understand the requirements. Please provide us with your email so we can get back to you with more details."
} else if (radioButtonID == "cannotProvide") {
label += " that there is an issue. Please provide us with your email and the reason why so we can take the necessary actions.";
$('#OtherSection').show();
$('#CommentSection').hide();
}
$('#m_CannotProvideLBL').text(label);
$('#m_CannotProvidePopupHeader').text("Cannot provide documentation");
$("#m_EmailAddressCannotProvideCoverageTB").val($('#ctl00_cphMain_m_UserEmailAddress').val());
$find('m_SubmitCannotProvideCoverageMPE').show();
} else {
$('#m_NoOptionSelectedError').css('display', 'block');
}
}
function fnCloseQuestionMPE() {
$find('m_QuestionMPE').hide();
}
function fnOpenQuestionMPE() {
$('#questionErr').hide();
if ($('#QuestionTA').val().trim().length == 0) {
$('#questionErr').show();
return false;
}
$('#m_QuestionLBL').html($('#QuestionTA').val());
$("#m_QuestionEmailAddress").val($('#ctl00_cphMain_m_UserEmailAddress').val());
$find('m_QuestionMPE').show();
}
function fnCloseSubmitFiles() {
$find('m_SubmitFilesMPE').hide();
}
function fnOpenSubmitFiles() {
if (IsDemo()) {
fnSubmitFiles();
} else {
if ($('#ctl00_cphMain_m_UserEmailAddress').val().length > 0) {
fnSubmitFiles();
} else {
if (!$('#ctl00_cphMain_m_SubmitFilesPNL').is(":visible")) {
$("#m_submitFilesEmailAddressErr").hide();
$("#m_SubmitFilesEmailAddressTB").val($('#ctl00_cphMain_m_UserEmailAddress').val());
$find('m_SubmitFilesMPE').show();
}
}
}
}
function showContents(customTab, element) {
var cutomMessageText = $('#' + element).parent().find('span.customTabSlideDownMessage').first().text();
if ($("#" + element).is(":visible")) {
$(customTab).removeClass("customTabOpen").addClass("customTabClosed");
$('#' + element).parent().find('span.customTabSlideDownMessage').first().html(cutomMessageText.replace("Hide", "Show") + '<i class="fa fa-level-down"></i>');
$('#' + element).parent().find('i.fa-angle-down').first().addClass("fa-angle-right").removeClass("fa-angle-down");
setTimeout(function() {
$(customTab).removeClass("customTabClosed").addClass("customTabOpen");
}, 250);
} else {
$('#' + element).parent().find('span.customTabSlideDownMessage').first().html(cutomMessageText.replace("Show", "Hide") + '<i class="fa fa-level-up"></i>');
$('#' + element).parent().find('i.fa-angle-right').first().addClass("fa-angle-down").removeClass("fa-angle-right");
$(customTab).removeClass("customTabClosed").addClass("customTabOpen");
setTimeout(function() {
$(customTab).removeClass("customTabClosed").addClass("customTabOpen");
}, 250);
}
$('#' + element).slideToggle(250);
}
function OpenCloseNext(element) {
$(element).next().slideToggle(1000);
//if ($('#' + element).is(':visible')) {
// $('#' + element).slideUp(2000);
//} else {
//}
}
function sortObjectByKeys(o) {
return Object.keys(o).sort().reduce((r, k) => (r[k] = o[k], r), {});
}
var loadingTimeout;
var currentLoadingProcess = 0;
function UpdateExtractionProgress(maxProgress, currProgress, certusFileId) {
if (maxProgress == 100) {
clearTimeout(loadingTimeout);
//$('#bar' + certusFileId).attr("onclick", "fnOpenCertusFileResults(" + certusFileId + ");return false;");
//$('#progress' + certusFileId).fadeOut(3000);
//$('#progressMsg' + certusFileId).text("Complete!");
$('#bar' + certusFileId).css("width", "100%");
$('#LoadingBarInside').css("width", "100%");
currentLoadingProcess = 100;
$('#progressMsg' + certusFileId).fadeOut(2000, function() {
$('#fileResults' + certusFileId).fadeIn(500);
});
return;
}
if ($('#bar' + certusFileId).html().length > 0) {
clearTimeout(loadingTimeout);
$('#bar' + certusFileId).css("width", "100%");
clearTimeout(loadingTimeout);
return;
}
var increment = Math.round(Math.random() * 7);
var newProgress = currProgress + increment;
if (newProgress > maxProgress) {
newProgress = maxProgress;
}
$('#currProgress' + certusFileId).val(newProgress.toString());
$('#bar' + certusFileId).css("width", newProgress.toString() + "%");
if (newProgress < maxProgress) {
loadingTimeout = setTimeout(function() {
UpdateExtractionProgress(maxProgress, newProgress, certusFileId);
}, 2000);
}
}
function fnUpdateIfNotEqual(certusFileId, text) {
var loadingGif = '<img style="margin-right:7px;" src="../images/ajax-loading.gif" alt="loading..." />Processing Document...';
if ($('#progressMsg' + certusFileId).html() != loadingGif + text) {
$('#progressMsg' + certusFileId).html(loadingGif + text);
}
}
function fnUpdateFileProgress(certusFileId, fileName, CallUpdateProgress) {
var formData = new FormData();
formData.append("q", "CheckDocumentStatus");
formData.append("certificateid", $('#ctl00_cphMain_m_CertificateID').val());
formData.append("client", $('#ctl00_cphMain_m_ClientID').val());
formData.append("CertusFileID", certusFileId);
$.ajax({
url: '/handlers/documentcollectionhandler.ashx',
dataType: "json",
data: formData,
processData: false,
contentType: false,
type: 'POST',
success: function(response) {
var html = "";
if ($('#progressMsg' + certusFileId).length == 0) {
//this file was removed....
return;
}
if (response.results == null || response.results == "") {
setTimeout(function() {
fnUpdateFileProgress(certusFileId, fileName, true);
}, 2000);
return false;
}
UpdateExtractionProgress(100, 100, certusFileId);
},
failure: function(error, xhr) {
console.log(error);
console.log(xhr);
},
error: function(error, xhr) {
console.log(error);
console.log(xhr);
},
});
}
function HasFilesBeingUploaded() {
$('.hasFiles').show();
if ($('#ctl00_cphMain_m_UserEmailAddress').val().length > 0) {
$('#submittedFilesDiv').hide();
}
$('.hasNoFiles').hide();
return;
}
function DoesntHaveFilesBeingUploaded() {
$('.hasFiles').hide();
$('.hasNoFiles').show();
return;
}
function draggingFile() {
$("#dropFilesHereDiv").show();
$("#pageWrapper").hide();
}
function notDraggingFile() {
$("#pageWrapper").show();
$("#dropFilesHereDiv").hide();
}
function bytesToSize(bytes) {
var sizes = ['Bytes', 'KB', 'MB', 'GB', 'TB'];
if (bytes == 0) return '0 Byte';
var i = parseInt(Math.floor(Math.log(bytes) / Math.log(1024)));
return Math.round(bytes / Math.pow(1024, i), 2) + sizes[i];
}
function InitfileDropper() {
let fileDropperControl = $('#wrapper')[0].fileDropper;
if (fileDropperControl) {
fileDropperControl.destroy();
}
$("#wrapper").dropzone({
url: '/handlers/documentcollectionhandler.ashx',
success: fnFileFinishedUploading,
successmultiple: fnFileFinishedUploading,
maxFilesize: 25,
previewsContainer: "#submitFilesContents",
OnSuccess: fnFileFinishedUploading,
clickable: "#m_DragAndDropMessageDiv",
createImageThumbnails: false,
previewTemplate: "<span></span>",
init: function() {
this.on("sending", function(file, xhr, formData) {
var fiveMinutes = 60 * 30,
display = document.querySelector('#time');
startTimer(fiveMinutes, display);
addLoading();
HasFilesBeingUploaded();
$("#uploadedInsuranceDocs").show();
var doProceed = true;
var fileSize = bytesToSize(file.size);
var id = file.upload.uuid;
var icon = '<i style="padding-right:10px;vertical-align:top;font-size:14px;" class="fa fa-file-o"></i>';
if (file.type.indexOf("pdf") > -1) {
icon = '<i style="padding-right:10px;font-size:14px;" class="fa fa-file-pdf-o"></i>';
} else if (file.type.indexOf("image") > -1) {
icon = '<i style="padding-right:10px;font-size:14px;" class="fa fa-file-image-o"></i>';
} else {
alert("This file is not in an acceptable format. Only PDFs, JPGs, and PNGs are supported file types.")
doProceed = false;
}
if (fileSize > 25000000) {
alert("File must be under 25mb.");
doProceed = false;
}
if (doProceed) {
var html = '<div id="' + id + '" class="fileBeingSubmitted">';
html += "<div style='width:250px;margin:6px 10px 6px 6px;' >";
html += '<input class="submittedFileID" type="hidden" id="CertusFile' + id + '" value="" />';
html += '<span class="submittedFilename" style="vertical-align:top;text-align:left;font:normal normal normal 14px Helvetica;display:inline-block;word-break:break-all;" id="fileName' + id + '" >' + icon + file.name +
'</span>';
html += "</div>";
html += "<div style='flex-grow:1;margin:10px;position:relative;'>";
html +=
'<div style="position:absolute;top:50%;transform: translateY(-50%);background-color:rgb(65, 221, 153);width:100%;border-radius:20px;font: normal normal normal 20px Helvetica;color:white;cursor:pointer;text-align:center;" onclick="fnOpenSubmitFiles();" >Click here to submit</div>';
html += '<input type="hidden" id="currProgress' + id + '" value="30" />';
html += '<div style="position:absolute;top:50%;transform: translateY(-50%);display:none;vertical-align:middle;background-color:#909090;width:100%;border-radius:20px;" id="progress' + id +
'" ><div style="height:100%;text-align:center;padding:5px;color:white;display:inline-block;border-radius:20px;background-color:rgb(65, 221, 153);width:30%;min-height:30px;font-size:14px;" id="bar' + id +
'"></div></div>';
html += '<a type="button" style="position:absolute;right:-17px;top:-17px;font-size:20px;" href="javascript:void(0);" class="removeFileBTN" onclick="fnRemoveFile(\'' + id + '\')" ><i class="fa fa-times"></i></a>';
html += "</div>";
// html += "<div style='width:220px;margin:6px 6px 6px 30px;position:relative;'>";
// html += '<div style="position:absolute;top:50%;transform: translateY(-50%);"><span style="font-size:14px;">Document Type:</span><select style="border-radius:10px;padding:3px;font-size:14px;" onchange="fnFileTypeChanged(this);" class="fileDocTypeID' + id + '" >' + $('#m_DocTypeDropDownHF').val() + '</select></div>';
// html += "</div>";
// html += '<span style="float: right;color:#868686;" id="filesize' + id + '" >' + fileSize + '</span>';
html += '</div>';
//fnAddMessageForAddedFiles(file.name, guid);
file.previewElement.innerHTML = html;
formData.append("fileId", id);
formData.append("q", "DropZoneHandler");
formData.append("companyid", $('#ctl00_cphMain_m_CompanyID').val());
formData.append("companycertificateid", $('#ctl00_cphMain_m_CertificateID').val());
formData.append("IsAUP", "true");
formData.append("client", $('#ctl00_cphMain_m_ClientID').val());
}
$('#submittedFilesDiv').show();
$("#documentFeedbackSection").show();
});
this.on("drop", function(event) {
notDraggingFile();
});
this.on("uploadprogress", function(file, progress) {
//var uuid = file.upload.uuid;
//$('#bar' + uuid).css("width", progress.toString() + "%");
//if (progress == 100) {
// $('#bar' + uuid).fadeOut(3000);
// $('#progress' + uuid).fadeOut(3000);
//}
});
this.on("dragover", function(event) {
draggingFile();
});
this.on("dragenter", function(event) {
draggingFile();
});
this.on("dragleave", function(event) {
if (event.fromElement == null) {
notDraggingFile();
} else {
var id = $(event.fromElement).parent().attr("id");
if (typeof id === 'undefined' || id.indexOf('wrapper') == -1) {
notDraggingFile();
}
}
});
}
});
}
function ShowDeficiencies(span, deficiencies) {
var html = "<div class='DeficiencyPopup' style='position:absolute;width:500px;border:2px solid black;border-radius:5px;background-color:white;display:inline-block;right:-510px;top:-16px;'>"
html += unescape(deficiencies);
html += "</div>"
$(span).parent().append(html)
$("#m_DragAndDropMessageDiv").hide();
}
function HideDeficiencies() {
$("#m_DragAndDropMessageDiv").show();
$('.DeficiencyPopup').remove();
}
function fnFileFinishedUploading(file, response, appendID) {
killLoading();
var JSONdata = JSON.parse(response);
console.log(JSONdata)
if (JSONdata.Error) {
alert(JSONdata.Error);
if (JSONdata.CertusFileID) {
$('#CertusFile' + file.upload.uuid).remove();
$('#currProgress' + file.upload.uuid).prev().css("background-color", "red");
$('#currProgress' + file.upload.uuid).prev().html("<span style='font: normal normal bold 14px Helvetica;white-space:break-spaces;'>Rejected - We already have this file. \r\nClick to open the results for the old file</span>");
$('#currProgress' + file.upload.uuid).prev().removeAttr("onclick")
$('#currProgress' + file.upload.uuid).prev().on("click", function() {
fnOpenCertusFileResults(JSONdata.CertusFileID)
});
fnOpenCertusFileResults(JSONdata.CertusFileID)
}
return false;
}
var fileName = file.name;
var fileID = JSONdata.CertusFileID;
if ($('#CertusFile' + file.upload.uuid).length == 0) {
//this was removed
return;
}
$('#CertusFile' + file.upload.uuid).val(fileID);
$('.fileDocTypeID' + file.upload.uuid).attr('class', 'fileDocTypeID' + fileID);
$('#currProgress' + file.upload.uuid).attr('id', 'currProgress' + fileID);
$('#progress' + file.upload.uuid).attr('id', 'progress' + fileID);
$('#bar' + file.upload.uuid).attr('id', 'bar' + fileID);
var localTime = new Date().toLocaleTimeString();
$('#ctl00_cphMain_m_TimeList').val($('#ctl00_cphMain_m_TimeList').val() + "," + localTime);
$('#ctl00_cphMain_m_CertusFileIDList').val($('#ctl00_cphMain_m_CertusFileIDList').val() + "," + fileID);
var html = "";
html += "<tr style='display:none;' id='fileSubmittedRow" + fileID + "' >";
html += "<td style='min-width:100px;' >"
html += localTime;
html += '</td>'
var loadingGif = '<img style="margin-right:7px;" src="../images/ajax-loading.gif" alt="loading..." />Processing Document...';
html += "<td style='min-width:400px;padding:10px;text-indent:0px !important;'>" + fileName + "</td>";
html += '<td style="text-align:center;width:100%;text-indent:0px;padding:10px;">';
html += '<span id="progressMsg' + fileID + '">' + loadingGif + '</span>';
html += '<div style="margin:0px 0px 10px 0px;display:none; background-color:#909090;width:100%;border-radius:20px;" id="progress' + fileID +
'" ><div style="float:left;display:inline-block;border-radius:20px;background-color:#33f133;width:1%;height:20px;" id="bar' + fileID + '"></div></div>';
html += '<input id="fileResults' + fileID + '" style="padding:3px 10px;margin:10px 0px;display:none;" type="button" class="reviewResultsBTN" onclick="return false;" value="Review Results" />';
html += '</td>'
html += "</tr>";
$('#documentFeedbackRows').append(html);
UpdateExtractionProgress(99, 30, fileID);
fnUpdateFileProgress(fileID, fileName, false);
$("#m_OpenSubmitFilesBTN").click();
//$('#m_DocumentTypeCBL').empty();
//var tableContents = "";
//$('.submittedFilename').each(function () {
// tableContents += "<tr>"
// tableContents += "<td style='padding:5px;width:100%;' >";
// tableContents += $(this).text();
// tableContents += "</td>";
// tableContents += "<td style='border-left:1px solid #ccc;padding:5px;' >";
// tableContents += "<select style='border-radius:10px;' onchange='fnFileTypeChanged(this);' class='fileDocTypeID" + $(this).prev().val() + "' >";
// tableContents += $('#m_DocTypeDropDownHF').val();
// tableContents += "</select>";
// tableContents += "</td>";
// tableContents += "</tr>";
//});
//$('#m_DocumentTypeCBL').append('<thead style="border-bottom:1px solid #ccc;" ><th style="text-align:center;font-weight:bold;" >Filename</th><th style="text-align:center;font-weight:bold;border-left: 1px solid #ccc;">Document Type</th></thead><tbody>' + tableContents + '</tbody>');
$('.submittedFilename').each(function() {
var fileIdentifier = $(this).prev().val();
var currValue = $(this).parent().next().next().find('select.fileDocTypeID' + fileIdentifier).first().val();
$('.fileDocTypeID' + fileIdentifier).val(currValue);
});
}
function fnFileTypeChanged(ddl) {
var certusfileID = $(ddl).attr('class').replace("fileDocTypeID", "");
var docTypeID = $(ddl).val();
$('.fileDocTypeID' + certusfileID).val(docTypeID);
$('#m_DocTypeUpdateMSG').css("display", "block");
setTimeout(function() {
$('#m_DocTypeUpdateMSG').fadeOut(2000);
}, 3000);
var formData = new FormData();
formData.append("q", "UpdateDocType");
formData.append("doctype", docTypeID);
formData.append("company", $('#ctl00_cphMain_m_CompanyID').val());
formData.append("companycertificateid", $('#ctl00_cphMain_m_CertificateID').val());
formData.append("client", $('#ctl00_cphMain_m_ClientID').val());
formData.append("CertusFileID", certusfileID);
$.ajax({
url: '/handlers/documentcollectionhandler.ashx',
dataType: "json",
data: formData,
processData: false,
contentType: false,
type: 'POST',
success: function(response) {
var html = "";
},
failure: function(error, xhr) {
console.log(error);
console.log(xhr);
},
error: function(error, xhr) {
console.log(error);
console.log(xhr);
},
});
}
function fnRemoveFiles() {
var newContent = "";
$('.submittedFileID').each(function() {
//var uuid = $(this).attr('id').replace("CertusFile", "");
var fileName = $(this).next().val();
var certusFileId = $(this).val();
if (certusFileId.length > 0) {
newContent += "<strong>THE USER ADDED THEN REMOVED <a href=\"javascript:void(0);\" onclick=\"javascript:window.open('handlers/viewfile.ashx?f=" + certusFileId + "','Results','width=1000')\" >" + fileName + "</a></strong><br>";
}
$('#progressMsg' + certusFileId).parent().parent().remove();
$(this).remove();
});
$('#ctl00_cphMain_m_NoteContent').val($('#ctl00_cphMain_m_NoteContent').val() + newContent);
UpdateNoteAndDocumentWorkflowItem();
$('.dz-processing').remove();
DoesntHaveFilesBeingUploaded();
}
function fnRemoveFile(id) {
$("#" + id).remove();
if ($('.fileBeingSubmitted').length == 0) {
$("#m_OpenSubmitFilesBTN").hide();
}
}
function fnDisableSubmitButton() {
addLoading();
}
function UploadFile(btn) {
$(btn).parent().next().find('input:file').first().click();
}
function addLoading() {
$('body').append(
'<div id="loadingOverlaySpinner" style="position:fixed;top:0px;left:0px;width:100%;height:100%;z-index:1000001;background-image:url(\'../images/ajax-loading-black.gif\');background-repeat:no-repeat;background-position:center;" ></div>'
);
$('body').append('<div id="loadingOverlay" style="position:fixed;top:0px;left:0px;width:100%;height:100%;z-index:1000000;background-color:black;filter:alpha(opacity=30);opacity:0.4;"></div>');
}
function killLoading() {
$('#loadingOverlay').remove();
$('#loadingOverlaySpinner').remove();
}
</script>
<div id="m_SubmitCannotProvideCoverageMPE_backgroundElement" class="modalbackground" style="display: none; position: fixed; left: 0px; top: 0px; z-index: 10000;"></div>
<div id="m_QuestionMPE_backgroundElement" class="modalbackground" style="display: none; position: fixed; left: 0px; top: 0px; z-index: 10000;"></div>
<div id="m_SubmitFilesMPE_backgroundElement" class="modalbackground" style="display: none; position: fixed; left: 0px; top: 0px; z-index: 10000;"></div>
<div id="m_DoneSubmittingPopup_backgroundElement" class="modalbackground" style="display: none; position: fixed; left: 0px; top: 0px; z-index: 10000;"></div>
</div>
<div style="text-align:center;border-top:1px dotted #C7C8CA;padding-top:10px;position:absolute;width:100%;bottom:0px;background:white;" id="footer">
<div class="clear" style="margin-bottom:0;"></div>
<div class="wideColumn" style="margin-bottom:0;"> The BCS Database v3.987 | <span>Copyright</span> © 2011-<span id="currYear">2023</span> Business Credentialing Services | <span>All rights reserved</span><span id="ctl00_m_ClientPhoneNumber">
| CONTACT US: 1.862.242.5500</span> | <a href="javascript:void(0);" class="darkGrey" onclick="javascript:fnShowLegalInfoPNL();"><span>Legal</span></a> |
<a href="javascript:void(0);" class="darkGrey" onclick="javascript:fnShowPrivacyInfoPNL();"><span>Privacy</span></a>
</div>
<div class="clear2" style="margin-top:0; margin-bottom:15px;"></div>
</div>
</div>
</div>
<input type="submit" name="ctl00$m_HiddenBTN1" value="" id="ctl00_m_HiddenBTN1" style="display:none;">
<div id="ctl00_m_PrivacyInfoPNL" style="background-color: white; width: 700px; display: none; position: fixed; z-index: 100001;">
<div id="ctl00_ctl14">
<a id="m_ClosePrivacyInfoHL" onclick="javascript:fnHidePrivacyInfoPNL();" style="cursor:pointer;">
<img src="images/close-window-x.png" style="height:30px;width:30px;border-width:0px;float:right; padding:5px 5px 0 0;">
</a>
<div style="padding:15px 30px 30px 30px;">
<center>
<h1>BCS – <span>Privacy and Security Notice</span></h1>
</center><br>
<p>
<span>Your IP address may be logged to help administer the website and verify your identity. The site may use long-term and short-term cookies. Long-term cookies are used to store user preferences. For example, a long-term cookie might
store the user's preference regarding how data is displayed. The site contains external links to third-party sites not affiliated with BCS. BCS is not responsible for the privacy practices or content of such web sites not created and
maintained by BCS. This Site links to the CERTUS BCS database, in which users may upload and view vendor information, including personal or confidential information such as username, password, contact information, insurance or other
compliance information. Access to CERTUS is restricted to secure login by individual users. All Client and vendor data is secured within the database by unique username and password. BCS follows industry standards in securing this site
and the CERTUS database. A Client may only view the information of their individual vendors. A vendor may only access the database for purposes of uploading their own compliance data and paperwork, and may not view or access the data of
any other vendor or Client.</span><br><br>
<span>BCS may use and share information to fulfill legal or regulatory requirements; to respond to subpoenas, court orders, legal process, cooperate with law enforcement authorities or other governmental authorities; to defend itself in a
lawsuit; to protect its legal rights; to prevent harm to it or any other person or entity; to investigate, prevent, or take action regarding illegal activities, suspected fraud or situations involving potential threats to the physical
safety of any person; as otherwise required by law; if exists a reasonable belief that such use or disclosure is necessary; or if BCS finds that your actions constitute improper use of the Site or violate this Privacy
Policy.</span><br><br>
<span>BCS may transfer or sell vendor-provided information to any person or entity that acquires all or part of the stock, assets or business of, or merges with, BCS or any of its affiliates.</span><br><br>
<span>This privacy statement is effective as of September 12, 2011</span>
</p>
</div>
</div>
</div>
<input type="submit" name="ctl00$m_HiddenBTN2" value="" id="ctl00_m_HiddenBTN2" style="display:none;">
<div id="ctl00_m_LegalInfoPNL" style="background-color: white; width: 700px; display: none; position: fixed; z-index: 100001;">
<div id="ctl00_ctl22">
<a id="m_CloseLegalInfoHL" onclick="javascript:fnHideLegalInfoPNL();" style="cursor:pointer;">
<img src="images/close-window-x.png" style="height:30px;width:30px;border-width:0px;float:right; padding:5px 5px 0 0;">
</a>
<div style="padding:15px 30px 30px 30px;">
<center>
<h1>BCS – <span>LEGAL DISCLAIMER</span></h1>
</center><br>
<p>
<span>The information contained in this Site is for general information purposes only. No information in this Site should be relied on in making any legal, professional, or other risk management decision. Nothing in this Site constitutes an
"offer" to form a contract of any kind.</span><br><br>
<span>BCS is not responsible for any errors or omissions, or for the results obtained from the use of information in the Site. All information in this Site is provided "as is", and without warranty of any kind, express or implied,
including, but not limited to warranties of performance, merchantability and fitness for a particular purpose.</span><br><br>
<span>In no event will BCS, its directors, agents or employees be liable to you or anyone else for any decision made or action taken in reliance on the information in this Site or for any consequential, special or similar damages, even if
advised of the possibility of such damages.</span><br><br>
<span>Certain links in this Site connect to other Web Sites maintained by third parties over whom BCS has no control whatsoever. BCS makes no representations as to the safety, reliability, accuracy or any other aspect of information
contained in linked Web Sites. Use of any external links or applications found in this Site is at your sole risk, and you expressly acknowledge BCS has made no warranties or representations regarding any aspect of external links found in
this Site.</span>
</p>
</div>
</div>
</div>
<script type="text/javascript">
//<![CDATA[
(function() {
var fn = function() {
$get("ctl00_m_ScriptManagerSM_HiddenField").value = '';
Sys.Application.remove_init(fn);
};
Sys.Application.add_init(fn);
})();
Sys.Application.add_init(function() {
$create(Sys.Extended.UI.ModalPopupBehavior, {
"BackgroundCssClass": "modalbackground",
"PopupControlID": "ctl00_cphMain_m_SubmitCannotProvideCoveragePNL",
"dynamicServicePath": "/SubmitDocuments.aspx",
"id": "m_SubmitCannotProvideCoverageMPE"
}, null, null, $get("ctl00_cphMain_m_HiddenBTN22"));
});
Sys.Application.add_init(function() {
$create(Sys.Extended.UI.ModalPopupBehavior, {
"BackgroundCssClass": "modalbackground",
"PopupControlID": "ctl00_cphMain_m_QuestionPNL",
"dynamicServicePath": "/SubmitDocuments.aspx",
"id": "m_QuestionMPE"
}, null, null, $get("ctl00_cphMain_m_HiddenBTN93"));
});
Sys.Application.add_init(function() {
$create(Sys.Extended.UI.ModalPopupBehavior, {
"BackgroundCssClass": "modalbackground",
"PopupControlID": "ctl00_cphMain_m_SubmitFilesPNL",
"dynamicServicePath": "/SubmitDocuments.aspx",
"id": "m_SubmitFilesMPE"
}, null, null, $get("ctl00_cphMain_m_HiddenBTN23"));
});
Sys.Application.add_init(function() {
$create(Sys.Extended.UI.ModalPopupBehavior, {
"BackgroundCssClass": "modalbackground",
"PopupControlID": "ctl00_cphMain_m_DoneSubmittingPNL",
"dynamicServicePath": "/SubmitDocuments.aspx",
"id": "m_DoneSubmittingPopup"
}, null, null, $get("ctl00_cphMain_m_HiddenBTN55"));
});
Sys.Application.add_init(function() {
$create(Sys.Extended.UI.ModalPopupBehavior, {
"BackgroundCssClass": "modalbackground",
"PopupControlID": "ctl00_m_PrivacyInfoPNL",
"dynamicServicePath": "/SubmitDocuments.aspx",
"id": "m_PrivacyInfoMPE"
}, null, null, $get("ctl00_m_HiddenBTN1"));
});
Sys.Application.add_init(function() {
$create(Sys.Extended.UI.ModalPopupBehavior, {
"BackgroundCssClass": "modalbackground",
"PopupControlID": "ctl00_m_LegalInfoPNL",
"dynamicServicePath": "/SubmitDocuments.aspx",
"id": "m_LegalInfoMPE"
}, null, null, $get("ctl00_m_HiddenBTN2"));
});
//]]>
</script>
<div id="m_PrivacyInfoMPE_backgroundElement" class="modalbackground" style="display: none; position: fixed; left: 0px; top: 0px; z-index: 10000;"></div>
<div id="m_LegalInfoMPE_backgroundElement" class="modalbackground" style="display: none; position: fixed; left: 0px; top: 0px; z-index: 10000;"></div>
</form>
Text Content
Drop the files you want to upload anywhere on this page RFP // +1 862 242 5500 Cannot Provide Coverage Return Home Welcome! Physicians Realty Trust is requesting documents for: Spectra Contract Flooring This page is ONLY for submitting files for the v0000572. Insurance View Requirements Template Upload insurance file(s) below Commercial General LiabilityView COI Issued: 10-04-22 Soon to ExpireAuto LiabilityView COI Issued: 10-04-22 Soon to ExpireExcess/UmbrellaView COI Issued: 10-04-22 Soon to ExpireWorkers CompensationView COI Issued: 10-04-22 Soon to Expire Drag and drop your file here Or Select a file Supported files: PDF, JPG, PNG Thanks! Please wait for automated results to popup. If revisions are needed, please make the requested changes and resubmit the file(s). Submit Files Done Submitting Other Document(s) Your session will end in 30:00 minutes. If you need more time you can refresh the page. Thanks, we received the files! Stick around for additional automatic feedback. Once reviewed you can close out of the page. Document Type updated! Review Complete! Click here to review the results Processing... Time File Name Results Question Must provide a valid question Submit Please let us know why you cannot provide the documents You must select an option before clicking submit. We no longer insure this company (For Insurance Agent/Broker Use Only) We cannot provide documents to third party companies (For Insurance Agent/Broker Use Only) The insured refuses to obtain the required coverage I don't understand the requirements Other Submit Thanks! Successfully submitted for review! We will get back to you if needed. Email Address: You must supply an email address. Comments: You must supply a reason before continuing. *Comments:You must supply a comment. Submit Question Question: Email Address: You must supply a valid email address. We will send a response to the provided email. Submit Files You must supply a valid email address. File(s) not yet submitted. Please provide us with an email in case we need to reach you regarding these documents Email Address: Done Submitting If you have reviewed the automated results and made corrections you may click "Leave Page". A confirmation email will be sent to you with the automation results. The BCS Database v3.987 | Copyright © 2011-2023 Business Credentialing Services | All rights reserved | CONTACT US: 1.862.242.5500 | Legal | Privacy BCS – PRIVACY AND SECURITY NOTICE Your IP address may be logged to help administer the website and verify your identity. The site may use long-term and short-term cookies. Long-term cookies are used to store user preferences. For example, a long-term cookie might store the user's preference regarding how data is displayed. The site contains external links to third-party sites not affiliated with BCS. BCS is not responsible for the privacy practices or content of such web sites not created and maintained by BCS. This Site links to the CERTUS BCS database, in which users may upload and view vendor information, including personal or confidential information such as username, password, contact information, insurance or other compliance information. Access to CERTUS is restricted to secure login by individual users. All Client and vendor data is secured within the database by unique username and password. BCS follows industry standards in securing this site and the CERTUS database. A Client may only view the information of their individual vendors. A vendor may only access the database for purposes of uploading their own compliance data and paperwork, and may not view or access the data of any other vendor or Client. BCS may use and share information to fulfill legal or regulatory requirements; to respond to subpoenas, court orders, legal process, cooperate with law enforcement authorities or other governmental authorities; to defend itself in a lawsuit; to protect its legal rights; to prevent harm to it or any other person or entity; to investigate, prevent, or take action regarding illegal activities, suspected fraud or situations involving potential threats to the physical safety of any person; as otherwise required by law; if exists a reasonable belief that such use or disclosure is necessary; or if BCS finds that your actions constitute improper use of the Site or violate this Privacy Policy. BCS may transfer or sell vendor-provided information to any person or entity that acquires all or part of the stock, assets or business of, or merges with, BCS or any of its affiliates. This privacy statement is effective as of September 12, 2011 BCS – LEGAL DISCLAIMER The information contained in this Site is for general information purposes only. No information in this Site should be relied on in making any legal, professional, or other risk management decision. Nothing in this Site constitutes an "offer" to form a contract of any kind. BCS is not responsible for any errors or omissions, or for the results obtained from the use of information in the Site. All information in this Site is provided "as is", and without warranty of any kind, express or implied, including, but not limited to warranties of performance, merchantability and fitness for a particular purpose. In no event will BCS, its directors, agents or employees be liable to you or anyone else for any decision made or action taken in reliance on the information in this Site or for any consequential, special or similar damages, even if advised of the possibility of such damages. Certain links in this Site connect to other Web Sites maintained by third parties over whom BCS has no control whatsoever. BCS makes no representations as to the safety, reliability, accuracy or any other aspect of information contained in linked Web Sites. Use of any external links or applications found in this Site is at your sole risk, and you expressly acknowledge BCS has made no warranties or representations regarding any aspect of external links found in this Site.