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 resumatorApplyToggleddhfhoVI3v(){ var resumatorApplyForm = document.getElementById("resumator-applyform-ddhfhoVI3v"); var resumatorApplyFrame = document.getElementById("resumator-applyframe-ddhfhoVI3v"); var resumatorApplyButton = document.getElementById("resumator-applybutton-ddhfhoVI3v"); //var resumatorForwardForm = document.getElementById("resumator-forwardform-ddhfhoVI3v"); //var resumatorForwardFrame = document.getElementById("resumator-forwardframe-ddhfhoVI3v"); //var resumatorForwardButton = document.getElementById("resumator-forwardbutton-ddhfhoVI3v"); //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://Smartergridsolutions.applytojob.com/apply/embed/form/ddhfhoVI3v?source="+encodeURIComponent(resumatorSource); }else{ resumatorApplyButton.value = "Apply Now"; resumatorApplyForm.style.display = "none"; } window.jQuery(resumatorApplyButton).trigger("change"); //window.jQuery(resumatorForwardButton).trigger("change"); } function resumatorForwardToggleddhfhoVI3v(){ //var resumatorForwardForm = document.getElementById("resumator-forwardform-ddhfhoVI3v"); //var resumatorForwardFrame = document.getElementById("resumator-forwardframe-ddhfhoVI3v"); //var resumatorForwardButton = document.getElementById("resumator-forwardbutton-ddhfhoVI3v"); var resumatorApplyForm = document.getElementById("resumator-applyform-ddhfhoVI3v"); var resumatorApplyFrame = document.getElementById("resumator-applyframe-ddhfhoVI3v"); var resumatorApplyButton = document.getElementById("resumator-applybutton-ddhfhoVI3v"); resumatorApplyForm.style.display = "none"; resumatorApplyButton.value = "Apply Now"; //if( resumatorForwardForm.style.display != "block" ){ // resumatorForwardButton.value = "Cancel"; // resumatorForwardForm.style.display = "block"; // resumatorForwardFrame.src = "https://Smartergridsolutions.applytojob.com/apply/embed/forward/ddhfhoVI3v"; //}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 resumatorApplyToggleHizRZKxPJC(){ var resumatorApplyForm = document.getElementById("resumator-applyform-HizRZKxPJC"); var resumatorApplyFrame = document.getElementById("resumator-applyframe-HizRZKxPJC"); var resumatorApplyButton = document.getElementById("resumator-applybutton-HizRZKxPJC"); //var resumatorForwardForm = document.getElementById("resumator-forwardform-HizRZKxPJC"); //var resumatorForwardFrame = document.getElementById("resumator-forwardframe-HizRZKxPJC"); //var resumatorForwardButton = document.getElementById("resumator-forwardbutton-HizRZKxPJC"); //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://Smartergridsolutions.applytojob.com/apply/embed/form/HizRZKxPJC?source="+encodeURIComponent(resumatorSource); }else{ resumatorApplyButton.value = "Apply Now"; resumatorApplyForm.style.display = "none"; } window.jQuery(resumatorApplyButton).trigger("change"); //window.jQuery(resumatorForwardButton).trigger("change"); } function resumatorForwardToggleHizRZKxPJC(){ //var resumatorForwardForm = document.getElementById("resumator-forwardform-HizRZKxPJC"); //var resumatorForwardFrame = document.getElementById("resumator-forwardframe-HizRZKxPJC"); //var resumatorForwardButton = document.getElementById("resumator-forwardbutton-HizRZKxPJC"); var resumatorApplyForm = document.getElementById("resumator-applyform-HizRZKxPJC"); var resumatorApplyFrame = document.getElementById("resumator-applyframe-HizRZKxPJC"); var resumatorApplyButton = document.getElementById("resumator-applybutton-HizRZKxPJC"); resumatorApplyForm.style.display = "none"; resumatorApplyButton.value = "Apply Now"; //if( resumatorForwardForm.style.display != "block" ){ // resumatorForwardButton.value = "Cancel"; // resumatorForwardForm.style.display = "block"; // resumatorForwardFrame.src = "https://Smartergridsolutions.applytojob.com/apply/embed/forward/HizRZKxPJC"; //}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 resumatorApplyToggle0uEmgrPBb9(){ var resumatorApplyForm = document.getElementById("resumator-applyform-0uEmgrPBb9"); var resumatorApplyFrame = document.getElementById("resumator-applyframe-0uEmgrPBb9"); var resumatorApplyButton = document.getElementById("resumator-applybutton-0uEmgrPBb9"); //var resumatorForwardForm = document.getElementById("resumator-forwardform-0uEmgrPBb9"); //var resumatorForwardFrame = document.getElementById("resumator-forwardframe-0uEmgrPBb9"); //var resumatorForwardButton = document.getElementById("resumator-forwardbutton-0uEmgrPBb9"); //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://Smartergridsolutions.applytojob.com/apply/embed/form/0uEmgrPBb9?source="+encodeURIComponent(resumatorSource); }else{ resumatorApplyButton.value = "Apply Now"; resumatorApplyForm.style.display = "none"; } window.jQuery(resumatorApplyButton).trigger("change"); //window.jQuery(resumatorForwardButton).trigger("change"); } function resumatorForwardToggle0uEmgrPBb9(){ //var resumatorForwardForm = document.getElementById("resumator-forwardform-0uEmgrPBb9"); //var resumatorForwardFrame = document.getElementById("resumator-forwardframe-0uEmgrPBb9"); //var resumatorForwardButton = document.getElementById("resumator-forwardbutton-0uEmgrPBb9"); var resumatorApplyForm = document.getElementById("resumator-applyform-0uEmgrPBb9"); var resumatorApplyFrame = document.getElementById("resumator-applyframe-0uEmgrPBb9"); var resumatorApplyButton = document.getElementById("resumator-applybutton-0uEmgrPBb9"); resumatorApplyForm.style.display = "none"; resumatorApplyButton.value = "Apply Now"; //if( resumatorForwardForm.style.display != "block" ){ // resumatorForwardButton.value = "Cancel"; // resumatorForwardForm.style.display = "block"; // resumatorForwardFrame.src = "https://Smartergridsolutions.applytojob.com/apply/embed/forward/0uEmgrPBb9"; //}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);}