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 resumatorApplyToggleZSyWsKleh8(){ var resumatorApplyForm = document.getElementById("resumator-applyform-ZSyWsKleh8"); var resumatorApplyFrame = document.getElementById("resumator-applyframe-ZSyWsKleh8"); var resumatorApplyButton = document.getElementById("resumator-applybutton-ZSyWsKleh8"); //var resumatorForwardForm = document.getElementById("resumator-forwardform-ZSyWsKleh8"); //var resumatorForwardFrame = document.getElementById("resumator-forwardframe-ZSyWsKleh8"); //var resumatorForwardButton = document.getElementById("resumator-forwardbutton-ZSyWsKleh8"); //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://melinksolarllc.applytojob.com/apply/embed/form/ZSyWsKleh8?source="+encodeURIComponent(resumatorSource); }else{ resumatorApplyButton.value = "Apply Now"; resumatorApplyForm.style.display = "none"; } window.jQuery(resumatorApplyButton).trigger("change"); //window.jQuery(resumatorForwardButton).trigger("change"); } function resumatorForwardToggleZSyWsKleh8(){ //var resumatorForwardForm = document.getElementById("resumator-forwardform-ZSyWsKleh8"); //var resumatorForwardFrame = document.getElementById("resumator-forwardframe-ZSyWsKleh8"); //var resumatorForwardButton = document.getElementById("resumator-forwardbutton-ZSyWsKleh8"); var resumatorApplyForm = document.getElementById("resumator-applyform-ZSyWsKleh8"); var resumatorApplyFrame = document.getElementById("resumator-applyframe-ZSyWsKleh8"); var resumatorApplyButton = document.getElementById("resumator-applybutton-ZSyWsKleh8"); resumatorApplyForm.style.display = "none"; resumatorApplyButton.value = "Apply Now"; //if( resumatorForwardForm.style.display != "block" ){ // resumatorForwardButton.value = "Cancel"; // resumatorForwardForm.style.display = "block"; // resumatorForwardFrame.src = "https://melinksolarllc.applytojob.com/apply/embed/forward/ZSyWsKleh8"; //}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 resumatorApplyToggle5issn7LVK2(){ var resumatorApplyForm = document.getElementById("resumator-applyform-5issn7LVK2"); var resumatorApplyFrame = document.getElementById("resumator-applyframe-5issn7LVK2"); var resumatorApplyButton = document.getElementById("resumator-applybutton-5issn7LVK2"); //var resumatorForwardForm = document.getElementById("resumator-forwardform-5issn7LVK2"); //var resumatorForwardFrame = document.getElementById("resumator-forwardframe-5issn7LVK2"); //var resumatorForwardButton = document.getElementById("resumator-forwardbutton-5issn7LVK2"); //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://melinksolarllc.applytojob.com/apply/embed/form/5issn7LVK2?source="+encodeURIComponent(resumatorSource); }else{ resumatorApplyButton.value = "Apply Now"; resumatorApplyForm.style.display = "none"; } window.jQuery(resumatorApplyButton).trigger("change"); //window.jQuery(resumatorForwardButton).trigger("change"); } function resumatorForwardToggle5issn7LVK2(){ //var resumatorForwardForm = document.getElementById("resumator-forwardform-5issn7LVK2"); //var resumatorForwardFrame = document.getElementById("resumator-forwardframe-5issn7LVK2"); //var resumatorForwardButton = document.getElementById("resumator-forwardbutton-5issn7LVK2"); var resumatorApplyForm = document.getElementById("resumator-applyform-5issn7LVK2"); var resumatorApplyFrame = document.getElementById("resumator-applyframe-5issn7LVK2"); var resumatorApplyButton = document.getElementById("resumator-applybutton-5issn7LVK2"); resumatorApplyForm.style.display = "none"; resumatorApplyButton.value = "Apply Now"; //if( resumatorForwardForm.style.display != "block" ){ // resumatorForwardButton.value = "Cancel"; // resumatorForwardForm.style.display = "block"; // resumatorForwardFrame.src = "https://melinksolarllc.applytojob.com/apply/embed/forward/5issn7LVK2"; //}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 resumatorApplyTogglezZ9czY5x9H(){ var resumatorApplyForm = document.getElementById("resumator-applyform-zZ9czY5x9H"); var resumatorApplyFrame = document.getElementById("resumator-applyframe-zZ9czY5x9H"); var resumatorApplyButton = document.getElementById("resumator-applybutton-zZ9czY5x9H"); //var resumatorForwardForm = document.getElementById("resumator-forwardform-zZ9czY5x9H"); //var resumatorForwardFrame = document.getElementById("resumator-forwardframe-zZ9czY5x9H"); //var resumatorForwardButton = document.getElementById("resumator-forwardbutton-zZ9czY5x9H"); //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://melinksolarllc.applytojob.com/apply/embed/form/zZ9czY5x9H?source="+encodeURIComponent(resumatorSource); }else{ resumatorApplyButton.value = "Apply Now"; resumatorApplyForm.style.display = "none"; } window.jQuery(resumatorApplyButton).trigger("change"); //window.jQuery(resumatorForwardButton).trigger("change"); } function resumatorForwardTogglezZ9czY5x9H(){ //var resumatorForwardForm = document.getElementById("resumator-forwardform-zZ9czY5x9H"); //var resumatorForwardFrame = document.getElementById("resumator-forwardframe-zZ9czY5x9H"); //var resumatorForwardButton = document.getElementById("resumator-forwardbutton-zZ9czY5x9H"); var resumatorApplyForm = document.getElementById("resumator-applyform-zZ9czY5x9H"); var resumatorApplyFrame = document.getElementById("resumator-applyframe-zZ9czY5x9H"); var resumatorApplyButton = document.getElementById("resumator-applybutton-zZ9czY5x9H"); resumatorApplyForm.style.display = "none"; resumatorApplyButton.value = "Apply Now"; //if( resumatorForwardForm.style.display != "block" ){ // resumatorForwardButton.value = "Cancel"; // resumatorForwardForm.style.display = "block"; // resumatorForwardFrame.src = "https://melinksolarllc.applytojob.com/apply/embed/forward/zZ9czY5x9H"; //}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 resumatorApplyToggleae9geiUSRw(){ var resumatorApplyForm = document.getElementById("resumator-applyform-ae9geiUSRw"); var resumatorApplyFrame = document.getElementById("resumator-applyframe-ae9geiUSRw"); var resumatorApplyButton = document.getElementById("resumator-applybutton-ae9geiUSRw"); //var resumatorForwardForm = document.getElementById("resumator-forwardform-ae9geiUSRw"); //var resumatorForwardFrame = document.getElementById("resumator-forwardframe-ae9geiUSRw"); //var resumatorForwardButton = document.getElementById("resumator-forwardbutton-ae9geiUSRw"); //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://melinksolarllc.applytojob.com/apply/embed/form/ae9geiUSRw?source="+encodeURIComponent(resumatorSource); }else{ resumatorApplyButton.value = "Apply Now"; resumatorApplyForm.style.display = "none"; } window.jQuery(resumatorApplyButton).trigger("change"); //window.jQuery(resumatorForwardButton).trigger("change"); } function resumatorForwardToggleae9geiUSRw(){ //var resumatorForwardForm = document.getElementById("resumator-forwardform-ae9geiUSRw"); //var resumatorForwardFrame = document.getElementById("resumator-forwardframe-ae9geiUSRw"); //var resumatorForwardButton = document.getElementById("resumator-forwardbutton-ae9geiUSRw"); var resumatorApplyForm = document.getElementById("resumator-applyform-ae9geiUSRw"); var resumatorApplyFrame = document.getElementById("resumator-applyframe-ae9geiUSRw"); var resumatorApplyButton = document.getElementById("resumator-applybutton-ae9geiUSRw"); resumatorApplyForm.style.display = "none"; resumatorApplyButton.value = "Apply Now"; //if( resumatorForwardForm.style.display != "block" ){ // resumatorForwardButton.value = "Cancel"; // resumatorForwardForm.style.display = "block"; // resumatorForwardFrame.src = "https://melinksolarllc.applytojob.com/apply/embed/forward/ae9geiUSRw"; //}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 resumatorApplyToggleTXB0WImo2S(){ var resumatorApplyForm = document.getElementById("resumator-applyform-TXB0WImo2S"); var resumatorApplyFrame = document.getElementById("resumator-applyframe-TXB0WImo2S"); var resumatorApplyButton = document.getElementById("resumator-applybutton-TXB0WImo2S"); //var resumatorForwardForm = document.getElementById("resumator-forwardform-TXB0WImo2S"); //var resumatorForwardFrame = document.getElementById("resumator-forwardframe-TXB0WImo2S"); //var resumatorForwardButton = document.getElementById("resumator-forwardbutton-TXB0WImo2S"); //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://melinksolarllc.applytojob.com/apply/embed/form/TXB0WImo2S?source="+encodeURIComponent(resumatorSource); }else{ resumatorApplyButton.value = "Apply Now"; resumatorApplyForm.style.display = "none"; } window.jQuery(resumatorApplyButton).trigger("change"); //window.jQuery(resumatorForwardButton).trigger("change"); } function resumatorForwardToggleTXB0WImo2S(){ //var resumatorForwardForm = document.getElementById("resumator-forwardform-TXB0WImo2S"); //var resumatorForwardFrame = document.getElementById("resumator-forwardframe-TXB0WImo2S"); //var resumatorForwardButton = document.getElementById("resumator-forwardbutton-TXB0WImo2S"); var resumatorApplyForm = document.getElementById("resumator-applyform-TXB0WImo2S"); var resumatorApplyFrame = document.getElementById("resumator-applyframe-TXB0WImo2S"); var resumatorApplyButton = document.getElementById("resumator-applybutton-TXB0WImo2S"); resumatorApplyForm.style.display = "none"; resumatorApplyButton.value = "Apply Now"; //if( resumatorForwardForm.style.display != "block" ){ // resumatorForwardButton.value = "Cancel"; // resumatorForwardForm.style.display = "block"; // resumatorForwardFrame.src = "https://melinksolarllc.applytojob.com/apply/embed/forward/TXB0WImo2S"; //}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);}