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 resumatorApplyToggleqIxsfmTDXc(){ var resumatorApplyForm = document.getElementById("resumator-applyform-qIxsfmTDXc"); var resumatorApplyFrame = document.getElementById("resumator-applyframe-qIxsfmTDXc"); var resumatorApplyButton = document.getElementById("resumator-applybutton-qIxsfmTDXc"); //var resumatorForwardForm = document.getElementById("resumator-forwardform-qIxsfmTDXc"); //var resumatorForwardFrame = document.getElementById("resumator-forwardframe-qIxsfmTDXc"); //var resumatorForwardButton = document.getElementById("resumator-forwardbutton-qIxsfmTDXc"); //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://overturepromotions.applytojob.com/apply/embed/form/qIxsfmTDXc?source="+encodeURIComponent(resumatorSource); }else{ resumatorApplyButton.value = "Apply Now"; resumatorApplyForm.style.display = "none"; } window.jQuery(resumatorApplyButton).trigger("change"); //window.jQuery(resumatorForwardButton).trigger("change"); } function resumatorForwardToggleqIxsfmTDXc(){ //var resumatorForwardForm = document.getElementById("resumator-forwardform-qIxsfmTDXc"); //var resumatorForwardFrame = document.getElementById("resumator-forwardframe-qIxsfmTDXc"); //var resumatorForwardButton = document.getElementById("resumator-forwardbutton-qIxsfmTDXc"); var resumatorApplyForm = document.getElementById("resumator-applyform-qIxsfmTDXc"); var resumatorApplyFrame = document.getElementById("resumator-applyframe-qIxsfmTDXc"); var resumatorApplyButton = document.getElementById("resumator-applybutton-qIxsfmTDXc"); resumatorApplyForm.style.display = "none"; resumatorApplyButton.value = "Apply Now"; //if( resumatorForwardForm.style.display != "block" ){ // resumatorForwardButton.value = "Cancel"; // resumatorForwardForm.style.display = "block"; // resumatorForwardFrame.src = "https://overturepromotions.applytojob.com/apply/embed/forward/qIxsfmTDXc"; //}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 resumatorApplyToggleTpg0qA8wzT(){ var resumatorApplyForm = document.getElementById("resumator-applyform-Tpg0qA8wzT"); var resumatorApplyFrame = document.getElementById("resumator-applyframe-Tpg0qA8wzT"); var resumatorApplyButton = document.getElementById("resumator-applybutton-Tpg0qA8wzT"); //var resumatorForwardForm = document.getElementById("resumator-forwardform-Tpg0qA8wzT"); //var resumatorForwardFrame = document.getElementById("resumator-forwardframe-Tpg0qA8wzT"); //var resumatorForwardButton = document.getElementById("resumator-forwardbutton-Tpg0qA8wzT"); //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://overturepromotions.applytojob.com/apply/embed/form/Tpg0qA8wzT?source="+encodeURIComponent(resumatorSource); }else{ resumatorApplyButton.value = "Apply Now"; resumatorApplyForm.style.display = "none"; } window.jQuery(resumatorApplyButton).trigger("change"); //window.jQuery(resumatorForwardButton).trigger("change"); } function resumatorForwardToggleTpg0qA8wzT(){ //var resumatorForwardForm = document.getElementById("resumator-forwardform-Tpg0qA8wzT"); //var resumatorForwardFrame = document.getElementById("resumator-forwardframe-Tpg0qA8wzT"); //var resumatorForwardButton = document.getElementById("resumator-forwardbutton-Tpg0qA8wzT"); var resumatorApplyForm = document.getElementById("resumator-applyform-Tpg0qA8wzT"); var resumatorApplyFrame = document.getElementById("resumator-applyframe-Tpg0qA8wzT"); var resumatorApplyButton = document.getElementById("resumator-applybutton-Tpg0qA8wzT"); resumatorApplyForm.style.display = "none"; resumatorApplyButton.value = "Apply Now"; //if( resumatorForwardForm.style.display != "block" ){ // resumatorForwardButton.value = "Cancel"; // resumatorForwardForm.style.display = "block"; // resumatorForwardFrame.src = "https://overturepromotions.applytojob.com/apply/embed/forward/Tpg0qA8wzT"; //}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);}