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 resumatorApplyTogglewHaOaK7KSB(){ var resumatorApplyForm = document.getElementById("resumator-applyform-wHaOaK7KSB"); var resumatorApplyFrame = document.getElementById("resumator-applyframe-wHaOaK7KSB"); var resumatorApplyButton = document.getElementById("resumator-applybutton-wHaOaK7KSB"); //var resumatorForwardForm = document.getElementById("resumator-forwardform-wHaOaK7KSB"); //var resumatorForwardFrame = document.getElementById("resumator-forwardframe-wHaOaK7KSB"); //var resumatorForwardButton = document.getElementById("resumator-forwardbutton-wHaOaK7KSB"); //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://cambriahotellakeplacid.applytojob.com/apply/embed/form/wHaOaK7KSB?source="+encodeURIComponent(resumatorSource); }else{ resumatorApplyButton.value = "Apply Now"; resumatorApplyForm.style.display = "none"; } window.jQuery(resumatorApplyButton).trigger("change"); //window.jQuery(resumatorForwardButton).trigger("change"); } function resumatorForwardTogglewHaOaK7KSB(){ //var resumatorForwardForm = document.getElementById("resumator-forwardform-wHaOaK7KSB"); //var resumatorForwardFrame = document.getElementById("resumator-forwardframe-wHaOaK7KSB"); //var resumatorForwardButton = document.getElementById("resumator-forwardbutton-wHaOaK7KSB"); var resumatorApplyForm = document.getElementById("resumator-applyform-wHaOaK7KSB"); var resumatorApplyFrame = document.getElementById("resumator-applyframe-wHaOaK7KSB"); var resumatorApplyButton = document.getElementById("resumator-applybutton-wHaOaK7KSB"); resumatorApplyForm.style.display = "none"; resumatorApplyButton.value = "Apply Now"; //if( resumatorForwardForm.style.display != "block" ){ // resumatorForwardButton.value = "Cancel"; // resumatorForwardForm.style.display = "block"; // resumatorForwardFrame.src = "https://cambriahotellakeplacid.applytojob.com/apply/embed/forward/wHaOaK7KSB"; //}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 resumatorApplyToggleq5S9eH0bT1(){ var resumatorApplyForm = document.getElementById("resumator-applyform-q5S9eH0bT1"); var resumatorApplyFrame = document.getElementById("resumator-applyframe-q5S9eH0bT1"); var resumatorApplyButton = document.getElementById("resumator-applybutton-q5S9eH0bT1"); //var resumatorForwardForm = document.getElementById("resumator-forwardform-q5S9eH0bT1"); //var resumatorForwardFrame = document.getElementById("resumator-forwardframe-q5S9eH0bT1"); //var resumatorForwardButton = document.getElementById("resumator-forwardbutton-q5S9eH0bT1"); //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://cambriahotellakeplacid.applytojob.com/apply/embed/form/q5S9eH0bT1?source="+encodeURIComponent(resumatorSource); }else{ resumatorApplyButton.value = "Apply Now"; resumatorApplyForm.style.display = "none"; } window.jQuery(resumatorApplyButton).trigger("change"); //window.jQuery(resumatorForwardButton).trigger("change"); } function resumatorForwardToggleq5S9eH0bT1(){ //var resumatorForwardForm = document.getElementById("resumator-forwardform-q5S9eH0bT1"); //var resumatorForwardFrame = document.getElementById("resumator-forwardframe-q5S9eH0bT1"); //var resumatorForwardButton = document.getElementById("resumator-forwardbutton-q5S9eH0bT1"); var resumatorApplyForm = document.getElementById("resumator-applyform-q5S9eH0bT1"); var resumatorApplyFrame = document.getElementById("resumator-applyframe-q5S9eH0bT1"); var resumatorApplyButton = document.getElementById("resumator-applybutton-q5S9eH0bT1"); resumatorApplyForm.style.display = "none"; resumatorApplyButton.value = "Apply Now"; //if( resumatorForwardForm.style.display != "block" ){ // resumatorForwardButton.value = "Cancel"; // resumatorForwardForm.style.display = "block"; // resumatorForwardFrame.src = "https://cambriahotellakeplacid.applytojob.com/apply/embed/forward/q5S9eH0bT1"; //}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 resumatorApplyTogglerVfTPbAj3B(){ var resumatorApplyForm = document.getElementById("resumator-applyform-rVfTPbAj3B"); var resumatorApplyFrame = document.getElementById("resumator-applyframe-rVfTPbAj3B"); var resumatorApplyButton = document.getElementById("resumator-applybutton-rVfTPbAj3B"); //var resumatorForwardForm = document.getElementById("resumator-forwardform-rVfTPbAj3B"); //var resumatorForwardFrame = document.getElementById("resumator-forwardframe-rVfTPbAj3B"); //var resumatorForwardButton = document.getElementById("resumator-forwardbutton-rVfTPbAj3B"); //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://cambriahotellakeplacid.applytojob.com/apply/embed/form/rVfTPbAj3B?source="+encodeURIComponent(resumatorSource); }else{ resumatorApplyButton.value = "Apply Now"; resumatorApplyForm.style.display = "none"; } window.jQuery(resumatorApplyButton).trigger("change"); //window.jQuery(resumatorForwardButton).trigger("change"); } function resumatorForwardTogglerVfTPbAj3B(){ //var resumatorForwardForm = document.getElementById("resumator-forwardform-rVfTPbAj3B"); //var resumatorForwardFrame = document.getElementById("resumator-forwardframe-rVfTPbAj3B"); //var resumatorForwardButton = document.getElementById("resumator-forwardbutton-rVfTPbAj3B"); var resumatorApplyForm = document.getElementById("resumator-applyform-rVfTPbAj3B"); var resumatorApplyFrame = document.getElementById("resumator-applyframe-rVfTPbAj3B"); var resumatorApplyButton = document.getElementById("resumator-applybutton-rVfTPbAj3B"); resumatorApplyForm.style.display = "none"; resumatorApplyButton.value = "Apply Now"; //if( resumatorForwardForm.style.display != "block" ){ // resumatorForwardButton.value = "Cancel"; // resumatorForwardForm.style.display = "block"; // resumatorForwardFrame.src = "https://cambriahotellakeplacid.applytojob.com/apply/embed/forward/rVfTPbAj3B"; //}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 resumatorApplyTogglemQ14AcDEBC(){ var resumatorApplyForm = document.getElementById("resumator-applyform-mQ14AcDEBC"); var resumatorApplyFrame = document.getElementById("resumator-applyframe-mQ14AcDEBC"); var resumatorApplyButton = document.getElementById("resumator-applybutton-mQ14AcDEBC"); //var resumatorForwardForm = document.getElementById("resumator-forwardform-mQ14AcDEBC"); //var resumatorForwardFrame = document.getElementById("resumator-forwardframe-mQ14AcDEBC"); //var resumatorForwardButton = document.getElementById("resumator-forwardbutton-mQ14AcDEBC"); //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://cambriahotellakeplacid.applytojob.com/apply/embed/form/mQ14AcDEBC?source="+encodeURIComponent(resumatorSource); }else{ resumatorApplyButton.value = "Apply Now"; resumatorApplyForm.style.display = "none"; } window.jQuery(resumatorApplyButton).trigger("change"); //window.jQuery(resumatorForwardButton).trigger("change"); } function resumatorForwardTogglemQ14AcDEBC(){ //var resumatorForwardForm = document.getElementById("resumator-forwardform-mQ14AcDEBC"); //var resumatorForwardFrame = document.getElementById("resumator-forwardframe-mQ14AcDEBC"); //var resumatorForwardButton = document.getElementById("resumator-forwardbutton-mQ14AcDEBC"); var resumatorApplyForm = document.getElementById("resumator-applyform-mQ14AcDEBC"); var resumatorApplyFrame = document.getElementById("resumator-applyframe-mQ14AcDEBC"); var resumatorApplyButton = document.getElementById("resumator-applybutton-mQ14AcDEBC"); resumatorApplyForm.style.display = "none"; resumatorApplyButton.value = "Apply Now"; //if( resumatorForwardForm.style.display != "block" ){ // resumatorForwardButton.value = "Cancel"; // resumatorForwardForm.style.display = "block"; // resumatorForwardFrame.src = "https://cambriahotellakeplacid.applytojob.com/apply/embed/forward/mQ14AcDEBC"; //}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);}