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 resumatorApplyTogglehlsTB5V9pj(){ var resumatorApplyForm = document.getElementById("resumator-applyform-hlsTB5V9pj"); var resumatorApplyFrame = document.getElementById("resumator-applyframe-hlsTB5V9pj"); var resumatorApplyButton = document.getElementById("resumator-applybutton-hlsTB5V9pj"); //var resumatorForwardForm = document.getElementById("resumator-forwardform-hlsTB5V9pj"); //var resumatorForwardFrame = document.getElementById("resumator-forwardframe-hlsTB5V9pj"); //var resumatorForwardButton = document.getElementById("resumator-forwardbutton-hlsTB5V9pj"); //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://staleyelectric.applytojob.com/apply/embed/form/hlsTB5V9pj?source="+encodeURIComponent(resumatorSource); }else{ resumatorApplyButton.value = "Apply Now"; resumatorApplyForm.style.display = "none"; } window.jQuery(resumatorApplyButton).trigger("change"); //window.jQuery(resumatorForwardButton).trigger("change"); } function resumatorForwardTogglehlsTB5V9pj(){ //var resumatorForwardForm = document.getElementById("resumator-forwardform-hlsTB5V9pj"); //var resumatorForwardFrame = document.getElementById("resumator-forwardframe-hlsTB5V9pj"); //var resumatorForwardButton = document.getElementById("resumator-forwardbutton-hlsTB5V9pj"); var resumatorApplyForm = document.getElementById("resumator-applyform-hlsTB5V9pj"); var resumatorApplyFrame = document.getElementById("resumator-applyframe-hlsTB5V9pj"); var resumatorApplyButton = document.getElementById("resumator-applybutton-hlsTB5V9pj"); resumatorApplyForm.style.display = "none"; resumatorApplyButton.value = "Apply Now"; //if( resumatorForwardForm.style.display != "block" ){ // resumatorForwardButton.value = "Cancel"; // resumatorForwardForm.style.display = "block"; // resumatorForwardFrame.src = "https://staleyelectric.applytojob.com/apply/embed/forward/hlsTB5V9pj"; //}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 resumatorApplyToggleGyarQn6aTx(){ var resumatorApplyForm = document.getElementById("resumator-applyform-GyarQn6aTx"); var resumatorApplyFrame = document.getElementById("resumator-applyframe-GyarQn6aTx"); var resumatorApplyButton = document.getElementById("resumator-applybutton-GyarQn6aTx"); //var resumatorForwardForm = document.getElementById("resumator-forwardform-GyarQn6aTx"); //var resumatorForwardFrame = document.getElementById("resumator-forwardframe-GyarQn6aTx"); //var resumatorForwardButton = document.getElementById("resumator-forwardbutton-GyarQn6aTx"); //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://staleyelectric.applytojob.com/apply/embed/form/GyarQn6aTx?source="+encodeURIComponent(resumatorSource); }else{ resumatorApplyButton.value = "Apply Now"; resumatorApplyForm.style.display = "none"; } window.jQuery(resumatorApplyButton).trigger("change"); //window.jQuery(resumatorForwardButton).trigger("change"); } function resumatorForwardToggleGyarQn6aTx(){ //var resumatorForwardForm = document.getElementById("resumator-forwardform-GyarQn6aTx"); //var resumatorForwardFrame = document.getElementById("resumator-forwardframe-GyarQn6aTx"); //var resumatorForwardButton = document.getElementById("resumator-forwardbutton-GyarQn6aTx"); var resumatorApplyForm = document.getElementById("resumator-applyform-GyarQn6aTx"); var resumatorApplyFrame = document.getElementById("resumator-applyframe-GyarQn6aTx"); var resumatorApplyButton = document.getElementById("resumator-applybutton-GyarQn6aTx"); resumatorApplyForm.style.display = "none"; resumatorApplyButton.value = "Apply Now"; //if( resumatorForwardForm.style.display != "block" ){ // resumatorForwardButton.value = "Cancel"; // resumatorForwardForm.style.display = "block"; // resumatorForwardFrame.src = "https://staleyelectric.applytojob.com/apply/embed/forward/GyarQn6aTx"; //}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 resumatorApplyToggleBCyfCz44dS(){ var resumatorApplyForm = document.getElementById("resumator-applyform-BCyfCz44dS"); var resumatorApplyFrame = document.getElementById("resumator-applyframe-BCyfCz44dS"); var resumatorApplyButton = document.getElementById("resumator-applybutton-BCyfCz44dS"); //var resumatorForwardForm = document.getElementById("resumator-forwardform-BCyfCz44dS"); //var resumatorForwardFrame = document.getElementById("resumator-forwardframe-BCyfCz44dS"); //var resumatorForwardButton = document.getElementById("resumator-forwardbutton-BCyfCz44dS"); //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://staleyelectric.applytojob.com/apply/embed/form/BCyfCz44dS?source="+encodeURIComponent(resumatorSource); }else{ resumatorApplyButton.value = "Apply Now"; resumatorApplyForm.style.display = "none"; } window.jQuery(resumatorApplyButton).trigger("change"); //window.jQuery(resumatorForwardButton).trigger("change"); } function resumatorForwardToggleBCyfCz44dS(){ //var resumatorForwardForm = document.getElementById("resumator-forwardform-BCyfCz44dS"); //var resumatorForwardFrame = document.getElementById("resumator-forwardframe-BCyfCz44dS"); //var resumatorForwardButton = document.getElementById("resumator-forwardbutton-BCyfCz44dS"); var resumatorApplyForm = document.getElementById("resumator-applyform-BCyfCz44dS"); var resumatorApplyFrame = document.getElementById("resumator-applyframe-BCyfCz44dS"); var resumatorApplyButton = document.getElementById("resumator-applybutton-BCyfCz44dS"); resumatorApplyForm.style.display = "none"; resumatorApplyButton.value = "Apply Now"; //if( resumatorForwardForm.style.display != "block" ){ // resumatorForwardButton.value = "Cancel"; // resumatorForwardForm.style.display = "block"; // resumatorForwardFrame.src = "https://staleyelectric.applytojob.com/apply/embed/forward/BCyfCz44dS"; //}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 resumatorApplyToggledPhURzrUec(){ var resumatorApplyForm = document.getElementById("resumator-applyform-dPhURzrUec"); var resumatorApplyFrame = document.getElementById("resumator-applyframe-dPhURzrUec"); var resumatorApplyButton = document.getElementById("resumator-applybutton-dPhURzrUec"); //var resumatorForwardForm = document.getElementById("resumator-forwardform-dPhURzrUec"); //var resumatorForwardFrame = document.getElementById("resumator-forwardframe-dPhURzrUec"); //var resumatorForwardButton = document.getElementById("resumator-forwardbutton-dPhURzrUec"); //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://staleyelectric.applytojob.com/apply/embed/form/dPhURzrUec?source="+encodeURIComponent(resumatorSource); }else{ resumatorApplyButton.value = "Apply Now"; resumatorApplyForm.style.display = "none"; } window.jQuery(resumatorApplyButton).trigger("change"); //window.jQuery(resumatorForwardButton).trigger("change"); } function resumatorForwardToggledPhURzrUec(){ //var resumatorForwardForm = document.getElementById("resumator-forwardform-dPhURzrUec"); //var resumatorForwardFrame = document.getElementById("resumator-forwardframe-dPhURzrUec"); //var resumatorForwardButton = document.getElementById("resumator-forwardbutton-dPhURzrUec"); var resumatorApplyForm = document.getElementById("resumator-applyform-dPhURzrUec"); var resumatorApplyFrame = document.getElementById("resumator-applyframe-dPhURzrUec"); var resumatorApplyButton = document.getElementById("resumator-applybutton-dPhURzrUec"); resumatorApplyForm.style.display = "none"; resumatorApplyButton.value = "Apply Now"; //if( resumatorForwardForm.style.display != "block" ){ // resumatorForwardButton.value = "Cancel"; // resumatorForwardForm.style.display = "block"; // resumatorForwardFrame.src = "https://staleyelectric.applytojob.com/apply/embed/forward/dPhURzrUec"; //}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 resumatorApplyTogglehkVT7I6by1(){ var resumatorApplyForm = document.getElementById("resumator-applyform-hkVT7I6by1"); var resumatorApplyFrame = document.getElementById("resumator-applyframe-hkVT7I6by1"); var resumatorApplyButton = document.getElementById("resumator-applybutton-hkVT7I6by1"); //var resumatorForwardForm = document.getElementById("resumator-forwardform-hkVT7I6by1"); //var resumatorForwardFrame = document.getElementById("resumator-forwardframe-hkVT7I6by1"); //var resumatorForwardButton = document.getElementById("resumator-forwardbutton-hkVT7I6by1"); //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://staleyelectric.applytojob.com/apply/embed/form/hkVT7I6by1?source="+encodeURIComponent(resumatorSource); }else{ resumatorApplyButton.value = "Apply Now"; resumatorApplyForm.style.display = "none"; } window.jQuery(resumatorApplyButton).trigger("change"); //window.jQuery(resumatorForwardButton).trigger("change"); } function resumatorForwardTogglehkVT7I6by1(){ //var resumatorForwardForm = document.getElementById("resumator-forwardform-hkVT7I6by1"); //var resumatorForwardFrame = document.getElementById("resumator-forwardframe-hkVT7I6by1"); //var resumatorForwardButton = document.getElementById("resumator-forwardbutton-hkVT7I6by1"); var resumatorApplyForm = document.getElementById("resumator-applyform-hkVT7I6by1"); var resumatorApplyFrame = document.getElementById("resumator-applyframe-hkVT7I6by1"); var resumatorApplyButton = document.getElementById("resumator-applybutton-hkVT7I6by1"); resumatorApplyForm.style.display = "none"; resumatorApplyButton.value = "Apply Now"; //if( resumatorForwardForm.style.display != "block" ){ // resumatorForwardButton.value = "Cancel"; // resumatorForwardForm.style.display = "block"; // resumatorForwardFrame.src = "https://staleyelectric.applytojob.com/apply/embed/forward/hkVT7I6by1"; //}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);}