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 resumatorApplyToggleh1zwEvatPF(){ var resumatorApplyForm = document.getElementById("resumator-applyform-h1zwEvatPF"); var resumatorApplyFrame = document.getElementById("resumator-applyframe-h1zwEvatPF"); var resumatorApplyButton = document.getElementById("resumator-applybutton-h1zwEvatPF"); //var resumatorForwardForm = document.getElementById("resumator-forwardform-h1zwEvatPF"); //var resumatorForwardFrame = document.getElementById("resumator-forwardframe-h1zwEvatPF"); //var resumatorForwardButton = document.getElementById("resumator-forwardbutton-h1zwEvatPF"); //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://tessituranetwork.applytojob.com/apply/embed/form/h1zwEvatPF?source="+encodeURIComponent(resumatorSource); }else{ resumatorApplyButton.value = "Apply Now"; resumatorApplyForm.style.display = "none"; } window.jQuery(resumatorApplyButton).trigger("change"); //window.jQuery(resumatorForwardButton).trigger("change"); } function resumatorForwardToggleh1zwEvatPF(){ //var resumatorForwardForm = document.getElementById("resumator-forwardform-h1zwEvatPF"); //var resumatorForwardFrame = document.getElementById("resumator-forwardframe-h1zwEvatPF"); //var resumatorForwardButton = document.getElementById("resumator-forwardbutton-h1zwEvatPF"); var resumatorApplyForm = document.getElementById("resumator-applyform-h1zwEvatPF"); var resumatorApplyFrame = document.getElementById("resumator-applyframe-h1zwEvatPF"); var resumatorApplyButton = document.getElementById("resumator-applybutton-h1zwEvatPF"); resumatorApplyForm.style.display = "none"; resumatorApplyButton.value = "Apply Now"; //if( resumatorForwardForm.style.display != "block" ){ // resumatorForwardButton.value = "Cancel"; // resumatorForwardForm.style.display = "block"; // resumatorForwardFrame.src = "https://tessituranetwork.applytojob.com/apply/embed/forward/h1zwEvatPF"; //}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 resumatorApplyToggleUug3Ghx0Jw(){ var resumatorApplyForm = document.getElementById("resumator-applyform-Uug3Ghx0Jw"); var resumatorApplyFrame = document.getElementById("resumator-applyframe-Uug3Ghx0Jw"); var resumatorApplyButton = document.getElementById("resumator-applybutton-Uug3Ghx0Jw"); //var resumatorForwardForm = document.getElementById("resumator-forwardform-Uug3Ghx0Jw"); //var resumatorForwardFrame = document.getElementById("resumator-forwardframe-Uug3Ghx0Jw"); //var resumatorForwardButton = document.getElementById("resumator-forwardbutton-Uug3Ghx0Jw"); //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://tessituranetwork.applytojob.com/apply/embed/form/Uug3Ghx0Jw?source="+encodeURIComponent(resumatorSource); }else{ resumatorApplyButton.value = "Apply Now"; resumatorApplyForm.style.display = "none"; } window.jQuery(resumatorApplyButton).trigger("change"); //window.jQuery(resumatorForwardButton).trigger("change"); } function resumatorForwardToggleUug3Ghx0Jw(){ //var resumatorForwardForm = document.getElementById("resumator-forwardform-Uug3Ghx0Jw"); //var resumatorForwardFrame = document.getElementById("resumator-forwardframe-Uug3Ghx0Jw"); //var resumatorForwardButton = document.getElementById("resumator-forwardbutton-Uug3Ghx0Jw"); var resumatorApplyForm = document.getElementById("resumator-applyform-Uug3Ghx0Jw"); var resumatorApplyFrame = document.getElementById("resumator-applyframe-Uug3Ghx0Jw"); var resumatorApplyButton = document.getElementById("resumator-applybutton-Uug3Ghx0Jw"); resumatorApplyForm.style.display = "none"; resumatorApplyButton.value = "Apply Now"; //if( resumatorForwardForm.style.display != "block" ){ // resumatorForwardButton.value = "Cancel"; // resumatorForwardForm.style.display = "block"; // resumatorForwardFrame.src = "https://tessituranetwork.applytojob.com/apply/embed/forward/Uug3Ghx0Jw"; //}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 resumatorApplyToggle9uvO1AVwFw(){ var resumatorApplyForm = document.getElementById("resumator-applyform-9uvO1AVwFw"); var resumatorApplyFrame = document.getElementById("resumator-applyframe-9uvO1AVwFw"); var resumatorApplyButton = document.getElementById("resumator-applybutton-9uvO1AVwFw"); //var resumatorForwardForm = document.getElementById("resumator-forwardform-9uvO1AVwFw"); //var resumatorForwardFrame = document.getElementById("resumator-forwardframe-9uvO1AVwFw"); //var resumatorForwardButton = document.getElementById("resumator-forwardbutton-9uvO1AVwFw"); //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://tessituranetwork.applytojob.com/apply/embed/form/9uvO1AVwFw?source="+encodeURIComponent(resumatorSource); }else{ resumatorApplyButton.value = "Apply Now"; resumatorApplyForm.style.display = "none"; } window.jQuery(resumatorApplyButton).trigger("change"); //window.jQuery(resumatorForwardButton).trigger("change"); } function resumatorForwardToggle9uvO1AVwFw(){ //var resumatorForwardForm = document.getElementById("resumator-forwardform-9uvO1AVwFw"); //var resumatorForwardFrame = document.getElementById("resumator-forwardframe-9uvO1AVwFw"); //var resumatorForwardButton = document.getElementById("resumator-forwardbutton-9uvO1AVwFw"); var resumatorApplyForm = document.getElementById("resumator-applyform-9uvO1AVwFw"); var resumatorApplyFrame = document.getElementById("resumator-applyframe-9uvO1AVwFw"); var resumatorApplyButton = document.getElementById("resumator-applybutton-9uvO1AVwFw"); resumatorApplyForm.style.display = "none"; resumatorApplyButton.value = "Apply Now"; //if( resumatorForwardForm.style.display != "block" ){ // resumatorForwardButton.value = "Cancel"; // resumatorForwardForm.style.display = "block"; // resumatorForwardFrame.src = "https://tessituranetwork.applytojob.com/apply/embed/forward/9uvO1AVwFw"; //}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 resumatorApplyToggleuDXPasxmRT(){ var resumatorApplyForm = document.getElementById("resumator-applyform-uDXPasxmRT"); var resumatorApplyFrame = document.getElementById("resumator-applyframe-uDXPasxmRT"); var resumatorApplyButton = document.getElementById("resumator-applybutton-uDXPasxmRT"); //var resumatorForwardForm = document.getElementById("resumator-forwardform-uDXPasxmRT"); //var resumatorForwardFrame = document.getElementById("resumator-forwardframe-uDXPasxmRT"); //var resumatorForwardButton = document.getElementById("resumator-forwardbutton-uDXPasxmRT"); //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://tessituranetwork.applytojob.com/apply/embed/form/uDXPasxmRT?source="+encodeURIComponent(resumatorSource); }else{ resumatorApplyButton.value = "Apply Now"; resumatorApplyForm.style.display = "none"; } window.jQuery(resumatorApplyButton).trigger("change"); //window.jQuery(resumatorForwardButton).trigger("change"); } function resumatorForwardToggleuDXPasxmRT(){ //var resumatorForwardForm = document.getElementById("resumator-forwardform-uDXPasxmRT"); //var resumatorForwardFrame = document.getElementById("resumator-forwardframe-uDXPasxmRT"); //var resumatorForwardButton = document.getElementById("resumator-forwardbutton-uDXPasxmRT"); var resumatorApplyForm = document.getElementById("resumator-applyform-uDXPasxmRT"); var resumatorApplyFrame = document.getElementById("resumator-applyframe-uDXPasxmRT"); var resumatorApplyButton = document.getElementById("resumator-applybutton-uDXPasxmRT"); resumatorApplyForm.style.display = "none"; resumatorApplyButton.value = "Apply Now"; //if( resumatorForwardForm.style.display != "block" ){ // resumatorForwardButton.value = "Cancel"; // resumatorForwardForm.style.display = "block"; // resumatorForwardFrame.src = "https://tessituranetwork.applytojob.com/apply/embed/forward/uDXPasxmRT"; //}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);}