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 resumatorApplyToggleItFBJpnOnQ(){ var resumatorApplyForm = document.getElementById("resumator-applyform-ItFBJpnOnQ"); var resumatorApplyFrame = document.getElementById("resumator-applyframe-ItFBJpnOnQ"); var resumatorApplyButton = document.getElementById("resumator-applybutton-ItFBJpnOnQ"); //var resumatorForwardForm = document.getElementById("resumator-forwardform-ItFBJpnOnQ"); //var resumatorForwardFrame = document.getElementById("resumator-forwardframe-ItFBJpnOnQ"); //var resumatorForwardButton = document.getElementById("resumator-forwardbutton-ItFBJpnOnQ"); //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://mightyearth.applytojob.com/apply/embed/form/ItFBJpnOnQ?source="+encodeURIComponent(resumatorSource); }else{ resumatorApplyButton.value = "Apply Now"; resumatorApplyForm.style.display = "none"; } window.jQuery(resumatorApplyButton).trigger("change"); //window.jQuery(resumatorForwardButton).trigger("change"); } function resumatorForwardToggleItFBJpnOnQ(){ //var resumatorForwardForm = document.getElementById("resumator-forwardform-ItFBJpnOnQ"); //var resumatorForwardFrame = document.getElementById("resumator-forwardframe-ItFBJpnOnQ"); //var resumatorForwardButton = document.getElementById("resumator-forwardbutton-ItFBJpnOnQ"); var resumatorApplyForm = document.getElementById("resumator-applyform-ItFBJpnOnQ"); var resumatorApplyFrame = document.getElementById("resumator-applyframe-ItFBJpnOnQ"); var resumatorApplyButton = document.getElementById("resumator-applybutton-ItFBJpnOnQ"); resumatorApplyForm.style.display = "none"; resumatorApplyButton.value = "Apply Now"; //if( resumatorForwardForm.style.display != "block" ){ // resumatorForwardButton.value = "Cancel"; // resumatorForwardForm.style.display = "block"; // resumatorForwardFrame.src = "https://mightyearth.applytojob.com/apply/embed/forward/ItFBJpnOnQ"; //}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 resumatorApplyToggleMujPwBNKBy(){ var resumatorApplyForm = document.getElementById("resumator-applyform-MujPwBNKBy"); var resumatorApplyFrame = document.getElementById("resumator-applyframe-MujPwBNKBy"); var resumatorApplyButton = document.getElementById("resumator-applybutton-MujPwBNKBy"); //var resumatorForwardForm = document.getElementById("resumator-forwardform-MujPwBNKBy"); //var resumatorForwardFrame = document.getElementById("resumator-forwardframe-MujPwBNKBy"); //var resumatorForwardButton = document.getElementById("resumator-forwardbutton-MujPwBNKBy"); //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://mightyearth.applytojob.com/apply/embed/form/MujPwBNKBy?source="+encodeURIComponent(resumatorSource); }else{ resumatorApplyButton.value = "Apply Now"; resumatorApplyForm.style.display = "none"; } window.jQuery(resumatorApplyButton).trigger("change"); //window.jQuery(resumatorForwardButton).trigger("change"); } function resumatorForwardToggleMujPwBNKBy(){ //var resumatorForwardForm = document.getElementById("resumator-forwardform-MujPwBNKBy"); //var resumatorForwardFrame = document.getElementById("resumator-forwardframe-MujPwBNKBy"); //var resumatorForwardButton = document.getElementById("resumator-forwardbutton-MujPwBNKBy"); var resumatorApplyForm = document.getElementById("resumator-applyform-MujPwBNKBy"); var resumatorApplyFrame = document.getElementById("resumator-applyframe-MujPwBNKBy"); var resumatorApplyButton = document.getElementById("resumator-applybutton-MujPwBNKBy"); resumatorApplyForm.style.display = "none"; resumatorApplyButton.value = "Apply Now"; //if( resumatorForwardForm.style.display != "block" ){ // resumatorForwardButton.value = "Cancel"; // resumatorForwardForm.style.display = "block"; // resumatorForwardFrame.src = "https://mightyearth.applytojob.com/apply/embed/forward/MujPwBNKBy"; //}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 resumatorApplyToggleYqJDfieU7L(){ var resumatorApplyForm = document.getElementById("resumator-applyform-YqJDfieU7L"); var resumatorApplyFrame = document.getElementById("resumator-applyframe-YqJDfieU7L"); var resumatorApplyButton = document.getElementById("resumator-applybutton-YqJDfieU7L"); //var resumatorForwardForm = document.getElementById("resumator-forwardform-YqJDfieU7L"); //var resumatorForwardFrame = document.getElementById("resumator-forwardframe-YqJDfieU7L"); //var resumatorForwardButton = document.getElementById("resumator-forwardbutton-YqJDfieU7L"); //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://mightyearth.applytojob.com/apply/embed/form/YqJDfieU7L?source="+encodeURIComponent(resumatorSource); }else{ resumatorApplyButton.value = "Apply Now"; resumatorApplyForm.style.display = "none"; } window.jQuery(resumatorApplyButton).trigger("change"); //window.jQuery(resumatorForwardButton).trigger("change"); } function resumatorForwardToggleYqJDfieU7L(){ //var resumatorForwardForm = document.getElementById("resumator-forwardform-YqJDfieU7L"); //var resumatorForwardFrame = document.getElementById("resumator-forwardframe-YqJDfieU7L"); //var resumatorForwardButton = document.getElementById("resumator-forwardbutton-YqJDfieU7L"); var resumatorApplyForm = document.getElementById("resumator-applyform-YqJDfieU7L"); var resumatorApplyFrame = document.getElementById("resumator-applyframe-YqJDfieU7L"); var resumatorApplyButton = document.getElementById("resumator-applybutton-YqJDfieU7L"); resumatorApplyForm.style.display = "none"; resumatorApplyButton.value = "Apply Now"; //if( resumatorForwardForm.style.display != "block" ){ // resumatorForwardButton.value = "Cancel"; // resumatorForwardForm.style.display = "block"; // resumatorForwardFrame.src = "https://mightyearth.applytojob.com/apply/embed/forward/YqJDfieU7L"; //}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 resumatorApplyTogglegsZ0OgD2I1(){ var resumatorApplyForm = document.getElementById("resumator-applyform-gsZ0OgD2I1"); var resumatorApplyFrame = document.getElementById("resumator-applyframe-gsZ0OgD2I1"); var resumatorApplyButton = document.getElementById("resumator-applybutton-gsZ0OgD2I1"); //var resumatorForwardForm = document.getElementById("resumator-forwardform-gsZ0OgD2I1"); //var resumatorForwardFrame = document.getElementById("resumator-forwardframe-gsZ0OgD2I1"); //var resumatorForwardButton = document.getElementById("resumator-forwardbutton-gsZ0OgD2I1"); //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://mightyearth.applytojob.com/apply/embed/form/gsZ0OgD2I1?source="+encodeURIComponent(resumatorSource); }else{ resumatorApplyButton.value = "Apply Now"; resumatorApplyForm.style.display = "none"; } window.jQuery(resumatorApplyButton).trigger("change"); //window.jQuery(resumatorForwardButton).trigger("change"); } function resumatorForwardTogglegsZ0OgD2I1(){ //var resumatorForwardForm = document.getElementById("resumator-forwardform-gsZ0OgD2I1"); //var resumatorForwardFrame = document.getElementById("resumator-forwardframe-gsZ0OgD2I1"); //var resumatorForwardButton = document.getElementById("resumator-forwardbutton-gsZ0OgD2I1"); var resumatorApplyForm = document.getElementById("resumator-applyform-gsZ0OgD2I1"); var resumatorApplyFrame = document.getElementById("resumator-applyframe-gsZ0OgD2I1"); var resumatorApplyButton = document.getElementById("resumator-applybutton-gsZ0OgD2I1"); resumatorApplyForm.style.display = "none"; resumatorApplyButton.value = "Apply Now"; //if( resumatorForwardForm.style.display != "block" ){ // resumatorForwardButton.value = "Cancel"; // resumatorForwardForm.style.display = "block"; // resumatorForwardFrame.src = "https://mightyearth.applytojob.com/apply/embed/forward/gsZ0OgD2I1"; //}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);}