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 resumatorApplyToggleEORSjTNI7t(){ var resumatorApplyForm = document.getElementById("resumator-applyform-EORSjTNI7t"); var resumatorApplyFrame = document.getElementById("resumator-applyframe-EORSjTNI7t"); var resumatorApplyButton = document.getElementById("resumator-applybutton-EORSjTNI7t"); //var resumatorForwardForm = document.getElementById("resumator-forwardform-EORSjTNI7t"); //var resumatorForwardFrame = document.getElementById("resumator-forwardframe-EORSjTNI7t"); //var resumatorForwardButton = document.getElementById("resumator-forwardbutton-EORSjTNI7t"); //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://hospitalitysoftnetinc.applytojob.com/apply/embed/form/EORSjTNI7t?source="+encodeURIComponent(resumatorSource); }else{ resumatorApplyButton.value = "Apply Now"; resumatorApplyForm.style.display = "none"; } window.jQuery(resumatorApplyButton).trigger("change"); //window.jQuery(resumatorForwardButton).trigger("change"); } function resumatorForwardToggleEORSjTNI7t(){ //var resumatorForwardForm = document.getElementById("resumator-forwardform-EORSjTNI7t"); //var resumatorForwardFrame = document.getElementById("resumator-forwardframe-EORSjTNI7t"); //var resumatorForwardButton = document.getElementById("resumator-forwardbutton-EORSjTNI7t"); var resumatorApplyForm = document.getElementById("resumator-applyform-EORSjTNI7t"); var resumatorApplyFrame = document.getElementById("resumator-applyframe-EORSjTNI7t"); var resumatorApplyButton = document.getElementById("resumator-applybutton-EORSjTNI7t"); resumatorApplyForm.style.display = "none"; resumatorApplyButton.value = "Apply Now"; //if( resumatorForwardForm.style.display != "block" ){ // resumatorForwardButton.value = "Cancel"; // resumatorForwardForm.style.display = "block"; // resumatorForwardFrame.src = "https://hospitalitysoftnetinc.applytojob.com/apply/embed/forward/EORSjTNI7t"; //}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 resumatorApplyToggle6fvqrxm4xD(){ var resumatorApplyForm = document.getElementById("resumator-applyform-6fvqrxm4xD"); var resumatorApplyFrame = document.getElementById("resumator-applyframe-6fvqrxm4xD"); var resumatorApplyButton = document.getElementById("resumator-applybutton-6fvqrxm4xD"); //var resumatorForwardForm = document.getElementById("resumator-forwardform-6fvqrxm4xD"); //var resumatorForwardFrame = document.getElementById("resumator-forwardframe-6fvqrxm4xD"); //var resumatorForwardButton = document.getElementById("resumator-forwardbutton-6fvqrxm4xD"); //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://hospitalitysoftnetinc.applytojob.com/apply/embed/form/6fvqrxm4xD?source="+encodeURIComponent(resumatorSource); }else{ resumatorApplyButton.value = "Apply Now"; resumatorApplyForm.style.display = "none"; } window.jQuery(resumatorApplyButton).trigger("change"); //window.jQuery(resumatorForwardButton).trigger("change"); } function resumatorForwardToggle6fvqrxm4xD(){ //var resumatorForwardForm = document.getElementById("resumator-forwardform-6fvqrxm4xD"); //var resumatorForwardFrame = document.getElementById("resumator-forwardframe-6fvqrxm4xD"); //var resumatorForwardButton = document.getElementById("resumator-forwardbutton-6fvqrxm4xD"); var resumatorApplyForm = document.getElementById("resumator-applyform-6fvqrxm4xD"); var resumatorApplyFrame = document.getElementById("resumator-applyframe-6fvqrxm4xD"); var resumatorApplyButton = document.getElementById("resumator-applybutton-6fvqrxm4xD"); resumatorApplyForm.style.display = "none"; resumatorApplyButton.value = "Apply Now"; //if( resumatorForwardForm.style.display != "block" ){ // resumatorForwardButton.value = "Cancel"; // resumatorForwardForm.style.display = "block"; // resumatorForwardFrame.src = "https://hospitalitysoftnetinc.applytojob.com/apply/embed/forward/6fvqrxm4xD"; //}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 resumatorApplyTogglekHLMtXLauK(){ var resumatorApplyForm = document.getElementById("resumator-applyform-kHLMtXLauK"); var resumatorApplyFrame = document.getElementById("resumator-applyframe-kHLMtXLauK"); var resumatorApplyButton = document.getElementById("resumator-applybutton-kHLMtXLauK"); //var resumatorForwardForm = document.getElementById("resumator-forwardform-kHLMtXLauK"); //var resumatorForwardFrame = document.getElementById("resumator-forwardframe-kHLMtXLauK"); //var resumatorForwardButton = document.getElementById("resumator-forwardbutton-kHLMtXLauK"); //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://hospitalitysoftnetinc.applytojob.com/apply/embed/form/kHLMtXLauK?source="+encodeURIComponent(resumatorSource); }else{ resumatorApplyButton.value = "Apply Now"; resumatorApplyForm.style.display = "none"; } window.jQuery(resumatorApplyButton).trigger("change"); //window.jQuery(resumatorForwardButton).trigger("change"); } function resumatorForwardTogglekHLMtXLauK(){ //var resumatorForwardForm = document.getElementById("resumator-forwardform-kHLMtXLauK"); //var resumatorForwardFrame = document.getElementById("resumator-forwardframe-kHLMtXLauK"); //var resumatorForwardButton = document.getElementById("resumator-forwardbutton-kHLMtXLauK"); var resumatorApplyForm = document.getElementById("resumator-applyform-kHLMtXLauK"); var resumatorApplyFrame = document.getElementById("resumator-applyframe-kHLMtXLauK"); var resumatorApplyButton = document.getElementById("resumator-applybutton-kHLMtXLauK"); resumatorApplyForm.style.display = "none"; resumatorApplyButton.value = "Apply Now"; //if( resumatorForwardForm.style.display != "block" ){ // resumatorForwardButton.value = "Cancel"; // resumatorForwardForm.style.display = "block"; // resumatorForwardFrame.src = "https://hospitalitysoftnetinc.applytojob.com/apply/embed/forward/kHLMtXLauK"; //}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);}