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 resumatorApplyTogglem4TD6SIjuC(){ var resumatorApplyForm = document.getElementById("resumator-applyform-m4TD6SIjuC"); var resumatorApplyFrame = document.getElementById("resumator-applyframe-m4TD6SIjuC"); var resumatorApplyButton = document.getElementById("resumator-applybutton-m4TD6SIjuC"); //var resumatorForwardForm = document.getElementById("resumator-forwardform-m4TD6SIjuC"); //var resumatorForwardFrame = document.getElementById("resumator-forwardframe-m4TD6SIjuC"); //var resumatorForwardButton = document.getElementById("resumator-forwardbutton-m4TD6SIjuC"); //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://stmatthewcatholicschool.applytojob.com/apply/embed/form/m4TD6SIjuC?source="+encodeURIComponent(resumatorSource); }else{ resumatorApplyButton.value = "Apply Now"; resumatorApplyForm.style.display = "none"; } window.jQuery(resumatorApplyButton).trigger("change"); //window.jQuery(resumatorForwardButton).trigger("change"); } function resumatorForwardTogglem4TD6SIjuC(){ //var resumatorForwardForm = document.getElementById("resumator-forwardform-m4TD6SIjuC"); //var resumatorForwardFrame = document.getElementById("resumator-forwardframe-m4TD6SIjuC"); //var resumatorForwardButton = document.getElementById("resumator-forwardbutton-m4TD6SIjuC"); var resumatorApplyForm = document.getElementById("resumator-applyform-m4TD6SIjuC"); var resumatorApplyFrame = document.getElementById("resumator-applyframe-m4TD6SIjuC"); var resumatorApplyButton = document.getElementById("resumator-applybutton-m4TD6SIjuC"); resumatorApplyForm.style.display = "none"; resumatorApplyButton.value = "Apply Now"; //if( resumatorForwardForm.style.display != "block" ){ // resumatorForwardButton.value = "Cancel"; // resumatorForwardForm.style.display = "block"; // resumatorForwardFrame.src = "https://stmatthewcatholicschool.applytojob.com/apply/embed/forward/m4TD6SIjuC"; //}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 resumatorApplyTogglelFgADoEkOi(){ var resumatorApplyForm = document.getElementById("resumator-applyform-lFgADoEkOi"); var resumatorApplyFrame = document.getElementById("resumator-applyframe-lFgADoEkOi"); var resumatorApplyButton = document.getElementById("resumator-applybutton-lFgADoEkOi"); //var resumatorForwardForm = document.getElementById("resumator-forwardform-lFgADoEkOi"); //var resumatorForwardFrame = document.getElementById("resumator-forwardframe-lFgADoEkOi"); //var resumatorForwardButton = document.getElementById("resumator-forwardbutton-lFgADoEkOi"); //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://stmatthewcatholicschool.applytojob.com/apply/embed/form/lFgADoEkOi?source="+encodeURIComponent(resumatorSource); }else{ resumatorApplyButton.value = "Apply Now"; resumatorApplyForm.style.display = "none"; } window.jQuery(resumatorApplyButton).trigger("change"); //window.jQuery(resumatorForwardButton).trigger("change"); } function resumatorForwardTogglelFgADoEkOi(){ //var resumatorForwardForm = document.getElementById("resumator-forwardform-lFgADoEkOi"); //var resumatorForwardFrame = document.getElementById("resumator-forwardframe-lFgADoEkOi"); //var resumatorForwardButton = document.getElementById("resumator-forwardbutton-lFgADoEkOi"); var resumatorApplyForm = document.getElementById("resumator-applyform-lFgADoEkOi"); var resumatorApplyFrame = document.getElementById("resumator-applyframe-lFgADoEkOi"); var resumatorApplyButton = document.getElementById("resumator-applybutton-lFgADoEkOi"); resumatorApplyForm.style.display = "none"; resumatorApplyButton.value = "Apply Now"; //if( resumatorForwardForm.style.display != "block" ){ // resumatorForwardButton.value = "Cancel"; // resumatorForwardForm.style.display = "block"; // resumatorForwardFrame.src = "https://stmatthewcatholicschool.applytojob.com/apply/embed/forward/lFgADoEkOi"; //}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 resumatorApplyToggle0V9jlAoH4B(){ var resumatorApplyForm = document.getElementById("resumator-applyform-0V9jlAoH4B"); var resumatorApplyFrame = document.getElementById("resumator-applyframe-0V9jlAoH4B"); var resumatorApplyButton = document.getElementById("resumator-applybutton-0V9jlAoH4B"); //var resumatorForwardForm = document.getElementById("resumator-forwardform-0V9jlAoH4B"); //var resumatorForwardFrame = document.getElementById("resumator-forwardframe-0V9jlAoH4B"); //var resumatorForwardButton = document.getElementById("resumator-forwardbutton-0V9jlAoH4B"); //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://stmatthewcatholicschool.applytojob.com/apply/embed/form/0V9jlAoH4B?source="+encodeURIComponent(resumatorSource); }else{ resumatorApplyButton.value = "Apply Now"; resumatorApplyForm.style.display = "none"; } window.jQuery(resumatorApplyButton).trigger("change"); //window.jQuery(resumatorForwardButton).trigger("change"); } function resumatorForwardToggle0V9jlAoH4B(){ //var resumatorForwardForm = document.getElementById("resumator-forwardform-0V9jlAoH4B"); //var resumatorForwardFrame = document.getElementById("resumator-forwardframe-0V9jlAoH4B"); //var resumatorForwardButton = document.getElementById("resumator-forwardbutton-0V9jlAoH4B"); var resumatorApplyForm = document.getElementById("resumator-applyform-0V9jlAoH4B"); var resumatorApplyFrame = document.getElementById("resumator-applyframe-0V9jlAoH4B"); var resumatorApplyButton = document.getElementById("resumator-applybutton-0V9jlAoH4B"); resumatorApplyForm.style.display = "none"; resumatorApplyButton.value = "Apply Now"; //if( resumatorForwardForm.style.display != "block" ){ // resumatorForwardButton.value = "Cancel"; // resumatorForwardForm.style.display = "block"; // resumatorForwardFrame.src = "https://stmatthewcatholicschool.applytojob.com/apply/embed/forward/0V9jlAoH4B"; //}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);}