var resumatorScript = document.currentScript //Condition to check if the script tag is inside the body or head tag. if(document.body && document.body?.contains(resumatorScript)) { //Reders the HTML below the script tag mentioned inside body tag resumatorScript.insertAdjacentHTML('afterend', `
`); insertResumatorWrapper(); } else{ //Reders the HTML ath the begining of the body tag window.onload = function() { var body = document.body; body.insertAdjacentHTML('afterbegin', ``); insertResumatorWrapper(); } } function insertResumatorWrapper(){ var resumatorWrapper = document.getElementById("resumator-wrapper"); resumatorScript.insertAdjacentHTML('afterend', ``) resumatorWrapper.insertAdjacentHTML('beforeend', '') resumatorWrapper.insertAdjacentHTML('beforeend', ``) } function resumatorFormatSource(resumatorResultSource){ return encodeURIComponent(resumatorResultSource); } function resumatorApplyTogglevowWTUdea1(){ var resumatorApplyForm = document.getElementById("resumator-applyform-vowWTUdea1"); var resumatorApplyFrame = document.getElementById("resumator-applyframe-vowWTUdea1"); var resumatorApplyButton = document.getElementById("resumator-applybutton-vowWTUdea1"); //var resumatorForwardForm = document.getElementById("resumator-forwardform-vowWTUdea1"); //var resumatorForwardFrame = document.getElementById("resumator-forwardframe-vowWTUdea1"); //var resumatorForwardButton = document.getElementById("resumator-forwardbutton-vowWTUdea1"); //resumatorForwardForm.style.display = "none"; //resumatorForwardButton.value = "Forward Position"; if( resumatorApplyForm.style.display != "block" ){ resumatorApplyButton.value = "Cancel"; resumatorApplyForm.style.display = "block"; resumatorSource = "Our Career Page Widget"; resumatorApplyFrame.src = "https://ameriproroofing.applytojob.com/apply/embed/form/vowWTUdea1?source="+encodeURIComponent(resumatorSource); }else{ resumatorApplyButton.value = "Apply Now"; resumatorApplyForm.style.display = "none"; } window.jQuery(resumatorApplyButton).trigger("change"); //window.jQuery(resumatorForwardButton).trigger("change"); } function resumatorForwardTogglevowWTUdea1(){ //var resumatorForwardForm = document.getElementById("resumator-forwardform-vowWTUdea1"); //var resumatorForwardFrame = document.getElementById("resumator-forwardframe-vowWTUdea1"); //var resumatorForwardButton = document.getElementById("resumator-forwardbutton-vowWTUdea1"); var resumatorApplyForm = document.getElementById("resumator-applyform-vowWTUdea1"); var resumatorApplyFrame = document.getElementById("resumator-applyframe-vowWTUdea1"); var resumatorApplyButton = document.getElementById("resumator-applybutton-vowWTUdea1"); resumatorApplyForm.style.display = "none"; resumatorApplyButton.value = "Apply Now"; //if( resumatorForwardForm.style.display != "block" ){ // resumatorForwardButton.value = "Cancel"; // resumatorForwardForm.style.display = "block"; // resumatorForwardFrame.src = "https://ameriproroofing.applytojob.com/apply/embed/forward/vowWTUdea1"; //}else{ // resumatorForwardButton.value = "Forward Position"; // resumatorForwardForm.style.display = "none"; //} window.jQuery(resumatorApplyButton).trigger("change"); //window.jQuery(resumatorForwardButton).trigger("change"); } function resumatorFormatSource(resumatorResultSource){ return encodeURIComponent(resumatorResultSource); } function resumatorApplyToggleuhxZPoFwdB(){ var resumatorApplyForm = document.getElementById("resumator-applyform-uhxZPoFwdB"); var resumatorApplyFrame = document.getElementById("resumator-applyframe-uhxZPoFwdB"); var resumatorApplyButton = document.getElementById("resumator-applybutton-uhxZPoFwdB"); //var resumatorForwardForm = document.getElementById("resumator-forwardform-uhxZPoFwdB"); //var resumatorForwardFrame = document.getElementById("resumator-forwardframe-uhxZPoFwdB"); //var resumatorForwardButton = document.getElementById("resumator-forwardbutton-uhxZPoFwdB"); //resumatorForwardForm.style.display = "none"; //resumatorForwardButton.value = "Forward Position"; if( resumatorApplyForm.style.display != "block" ){ resumatorApplyButton.value = "Cancel"; resumatorApplyForm.style.display = "block"; resumatorSource = "Our Career Page Widget"; resumatorApplyFrame.src = "https://ameriproroofing.applytojob.com/apply/embed/form/uhxZPoFwdB?source="+encodeURIComponent(resumatorSource); }else{ resumatorApplyButton.value = "Apply Now"; resumatorApplyForm.style.display = "none"; } window.jQuery(resumatorApplyButton).trigger("change"); //window.jQuery(resumatorForwardButton).trigger("change"); } function resumatorForwardToggleuhxZPoFwdB(){ //var resumatorForwardForm = document.getElementById("resumator-forwardform-uhxZPoFwdB"); //var resumatorForwardFrame = document.getElementById("resumator-forwardframe-uhxZPoFwdB"); //var resumatorForwardButton = document.getElementById("resumator-forwardbutton-uhxZPoFwdB"); var resumatorApplyForm = document.getElementById("resumator-applyform-uhxZPoFwdB"); var resumatorApplyFrame = document.getElementById("resumator-applyframe-uhxZPoFwdB"); var resumatorApplyButton = document.getElementById("resumator-applybutton-uhxZPoFwdB"); resumatorApplyForm.style.display = "none"; resumatorApplyButton.value = "Apply Now"; //if( resumatorForwardForm.style.display != "block" ){ // resumatorForwardButton.value = "Cancel"; // resumatorForwardForm.style.display = "block"; // resumatorForwardFrame.src = "https://ameriproroofing.applytojob.com/apply/embed/forward/uhxZPoFwdB"; //}else{ // resumatorForwardButton.value = "Forward Position"; // resumatorForwardForm.style.display = "none"; //} window.jQuery(resumatorApplyButton).trigger("change"); //window.jQuery(resumatorForwardButton).trigger("change"); } function resumatorFormatSource(resumatorResultSource){ return encodeURIComponent(resumatorResultSource); } function resumatorApplyToggleaUAtzTql9R(){ var resumatorApplyForm = document.getElementById("resumator-applyform-aUAtzTql9R"); var resumatorApplyFrame = document.getElementById("resumator-applyframe-aUAtzTql9R"); var resumatorApplyButton = document.getElementById("resumator-applybutton-aUAtzTql9R"); //var resumatorForwardForm = document.getElementById("resumator-forwardform-aUAtzTql9R"); //var resumatorForwardFrame = document.getElementById("resumator-forwardframe-aUAtzTql9R"); //var resumatorForwardButton = document.getElementById("resumator-forwardbutton-aUAtzTql9R"); //resumatorForwardForm.style.display = "none"; //resumatorForwardButton.value = "Forward Position"; if( resumatorApplyForm.style.display != "block" ){ resumatorApplyButton.value = "Cancel"; resumatorApplyForm.style.display = "block"; resumatorSource = "Our Career Page Widget"; resumatorApplyFrame.src = "https://ameriproroofing.applytojob.com/apply/embed/form/aUAtzTql9R?source="+encodeURIComponent(resumatorSource); }else{ resumatorApplyButton.value = "Apply Now"; resumatorApplyForm.style.display = "none"; } window.jQuery(resumatorApplyButton).trigger("change"); //window.jQuery(resumatorForwardButton).trigger("change"); } function resumatorForwardToggleaUAtzTql9R(){ //var resumatorForwardForm = document.getElementById("resumator-forwardform-aUAtzTql9R"); //var resumatorForwardFrame = document.getElementById("resumator-forwardframe-aUAtzTql9R"); //var resumatorForwardButton = document.getElementById("resumator-forwardbutton-aUAtzTql9R"); var resumatorApplyForm = document.getElementById("resumator-applyform-aUAtzTql9R"); var resumatorApplyFrame = document.getElementById("resumator-applyframe-aUAtzTql9R"); var resumatorApplyButton = document.getElementById("resumator-applybutton-aUAtzTql9R"); resumatorApplyForm.style.display = "none"; resumatorApplyButton.value = "Apply Now"; //if( resumatorForwardForm.style.display != "block" ){ // resumatorForwardButton.value = "Cancel"; // resumatorForwardForm.style.display = "block"; // resumatorForwardFrame.src = "https://ameriproroofing.applytojob.com/apply/embed/forward/aUAtzTql9R"; //}else{ // resumatorForwardButton.value = "Forward Position"; // resumatorForwardForm.style.display = "none"; //} window.jQuery(resumatorApplyButton).trigger("change"); //window.jQuery(resumatorForwardButton).trigger("change"); } function resumatorFormatSource(resumatorResultSource){ return encodeURIComponent(resumatorResultSource); } function resumatorApplyToggle3KSVjmoyz5(){ var resumatorApplyForm = document.getElementById("resumator-applyform-3KSVjmoyz5"); var resumatorApplyFrame = document.getElementById("resumator-applyframe-3KSVjmoyz5"); var resumatorApplyButton = document.getElementById("resumator-applybutton-3KSVjmoyz5"); //var resumatorForwardForm = document.getElementById("resumator-forwardform-3KSVjmoyz5"); //var resumatorForwardFrame = document.getElementById("resumator-forwardframe-3KSVjmoyz5"); //var resumatorForwardButton = document.getElementById("resumator-forwardbutton-3KSVjmoyz5"); //resumatorForwardForm.style.display = "none"; //resumatorForwardButton.value = "Forward Position"; if( resumatorApplyForm.style.display != "block" ){ resumatorApplyButton.value = "Cancel"; resumatorApplyForm.style.display = "block"; resumatorSource = "Our Career Page Widget"; resumatorApplyFrame.src = "https://ameriproroofing.applytojob.com/apply/embed/form/3KSVjmoyz5?source="+encodeURIComponent(resumatorSource); }else{ resumatorApplyButton.value = "Apply Now"; resumatorApplyForm.style.display = "none"; } window.jQuery(resumatorApplyButton).trigger("change"); //window.jQuery(resumatorForwardButton).trigger("change"); } function resumatorForwardToggle3KSVjmoyz5(){ //var resumatorForwardForm = document.getElementById("resumator-forwardform-3KSVjmoyz5"); //var resumatorForwardFrame = document.getElementById("resumator-forwardframe-3KSVjmoyz5"); //var resumatorForwardButton = document.getElementById("resumator-forwardbutton-3KSVjmoyz5"); var resumatorApplyForm = document.getElementById("resumator-applyform-3KSVjmoyz5"); var resumatorApplyFrame = document.getElementById("resumator-applyframe-3KSVjmoyz5"); var resumatorApplyButton = document.getElementById("resumator-applybutton-3KSVjmoyz5"); resumatorApplyForm.style.display = "none"; resumatorApplyButton.value = "Apply Now"; //if( resumatorForwardForm.style.display != "block" ){ // resumatorForwardButton.value = "Cancel"; // resumatorForwardForm.style.display = "block"; // resumatorForwardFrame.src = "https://ameriproroofing.applytojob.com/apply/embed/forward/3KSVjmoyz5"; //}else{ // resumatorForwardButton.value = "Forward Position"; // resumatorForwardForm.style.display = "none"; //} window.jQuery(resumatorApplyButton).trigger("change"); //window.jQuery(resumatorForwardButton).trigger("change"); } function resumatorFormatSource(resumatorResultSource){ return encodeURIComponent(resumatorResultSource); } function resumatorApplyToggleztTawOWxqs(){ var resumatorApplyForm = document.getElementById("resumator-applyform-ztTawOWxqs"); var resumatorApplyFrame = document.getElementById("resumator-applyframe-ztTawOWxqs"); var resumatorApplyButton = document.getElementById("resumator-applybutton-ztTawOWxqs"); //var resumatorForwardForm = document.getElementById("resumator-forwardform-ztTawOWxqs"); //var resumatorForwardFrame = document.getElementById("resumator-forwardframe-ztTawOWxqs"); //var resumatorForwardButton = document.getElementById("resumator-forwardbutton-ztTawOWxqs"); //resumatorForwardForm.style.display = "none"; //resumatorForwardButton.value = "Forward Position"; if( resumatorApplyForm.style.display != "block" ){ resumatorApplyButton.value = "Cancel"; resumatorApplyForm.style.display = "block"; resumatorSource = "Our Career Page Widget"; resumatorApplyFrame.src = "https://ameriproroofing.applytojob.com/apply/embed/form/ztTawOWxqs?source="+encodeURIComponent(resumatorSource); }else{ resumatorApplyButton.value = "Apply Now"; resumatorApplyForm.style.display = "none"; } window.jQuery(resumatorApplyButton).trigger("change"); //window.jQuery(resumatorForwardButton).trigger("change"); } function resumatorForwardToggleztTawOWxqs(){ //var resumatorForwardForm = document.getElementById("resumator-forwardform-ztTawOWxqs"); //var resumatorForwardFrame = document.getElementById("resumator-forwardframe-ztTawOWxqs"); //var resumatorForwardButton = document.getElementById("resumator-forwardbutton-ztTawOWxqs"); var resumatorApplyForm = document.getElementById("resumator-applyform-ztTawOWxqs"); var resumatorApplyFrame = document.getElementById("resumator-applyframe-ztTawOWxqs"); var resumatorApplyButton = document.getElementById("resumator-applybutton-ztTawOWxqs"); resumatorApplyForm.style.display = "none"; resumatorApplyButton.value = "Apply Now"; //if( resumatorForwardForm.style.display != "block" ){ // resumatorForwardButton.value = "Cancel"; // resumatorForwardForm.style.display = "block"; // resumatorForwardFrame.src = "https://ameriproroofing.applytojob.com/apply/embed/forward/ztTawOWxqs"; //}else{ // resumatorForwardButton.value = "Forward Position"; // resumatorForwardForm.style.display = "none"; //} window.jQuery(resumatorApplyButton).trigger("change"); //window.jQuery(resumatorForwardButton).trigger("change"); } function resumatorFormatSource(resumatorResultSource){ return encodeURIComponent(resumatorResultSource); } function resumatorApplyToggleMCZraHryFU(){ var resumatorApplyForm = document.getElementById("resumator-applyform-MCZraHryFU"); var resumatorApplyFrame = document.getElementById("resumator-applyframe-MCZraHryFU"); var resumatorApplyButton = document.getElementById("resumator-applybutton-MCZraHryFU"); //var resumatorForwardForm = document.getElementById("resumator-forwardform-MCZraHryFU"); //var resumatorForwardFrame = document.getElementById("resumator-forwardframe-MCZraHryFU"); //var resumatorForwardButton = document.getElementById("resumator-forwardbutton-MCZraHryFU"); //resumatorForwardForm.style.display = "none"; //resumatorForwardButton.value = "Forward Position"; if( resumatorApplyForm.style.display != "block" ){ resumatorApplyButton.value = "Cancel"; resumatorApplyForm.style.display = "block"; resumatorSource = "Our Career Page Widget"; resumatorApplyFrame.src = "https://ameriproroofing.applytojob.com/apply/embed/form/MCZraHryFU?source="+encodeURIComponent(resumatorSource); }else{ resumatorApplyButton.value = "Apply Now"; resumatorApplyForm.style.display = "none"; } window.jQuery(resumatorApplyButton).trigger("change"); //window.jQuery(resumatorForwardButton).trigger("change"); } function resumatorForwardToggleMCZraHryFU(){ //var resumatorForwardForm = document.getElementById("resumator-forwardform-MCZraHryFU"); //var resumatorForwardFrame = document.getElementById("resumator-forwardframe-MCZraHryFU"); //var resumatorForwardButton = document.getElementById("resumator-forwardbutton-MCZraHryFU"); var resumatorApplyForm = document.getElementById("resumator-applyform-MCZraHryFU"); var resumatorApplyFrame = document.getElementById("resumator-applyframe-MCZraHryFU"); var resumatorApplyButton = document.getElementById("resumator-applybutton-MCZraHryFU"); resumatorApplyForm.style.display = "none"; resumatorApplyButton.value = "Apply Now"; //if( resumatorForwardForm.style.display != "block" ){ // resumatorForwardButton.value = "Cancel"; // resumatorForwardForm.style.display = "block"; // resumatorForwardFrame.src = "https://ameriproroofing.applytojob.com/apply/embed/forward/MCZraHryFU"; //}else{ // resumatorForwardButton.value = "Forward Position"; // resumatorForwardForm.style.display = "none"; //} window.jQuery(resumatorApplyButton).trigger("change"); //window.jQuery(resumatorForwardButton).trigger("change"); } if (typeof window.jQuery === "undefined") {var jqueryScript = document.createElement("script");jqueryScript.type = "text/javascript";jqueryScript.charset = "utf-8";jqueryScript.src ="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js";var noConflictScript = document.createElement("script");noConflictScript.type = "text/javascript";noConflictScript.appendChild(document.createTextNode("$.noConflict();"));var resumatorScript = document.currentScript;resumatorScript.after(jqueryScript);resumatorScript.after(noConflictScript);}