const 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() { const body = document.body; body.insertAdjacentHTML('afterbegin', `
`); insertResumatorWrapper(); } } function insertResumatorWrapper(){ const resumatorWrapper = document.getElementById("resumator-wrapper"); resumatorScript.insertAdjacentHTML('afterend', ``) resumatorWrapper.insertAdjacentHTML('beforeend', '
Business Development Representative
Location: Boston, MADepartment: Business Development
Financial Analyst
Location: Boston, MADepartment: Finance
') resumatorWrapper.insertAdjacentHTML('beforeend', ``) } function resumatorFormatSource(resumatorResultSource){ return encodeURIComponent(resumatorResultSource); } function resumatorApplyTogglerqjTU2x3Ng(){ var resumatorApplyForm = document.getElementById("resumator-applyform-rqjTU2x3Ng"); var resumatorApplyFrame = document.getElementById("resumator-applyframe-rqjTU2x3Ng"); var resumatorApplyButton = document.getElementById("resumator-applybutton-rqjTU2x3Ng"); //var resumatorForwardForm = document.getElementById("resumator-forwardform-rqjTU2x3Ng"); //var resumatorForwardFrame = document.getElementById("resumator-forwardframe-rqjTU2x3Ng"); //var resumatorForwardButton = document.getElementById("resumator-forwardbutton-rqjTU2x3Ng"); //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://zixi.applytojob.com/apply/embed/form/rqjTU2x3Ng?source="+encodeURIComponent(resumatorSource); }else{ resumatorApplyButton.value = "Apply Now"; resumatorApplyForm.style.display = "none"; } window.jQuery(resumatorApplyButton).trigger("change"); //window.jQuery(resumatorForwardButton).trigger("change"); } function resumatorForwardTogglerqjTU2x3Ng(){ //var resumatorForwardForm = document.getElementById("resumator-forwardform-rqjTU2x3Ng"); //var resumatorForwardFrame = document.getElementById("resumator-forwardframe-rqjTU2x3Ng"); //var resumatorForwardButton = document.getElementById("resumator-forwardbutton-rqjTU2x3Ng"); var resumatorApplyForm = document.getElementById("resumator-applyform-rqjTU2x3Ng"); var resumatorApplyFrame = document.getElementById("resumator-applyframe-rqjTU2x3Ng"); var resumatorApplyButton = document.getElementById("resumator-applybutton-rqjTU2x3Ng"); resumatorApplyForm.style.display = "none"; resumatorApplyButton.value = "Apply Now"; //if( resumatorForwardForm.style.display != "block" ){ // resumatorForwardButton.value = "Cancel"; // resumatorForwardForm.style.display = "block"; // resumatorForwardFrame.src = "https://zixi.applytojob.com/apply/embed/forward/rqjTU2x3Ng"; //}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 resumatorApplyToggleSWhzOj81g4(){ var resumatorApplyForm = document.getElementById("resumator-applyform-SWhzOj81g4"); var resumatorApplyFrame = document.getElementById("resumator-applyframe-SWhzOj81g4"); var resumatorApplyButton = document.getElementById("resumator-applybutton-SWhzOj81g4"); //var resumatorForwardForm = document.getElementById("resumator-forwardform-SWhzOj81g4"); //var resumatorForwardFrame = document.getElementById("resumator-forwardframe-SWhzOj81g4"); //var resumatorForwardButton = document.getElementById("resumator-forwardbutton-SWhzOj81g4"); //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://zixi.applytojob.com/apply/embed/form/SWhzOj81g4?source="+encodeURIComponent(resumatorSource); }else{ resumatorApplyButton.value = "Apply Now"; resumatorApplyForm.style.display = "none"; } window.jQuery(resumatorApplyButton).trigger("change"); //window.jQuery(resumatorForwardButton).trigger("change"); } function resumatorForwardToggleSWhzOj81g4(){ //var resumatorForwardForm = document.getElementById("resumator-forwardform-SWhzOj81g4"); //var resumatorForwardFrame = document.getElementById("resumator-forwardframe-SWhzOj81g4"); //var resumatorForwardButton = document.getElementById("resumator-forwardbutton-SWhzOj81g4"); var resumatorApplyForm = document.getElementById("resumator-applyform-SWhzOj81g4"); var resumatorApplyFrame = document.getElementById("resumator-applyframe-SWhzOj81g4"); var resumatorApplyButton = document.getElementById("resumator-applybutton-SWhzOj81g4"); resumatorApplyForm.style.display = "none"; resumatorApplyButton.value = "Apply Now"; //if( resumatorForwardForm.style.display != "block" ){ // resumatorForwardButton.value = "Cancel"; // resumatorForwardForm.style.display = "block"; // resumatorForwardFrame.src = "https://zixi.applytojob.com/apply/embed/forward/SWhzOj81g4"; //}else{ // resumatorForwardButton.value = "Forward Position"; // resumatorForwardForm.style.display = "none"; //} window.jQuery(resumatorApplyButton).trigger("change"); //window.jQuery(resumatorForwardButton).trigger("change"); } if (typeof window.jQuery === "undefined") {const 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";const noConflictScript = document.createElement("script");noConflictScript.type = "text/javascript";noConflictScript.appendChild(document.createTextNode("$.noConflict();"));const resumatorScript = document.currentScript;resumatorScript.after(jqueryScript);resumatorScript.after(noConflictScript);}