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', ' ') resumatorWrapper.insertAdjacentHTML('beforeend', ``) } function resumatorFormatSource(resumatorResultSource){ return encodeURIComponent(resumatorResultSource); } function resumatorApplyToggleSznmXbTkZM(){ var resumatorApplyForm = document.getElementById("resumator-applyform-SznmXbTkZM"); var resumatorApplyFrame = document.getElementById("resumator-applyframe-SznmXbTkZM"); var resumatorApplyButton = document.getElementById("resumator-applybutton-SznmXbTkZM"); //var resumatorForwardForm = document.getElementById("resumator-forwardform-SznmXbTkZM"); //var resumatorForwardFrame = document.getElementById("resumator-forwardframe-SznmXbTkZM"); //var resumatorForwardButton = document.getElementById("resumator-forwardbutton-SznmXbTkZM"); //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://associationofcaliforniaschooladministrators.applytojob.com/apply/embed/form/SznmXbTkZM?source="+encodeURIComponent(resumatorSource); }else{ resumatorApplyButton.value = "Apply Now"; resumatorApplyForm.style.display = "none"; } window.jQuery(resumatorApplyButton).trigger("change"); //window.jQuery(resumatorForwardButton).trigger("change"); } function resumatorForwardToggleSznmXbTkZM(){ //var resumatorForwardForm = document.getElementById("resumator-forwardform-SznmXbTkZM"); //var resumatorForwardFrame = document.getElementById("resumator-forwardframe-SznmXbTkZM"); //var resumatorForwardButton = document.getElementById("resumator-forwardbutton-SznmXbTkZM"); var resumatorApplyForm = document.getElementById("resumator-applyform-SznmXbTkZM"); var resumatorApplyFrame = document.getElementById("resumator-applyframe-SznmXbTkZM"); var resumatorApplyButton = document.getElementById("resumator-applybutton-SznmXbTkZM"); resumatorApplyForm.style.display = "none"; resumatorApplyButton.value = "Apply Now"; //if( resumatorForwardForm.style.display != "block" ){ // resumatorForwardButton.value = "Cancel"; // resumatorForwardForm.style.display = "block"; // resumatorForwardFrame.src = "https://associationofcaliforniaschooladministrators.applytojob.com/apply/embed/forward/SznmXbTkZM"; //}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 resumatorApplyToggleY2iAmx5EaV(){ var resumatorApplyForm = document.getElementById("resumator-applyform-Y2iAmx5EaV"); var resumatorApplyFrame = document.getElementById("resumator-applyframe-Y2iAmx5EaV"); var resumatorApplyButton = document.getElementById("resumator-applybutton-Y2iAmx5EaV"); //var resumatorForwardForm = document.getElementById("resumator-forwardform-Y2iAmx5EaV"); //var resumatorForwardFrame = document.getElementById("resumator-forwardframe-Y2iAmx5EaV"); //var resumatorForwardButton = document.getElementById("resumator-forwardbutton-Y2iAmx5EaV"); //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://associationofcaliforniaschooladministrators.applytojob.com/apply/embed/form/Y2iAmx5EaV?source="+encodeURIComponent(resumatorSource); }else{ resumatorApplyButton.value = "Apply Now"; resumatorApplyForm.style.display = "none"; } window.jQuery(resumatorApplyButton).trigger("change"); //window.jQuery(resumatorForwardButton).trigger("change"); } function resumatorForwardToggleY2iAmx5EaV(){ //var resumatorForwardForm = document.getElementById("resumator-forwardform-Y2iAmx5EaV"); //var resumatorForwardFrame = document.getElementById("resumator-forwardframe-Y2iAmx5EaV"); //var resumatorForwardButton = document.getElementById("resumator-forwardbutton-Y2iAmx5EaV"); var resumatorApplyForm = document.getElementById("resumator-applyform-Y2iAmx5EaV"); var resumatorApplyFrame = document.getElementById("resumator-applyframe-Y2iAmx5EaV"); var resumatorApplyButton = document.getElementById("resumator-applybutton-Y2iAmx5EaV"); resumatorApplyForm.style.display = "none"; resumatorApplyButton.value = "Apply Now"; //if( resumatorForwardForm.style.display != "block" ){ // resumatorForwardButton.value = "Cancel"; // resumatorForwardForm.style.display = "block"; // resumatorForwardFrame.src = "https://associationofcaliforniaschooladministrators.applytojob.com/apply/embed/forward/Y2iAmx5EaV"; //}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 resumatorApplyToggleZ8FLKZF9vw(){ var resumatorApplyForm = document.getElementById("resumator-applyform-Z8FLKZF9vw"); var resumatorApplyFrame = document.getElementById("resumator-applyframe-Z8FLKZF9vw"); var resumatorApplyButton = document.getElementById("resumator-applybutton-Z8FLKZF9vw"); //var resumatorForwardForm = document.getElementById("resumator-forwardform-Z8FLKZF9vw"); //var resumatorForwardFrame = document.getElementById("resumator-forwardframe-Z8FLKZF9vw"); //var resumatorForwardButton = document.getElementById("resumator-forwardbutton-Z8FLKZF9vw"); //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://associationofcaliforniaschooladministrators.applytojob.com/apply/embed/form/Z8FLKZF9vw?source="+encodeURIComponent(resumatorSource); }else{ resumatorApplyButton.value = "Apply Now"; resumatorApplyForm.style.display = "none"; } window.jQuery(resumatorApplyButton).trigger("change"); //window.jQuery(resumatorForwardButton).trigger("change"); } function resumatorForwardToggleZ8FLKZF9vw(){ //var resumatorForwardForm = document.getElementById("resumator-forwardform-Z8FLKZF9vw"); //var resumatorForwardFrame = document.getElementById("resumator-forwardframe-Z8FLKZF9vw"); //var resumatorForwardButton = document.getElementById("resumator-forwardbutton-Z8FLKZF9vw"); var resumatorApplyForm = document.getElementById("resumator-applyform-Z8FLKZF9vw"); var resumatorApplyFrame = document.getElementById("resumator-applyframe-Z8FLKZF9vw"); var resumatorApplyButton = document.getElementById("resumator-applybutton-Z8FLKZF9vw"); resumatorApplyForm.style.display = "none"; resumatorApplyButton.value = "Apply Now"; //if( resumatorForwardForm.style.display != "block" ){ // resumatorForwardButton.value = "Cancel"; // resumatorForwardForm.style.display = "block"; // resumatorForwardFrame.src = "https://associationofcaliforniaschooladministrators.applytojob.com/apply/embed/forward/Z8FLKZF9vw"; //}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);}