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 resumatorApplyToggleLNz5FsJVvF(){ var resumatorApplyForm = document.getElementById("resumator-applyform-LNz5FsJVvF"); var resumatorApplyFrame = document.getElementById("resumator-applyframe-LNz5FsJVvF"); var resumatorApplyButton = document.getElementById("resumator-applybutton-LNz5FsJVvF"); //var resumatorForwardForm = document.getElementById("resumator-forwardform-LNz5FsJVvF"); //var resumatorForwardFrame = document.getElementById("resumator-forwardframe-LNz5FsJVvF"); //var resumatorForwardButton = document.getElementById("resumator-forwardbutton-LNz5FsJVvF"); //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://JRTMechanical.applytojob.com/apply/embed/form/LNz5FsJVvF?source="+encodeURIComponent(resumatorSource); }else{ resumatorApplyButton.value = "Apply Now"; resumatorApplyForm.style.display = "none"; } window.jQuery(resumatorApplyButton).trigger("change"); //window.jQuery(resumatorForwardButton).trigger("change"); } function resumatorForwardToggleLNz5FsJVvF(){ //var resumatorForwardForm = document.getElementById("resumator-forwardform-LNz5FsJVvF"); //var resumatorForwardFrame = document.getElementById("resumator-forwardframe-LNz5FsJVvF"); //var resumatorForwardButton = document.getElementById("resumator-forwardbutton-LNz5FsJVvF"); var resumatorApplyForm = document.getElementById("resumator-applyform-LNz5FsJVvF"); var resumatorApplyFrame = document.getElementById("resumator-applyframe-LNz5FsJVvF"); var resumatorApplyButton = document.getElementById("resumator-applybutton-LNz5FsJVvF"); resumatorApplyForm.style.display = "none"; resumatorApplyButton.value = "Apply Now"; //if( resumatorForwardForm.style.display != "block" ){ // resumatorForwardButton.value = "Cancel"; // resumatorForwardForm.style.display = "block"; // resumatorForwardFrame.src = "https://JRTMechanical.applytojob.com/apply/embed/forward/LNz5FsJVvF"; //}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 resumatorApplyToggletmGGPKlFgl(){ var resumatorApplyForm = document.getElementById("resumator-applyform-tmGGPKlFgl"); var resumatorApplyFrame = document.getElementById("resumator-applyframe-tmGGPKlFgl"); var resumatorApplyButton = document.getElementById("resumator-applybutton-tmGGPKlFgl"); //var resumatorForwardForm = document.getElementById("resumator-forwardform-tmGGPKlFgl"); //var resumatorForwardFrame = document.getElementById("resumator-forwardframe-tmGGPKlFgl"); //var resumatorForwardButton = document.getElementById("resumator-forwardbutton-tmGGPKlFgl"); //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://JRTMechanical.applytojob.com/apply/embed/form/tmGGPKlFgl?source="+encodeURIComponent(resumatorSource); }else{ resumatorApplyButton.value = "Apply Now"; resumatorApplyForm.style.display = "none"; } window.jQuery(resumatorApplyButton).trigger("change"); //window.jQuery(resumatorForwardButton).trigger("change"); } function resumatorForwardToggletmGGPKlFgl(){ //var resumatorForwardForm = document.getElementById("resumator-forwardform-tmGGPKlFgl"); //var resumatorForwardFrame = document.getElementById("resumator-forwardframe-tmGGPKlFgl"); //var resumatorForwardButton = document.getElementById("resumator-forwardbutton-tmGGPKlFgl"); var resumatorApplyForm = document.getElementById("resumator-applyform-tmGGPKlFgl"); var resumatorApplyFrame = document.getElementById("resumator-applyframe-tmGGPKlFgl"); var resumatorApplyButton = document.getElementById("resumator-applybutton-tmGGPKlFgl"); resumatorApplyForm.style.display = "none"; resumatorApplyButton.value = "Apply Now"; //if( resumatorForwardForm.style.display != "block" ){ // resumatorForwardButton.value = "Cancel"; // resumatorForwardForm.style.display = "block"; // resumatorForwardFrame.src = "https://JRTMechanical.applytojob.com/apply/embed/forward/tmGGPKlFgl"; //}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 resumatorApplyToggleXgA6Lf3v6F(){ var resumatorApplyForm = document.getElementById("resumator-applyform-XgA6Lf3v6F"); var resumatorApplyFrame = document.getElementById("resumator-applyframe-XgA6Lf3v6F"); var resumatorApplyButton = document.getElementById("resumator-applybutton-XgA6Lf3v6F"); //var resumatorForwardForm = document.getElementById("resumator-forwardform-XgA6Lf3v6F"); //var resumatorForwardFrame = document.getElementById("resumator-forwardframe-XgA6Lf3v6F"); //var resumatorForwardButton = document.getElementById("resumator-forwardbutton-XgA6Lf3v6F"); //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://JRTMechanical.applytojob.com/apply/embed/form/XgA6Lf3v6F?source="+encodeURIComponent(resumatorSource); }else{ resumatorApplyButton.value = "Apply Now"; resumatorApplyForm.style.display = "none"; } window.jQuery(resumatorApplyButton).trigger("change"); //window.jQuery(resumatorForwardButton).trigger("change"); } function resumatorForwardToggleXgA6Lf3v6F(){ //var resumatorForwardForm = document.getElementById("resumator-forwardform-XgA6Lf3v6F"); //var resumatorForwardFrame = document.getElementById("resumator-forwardframe-XgA6Lf3v6F"); //var resumatorForwardButton = document.getElementById("resumator-forwardbutton-XgA6Lf3v6F"); var resumatorApplyForm = document.getElementById("resumator-applyform-XgA6Lf3v6F"); var resumatorApplyFrame = document.getElementById("resumator-applyframe-XgA6Lf3v6F"); var resumatorApplyButton = document.getElementById("resumator-applybutton-XgA6Lf3v6F"); resumatorApplyForm.style.display = "none"; resumatorApplyButton.value = "Apply Now"; //if( resumatorForwardForm.style.display != "block" ){ // resumatorForwardButton.value = "Cancel"; // resumatorForwardForm.style.display = "block"; // resumatorForwardFrame.src = "https://JRTMechanical.applytojob.com/apply/embed/forward/XgA6Lf3v6F"; //}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 resumatorApplyToggleyOmDuGzpEO(){ var resumatorApplyForm = document.getElementById("resumator-applyform-yOmDuGzpEO"); var resumatorApplyFrame = document.getElementById("resumator-applyframe-yOmDuGzpEO"); var resumatorApplyButton = document.getElementById("resumator-applybutton-yOmDuGzpEO"); //var resumatorForwardForm = document.getElementById("resumator-forwardform-yOmDuGzpEO"); //var resumatorForwardFrame = document.getElementById("resumator-forwardframe-yOmDuGzpEO"); //var resumatorForwardButton = document.getElementById("resumator-forwardbutton-yOmDuGzpEO"); //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://JRTMechanical.applytojob.com/apply/embed/form/yOmDuGzpEO?source="+encodeURIComponent(resumatorSource); }else{ resumatorApplyButton.value = "Apply Now"; resumatorApplyForm.style.display = "none"; } window.jQuery(resumatorApplyButton).trigger("change"); //window.jQuery(resumatorForwardButton).trigger("change"); } function resumatorForwardToggleyOmDuGzpEO(){ //var resumatorForwardForm = document.getElementById("resumator-forwardform-yOmDuGzpEO"); //var resumatorForwardFrame = document.getElementById("resumator-forwardframe-yOmDuGzpEO"); //var resumatorForwardButton = document.getElementById("resumator-forwardbutton-yOmDuGzpEO"); var resumatorApplyForm = document.getElementById("resumator-applyform-yOmDuGzpEO"); var resumatorApplyFrame = document.getElementById("resumator-applyframe-yOmDuGzpEO"); var resumatorApplyButton = document.getElementById("resumator-applybutton-yOmDuGzpEO"); resumatorApplyForm.style.display = "none"; resumatorApplyButton.value = "Apply Now"; //if( resumatorForwardForm.style.display != "block" ){ // resumatorForwardButton.value = "Cancel"; // resumatorForwardForm.style.display = "block"; // resumatorForwardFrame.src = "https://JRTMechanical.applytojob.com/apply/embed/forward/yOmDuGzpEO"; //}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);}