(function(){if(window.chi)window.C=window.chi;if(!window.console)window.console={sv:$('<ul></ul>').attr('id','console.log').css({'zIndex':'10000','height':'200px','width':'980px','margin':'auto','overflow':'auto','padding':'5px','border':'1px solid #999','backgroundColor':'#eee','font':'12px normal \"Courier New\"'}),show:function(){$('body').append(this.sv);this.sv.show()},hide:function(){this.sv.hide()},log:function(Qx){this.sv.append('<li><pre>'+Qx+'</pre></li>')}};window.chi={Hl:'Choice Hotels International Base Javascript',gbl:{},scriptsLoc:'/assets/javascript',mod:{'header':{},'search':{},'search-results-listing':{},'search-map':{},'search-micro-map':{},'search-route-map':{},'compare-hotels':{},'create-profile-form':{},'my-stays-view-statements':{},'user-login-flyout':{},'my-account-flyout':{},'random-module':{},'my-status':{},'priviledges-sign-your-account':{},'myaccount-stay-history-current-activity':{},'forgot-user-name':{},'forgot-password':{},'customer-support-ask-faq-list':{},'create-privacy-preferences-form':{},'create-edirectory-order-form':{},'cp-member-form':{},'comment-about-stay-form':{},'choice-joinnow-profile-1':{},'choice-joinnow-profile-2':{},'choice-joinnow-cp-1':{},'choice-joinnow-cp-2':{},'ask-query':{},'user-login':{},'travel-agent-sign-in':{},'stand-alone-login':{},'sign-in':{},'sign-in-flyout':{},'sign-in-timeout':{},'report-missing-record-form':{},'content-tools':{},'promo':{},'customer-support-faq-details':{},'brand-landing-custom-content-1':{},'gallery-popup':{},'chi-ebrochure-space-calculator':{},'chi-ebrochure-gallery':{},'forecast-weather':{},'chi-ebrochure-meteric-calculator':{},'chi-ebrochure-currency-converter':{},'ebrochure-photo-gallery-thumbnails':{},'chi-ebrochure-hotel-room-configuration':{},'new-hotel-openings-country-list':{},'table-data':{},'travel-agent-search':{},'refer-a-friend-pt2-form':{},'refer-a-friend-pt3-form':{},'chi-regional-co-op-contnet':{},'chi-regional-co-op-map':{},'cp-us-residence-search':{},'rfp-contact-info':{},'chi-group-reservation':{},'ebrochure-map':{},'ebrochure-map-widget':{},'ebrochure-small-map':{},'meetings-events-RFP-requirement-form':{},'meetings-events-RFP-select-hotel':{},'chi-edirectory-registration-form':{},'my-favorites-search-results':{},'my-favorites':{},'chi-things-to-do-search':{},'chi-ebrochure-package-promo':{},'chi-ebrochure-package-listings':{},'chi-ebrochure-rp-rates-popup':{},'chi-package-search-results':{},'hotel-lookup':{},'change-reservation':{},'cancel-reservation':{},'view-reservation':{},'rsm-rates':{},'rsm-rates-multi':{},'reservation-form':{},'chi-search-hotel-deals-vertical':{},'chi-search-hotel-deals-horizontal':{},'chi-ebrochure-no-dates':{},'chi-find-reservation-confirmation-number':{},'chi-find-reservation-hotelcode-number':{},'chi-e-newsletter-form':{},'chi-cancel-reservation-form':{},'chi-reservation-actions':{},'chi-contact-us-email-support':{},'chi-best-internet-rate-claim-form':{},'email-folio':{},'social-bookmark':{},'award-redemption':{},'extended-stay':{},'chi-promotion-registration-form':{},'chi-rebuilding-together-form':{},'client-alerts':{},'leader-bios':{},'hotel-local-event-details':{}},VQ:[],init:function(){$.each(chi.mod,function(Fz,ez){$.extend(chi.mod[Fz],{className:'.mod-'+Fz,load:function(){if($.inArray(Fz,chi.VQ)<0){$.ajaxSetup({cache:true});$.getScript(chi.scriptsLoc+'/chi/chi.mod.'+Fz+'.js',function(){try{chi.mod[Fz].init()}catch(eO){}});chi.VQ.push(Fz)}}})});$("button").live('mouseover',function(){if(!$(this).hasClass('btn-disabled')){$(this).addClass('btn-hover')}});$("a.button").live('mouseover',function(){if(!$(this).hasClass('btn-disabled')){$(this).addClass('btn-hover')}});$("button, a.button").live('mouseout',function(){$(this).removeClass('btn-hover')});$(document).ready(function(){chi.bl($('body'))})},c0:function(Kx){if(jQuery.browser.msie){$('button',Kx?Kx:document).each(function(){var Pz=$('.btn-wrp-1',this);if(Pz.length>0&&Pz.outerWidth()>0){$(this).css('width',(Pz.outerWidth(true)+6)+'px')}})}},map:{},time:{log:[],split:function(){this.log.push((new Date()).getTime())},output:function(ax,Yx){var Vx="Timing Log ["+ax+"]\n";var ox=0;for(var Ux=1;Ux<this.log.length;Ux++){var Wx=this.log[Ux]-this.log[Ux-1];Vx+=' - Split ['+Ux+']: '+Wx+"\n";ox+=Wx}Vx+=' - Total Time: '+ox;if(Yx)alert(Vx);else console.log(Vx);this.log=[]}},dialog:{F0:function(Jx){$('<div class=\"mod-dialog mod-dialog-ok\"></div>').html(Jx).dialog({bgiframe:true,modal:true,buttons:{'Ok':function(){$(this).dialog('close')}}})},confirm:function(Rx){},error:function(wx){}},bl:function(vx){$('.has-dfn',vx).each(function(){if($(this).data('hasQtip'))return; var Xz=$(this).next('.dfn');if($(this).attr('rel')||(Xz.size()>0)){var uz=$(this).attr('rel')?{'url':$(this).attr('rel')}:Xz.html();if($(this).is('a'))$(this).bind('click',function(){return false});$(this).find('span').css({'cursor':'help','text-decoration':'underline'});$(this).qtip({content:uz,position:{corner:{target:'bottomMiddle',tooltip:'topMiddle'}},style:{width:$(this).attr('rev')?parseInt($(this).attr('rev'),10)+20:200,tip:{corner:'topMiddle',color:false,size:{x:30,y:10}},border:{width:2,radius:5,color:'#eee'}},show:{delay:1000},hide:{fixed:true,delay:1000}})}$(this).data('hasQtip',true)})},popWindow:function(rx,Mx,Dx,jx){var Tx;var Sx;var sx;var ix;if(document.all){if(document.body){Tx=screenLeft;Sx=screenTop;sx=document.body.clientWidth;ix=document.body.clientHeight}else {Tx=0;Sx=0;sx=screen.width;ix=screen.height}}else {Tx=screenX;Sx=screenY;sx=outerWidth;ix=outerHeight}var mx=parseInt(Dx);var _x=parseInt(jx);Tx=Tx+((sx-mx)/2);Sx=Sx+((ix-_x)/2);if((Tx+mx)>screen.width)Tx=screen.width-Dx-10;if((Sx+_x)>screen.height)Sx=screen.height-jx-10;cfV=window.open(rx,Mx,"toolbar=no,location=no,status=yes,menubar=no,scrollbars=yes,resizable=yes,width="+Dx+",height="+jx+",top="+Sx+",left="+Tx);try{cfV.moveTo(Tx,Sx)}catch(zx){}try{cfV.resizeTo(Dx,jx)}catch(zx){}cfV.focus();return cfV},printPage:function(ee){$(ee.document).find('.print-body').html($('.printme:first').html());ee.document.title=window.document.title;$(ee.document).find('.print-body').bind('click',function(){return (false)});$(ee.document).find('.print-page-link').bind('click',function(){ee.print();return (false)});$(ee.document).find('.close-page-link').bind('click',function(){ee.close();return (false)});$(ee.document).find('.print-orig-url').text(window.location.href)},wv:function(Fe){var Xe=new VEMap(Fe);var Pe=$('#'+Fe).parent().attr('rev');if(Pe&&((Pe=$.trim(Pe))!=''))Xe.SetClientToken(Pe);return Xe}};chi.init()})();$(document).ready(function(){});jQuery.cookie=function(xe,be,Ge){if(typeof be!='undefined'){Ge=Ge||{};if(be===null){be='';Ge.ql=-1}var ne='';if(Ge.ql&&(typeof Ge.ql=='number'||Ge.ql.toUTCString)){var He;if(typeof Ge.ql=='number'){He=new Date();He.setTime(He.getTime()+(Ge.ql*24*60*60*1000))}else {He=Ge.ql}ne='; expires='+He.toUTCString()}var Ie=Ge.path?'; path='+(Ge.path):'';var Oe=Ge.domain?'; domain='+(Ge.domain):'';var Ze=Ge.$l?'; secure':'';document.cookie=[xe,'=',encodeURIComponent(be),ne,Ie,Oe,Ze].join('')}else {var Ee=null;if(document.cookie&&document.cookie!=''){var Ae=document.cookie.split(';');for(var qe=0;qe<Ae.length;qe++){var ue=jQuery.trim(Ae[qe]);if(ue.substring(0,xe.length+1)==(xe+'=')){Ee=decodeURIComponent(ue.substring(xe.length+1));break}}}return Ee}};