Select Page


Groups: How does it work? Extended Stays

Staying for over 2 weeks? Let us negotiate a discounted long stay hotel rate for you!

Group Hotel Rates

Need 5+ rooms per night? Lock in a discounted group rate for your event.

Individual Discounts

We offer many exclusive discounts as well as special discounts for AAA members, Military / Government personnel and Seniors.

We have group hotel rates for any type of group!

Save up to 77% with our group hotel rates and it's completely free.

Find your perfect Meeting Venue. No more calling around.
Fast online quotes directly from venues.

Guaranteed Lowest Group Rates

HotelPlanner.com will meet or beat any price on your group's travel needs when reserving 10 rooms per night or more at a hotel of equal or greater quality Read more . Our group rates are price checked to ensure you are always getting the best group rates. Look for the green percentages to the right of the hotel's group rates for your group savings.

100,000 group friendly hotels worldwide

HotelPlanner is one of the largest seller of group hotel rooms in the world

Free rooms for group coordinators*

Team of negotiators

Worldwide Team of Planners

We employ the best group sales specialists from all around the world...

When you plan a group or long stay with us, we'll assign you to a local expert in your destination. They will be available to you for local advice on the hotels, the city and activities. Find cheap discounts all around the world in top cities like New York, Las Vegas, Miami and London.

Professional Sports

Official hotel provider for Washington Football Team, United Soccer League, LPGA & more...

HotelPlanner.com negotiates the hotel rates for some of the world's most premier teams and events.

It's literally the best of everything. I don't know why everybody doesn't use these guys...

Ben Burke (Cal Poly & Big West)

"HotelPlanner is like combining the typical online travel website with an old fashioned travel agent. I know that we'll always have the lowest rate, we get the hotel we want and we can use our rewards points. It's literally the best of everything. I don't know why everybody doesn't use these guys."

Government Travel

With many years of experience, HotelPlanner can provide custom solutions for government agencies to help save money...

HotelPlanner can provide custom solutions for government agencies to help save money on their meetings and individual hotel spend. Cutting edge approval and expense systems will help automate internal controls. We have a full suite of lodging negotiation and management services for transient, extended stay and corporate housing.

College Travel

500+ Universities use HotelPlanner to negotiate their group travel and recruiting stays

-Stay where you want and earn your points

-Get the lowest rates with free breakfast, Wi-Fi and upgrades

-Accumulate credits for future stays or cash rebates

The electronic process for securing rooms is extremely efficient and...

Office of State Purchasing and Travel, State of Louisiana

"Thank you for taking the State of Louisiana to the current age! The electronic process for securing rooms is extremely efficient and works seamlessly with our approval processes and procedures."

Book as a Group. Pay separately.

Free Rooms for Group Coordinators and Lowest Group Rates Guaranteed

HotelPlanner Enters Merger Agreement with Astrea Acquisition Corp. (NASDAQ: ASAX HOTP) Learn More n.max[0])n.max[0]=i;if(s>n.max[1])n.max[1]=s};this.setup=function(){this.el.css({overflow:"hidden",width:n.max[0],height:this.items.first().outerHeight()});this.ul.css({width:this.items.length*100+"%",position:"relative"});this.items.css("width",100/this.items.length+"%");if(this.opts.delay!==t){this.start();this.el.hover(this.stop,this.start)}this.opts.keys&&e(document).keydown(this.keys);this.opts.dots&&this.dots();if(this.opts.fluid){var r=function(){n.el.css("width",Math.min(Math.round(n.el.outerWidth()/n.el.parent().outerWidth()*100),100)+"%")};r();e(window).resize(r)}if(this.opts.arrows){this.el.parent().append('

â†â†’').find(".arrows span").click(function(){e.isFunction(n[this.className])&&n[this.className]()})}if(e.event.swipe){this.el.on("swipeleft",n.prev).on("swiperight",n.next)}};this.move=function(t,r){if(!this.items.eq(t).length)t=0;if(t<0)t=this.items.length-1;var i=this.items.eq(t);var s={height:i.outerHeight()};var o=r?5:this.opts.speed;if(!this.ul.is(":animated")){n.el.find(".dot:eq("+t+")").addClass("active").siblings().removeClass("active");this.el.animate(s,o)&&this.ul.animate(e.extend({left:"-"+t+"00%"},s),o,function(i){n.current=t;e.isFunction(n.opts.complete)&&!r&&n.opts.complete(n.el)})}};this.start=function(){n.interval=setInterval(function(){n.move(n.current+1)},n.opts.delay)};this.stop=function(){n.interval=clearInterval(n.interval);return n};this.keys=function(t){var r=t.which;var i={37:n.prev,39:n.next,27:n.stop};if(e.isFunction(i[r])){i[r]()}};this.next=function(){return n.stop().move(n.current+1)};this.prev=function(){return n.stop().move(n.current-1)};this.dots=function(){var t='

    ';e.each(this.items,function(e){t+='

  1. '+(e+1)+""});t+="";this.el.addClass("has-dots").append(t).find(".dot").click(function(){n.move(e(this).index())})}};e.fn.unslider=function(t){var r=this.length;return this.each(function(i){var s=e(this);var u=(new n).init(s,t);s.data("unslider"+(r>1?"-"+(i+1):""),u)})}})(window.jQuery,false)]]>

b;b++)if(b in this&&this[b]===a)return b;return-1};b=function(){function a(){}return a.prototype.extend=function(a,b){var c,d;for(c in b)d=b[c],null==a[c]&&(a[c]=d);return a},a.prototype.isMobile=function(a){return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(a)},a.prototype.addEvent=function(a,b,c){return null!=a.addEventListener?a.addEventListener(b,c,!1):null!=a.attachEvent?a.attachEvent("on"+b,c):a[b]=c},a.prototype.removeEvent=function(a,b,c){return null!=a.removeEventListener?a.removeEventListener(b,c,!1):null!=a.detachEvent?a.detachEvent("on"+b,c):delete a[b]},a.prototype.innerHeight=function(){return"innerHeight"in window?window.innerHeight:document.documentElement.clientHeight},a}(),c=this.WeakMap||this.MozWeakMap||(c=function(){function a(){this.keys=[],this.values=[]}return a.prototype.get=function(a){var b,c,d,e,f;for(f=this.keys,b=d=0,e=f.length;e>d;b=++d)if(c=f[b],c===a)return this.values[b]},a.prototype.set=function(a,b){var c,d,e,f,g;for(g=this.keys,c=e=0,f=g.length;f>e;c=++e)if(d=g[c],d===a)return void(this.values[c]=b);return this.keys.push(a),this.values.push(b)},a}()),a=this.MutationObserver||this.WebkitMutationObserver||this.MozMutationObserver||(a=function(){function a(){"undefined"!=typeof console&&null!==console&&console.warn("MutationObserver is not supported by your browser."),"undefined"!=typeof console&&null!==console&&console.warn("WOW.js cannot detect dom mutations, please call .sync() after loading new content.")}return a.notSupported=!0,a.prototype.observe=function(){},a}()),d=this.getComputedStyle||function(a){return this.getPropertyValue=function(b){var c;return"float"===b&&(b="styleFloat"),e.test(b)&&b.replace(e,function(a,b){return b.toUpperCase()}),(null!=(c=a.currentStyle)?c[b]:void 0)||null},this},e=/(-([a-z]){1})/g,this.WOW=function(){function e(a){null==a&&(a={}),this.scrollCallback=f(this.scrollCallback,this),this.scrollHandler=f(this.scrollHandler,this),this.start=f(this.start,this),this.scrolled=!0,this.config=this.util().extend(a,this.defaults),this.animationNameCache=new c}return e.prototype.defaults={boxClass:"wow",animateClass:"animated",offset:0,mobile:!0,live:!0,callback:null},e.prototype.init=function(){var a;return this.element=window.document.documentElement,"interactive"===(a=document.readyState)||"complete"===a?this.start():this.util().addEvent(document,"DOMContentLoaded",this.start),this.finished=[]},e.prototype.start=function(){var b,c,d,e;if(this.stopped=!1,this.boxes=function(){var a,c,d,e;for(d=this.element.querySelectorAll("."+this.config.boxClass),e=[],a=0,c=d.length;c>a;a++)b=d[a],e.push(b);return e}.call(this),this.all=function(){var a,c,d,e;for(d=this.boxes,e=[],a=0,c=d.length;c>a;a++)b=d[a],e.push(b);return e}.call(this),this.boxes.length)if(this.disabled())this.resetStyle();else for(e=this.boxes,c=0,d=e.length;d>c;c++)b=e[c],this.applyStyle(b,!0);return this.disabled()||(this.util().addEvent(window,"scroll",this.scrollHandler),this.util().addEvent(window,"resize",this.scrollHandler),this.interval=setInterval(this.scrollCallback,50)),this.config.live?new a(function(a){return function(b){var c,d,e,f,g;for(g=[],e=0,f=b.length;f>e;e++)d=b[e],g.push(function(){var a,b,e,f;for(e=d.addedNodes||[],f=[],a=0,b=e.length;b>a;a++)c=e[a],f.push(this.doSync(c));return f}.call(a));return g}}(this)).observe(document.body,{childList:!0,subtree:!0}):void 0},e.prototype.stop=function(){return this.stopped=!0,this.util().removeEvent(window,"scroll",this.scrollHandler),this.util().removeEvent(window,"resize",this.scrollHandler),null!=this.interval?clearInterval(this.interval):void 0},e.prototype.sync=function(){return a.notSupported?this.doSync(this.element):void 0},e.prototype.doSync=function(a){var b,c,d,e,f;if(null==a&&(a=this.element),1===a.nodeType){for(a=a.parentNode||a,e=a.querySelectorAll("."+this.config.boxClass),f=[],c=0,d=e.length;d>c;c++)b=e[c],g.call(this.all,b)<0?(this.boxes.push(b),this.all.push(b),this.stopped||this.disabled()?this.resetStyle():this.applyStyle(b,!0),f.push(this.scrolled=!0)):f.push(void 0);return f}},e.prototype.show=function(a){return this.applyStyle(a),a.className=""+a.className+" "+this.config.animateClass,null!=this.config.callback?this.config.callback(a):void 0},e.prototype.applyStyle=function(a,b){var c,d,e;return d=a.getAttribute("data-wow-duration"),c=a.getAttribute("data-wow-delay"),e=a.getAttribute("data-wow-iteration"),this.animate(function(f){return function(){return f.customStyle(a,b,d,c,e)}}(this))},e.prototype.animate=function(){return"requestAnimationFrame"in window?function(a){return window.requestAnimationFrame(a)}:function(a){return a()}}(),e.prototype.resetStyle=function(){var a,b,c,d,e;for(d=this.boxes,e=[],b=0,c=d.length;c>b;b++)a=d[b],e.push(a.style.visibility="visible");return e},e.prototype.customStyle=function(a,b,c,d,e){return b&&this.cacheAnimationName(a),a.style.visibility=b?"hidden":"visible",c&&this.vendorSet(a.style,{animationDuration:c}),d&&this.vendorSet(a.style,{animationDelay:d}),e&&this.vendorSet(a.style,{animationIterationCount:e}),this.vendorSet(a.style,{animationName:b?"none":this.cachedAnimationName(a)}),a},e.prototype.vendors=["moz","webkit"],e.prototype.vendorSet=function(a,b){var c,d,e,f;f=[];for(c in b)d=b[c],a[""+c]=d,f.push(function(){var b,f,g,h;for(g=this.vendors,h=[],b=0,f=g.length;f>b;b++)e=g[b],h.push(a[""+e+c.charAt(0).toUpperCase()+c.substr(1)]=d);return h}.call(this));return f},e.prototype.vendorCSS=function(a,b){var c,e,f,g,h,i;for(e=d(a),c=e.getPropertyCSSValue(b),i=this.vendors,g=0,h=i.length;h>g;g++)f=i[g],c=c||e.getPropertyCSSValue("-"+f+"-"+b);return c},e.prototype.animationName=function(a){var b;try{b=this.vendorCSS(a,"animation-name").cssText}catch(c){b=d(a).getPropertyValue("animation-name")}return"none"===b?"":b},e.prototype.cacheAnimationName=function(a){return this.animationNameCache.set(a,this.animationName(a))},e.prototype.cachedAnimationName=function(a){return this.animationNameCache.get(a)},e.prototype.scrollHandler=function(){return this.scrolled=!0},e.prototype.scrollCallback=function(){var a;return!this.scrolled||(this.scrolled=!1,this.boxes=function(){var b,c,d,e;for(d=this.boxes,e=[],b=0,c=d.length;c>b;b++)a=d[b],a&&(this.isVisible(a)?this.show(a):e.push(a));return e}.call(this),this.boxes.length||this.config.live)?void 0:this.stop()},e.prototype.offsetTop=function(a){for(var b;void 0===a.offsetTop;)a=a.parentNode;for(b=a.offsetTop;a=a.offsetParent;)b+=a.offsetTop;return b},e.prototype.isVisible=function(a){var b,c,d,e,f;return c=a.getAttribute("data-wow-offset")||this.config.offset,f=window.pageYOffset,e=f+Math.min(this.element.clientHeight,this.util().innerHeight())-c,d=this.offsetTop(a),b=d+a.clientHeight,e>=d&&b>=f},e.prototype.util=function(){return null!=this._util?this._util:this._util=new b},e.prototype.disabled=function(){return!this.config.mobile&&this.util().isMobile(navigator.userAgent)},e}()}).call(this);]]> b[c].offsetWidth/2;y===null&&a.l&&!b[c].player&&j(c+1,1);if(y===false)if(d){j(c+(s.x>0?-1:1),1);var h=b[c];o(function(){h[e].left="0px"},1500)}else{b[c][e].left="0px";j(c,0)}f.removeEventListener(B,this,false);f.removeEventListener(C,this,false)}};f[r](E,gb,false)}},Kb="style",k=document,r="addEventListener",i="className",P=function(a){return k.getElementById(a)},g={};g.a=yb();var Gb=function(a){for(var c,e,b=a[d];b;c=parseInt(D()*b),e=a[--b],a[b]=a[c],a[c]=e);return a},Fb=function(a,c){var b=a[d];while(b--)if(a[b]===c)return true;return false},u=function(a,c){var b=false;if(a[i]&&typeof a[i]=="string")b=Fb(a[i].split(" "),c);return b},q=function(a,b,c){if(!u(a,b))if(a[i]=="")a[i]=b;else if(c)a[i]=b+" "+a[i];else a[i]+=" "+b},A=function(c,f){if(c[i]){for(var e="",b=c[i].split(" "),a=0,g=b[d];adiv{display:inline-block;vertical-align:middle;width:95%;}");var b="@media only screen and (max-width:767px) {div#"+a.b+".fullscreen>div{width:100%;}}";g.a.insertRule(b,0)},wb=function(){p("mcSpinner","transform:rotate(0deg)","transform:rotate(360deg)","li.loading::after",".6s linear infinite");m(" li.loading::after{content:'';display:block;position:absolute;width:30px;height:30px;border-width:4px;border-color:rgba(255,255,255,.8);border-style:solid;border-top-color:black;border-right-color:rgba(0,0,0,.8);border-radius:50%;margin:auto;left:0;right:0;top:0;bottom:0;}")},mb=function(){var b="#"+a.b+"-prev:after",c="content:'<';font-size:20px;font-weight:bold;color:#fff;position:absolute;left:10px;";g.a.addRule(b,c,0);g.a.addRule(b.replace("prev","next"),c.replace("").replace("left","right"),0)},fb=function(b){var a=x;return b>=0?b%a:(a+b%a)%a},l=null,f,b=[],I,O,t,ib,hb,Q,v=false,c=0,x=0,h,Eb=function(a){return!a.complete?0:a.width===0?0:1},U=function(b){if(b.rT){f[e][F]=b.rT;if(a.g!="auto")b.rT=0}},ab=function(d,c,b){if(a.g=="auto"||f[e][F]=="50.1234%"){b.rT=c/d*100+"%";f[e][F]=="50.1234%"&&U(b)}},zb=function(b,l){if(b.lL===undefined){var m=screen.width,k=b.getElementsByTagName("*");if(k[d]){for(var g=[],a,i,h,c=0;c1){for(var c=1;c=h[0]&&m<=h[1]){a=g[c];break}}}}for(var c=0;cb)b=h;a.e=b},Jb=function(a,b){if(!a||a=="default")a=b;return a},T=function(b){var l=D(),f=D(),g=D(),h=D(),j=l<.5?"alternate":"alternate-reverse";if(f<.3)var c="left";else if(f<.6)c="center";else c="right";if(g<.45)var d="top";else if(g<.55)d="center";else d="bottom";if(h<.2)var i="linear";else i=h<.6?"cubic-bezier(.94,.04,.94,.49)":"cubic-bezier(.93,.2,.87,.52)";var k=c+" "+d;b[e].WebkitTransformOrigin=b[e].transformOrigin=k;if(a.c=="kb"){b[e].WebkitAnimationDirection=b[e].animationDirection=j;b[e].WebkitAnimationTimingFunction=b[e].animationTimingFunction=i}},nb=function(a){ib.innerHTML=hb.innerHTML=""+(a+1)+" ∕ "+x+"]]>";if(t[d]){var b=t[d];while(b--)t[b][i]="";t[a][i]="active"}},db=function(d,j){d=fb(d);if(!j&&(v||d==c))return;clearTimeout(I);b[d][e].left="0px";for(var i=0,r=x;ic||!d&&c==x-1;if(!c&&d!=1&&d==x-1)l=0;var k=a.c=="slide"&&f[n][n].offsetWidth==f[n].offsetWidth?"2":"";if(l){q(b[c],"sl-cl"+k);q(b[d],"sl-sl"+k)}else{q(b[c],"sl-cr"+k);q(b[d],"sl-sr"+k)}var p=c}else{q(b[d],"ns-show");(a.c=="zoom"||a.c=="kb")&&b[d].nI&&g.a.insertRule&&T(b[d].nI,d,b[d].dL)}nb(d);var m=c;c=d;W(4);U(b[d]);a.n&&a.n(m,d,j==9?false:j);b[d].player&&X(b[d]);if(a.d)I=o(function(){db(d+1,0)},b[d].dL)};eb.prototype={b:function(){var g=f.children,e;x=g[d];for(var c=0,h=g[d];c'+(g+1)+"");m.innerHTML=p.join("")}t=Z(m);for(var g=0;g 0 && numRooms = 5 && $("#discount_checkboxes .discount.group").is(':visible') == false ) { $('#discounts-wrapper').addClass("hidden"); $('#roomsRequiredMessage').fadeOut(); /* $("#discount_checkboxes").hide(); $("#discount_checkboxes .discount").hide(); $("#discount_checkboxes").slideToggle(200); $("#discount_checkboxes .discount.group").show(); $("#discount_checkboxes .group .message").delay(300).fadeIn(300); */ } else if ( $.isNumeric( numRooms ) == false) { //$("#discount_checkboxes").hide(); $('#discounts-wrapper').addClass("hidden"); } } function syncDates() { var formattedCheckIn = ''; var formattedCheckOut = ''; var array = new Array(); formattedCheckIn = $('#CheckInDate1').val(); formattedCheckOut = $('#OutDate').val(); if (formattedCheckIn.indexOf('/') == 2 ){ array = formattedCheckIn.split('/'); formattedCheckIn = CalLoadParams.monthNames[Math.floor(array[0])-1].substring(0, 3) + ' ' + array[1]; } if (formattedCheckOut.indexOf('/') == 2 ){ array = formattedCheckOut.split('/'); formattedCheckOut = CalLoadParams.monthNames[Math.floor(array[0])-1].substring(0, 3) + ' ' + array[1]; } if (formattedCheckIn==''){formattedCheckIn='--'} if (formattedCheckOut==''){formattedCheckOut='--'} $('#check-in .fake-input').html(formattedCheckIn); $('#check-out .fake-input').html(formattedCheckOut); } $(document).ready(function() { $("#discounts-wrapper label").click(function() { $(this).toggleClass("active"); }); $("#check-in").on('click', function() { $('#CheckInDate1_disp').focus(); }); $(".hiw-wrapper").click(function() { $('#youtube-wrapper').addClass("active"); $('#youtube-iframe').remove(); $('#youtube-wrapper').prepend(' "+CalLoadParams.CloseText+"").attr({class:"closeDatepicker"}).appendTo("div.calendar-footer"),$(document).on("click","a.closeDatepicker",function(){$("div.dateCalendar").hide()})))}function calCheckScreenSize(){$(window).width()<=CalLoadParams.mobilewidth?($(".dateCalendar").addClass("mobilecal").datepicker("option",{numberOfMonths:1}).datepicker("refresh"),appendCalFooter(),posDatepicker()):($(".dateCalendar").removeClass("mobilecal").datepicker("option",{numberOfMonths:CalLoadParams.numberOfMonths}).datepicker("refresh"),appendCalFooter(),posDatepicker())}function restrictCharacters(e,t,a){if(!t)var t=window.event;t.keyCode?code=t.keyCode:t.which&&(code=t.which);var d=String.fromCharCode(code);return 27==code?(this.blur(),!1):t.ctrlKey||9==code||8==code||36==code||37==code||38==code||39==code&&(39!=code||"'"!=d)||40==code?void 0:!!d.match(a)}function initDatePicker(){$("div.dateCalendar").remove(),$("").attr({class:"dateCalendar"}).css({display:"none"}).appendTo("body"),$("div.dateCalendar").datepicker({numberOfMonths:CalLoadParams.numberOfMonths,showButtonPanel:!1,hideIfNoPrevNext:!0,minDate:caltoday,dateFormat:CalLoadParams.date_format,monthNames:CalLoadParams.monthNames,dayNames:CalLoadParams.dayNames,dayNamesMin:CalLoadParams.dayNamesMin,firstDay:CalLoadParams.firstDay,beforeShowDay:function(e){try{if(newDate=$.datepicker.formatDate("mm/dd/yy",new Date(e)),void 0===dpActiveField.isChained||!dpActiveField.isChained)return dtIn=new Date(dpActiveField.hiddeninput.val()),CheckInDate=dtIn.isValid()?$.datepicker.formatDate("mm/dd/yy",new Date(dtIn)):null,""!=dpActiveField.visibleinput.val()&&newDate.toString()==CheckInDate?[!0,"dp-SelectedDate",dpActiveField.visibleinput.attr("placeholder")]:[!0,"",""];StartDateName="parent"==dpActiveField.inputType?dpActiveField.chainedInput:dpActiveField.name,EndDateName="parent"==dpActiveField.inputType?dpActiveField.name:dpActiveField.chainedInput,USStartDateInput=$("input[name="+StartDateName+"]"),USEndDateInput=$("input[name="+EndDateName+"]"),DSPStartDateInput=$("input[name="+StartDateName+"_disp]"),DSPEndDateInput=$("input[name="+EndDateName+"_disp]");try{return dtIn=new Date(USStartDateInput.val()),dtOut=new Date(USEndDateInput.val()),CheckInDate=dtIn.isValid()?$.datepicker.formatDate("mm/dd/yy",new Date(dtIn)):null,CheckOutDate=dtOut.isValid()?$.datepicker.formatDate("mm/dd/yy",new Date(dtOut)):null,!dpActiveField.isChained&&$.trim(dpActiveField.visibleinput.val()).length>0&&newDate.toString()==CheckInDate&&CheckInDate.toString()?[!0,"dp-SelectedDate",DSPStartDateInput.attr("placeholder")]:$.trim(USStartDateInput.val()).length>0&&newDate.toString()==CheckInDate&&CheckInDate.toString()?[!0,"dp-CheckInDate",DSPStartDateInput.attr("placeholder")]:$.trim(USEndDateInput.val()).length>0&&newDate.toString()==CheckOutDate&&CheckOutDate.toString()?[!0,"dp-CheckOutDate",DSPEndDateInput.attr("placeholder")]:$.trim(USStartDateInput.val()).length>0&&$.trim(USEndDateInput.val()).length>0&&new Date(newDate)>=new Date(CheckInDate)&&new Date(e)<=new Date(CheckOutDate)?[!0,"dp-highlight",CalLoadParams.DateRangeHover]:[!0,"",""]}catch(e){return[!0,"",""]}}catch(e){return[!0,"",""]}},onSelect:function(e,t){popDateInputs(e,dpActiveField.visibleinput),$(document).trigger("calendarDateChanged")}}),$(document).on("click",".ui-datepicker-next, .ui-datepicker-prev",function(){appendCalFooter(),posDatepicker()}).on("mousedown",".ui-datepicker-calendar a.ui-state-default",function(){setTimeout(function(){appendCalFooter()},200)}).on("click",".closeDatepicker",function(){$("div.dateCalendar").hide()}).on("keypress",".datepicker",function(){var e=/([0-9]|-|/|.)/;return restrictCharacters(this,event,e)}).on("focus click",".datepicker",function(e){$(this).attr("name").replace("_disp","")!=dpActiveField.name&&setActiveField($(this)),updateCal(),$(".dateCalendar").show(),appendCalFooter(),posDatepicker()}).on("input",".datepicker",function(){popDateInputs($(this).val(),$(this))}),$(".dateCalendar").on("touchstart click",function(e){e.target;$(e.target).parents().andSelf().is(".datepicker a#daterange input, .ui-datepicker, .ui-widget, .ui-datepicker-header ")||($(".dateCalendar").hide(),e.preventDefault())}),$("div.dateCalendar").each(function(){$("").attr({class:"datepicker-popover-handle"}).prependTo($(this))}),$("input.datepicker").each(function(){try{hiddenInput=$("input[name="+$(this).attr("name").replace("_disp","")+"]"),$.trim(hiddenInput.val().length)>0&&$(this).val($.datepicker.formatDate(CalLoadParams.date_format,new Date(hiddenInput.val())))}catch(e){}}),1==CalLoadParams.UseMobileKeyboardFix&&$("input.datepicker").on("focus",function(e){$(this).blur()}),calCheckScreenSize(),window.onresize=function(){calCheckScreenSize(),posDatepicker()},$(window).scroll(function(){posDatepicker()})}function posDatepicker(){"none"===$("div.dateCalendar").css("display")||$.isEmptyObject(dpActiveField)||(inputPOS=dpActiveField.visibleinput.offset(),inputHeight=dpActiveField.visibleinput.outerHeight(),vpW=$(window).innerWidth(),vpH=$(window).innerHeight(),calW=$(".dateCalendar").outerWidth(),calH=$(".dateCalendar").outerHeight(),calPOS=$(".dateCalendar").offset(),calLeft=inputPOS.left,calRight=parseInt(calLeft)+parseInt(calW),calBottom=parseInt(inputPOS.top)+parseInt(calH),inputPOS.top-$(window).scrollTop()+inputHeight+calH/1.5>vpH?($(".dateCalendar").addClass("datepicker-popover-handle-above"),topPOS=inputPOS.top-calH):($(".dateCalendar").removeClass("datepicker-popover-handle-above"),topPOS=inputPOS.top+inputHeight),$("div.datepicker-popover-handle").queue("fx").length>0&&$("div.datepicker-popover-handle").stop(),calRight+4>=vpW?(calLeft=calLeft-eval(calRight-vpW)-4,$("div.datepicker-popover-handle").stop().animate({"margin-left":eval(calRight-vpW),duration:eval(CalLoadParams.slideSpeed)},eval(CalLoadParams.slideSpeed))):$("div.datepicker-popover-handle").stop().animate({"margin-left":0,duration:eval(CalLoadParams.slideSpeed)},eval(CalLoadParams.slideSpeed)),$(".dateCalendar").queue("fx").length>0&&$(".dateCalendar").stop(),$(".dateCalendar").stop().animate({left:"+"+calLeft,top:topPOS,duration:eval(CalLoadParams.slideSpeed)},eval(CalLoadParams.slideSpeed)))}function setActiveField(e){e.attr("name").replace("_disp","")!=dpActiveField.name&&((dpActiveField={}).name=e.attr("name").replace("_disp",""),dpActiveField.visibleinput=e,dpActiveField.hiddeninput=$("input[name="+dpActiveField.name.replace("_disp","")+"]"),dpActiveField.isChained=!(!dpActiveField.visibleinput.attr("dependentdate")&&!dpActiveField.visibleinput.attr("parentdate")),dpActiveField.isChained&&(dpActiveField.inputType=void 0==dpActiveField.visibleinput.attr("dependentdate")?"parent":"dependent",dpActiveField.chainedInput=void 0==dpActiveField.visibleinput.attr("dependentdate")?$("input[name="+dpActiveField.name+"_disp]").attr("parentdate"):$("input[name="+dpActiveField.name+"_disp]").attr("dependentdate"),dpActiveField.StartDateName="parent"==dpActiveField.inputType?dpActiveField.chainedInput:dpActiveField.name,dpActiveField.EndDateName="parent"==dpActiveField.inputType?dpActiveField.name:dpActiveField.chainedInput,dpActiveField.USStartDateInput=$("input[name="+dpActiveField.StartDateName+"]"),dpActiveField.USEndDateInput=$("input[name="+dpActiveField.EndDateName+"]"),dpActiveField.DSPStartDateInput=$("input[name="+dpActiveField.StartDateName+"_disp]"),dpActiveField.DSPEndDateInput=$("input[name="+dpActiveField.EndDateName+"_disp]")))}function popDateInputs(e,t){setActiveField(t),""==dpActiveField.visibleinput.val()&&dpActiveField.hiddeninput.val("");try{selDate=$.datepicker.parseDate(CalLoadParams.date_format,e);try{if(selDate.isValid()){if(void 0===dpActiveField.isChained||!dpActiveField.isChained)return dpActiveField.hiddeninput.val($.datepicker.formatDate("mm/dd/yy",new Date(selDate))),dpActiveField.visibleinput.val($.datepicker.formatDate(CalLoadParams.date_format,new Date(selDate))),$(".dateCalendar").hide(),!1;isCheckInDate=dpActiveField.name==dpActiveField.StartDateName;try{dtIn=dpActiveField.DSPStartDateInput.val(),dtIn=new Date($.datepicker.parseDate(date_format,dtIn)),CheckInDate=isCheckInDate?selDate:dtIn.isValid()?dtIn:null}catch(e){}try{dtOut=dpActiveField.DSPEndDateInput.val(),dtOut=new Date($.datepicker.parseDate(CalLoadParams.date_format,dtOut))}catch(e){}if(dpActiveField.name==dpActiveField.StartDateName){if(USCheckOutDate=new Date(dpActiveField.USEndDateInput.val()),$.trim(DSPEndDateInput.val()).length>0&&selDate>=USCheckOutDate)return myNextDay=selDate.cloneDate().addDays(1),dpActiveField.USStartDateInput.val($.datepicker.formatDate("mm/dd/yy",new Date(selDate))),dpActiveField.DSPStartDateInput.val($.datepicker.formatDate(CalLoadParams.date_format,new Date(selDate))),dpActiveField.USEndDateInput.val($.datepicker.formatDate("mm/dd/yy",new Date(myNextDay))),dpActiveField.DSPEndDateInput.val($.datepicker.formatDate(CalLoadParams.date_format,new Date(myNextDay))),1==CalLoadParams.UseMobileKeyboardFix?dpActiveField.DSPEndDateInput.focus().blur():dpActiveField.DSPEndDateInput.focus(),!1;if(0==$.trim(dpActiveField.DSPEndDateInput.val()).length)return myNextDay=selDate.cloneDate().addDays(1),dpActiveField.USStartDateInput.val($.datepicker.formatDate("mm/dd/yy",new Date(selDate))),dpActiveField.DSPStartDateInput.val($.datepicker.formatDate(CalLoadParams.date_format,new Date(selDate))),dpActiveField.USEndDateInput.val($.datepicker.formatDate("mm/dd/yy",new Date(myNextDay))),dpActiveField.DSPEndDateInput.val($.datepicker.formatDate(CalLoadParams.date_format,new Date(myNextDay))),1==CalLoadParams.UseMobileKeyboardFix?dpActiveField.DSPEndDateInput.focus().blur():dpActiveField.DSPEndDateInput.focus(),!1;dpActiveField.USStartDateInput.val($.datepicker.formatDate("mm/dd/yy",new Date(selDate))),dpActiveField.DSPStartDateInput.val($.datepicker.formatDate(CalLoadParams.date_format,new Date(selDate))),$(".dateCalendar").hide()}else if(dpActiveField.name==dpActiveField.EndDateName)return USCheckInDate=new Date(dpActiveField.USStartDateInput.val()),0==$.trim(DSPStartDateInput.val()).length||USCheckInDate>selDate?(myPrevDay=selDate.cloneDate().addDays(-1),dpActiveField.USStartDateInput.val($.datepicker.formatDate("mm/dd/yy",new Date(myPrevDay))),dpActiveField.DSPStartDateInput.val($.datepicker.formatDate(CalLoadParams.date_format,new Date(myPrevDay))),dpActiveField.USEndDateInput.val($.datepicker.formatDate("mm/dd/yy",new Date(selDate))),dpActiveField.DSPEndDateInput.val($.datepicker.formatDate(CalLoadParams.date_format,new Date(selDate))),1==CalLoadParams.UseMobileKeyboardFix?dpActiveField.DSPStartDateInput.focus().blur():dpActiveField.DSPStartDateInput.focus(),!1):(dpActiveField.USEndDateInput.val($.datepicker.formatDate("mm/dd/yy",new Date(selDate))),dpActiveField.DSPEndDateInput.val($.datepicker.formatDate(CalLoadParams.date_format,new Date(selDate))),$(".dateCalendar").hide(),!1)}}catch(e){}}catch(e){}}function updateCal(){try{calMinDate="parent"==dpActiveField.inputType&&$("input[name="+dpActiveField.chainedInput+"]").val()?$("input[name="+dpActiveField.chainedInput+"]").val():""!=dpActiveField.visibleinput.attr("min-date")?dpActiveField.visibleinput.attr("min-date"):caltoday,calMaxDate=dpActiveField.visibleinput.attr("max-date"),$(".dateCalendar").datepicker("option",{minDate:""==calMinDate?"":new Date(calMinDate),maxDate:""==calMaxDate?"":new Date(calMaxDate)}).datepicker("setDate",dpActiveField.visibleinput.val()).datepicker("refresh")}catch(e){}}Date.prototype.addDays=function(e){return this.setDate(this.getDate()+e),this},Date.prototype.cloneDate=function(){return new Date(this.getTime())},Date.prototype.isValid=function(){return this.getTime()==this.getTime()};var caltoday=new Date,caltoday=new Date(caltoday.getMonth()+1+"/"+caltoday.getDate()+"/"+caltoday.getFullYear()),dpActiveField={};]]> 0 ) { CalLoadParams.UseMobileKeyboardFix = true; }else if ( ua.indexOf("ipad") > 0 && ua.indexOf("mobile/") > 0 ) { CalLoadParams.UseMobileKeyboardFix = true; }else{ CalLoadParams.UseMobileKeyboardFix = false; } $(document).ready(function(){ jQuery.cachedScript = function( url, options ) {options = $.extend( options || {}, {dataType: "script",cache: true,url: url}); return jQuery.ajax( options );}; $.cachedScript( "//ajax.googleapis.com/ajax/libs/jqueryui/1.11.2/jquery-ui.min.js" ) .done(function( script, textStatus ) { initDatePicker(); }) .fail(function( jqxhr, settings, exception ) { $.cachedScript( "//cdn.hotelplanner.com/Common/Javascript/jquery-ui.min.js" ).done(function( script, textStatus ) { initDatePicker(); }); }); }); ]]>

Source

Download your FREE PATCHWORK Wellness Planner to kickstart your wellness physically, mentally and economically today!

Join our mailing list to receive the latest news and updates from our team.

You have Successfully Subscribed!