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', '
Research Specialist, Water & Climate Equity
Location: RemoteDepartment: Research and Programs
Senior Program Manager, Water Efficiency and Reuse
Location: RemoteDepartment: Research and Programs
') resumatorWrapper.insertAdjacentHTML('beforeend', ``) } function resumatorFormatSource(resumatorResultSource){ return encodeURIComponent(resumatorResultSource); } function resumatorApplyToggleHFvOsMrO1f(){ var resumatorApplyForm = document.getElementById("resumator-applyform-HFvOsMrO1f"); var resumatorApplyFrame = document.getElementById("resumator-applyframe-HFvOsMrO1f"); var resumatorApplyButton = document.getElementById("resumator-applybutton-HFvOsMrO1f"); //var resumatorForwardForm = document.getElementById("resumator-forwardform-HFvOsMrO1f"); //var resumatorForwardFrame = document.getElementById("resumator-forwardframe-HFvOsMrO1f"); //var resumatorForwardButton = document.getElementById("resumator-forwardbutton-HFvOsMrO1f"); //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://pacificinstitute.applytojob.com/apply/embed/form/HFvOsMrO1f?source="+encodeURIComponent(resumatorSource); }else{ resumatorApplyButton.value = "Apply Now"; resumatorApplyForm.style.display = "none"; } window.jQuery(resumatorApplyButton).trigger("change"); //window.jQuery(resumatorForwardButton).trigger("change"); } function resumatorForwardToggleHFvOsMrO1f(){ //var resumatorForwardForm = document.getElementById("resumator-forwardform-HFvOsMrO1f"); //var resumatorForwardFrame = document.getElementById("resumator-forwardframe-HFvOsMrO1f"); //var resumatorForwardButton = document.getElementById("resumator-forwardbutton-HFvOsMrO1f"); var resumatorApplyForm = document.getElementById("resumator-applyform-HFvOsMrO1f"); var resumatorApplyFrame = document.getElementById("resumator-applyframe-HFvOsMrO1f"); var resumatorApplyButton = document.getElementById("resumator-applybutton-HFvOsMrO1f"); resumatorApplyForm.style.display = "none"; resumatorApplyButton.value = "Apply Now"; //if( resumatorForwardForm.style.display != "block" ){ // resumatorForwardButton.value = "Cancel"; // resumatorForwardForm.style.display = "block"; // resumatorForwardFrame.src = "https://pacificinstitute.applytojob.com/apply/embed/forward/HFvOsMrO1f"; //}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 resumatorApplyToggleHcy7f9UlCU(){ var resumatorApplyForm = document.getElementById("resumator-applyform-Hcy7f9UlCU"); var resumatorApplyFrame = document.getElementById("resumator-applyframe-Hcy7f9UlCU"); var resumatorApplyButton = document.getElementById("resumator-applybutton-Hcy7f9UlCU"); //var resumatorForwardForm = document.getElementById("resumator-forwardform-Hcy7f9UlCU"); //var resumatorForwardFrame = document.getElementById("resumator-forwardframe-Hcy7f9UlCU"); //var resumatorForwardButton = document.getElementById("resumator-forwardbutton-Hcy7f9UlCU"); //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://pacificinstitute.applytojob.com/apply/embed/form/Hcy7f9UlCU?source="+encodeURIComponent(resumatorSource); }else{ resumatorApplyButton.value = "Apply Now"; resumatorApplyForm.style.display = "none"; } window.jQuery(resumatorApplyButton).trigger("change"); //window.jQuery(resumatorForwardButton).trigger("change"); } function resumatorForwardToggleHcy7f9UlCU(){ //var resumatorForwardForm = document.getElementById("resumator-forwardform-Hcy7f9UlCU"); //var resumatorForwardFrame = document.getElementById("resumator-forwardframe-Hcy7f9UlCU"); //var resumatorForwardButton = document.getElementById("resumator-forwardbutton-Hcy7f9UlCU"); var resumatorApplyForm = document.getElementById("resumator-applyform-Hcy7f9UlCU"); var resumatorApplyFrame = document.getElementById("resumator-applyframe-Hcy7f9UlCU"); var resumatorApplyButton = document.getElementById("resumator-applybutton-Hcy7f9UlCU"); resumatorApplyForm.style.display = "none"; resumatorApplyButton.value = "Apply Now"; //if( resumatorForwardForm.style.display != "block" ){ // resumatorForwardButton.value = "Cancel"; // resumatorForwardForm.style.display = "block"; // resumatorForwardFrame.src = "https://pacificinstitute.applytojob.com/apply/embed/forward/Hcy7f9UlCU"; //}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);}