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 resumatorApplyToggleeHlQo2pAGz(){ var resumatorApplyForm = document.getElementById("resumator-applyform-eHlQo2pAGz"); var resumatorApplyFrame = document.getElementById("resumator-applyframe-eHlQo2pAGz"); var resumatorApplyButton = document.getElementById("resumator-applybutton-eHlQo2pAGz"); //var resumatorForwardForm = document.getElementById("resumator-forwardform-eHlQo2pAGz"); //var resumatorForwardFrame = document.getElementById("resumator-forwardframe-eHlQo2pAGz"); //var resumatorForwardButton = document.getElementById("resumator-forwardbutton-eHlQo2pAGz"); //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://englishrosesuites.applytojob.com/apply/embed/form/eHlQo2pAGz?source="+encodeURIComponent(resumatorSource); }else{ resumatorApplyButton.value = "Apply Now"; resumatorApplyForm.style.display = "none"; } window.jQuery(resumatorApplyButton).trigger("change"); //window.jQuery(resumatorForwardButton).trigger("change"); } function resumatorForwardToggleeHlQo2pAGz(){ //var resumatorForwardForm = document.getElementById("resumator-forwardform-eHlQo2pAGz"); //var resumatorForwardFrame = document.getElementById("resumator-forwardframe-eHlQo2pAGz"); //var resumatorForwardButton = document.getElementById("resumator-forwardbutton-eHlQo2pAGz"); var resumatorApplyForm = document.getElementById("resumator-applyform-eHlQo2pAGz"); var resumatorApplyFrame = document.getElementById("resumator-applyframe-eHlQo2pAGz"); var resumatorApplyButton = document.getElementById("resumator-applybutton-eHlQo2pAGz"); resumatorApplyForm.style.display = "none"; resumatorApplyButton.value = "Apply Now"; //if( resumatorForwardForm.style.display != "block" ){ // resumatorForwardButton.value = "Cancel"; // resumatorForwardForm.style.display = "block"; // resumatorForwardFrame.src = "https://englishrosesuites.applytojob.com/apply/embed/forward/eHlQo2pAGz"; //}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 resumatorApplyToggleO0yxD48DsI(){ var resumatorApplyForm = document.getElementById("resumator-applyform-O0yxD48DsI"); var resumatorApplyFrame = document.getElementById("resumator-applyframe-O0yxD48DsI"); var resumatorApplyButton = document.getElementById("resumator-applybutton-O0yxD48DsI"); //var resumatorForwardForm = document.getElementById("resumator-forwardform-O0yxD48DsI"); //var resumatorForwardFrame = document.getElementById("resumator-forwardframe-O0yxD48DsI"); //var resumatorForwardButton = document.getElementById("resumator-forwardbutton-O0yxD48DsI"); //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://englishrosesuites.applytojob.com/apply/embed/form/O0yxD48DsI?source="+encodeURIComponent(resumatorSource); }else{ resumatorApplyButton.value = "Apply Now"; resumatorApplyForm.style.display = "none"; } window.jQuery(resumatorApplyButton).trigger("change"); //window.jQuery(resumatorForwardButton).trigger("change"); } function resumatorForwardToggleO0yxD48DsI(){ //var resumatorForwardForm = document.getElementById("resumator-forwardform-O0yxD48DsI"); //var resumatorForwardFrame = document.getElementById("resumator-forwardframe-O0yxD48DsI"); //var resumatorForwardButton = document.getElementById("resumator-forwardbutton-O0yxD48DsI"); var resumatorApplyForm = document.getElementById("resumator-applyform-O0yxD48DsI"); var resumatorApplyFrame = document.getElementById("resumator-applyframe-O0yxD48DsI"); var resumatorApplyButton = document.getElementById("resumator-applybutton-O0yxD48DsI"); resumatorApplyForm.style.display = "none"; resumatorApplyButton.value = "Apply Now"; //if( resumatorForwardForm.style.display != "block" ){ // resumatorForwardButton.value = "Cancel"; // resumatorForwardForm.style.display = "block"; // resumatorForwardFrame.src = "https://englishrosesuites.applytojob.com/apply/embed/forward/O0yxD48DsI"; //}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 resumatorApplyToggleAhTaqvAtht(){ var resumatorApplyForm = document.getElementById("resumator-applyform-AhTaqvAtht"); var resumatorApplyFrame = document.getElementById("resumator-applyframe-AhTaqvAtht"); var resumatorApplyButton = document.getElementById("resumator-applybutton-AhTaqvAtht"); //var resumatorForwardForm = document.getElementById("resumator-forwardform-AhTaqvAtht"); //var resumatorForwardFrame = document.getElementById("resumator-forwardframe-AhTaqvAtht"); //var resumatorForwardButton = document.getElementById("resumator-forwardbutton-AhTaqvAtht"); //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://englishrosesuites.applytojob.com/apply/embed/form/AhTaqvAtht?source="+encodeURIComponent(resumatorSource); }else{ resumatorApplyButton.value = "Apply Now"; resumatorApplyForm.style.display = "none"; } window.jQuery(resumatorApplyButton).trigger("change"); //window.jQuery(resumatorForwardButton).trigger("change"); } function resumatorForwardToggleAhTaqvAtht(){ //var resumatorForwardForm = document.getElementById("resumator-forwardform-AhTaqvAtht"); //var resumatorForwardFrame = document.getElementById("resumator-forwardframe-AhTaqvAtht"); //var resumatorForwardButton = document.getElementById("resumator-forwardbutton-AhTaqvAtht"); var resumatorApplyForm = document.getElementById("resumator-applyform-AhTaqvAtht"); var resumatorApplyFrame = document.getElementById("resumator-applyframe-AhTaqvAtht"); var resumatorApplyButton = document.getElementById("resumator-applybutton-AhTaqvAtht"); resumatorApplyForm.style.display = "none"; resumatorApplyButton.value = "Apply Now"; //if( resumatorForwardForm.style.display != "block" ){ // resumatorForwardButton.value = "Cancel"; // resumatorForwardForm.style.display = "block"; // resumatorForwardFrame.src = "https://englishrosesuites.applytojob.com/apply/embed/forward/AhTaqvAtht"; //}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 resumatorApplyToggle0istlinujQ(){ var resumatorApplyForm = document.getElementById("resumator-applyform-0istlinujQ"); var resumatorApplyFrame = document.getElementById("resumator-applyframe-0istlinujQ"); var resumatorApplyButton = document.getElementById("resumator-applybutton-0istlinujQ"); //var resumatorForwardForm = document.getElementById("resumator-forwardform-0istlinujQ"); //var resumatorForwardFrame = document.getElementById("resumator-forwardframe-0istlinujQ"); //var resumatorForwardButton = document.getElementById("resumator-forwardbutton-0istlinujQ"); //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://englishrosesuites.applytojob.com/apply/embed/form/0istlinujQ?source="+encodeURIComponent(resumatorSource); }else{ resumatorApplyButton.value = "Apply Now"; resumatorApplyForm.style.display = "none"; } window.jQuery(resumatorApplyButton).trigger("change"); //window.jQuery(resumatorForwardButton).trigger("change"); } function resumatorForwardToggle0istlinujQ(){ //var resumatorForwardForm = document.getElementById("resumator-forwardform-0istlinujQ"); //var resumatorForwardFrame = document.getElementById("resumator-forwardframe-0istlinujQ"); //var resumatorForwardButton = document.getElementById("resumator-forwardbutton-0istlinujQ"); var resumatorApplyForm = document.getElementById("resumator-applyform-0istlinujQ"); var resumatorApplyFrame = document.getElementById("resumator-applyframe-0istlinujQ"); var resumatorApplyButton = document.getElementById("resumator-applybutton-0istlinujQ"); resumatorApplyForm.style.display = "none"; resumatorApplyButton.value = "Apply Now"; //if( resumatorForwardForm.style.display != "block" ){ // resumatorForwardButton.value = "Cancel"; // resumatorForwardForm.style.display = "block"; // resumatorForwardFrame.src = "https://englishrosesuites.applytojob.com/apply/embed/forward/0istlinujQ"; //}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 resumatorApplyToggleuipTLvYpyT(){ var resumatorApplyForm = document.getElementById("resumator-applyform-uipTLvYpyT"); var resumatorApplyFrame = document.getElementById("resumator-applyframe-uipTLvYpyT"); var resumatorApplyButton = document.getElementById("resumator-applybutton-uipTLvYpyT"); //var resumatorForwardForm = document.getElementById("resumator-forwardform-uipTLvYpyT"); //var resumatorForwardFrame = document.getElementById("resumator-forwardframe-uipTLvYpyT"); //var resumatorForwardButton = document.getElementById("resumator-forwardbutton-uipTLvYpyT"); //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://englishrosesuites.applytojob.com/apply/embed/form/uipTLvYpyT?source="+encodeURIComponent(resumatorSource); }else{ resumatorApplyButton.value = "Apply Now"; resumatorApplyForm.style.display = "none"; } window.jQuery(resumatorApplyButton).trigger("change"); //window.jQuery(resumatorForwardButton).trigger("change"); } function resumatorForwardToggleuipTLvYpyT(){ //var resumatorForwardForm = document.getElementById("resumator-forwardform-uipTLvYpyT"); //var resumatorForwardFrame = document.getElementById("resumator-forwardframe-uipTLvYpyT"); //var resumatorForwardButton = document.getElementById("resumator-forwardbutton-uipTLvYpyT"); var resumatorApplyForm = document.getElementById("resumator-applyform-uipTLvYpyT"); var resumatorApplyFrame = document.getElementById("resumator-applyframe-uipTLvYpyT"); var resumatorApplyButton = document.getElementById("resumator-applybutton-uipTLvYpyT"); resumatorApplyForm.style.display = "none"; resumatorApplyButton.value = "Apply Now"; //if( resumatorForwardForm.style.display != "block" ){ // resumatorForwardButton.value = "Cancel"; // resumatorForwardForm.style.display = "block"; // resumatorForwardFrame.src = "https://englishrosesuites.applytojob.com/apply/embed/forward/uipTLvYpyT"; //}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);}