document.write(unescape("%0A%0A%0A%3Cstyle%20type%3D%22text%2Fcss%22%3E%0A%2F%2A%20Common%20elements%20%2A%2F%0A%0A%2F%2A%20Search%20widget%20container.%20Here%20you%20can%20change%20border%2C%20background%20and%20text%20style%20of%20the%20widget%20%2A%2F%0A.search-widget%20%7B%0A%20%20%20%20border-style%3A%20solid%3B%0A%20%20%20%20border-width%3A%201px%3B%0A%20%20%20%20border-color%3A%20%23023873%3B%0A%20%20%20%20background%3A%20%230c3d72%3B%0A%20%20%20%20font-size%3A%2011px%3B%0A%20%20%20%20text-align%3A%20left%3B%0A%20%20%20%20font-family%3A%20Tahoma%2C%20Verdana%2C%20Arial%2C%20Helvetica%2C%20sans-serif%3B%0A%20%20%20%20color%3A%20%239cc3ed%3B%0A%20%20%20%20overflow%3A%20hidden%3B%20%2F%2A%20Cut%20the%20content%20out%20of%20the%20bounds%20of%20search-widget%20%2A%2F%0A%7D%0A%0A%2F%2A%20Search%20widget%20inner%20indents%20%2A%2F%0A.search-widget%20.search-widget-inner%20%7B%0A%20%20%20%20float%3A%20left%3B%0A%7D%0A%0A%2F%2A%20Reset%20default%20browser%20properties%20for%20the%20used%20elements%20%2A%2F%0A.search-widget%20div%2C%0A.search-widget%20ul%2C%0A.search-widget%20li%2C%0A.search-widget%20form%2C%0A.search-widget%20label%20%7B%0A%20%20%20%20margin%3A%200%3B%0A%20%20%20%20padding%3A%200%3B%0A%20%20%20%20border%3A%200%3B%0A%20%20%20%20outline%3A%200%3B%0A%20%20%20%20font-size%3A%20100%25%3B%0A%20%20%20%20vertical-align%3A%20baseline%3B%0A%20%20%20%20background%3A%20transparent%3B%0A%7D%0A%0A%2F%2A%20Reset%20default%20browser%20properties%20for%20list%20elements%20%2A%2F%0A.search-widget%20ul%2C%0A.search-widget%20li%20%7B%0A%20%20%20%20list-style%3A%20none%3B%0A%7D%0A%0A%2F%2A%20Labels%20for%20input%20fields.%20They%20are%20located%20above%20the%20appropriate%20elements%20%20%2A%2F%0A.search-widget%20label%20%7B%0A%20%20%20%20display%3A%20block%3B%0A%20%20%20%20margin-bottom%3A%202px%3B%0A%20%20%20%20margin-left%3A%201px%3B%0A%20%20%20%20overflow%3A%20hidden%3B%20%2F%2A%20Cut%20too%20long%20labels%20%2A%2F%0A%7D%0A%0A%2F%2A%20Properties%20for%20input%20fields.%20Here%20you%20can%20change%20font%2C%20color%2C%20border%20and%20background%20style%20%2A%2F%0A.search-widget%20input.textbox%2C%0A.search-widget%20select%20%7B%0A%20%20%20%20font-family%3A%20Tahoma%2C%20Verdana%2C%20Arial%2C%20Helvetica%2C%20sans-serif%3B%0A%20%20%20%20font-size%3A%201.2em%20%21important%3B%0A%20%20%20%20color%3A%20%230d447f%3B%0A%20%20%20%20border%3A%201px%20solid%20%23023873%3B%0A%20%20%20%20background%3A%20%23ffffff%20url%28%22https%3A%2F%2Fwww.travelnow.com%2Ftemplates%2F296999%2Fstatic%2F0%2Fdefault%2Fimages%2Fwidgets%2Fsearchwidget%2Fcontrol-bg.jpg%22%29%20repeat-x%20left%20top%3B%0A%20%20%20%20margin%3A%200%200%209px%200%3B%20%2F%2A%20Bottom%20indent%20%2A%2F%0A%20%20%20%20width%3A%20100%25%3B%20%2F%2A%20Textboxes%20and%20select%20elements%20occupy%20the%20whole%20width%20of%20appropriate%20part%20of%20search%20widget%20%2A%2F%0A%20%20%20%20padding%3A%201px%3B%0A%7D%0A%0A%2F%2A%20Reset%20the%20default%20browser%20properties%20for%20checkbox%20and%20radio%20button%20elements%20%2A%2F%0A.search-widget%20input.checkbox%2C%0A.search-widget%20input.radio%20%7B%0A%20%20%20%20margin%3A%200%205px%200%202px%3B%0A%20%20%20%20padding%3A%200%3B%0A%20%20%20%20height%3A%2014px%3B%0A%20%20%20%20width%3A%2014px%3B%0A%20%20%20%20border%3A%20none%3B%0A%7D%0A%0A.search-widget%20.button-block%20%7B%0A%20%20%20%20clear%3A%20both%3B%20%2F%2A%20By%20default%20the%20button%20is%20a%20new%20line%20%2A%2F%0A%7D%0A%0A%2F%2A%20Reset%20the%20default%20button%20properties%20and%20set%20custom%20properties%2C%20such%20as%20background%2C%20font%2C%20color%2C%20border%2C%20round%20corners%20%2A%2F%0A.search-widget%20button%20%7B%0A%20%20%20%20font-family%3A%20Tahoma%2C%20Verdana%2C%20Arial%2C%20Helvetica%2C%20sans-serif%3B%0A%20%20%20%20padding%3A%202px%209px%20%21important%3B%0A%20%20%20%20margin%3A%200%20%21important%3B%0A%20%20%20%20cursor%3A%20pointer%3B%0A%20%20%20%20background%3A%20%233eab21%3B%0A%20%20%20%20border%3A%201px%20solid%20%23469a46%20%21important%3B%0A%20%20%20%20color%3A%20%23ffffff%3B%0A%20%20%20%20font-weight%3A%20bold%3B%0A%20%20%20%20font-size%3A%201.25em%3B%0A%20%20%20%20border-radius%3A%205px%3B%0A%20%20%20%20-moz-border-radius%3A%205px%3B%0A%20%20%20%20-webkit-border-radius%3A%205px%3B%0A%20%20%20%20-khtml-border-radius%3A%205px%3B%0A%20%20%20%20width%3A%20auto%3B%0A%20%20%20%20overflow%3A%20visible%3B%20%2F%2A%20Reset%20paddings%20in%20IE%20%2A%2F%0A%20%20%20%20display%3A%20inline-block%3B%0A%7D%0A%0A%2F%2A%20Set%20custom%20properties%20of%20hovered%20and%20selected%20button.%20Here%20you%20can%20change%20background%2C%20color%20and%20border%20%2A%2F%0A.search-widget%20button%3Ahover%2C%0A.search-widget%20button%3Afocus%20%7B%0A%20%20%20%20background%3A%20%233eab21%3B%0A%20%20%20%20color%3A%20%23ffffff%3B%0A%7D%0A%0A%2F%2A%20Predefined%20destinations%20section%20%2A%2F%0A.search-widget%20.predefined-destinations-block%20%7B%0A%20%20%20%20float%3A%20left%3B%0A%20%20%20%20width%3A%20100%25%3B%0A%7D%0A%0A%2F%2A%20Predefined%20destinations%20list.%20It%20occupies%20the%20whole%20width%20of%20search%20widget.%20%2A%2F%0A.search-widget%20.predefined-destinations-block%20ul%20%7B%0A%20%20%20%20float%3A%20left%3B%0A%20%20%20%20margin-top%3A%202px%3B%0A%20%20%20%20margin-bottom%3A%202px%3B%0A%20%20%20%20width%3A%20100%25%3B%0A%7D%0A%0A%2F%2A%20Predefined%20destinations%20list%20item%20%2A%2F%0A.search-widget%20.predefined-destinations-block%20li%20%7B%0A%20%20%20%20float%3A%20left%3B%0A%20%20%20%20overflow%3A%20hidden%3B%20%2F%2A%20Cut%20long%20labels%20%2A%2F%0A%20%20%20%20width%3A%2033%25%3B%20%2F%2A%20Items%20can%20be%20divided%20into%202%20columns%20%2850%25%29%20or%203%20columns%20%2833%25%29%20%2A%2F%0A%20%20%20%20margin-top%3A%201px%3B%0A%7D%0A%0A%2F%2A%20Predefined%20destinations%20list%20item%20labels%20%2A%2F%0A.search-widget%20.predefined-destinations-block%20input%20%7B%0A%20%20%20%20float%3A%20left%3B%0A%7D%0A%0A.search-widget%20.predefined-destinations-block%20label%20%7B%0A%20%20%20%20vertical-align%3A%20top%3B%0A%20%20%20%20margin-top%3A%200%3B%0A%7D%0A%0A%2F%2A%20Destination%20section%20%2A%2F%0A.search-widget%20.destination-block%20%7B%0A%20%20%20%20padding-right%3A%2013px%3B%0A%7D%0A%0A%2F%2A%20Destination%20input%20field.%20It%20occupies%20the%20whole%20width%20of%20search%20widget%20%2A%2F%0A.search-widget%20.destination-block%20input%20%7B%0A%20%20%20%20width%3A%20100%25%3B%0A%7D%0A%0A%2F%2A%20Check-in%2C%20check-out%2C%20rooms%2C%20adults%2C%20children%2C%20hotel-chains%2C%20star-rating%20%2A%2F%0A%0A.search-widget%20.check-in-block%2C%0A.search-widget%20.check-out-block%2C%0A.search-widget%20.rooms-block%2C%0A.search-widget%20.adults-block%2C%0A.search-widget%20.children-block%2C%0A.search-widget%20.hotel-chains-block%2C%0A.search-widget%20.star-rating-block%20%7B%0A%20%20%20%20float%3A%20left%3B%20%2F%2A%20Search%20widget%20sections%20are%20displayed%20in%20line%20%2A%2F%0A%7D%0A%0A.search-widget%20.check-in-block%2C%0A.search-widget%20.hotel-chains-block%20%7B%0A%20%20%20%20clear%3A%20both%3B%20%2F%2A%20Check-in%20section%20and%20Hotel%20chains%20section%20start%20from%20new%20line%20%2A%2F%0A%7D%0A%0A%2F%2A%20Calendar%20icon%20%28for%20check-in%2C%20check-out%20fields%29%20%2A%2F%0A.search-widget%20.calendar-icon%20%7B%0A%20%20%20%20background%3A%20url%28%22https%3A%2F%2Fwww.travelnow.com%2Ftemplates%2F296999%2Fstatic%2F5%2Fdefault%2Fimages%2Fwidgets%2Fsearchwidget%2Fico-calendar.png%22%29%20right%20top%20no-repeat%3B%0A%20%20%20%20width%3A%2021px%3B%0A%20%20%20%20height%3A%2022px%3B%0A%20%20%20%20float%3A%20right%3B%0A%20%20%20%20cursor%3A%20pointer%3B%0A%7D%0A%0A%2F%2A%20Reset%20dates%20section%20%2A%2F%0A.search-widget%20.reset-dates-block%20%7B%0A%20%20%20%20clear%3A%20both%3B%20%2F%2A%20Reset%20dates%20section%20starts%20from%20new%20line%20%2A%2F%0A%20%20%20%20white-space%3A%20nowrap%3B%0A%20%20%20%20overflow%3A%20hidden%3B%20%2F%2A%20Cut%20long%20label%20%2A%2F%0A%7D%0A%0A%2F%2A%20Align%20label%20with%20checkbox%20%2A%2F%0A.search-widget%20.reset-dates-block%20label%20%7B%0A%20%20%20%20display%3A%20inline-block%3B%0A%20%20%20%20vertical-align%3A%20top%3B%0A%20%20%20%20margin-bottom%3A%206px%3B%0A%7D%0A%20%20%20%20%2F%2A%20Clear%20calendar%27s%20float%2C%20using%20dialog%20inbuilt%20form%20element%20%2A%2F%0A%20%20%20%20%23check-inDialogContainer%20.bd%20form%20%7B%0A%20%20%20%20%20%20%20%20clear%3Aleft%3B%0A%20%20%20%20%7D%0A%0A%20%20%20%20%2F%2A%20Have%20calendar%20squeeze%20upto%20bd%20bounding%20box%20%2A%2F%0A%20%20%20%20%23check-inDialogContainer%20.bd%20%7B%0A%20%20%20%20%20%20%20%20padding%3A0%3B%0A%20%20%20%20%7D%0A%0A%20%20%20%20%23check-inDialogContainer%20.hd%20%7B%0A%20%20%20%20%20%20%20%20text-align%3Aleft%3B%0A%20%20%20%20%7D%0A%0A%20%20%20%20%2F%2A%20Center%20buttons%20in%20the%20footer%20%2A%2F%0A%20%20%20%20%23check-inDialogContainer%20.ft%20.button-group%20%7B%0A%20%20%20%20%20%20%20%20text-align%3Acenter%3B%0A%20%20%20%20%7D%0A%0A%20%20%20%20%2F%2A%20Prevent%20border-collapse%3Acollapse%20from%20bleeding%20through%20in%20IE6%2C%20IE7%20%2A%2F%0A%20%20%20%20%23check-inDialogContainer.yui-overlay-hidden%20table%20%7B%0A%20%20%20%20%20%20%20%20%2Adisplay%3Anone%3B%0A%20%20%20%20%7D%0A%0A%20%20%20%20%2F%2A%20Remove%20calendar%27s%20border%20and%20set%20padding%20in%20ems%20instead%20of%20px%2C%20so%20we%20can%20specify%20an%20width%20in%20ems%20for%20the%20container%20%2A%2F%0A%20%20%20%20%23check-inContainerCalendar%20%7B%0A%20%20%20%20%20%20%20%20border%3Anone%3B%0A%20%20%20%20%20%20%20%20padding%3A1em%3B%0A%20%20%20%20%7D%0A%20%20%20%20%2F%2A%20Clear%20calendar%27s%20float%2C%20using%20dialog%20inbuilt%20form%20element%20%2A%2F%0A%20%20%20%20%23check-outDialogContainer%20.bd%20form%20%7B%0A%20%20%20%20%20%20%20%20clear%3Aleft%3B%0A%20%20%20%20%7D%0A%0A%20%20%20%20%2F%2A%20Have%20calendar%20squeeze%20upto%20bd%20bounding%20box%20%2A%2F%0A%20%20%20%20%23check-outDialogContainer%20.bd%20%7B%0A%20%20%20%20%20%20%20%20padding%3A0%3B%0A%20%20%20%20%7D%0A%0A%20%20%20%20%23check-outDialogContainer%20.hd%20%7B%0A%20%20%20%20%20%20%20%20text-align%3Aleft%3B%0A%20%20%20%20%7D%0A%0A%20%20%20%20%2F%2A%20Center%20buttons%20in%20the%20footer%20%2A%2F%0A%20%20%20%20%23check-outDialogContainer%20.ft%20.button-group%20%7B%0A%20%20%20%20%20%20%20%20text-align%3Acenter%3B%0A%20%20%20%20%7D%0A%0A%20%20%20%20%2F%2A%20Prevent%20border-collapse%3Acollapse%20from%20bleeding%20through%20in%20IE6%2C%20IE7%20%2A%2F%0A%20%20%20%20%23check-outDialogContainer.yui-overlay-hidden%20table%20%7B%0A%20%20%20%20%20%20%20%20%2Adisplay%3Anone%3B%0A%20%20%20%20%7D%0A%0A%20%20%20%20%2F%2A%20Remove%20calendar%27s%20border%20and%20set%20padding%20in%20ems%20instead%20of%20px%2C%20so%20we%20can%20specify%20an%20width%20in%20ems%20for%20the%20container%20%2A%2F%0A%20%20%20%20%23check-outContainerCalendar%20%7B%0A%20%20%20%20%20%20%20%20border%3Anone%3B%0A%20%20%20%20%20%20%20%20padding%3A1em%3B%0A%20%20%20%20%7D%0A%0A%0A%2F%2A%20240x400%2C%20variant%20A%20specific%20%2A%2F%0A%0A%2F%2A%20Set%20size%20of%20widget%20%282px%20less%20because%20of%20the%20border%29%20%2A%2F%0A.size240x400A%20%7B%0A%20%20%20%20width%3A%20238px%3B%0Aheight%3A%20300px%3B%0A%20%20%20%20%2F%2Aheight%3A%20398px%3B%2A%2F%0A%7D%0A%0A%2F%2A%20Search%20widget%20inner%20intends%20%2A%2F%0A.size240x400A%20.search-widget-inner%20%7B%0A%20%20%20%20padding%3A%207px%203px%200%209px%3B%0A%7D%0A%0A%2F%2A%20Don%27t%20display%20predefined%20destinations%20section%20%2A%2F%0A.size240x400A%20.predefined-destinations-block%20%7B%0A%20%20%20%20display%3A%20none%3B%0A%7D%0A%0A%2F%2A%20Set%20sizes%20for%20check-in%2C%20check-out%2C%20hotel%20chains%20and%20star%20rating%20sections%20%28they%20are%20located%20in%202%20columns%29%20%2A%2F%0A.size240x400A%20.check-in-block%2C%0A.size240x400A%20.check-out-block%2C%0A.size240x400A%20.hotel-chains-block%2C%0A.size240x400A%20.star-rating-block%20%7B%0A%20%20%20%20width%3A%20102px%3B%0A%20%20%20%20padding-right%3A%2011px%3B%0A%7D%0A%0A%2F%2A%20Set%20sizes%20for%20check-in%2C%20check-out%20input%20fields%20%2A%2F%0A.size240x400A%20.check-in-block%20input%2C%0A.size240x400A%20.check-out-block%20input%20%7B%0A%20%20%20%20width%3A%2076px%3B%0A%7D%0A%0A%2F%2A%20Set%20size%20for%20rooms%20section%20%2A%2F%0A.size240x400A%20.rooms-block%20%7B%0A%20%20%20%20width%3A%2061px%3B%0A%20%20%20%20padding-right%3A%207px%3B%0A%7D%0A%0A%2F%2A%20Set%20size%20for%20adults%20and%20children%20sections%20%2A%2F%0A.size240x400A%20.adults-block%2C%0A.size240x400A%20.children-block%20%7B%0A%20%20%20%20width%3A%2070px%3B%0A%20%20%20%20padding-right%3A%207px%3B%0A%7D%0A%0A%2F%2A%20Correct%20sizes%20for%20IE7%20Quirks%20Mode%20%28it%20uses%20border-box%20sizing%20model%29%20%2A%2F%0A%2A%20html%20.size240x400A%20%7B%0A%20%20%20%20width%20%2F%2A%2A%2F%3A%20240px%3B%0A%20%20%20%20height%20%2F%2A%2A%2F%3A%20300px%3B%0A%7D%0A%0A%2A%20html%20.size240x400A%20.check-in-block%2C%0A%2A%20html%20.size240x400A%20.check-out-block%2C%0A%2A%20html%20.size240x400A%20.hotel-chains-block%2C%0A%2A%20html%20.size240x400A%20.star-rating-block%20%7B%0A%20%20%20%20width%20%2F%2A%2A%2F%3A%20113px%3B%0A%7D%0A%0A%2A%20html%20.size240x400A%20.rooms-block%20%7B%0A%20%20%20%20width%20%2F%2A%2A%2F%3A%2068px%3B%0A%7D%0A%0A%2A%20html%20.size240x400A%20.adults-block%2C%0A%2A%20html%20.size240x400A%20.children-block%20%7B%0A%20%20%20%20width%20%2F%2A%2A%2F%3A%2077px%3B%0A%7D%0A%0A%3C%2Fstyle%3E%0A%0A%0A%20%20%20%20%3Cdiv%20class%3D%22search-widget%20size240x400A%22%3E%0A%20%20%20%20%20%20%20%20%3Cdiv%20class%3D%22search-widget-inner%22%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3Cdiv%20class%3D%22predefined-destinations-block%22%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Clabel%20for%3D%22predefined-destinations%22%3EDestino%20ou%20hotel%20desejado%20%3A%3C%2Flabel%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cul%20id%3D%22predefined-destinations%22%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Ful%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fdiv%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cdiv%20class%3D%22destination-block%22%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Clabel%20for%3D%22destination%22%3EDestino%20ou%20hotel%20desejado%20%3A%3C%2Flabel%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cinput%20type%3D%22text%22%20class%3D%22textbox%22%20id%3D%22destination%22%2F%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cinput%20type%3D%22hidden%22%20id%3D%22targetId%22%2F%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fdiv%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3Cdiv%20class%3D%22check-in-block%22%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Clabel%20for%3D%22check-in%22%3ERegistro%2Fcheck-in%3A%3C%2Flabel%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cspan%20class%3D%22calendar-icon%22%20id%3D%22checkinIcon%22%3E%26nbsp%3B%3C%2Fspan%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cinput%20type%3D%22text%22%20class%3D%22textbox%22%20id%3D%22check-in%22%2F%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cdiv%20id%3D%22check-inDialogContainer%22%20class%3D%22yui-skin-sam%22%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%21--%20--%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fdiv%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fdiv%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3Cdiv%20class%3D%22check-out-block%22%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Clabel%20for%3D%22check-out%22%3ESa%EDda%2Fcheck-out%3A%3C%2Flabel%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cspan%20class%3D%22calendar-icon%22%20id%3D%22checkoutIcon%22%3E%26nbsp%3B%3C%2Fspan%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cinput%20type%3D%22text%22%20class%3D%22textbox%22%20id%3D%22check-out%22%2F%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cdiv%20id%3D%22check-outDialogContainer%22%20class%3D%22yui-skin-sam%22%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%21--%20--%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fdiv%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fdiv%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3Cdiv%20class%3D%22reset-dates-block%22%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cinput%20type%3D%22checkbox%22%20class%3D%22checkbox%22%20id%3D%22reset-dates%22%2F%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Clabel%20for%3D%22reset-dates%22%3EAinda%20n%E3o%20tenho%20datas%20espec%EDficas%3C%2Flabel%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fdiv%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3Cdiv%20class%3D%22rooms-block%22%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Clabel%20for%3D%22rooms%22%3EQuartos%3A%3C%2Flabel%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cselect%20id%3D%22rooms%22%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Coption%20value%3D%221%22%20selected%3E1%3C%2Foption%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Coption%20value%3D%222%22%3E2%3C%2Foption%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Coption%20value%3D%223%22%3E3%3C%2Foption%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Coption%20value%3D%224%22%3E4%3C%2Foption%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Coption%20value%3D%225%22%3E5%3C%2Foption%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Coption%20value%3D%226%22%3E6%3C%2Foption%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Coption%20value%3D%227%22%3E7%3C%2Foption%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Coption%20value%3D%228%22%3E8%3C%2Foption%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fselect%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fdiv%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3Cdiv%20class%3D%22adults-block%22%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Clabel%20for%3D%22adults%22%20id%3D%22adults_label%22%3EAdultos%20%28%2B18%29%3A%3C%2Flabel%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cselect%20id%3D%22adults%22%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Coption%20value%3D%221%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3E1%3C%2Foption%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Coption%20value%3D%222%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20selected%3D%22selected%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3E2%3C%2Foption%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Coption%20value%3D%223%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3E3%3C%2Foption%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Coption%20value%3D%224%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3E4%3C%2Foption%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fselect%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fdiv%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3Cdiv%20class%3D%22children-block%22%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Clabel%20for%3D%22children%22%20id%3D%22children_label%22%3ECrian%E7as%20%280-17%29%3A%3C%2Flabel%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cselect%20id%3D%22children%22%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Coption%20value%3D%220%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20selected%3D%22selected%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3E0%3C%2Foption%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Coption%20value%3D%221%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3E1%3C%2Foption%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Coption%20value%3D%222%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3E2%3C%2Foption%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Coption%20value%3D%223%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3E3%3C%2Foption%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fselect%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fdiv%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3Cdiv%20class%3D%22hotel-chains-block%22%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Clabel%20for%3D%22hotel-chains%22%3ECadeia%20de%20hot%E9is%3A%3C%2Flabel%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cselect%20id%3D%22hotel-chains%22%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Coption%20selected%3D%22selected%22%3ESelecionar%20cadeia%20de%20hot%E9is%3C%2Foption%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Coption%20value%3D%22Hilton%22%3EHilton%3C%2Foption%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Coption%20value%3D%22Holiday%20Inn%22%3EHoliday%20Inn%3C%2Foption%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Coption%20value%3D%22Marriott%22%3EMarriott%3C%2Foption%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Coption%20value%3D%22Travelodge%22%3ETravelodge%3C%2Foption%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Coption%20value%3D%22Ramada%22%3ERamada%3C%2Foption%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Coption%20value%3D%22Sheraton%22%3ESheraton%3C%2Foption%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Coption%20value%3D%22Best%20Western%22%3EBest%20Western%3C%2Foption%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Coption%20value%3D%22Renaissance%22%3ERenaissance%3C%2Foption%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Coption%20value%3D%22Westin%22%3EWestin%3C%2Foption%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Coption%20value%3D%22Wyndham%22%3EWyndham%3C%2Foption%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Coption%20value%3D%22Courtyard%22%3ECourtyard%3C%2Foption%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Coption%20value%3D%22Fairfield%22%3EFairfield%3C%2Foption%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Coption%20value%3D%22Clarion%22%3EClarion%3C%2Foption%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Coption%20value%3D%22Comfort%20Inn%22%3EComfort%20Inn%3C%2Foption%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Coption%20value%3D%22Super%208%22%3ESuper%208%3C%2Foption%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Coption%20value%3D%22Days%20Inn%22%3EDays%20Inn%3C%2Foption%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Coption%20value%3D%22Hyatt%20Regency%22%3EHyatt%20Regency%3C%2Foption%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Coption%20value%3D%22Country%20Inn%22%3ECountry%20Inn%3C%2Foption%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Coption%20value%3D%22Grand%20Hyatt%22%3EGrand%20Hyatt%3C%2Foption%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Coption%20value%3D%22Doubletree%22%3EDoubletree%3C%2Foption%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Coption%20value%3D%22Embassy%20Suites%22%3EEmbassy%20Suites%3C%2Foption%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Coption%20value%3D%22Quality%20Inn%22%3EQuality%20Inn%3C%2Foption%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Coption%20value%3D%22Residence%20Inn%22%3EResidence%20Inn%3C%2Foption%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Coption%20value%3D%22Fairfield%20Inn%22%3EFairfield%20Inn%3C%2Foption%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Coption%20value%3D%22Hampton%20Inn%22%3EHampton%20Inn%3C%2Foption%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Coption%20value%3D%22Howard%20Johnson%22%3EHoward%20Johnson%3C%2Foption%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Coption%20value%3D%22Omni%22%3EOmni%3C%2Foption%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Coption%20value%3D%22Homewood%20Suites%22%3EHomewood%20Suites%3C%2Foption%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Coption%20value%3D%22Homestead%22%3EHomestead%3C%2Foption%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Coption%20value%3D%22Red%20Roof%20Inn%22%3ERed%20Roof%20Inn%3C%2Foption%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Coption%20value%3D%22AmeriSuites%22%3EAmeriSuites%3C%2Foption%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Coption%20value%3D%22Comfort%20Suites%22%3EComfort%20Suites%3C%2Foption%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Coption%20value%3D%22Wingate%20Inn%22%3EWingate%20Inn%3C%2Foption%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Coption%20value%3D%22Sleep%20Inn%22%3ESleep%20Inn%3C%2Foption%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Coption%20value%3D%22Springhill%20Suites%22%3ESpringhill%20Suites%3C%2Foption%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Coption%20value%3D%22Econo%20Lodge%22%3EEcono%20Lodge%3C%2Foption%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Coption%20value%3D%22Hawthorn%20Suites%22%3EHawthorn%20Suites%3C%2Foption%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Coption%20value%3D%22Microtel%20Inn%22%3EMicrotel%20Inn%3C%2Foption%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Coption%20value%3D%22Extended%20Stay%22%3EExtended%20Stay%3C%2Foption%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Coption%20value%3D%22TownePlace%20Suites%22%3ETownePlace%20Suites%3C%2Foption%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Coption%20value%3D%22La%20Quinta%20Inn%22%3ELa%20Quinta%20Inn%3C%2Foption%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Coption%20value%3D%22Drury%20Inn%22%3EDrury%20Inn%3C%2Foption%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Coption%20value%3D%22Masters%20Inn%22%3EMasters%20Inn%3C%2Foption%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Coption%20value%3D%22Sierra%20Suites%22%3ESierra%20Suites%3C%2Foption%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Coption%20value%3D%22AmeriHost%22%3EAmeriHost%3C%2Foption%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Coption%20value%3D%22Baymont%20Inns%20%26%20Suites%22%3EBaymont%20Inns%20%26%20Suites%3C%2Foption%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Coption%20value%3D%22Ritz-Carlton%22%3ERitz-Carlton%3C%2Foption%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Coption%20value%3D%22America%3Fs%20Best%20Inns%22%3EAmerica%3Fs%20Best%20Inns%3C%2Foption%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Coption%20value%3D%22W%20Hotel%22%3EW%20Hotel%3C%2Foption%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Coption%20value%3D%22Wellesley%20Inn%22%3EWellesley%20Inn%3C%2Foption%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Coption%20value%3D%22Studio%206%22%3EStudio%206%3C%2Foption%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fselect%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fdiv%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3Cdiv%20class%3D%22star-rating-block%22%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Clabel%20for%3D%22star-rating%22%3EClassifica%E7%E3o%20por%20estrelas%3A%3C%2Flabel%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cselect%20id%3D%22star-rating%22%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Coption%20value%3D%220%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20selected%3D%22selected%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20N%E3o%20limitar%20resultados%20de%20busca%3C%2Foption%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Coption%20value%3D%221%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%201%20estrela%3C%2Foption%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Coption%20value%3D%222%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%202%20estrelas%3C%2Foption%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Coption%20value%3D%223%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%203%20estrelas%3C%2Foption%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Coption%20value%3D%224%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%204%20estrelas%3C%2Foption%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Coption%20value%3D%225%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%205%20estrelas%3C%2Foption%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fselect%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fdiv%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3Cdiv%20class%3D%22button-block%22%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cbutton%20type%3D%22button%22%20id%3D%22search-btn%22%3EBusca%3C%2Fbutton%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fdiv%3E%0A%20%20%20%20%20%20%20%20%3C%2Fdiv%3E%0A%20%20%20%20%3C%2Fdiv%3E%0A%20%20%20%20%3Cinput%20type%3D%22hidden%22%20id%3D%22lang%22%20value%3D%22pt_BR%22%3E%0A%20%20%20%20%3Cinput%20type%3D%22hidden%22%20id%3D%22currency%22%20value%3D%22USD%22%3E%0A%0A%3C%21--%20Carrega%20o%20YUI%20Loader.%20%20--%3E%0A%0A%3Cscript%20src%3D%22https%3A%2F%2Fwww.travelnow.com%2Ftemplates%2F296999%2Fstatic%2F5%2Fdefault%2Fjs%2Fyui2%2Fyuiloader%2Fyuiloader-min.js%22%3E%3C%21--%20--%3E%3C%2Fscript%3E%0A%0A%3C%21--%20Carrega%20o%20locale%20do%20calend%E1rio.%20--%3E%0A%3Cscript%20src%3D%22https%3A%2F%2Fwww.travelnow.com%2Ftemplates%2F296999%2Fstatic%2F5%2Fdefault%2Fjs%2Flocales%2Flocale_pt_BR.js%22%3E%3C%21--%20--%3E%3C%2Fscript%3E%0A%0A%3Cscript%20type%3D%22text%2Fjavascript%22%3E%0A%0A%2F%2F%20Search%20Widget%20implementation.%0Avar%20SearchWidget%20%3D%20%7B%0A%20%20%20%20checkin%20%3A%20null%2C%0A%20%20%20%20checkout%20%3A%20null%2C%0A%20%20%20%20%2F%2F%20Reference%20to%20YUI%20used%20by%20search%20widget.%0A%20%20%20%20YAHOO%3A%20null%2C%0A%20%20%20%20yuiLocale%3A%20null%2C%0A%0A%20%20%20%20%2F%2F%20Lista%20de%20IDs%20dentro%20do%20widget%20de%20busca.%0A%20%20%20%20%2F%2F%20Se%20alguma%20dessas%20IDs%20entrar%20em%20conflito%20com%20as%20IDs%20j%E1%20existentes%20em%20sua%20p%E1gina.%20Altere-as%20abaixo%20e%20dentro%20do%20formul%E1rio.%0A%20%20%20%20CHECKIN_ID%20%3A%20%22check-in%22%2C%0A%20%20%20%20CHECKIN_ICON_ID%20%3A%20%22checkinIcon%22%2C%0A%20%20%20%20CHECKOUT_ID%20%3A%20%22check-out%22%2C%0A%20%20%20%20CHECKOUT_ICON_ID%20%3A%20%22checkoutIcon%22%2C%0A%20%20%20%20RESET_DATES_ID%20%3A%20%22reset-dates%22%2C%0A%20%20%20%20TARGET_ID%20%3A%20%22targetId%22%2C%0A%20%20%20%20DESTINATION_ID%20%3A%20%22destination%22%2C%0A%20%20%20%20PREDEFINED_DESTINATION_ID%20%3A%20%22predefinedDestination%22%2C%0A%20%20%20%20PREDEFINED_TARGETID_ID%20%3A%20%22predefinedTargetId%22%2C%0A%20%20%20%20ROOMS_ID%20%3A%20%22rooms%22%2C%0A%20%20%20%20ADULTS_ID%20%3A%20%22adults%22%2C%0A%20%20%20%20CHILDREN_ID%20%3A%20%22children%22%2C%0A%20%20%20%20ADULTS_LABEL_ID%20%3A%20%22adults_label%22%2C%0A%20%20%20%20CHILDREN_LABEL_ID%20%3A%20%22children_label%22%2C%0A%20%20%20%20SEARCH_ID%20%3A%20%22search-btn%22%2C%0A%20%20%20%20HOTEL_CHAINS_ID%20%3A%20%22hotel-chains%22%2C%0A%20%20%20%20STAR_CATEGORY_ID%20%3A%20%22star-rating%22%2C%0A%20%20%20%20ROOMS_MAX_COUNT%20%3A%20%22maxcount%22%2C%0A%0A%20%20%20%20%2F%2F%20C%F3digo%20atual%20do%20locale.%0A%20%20%20%20localeCode%20%3A%20%22pt_BR%22%2C%0A%0A%20%20%20%20%2F%2F%20Fields%20to%20store%20calendar%20instances.%0A%20%20%20%20checkinCalendar%20%3A%20null%2C%0A%20%20%20%20checkoutCalendar%20%3A%20null%2C%0A%0A%20%20%20%20%2F%2F%20Fields%20to%20store%20calendar%20dialogs.%0A%20%20%20%20checkinCalendarDialog%20%3A%20null%2C%0A%20%20%20%20checkoutCalendarDialog%20%3A%20null%2C%0A%0A%20%20%20%20today%20%3A%20new%20Date%28%29%2C%0A%20%20%20%20checkInDateSelected%3A%20new%20Date%28%29%2C%0A%20%20%20%20checkOutDateSelected%3A%20new%20Date%28%29%2C%0A%0A%20%20%20%20%2F%2F%20Localiza%20objeto%20carregado%20a%20partir%20do%20arquivo%20JS.%0A%20%20%20%20locale%3A%20null%2C%0A%0A%20%20%20%20%2F%2F%20Main%20initialization%20function.%20Should%20be%20called%20once.%20Refer%EAncia%20de%20argumento%20para%20objeto%20principal%20da%20YUI.%0A%20%20%20%20init%20%3A%20function%28YAHOO_LIBRARY_REF%29%20%7B%0A%20%20%20%20%20%20%20%20var%20self%20%3D%20this%3B%0A%20%20%20%20%20%20%20%20self.YAHOO%20%3D%20YAHOO_LIBRARY_REF%3B%0A%20%20%20%20%20%20%20%20self.loadLocaleFromTemplates%28%29%3B%0A%20%20%20%20%20%20%20%20self.decorateDatelessCheckbox%28%29%3B%0A%20%20%20%20%20%20%20%20self.setInitialCheckinCheckoutDates%28%29%3B%0A%20%20%20%20%20%20%20%20self.decorateCalendars%28%29%3B%0A%20%20%20%20%20%20%20%20self.decorateDates%28%29%3B%0A%20%20%20%20%20%20%20%20self.decoratePredefinedDestinations%28%29%3B%0A%20%20%20%20%20%20%20%20self.decorateRooms%28%29%3B%0A%20%20%20%20%20%20%20%20self.decorateSearch%28%29%3B%0A%20%20%20%20%7D%2C%0A%0A%20%20%20%20%2F%2F%20Applies%20current%20calendar%20locale.%0A%20%20%20%20loadLocaleFromTemplates%20%3A%20function%28%29%20%7B%0A%20%20%20%20%20%20%20%20var%20self%20%3D%20this%3B%0A%20%20%20%20%20%20%20%20if%20%28typeof%20yuiLocales%20%3D%3D%20%22undefined%22%29%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%2F%2F%20Isso%20insere%20o%20locale%20padr%E3o%20se%20n%E3o%20houver%20nenhum%20especificado.%0A%20%20%20%20%20%20%20%20%20%20%20%20self.YAHOO.log%28%22locale%20was%20not%20loaded.%20Possible%20reason%20-%20incorrect%20home%20url%20in%20CP%22%2C%20%22error%22%29%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20self.locale%20%3D%20%7B%7D%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20self.locale.calendarLocale%20%3D%20self.YAHOO.util.DateLocale%3B%0A%20%20%20%20%20%20%20%20%7D%20else%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20self.locale%20%3D%20yuiLocales%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20var%20dateLocale%20%3D%20null%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20var%20loadLocale%20%3D%20function%28postfix%29%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20if%20%28%21dateLocale%29%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20self.localeCode%20%3D%20%22pt_BR%22%20%2B%20postfix%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20dateLocale%20%3D%20yuiLocales.dateLocales%5Bself.localeCode%5D%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20if%20%28%21dateLocale%29%20dateLocale%20%3D%20yuiLocales.calendarLocales%5Bself.localeCode%5D%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%7D%0A%20%20%20%20%20%20%20%20%20%20%20%20%7D%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20%2F%2F%20Isso%20verifica%20por%20varia%E7%F5es%20no%20local%20novo%20%28por%20exemplo%2C%20fr%20pode%20ser%20fr_CA%29.%0A%20%20%20%20%20%20%20%20%20%20%20%20loadLocale%28%22%22%29%3BloadLocale%28%22_SA%22%29%3BloadLocale%28%22_CA%22%29%3BloadLocale%28%22_PL%22%29%3BloadLocale%28%22_TW%22%29%3B%0A%0A%20%20%20%20%20%20%20%20%20%20%20%20var%20originDateLocale%20%3D%20self.YAHOO.lang.merge%28dateLocale%29%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20self.locale.calendarLocale%20%3D%20self.locale.calendarLocales%5Bself.localeCode%5D%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20%2F%2F%20Exigido%20para%20alguns%20idiomas%20como%20o%20hindi.%0A%20%20%20%20%20%20%20%20%20%20%20%20self.locale.calendarLocale%5B%22DATE_RANGE_DELIMITER%22%5D%20%3D%20%22--%22%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20if%20%28%21self.locale.calendarLocale.YEAR_OFFSET%29%20self.locale.calendarLocale.YEAR_OFFSET%20%3D%200%3B%0A%0A%0A%0A%20%20%20%20%20%20%20%20%20%20%20%20self.YAHOO.util.DateLocale%5Bself.localeCode%5D%20%3D%20%20self.YAHOO.lang.merge%28self.YAHOO.util.DateLocale%2C%20dateLocale%29%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20self.YAHOO.util.DateLocale%5Bself.localeCode%20%2B%20%22_origin%22%5D%20%3D%20%20self.YAHOO.lang.merge%28self.YAHOO.util.DateLocale%2C%20originDateLocale%29%3B%0A%20%20%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%2C%0A%0A%20%20%20%20%2F%2F%20Save%20entered%20dates%20in%20case%20of%20switching%20to%20dateless%20mode.%0A%20%20%20%20updateSavedDates%20%3A%20function%28%29%20%7B%0A%20%20%20%20%20%20%20%20var%20self%20%3D%20this%3B%0A%20%20%20%20%20%20%20%20self.checkin%20%3D%20self.YAHOO.util.Dom.get%28self.CHECKIN_ID%29.value%3B%0A%20%20%20%20%20%20%20%20self.checkout%20%3D%20self.YAHOO.util.Dom.get%28self.CHECKOUT_ID%29.value%3B%0A%20%20%20%20%7D%2C%0A%0A%20%20%20%20%2F%2F%20Restore%20saved%20dates%20in%20case%20of%20switching%20back%20to%20calendar%20mode.%0A%20%20%20%20restoreSavedDates%20%3A%20function%28%29%20%7B%0A%20%20%20%20%20%20%20%20var%20self%20%3D%20this%3B%0A%20%20%20%20%20%20%20%20self.YAHOO.util.Dom.get%28self.CHECKIN_ID%29.value%20%3D%20self.checkin%3B%0A%20%20%20%20%20%20%20%20self.YAHOO.util.Dom.get%28self.CHECKOUT_ID%29.value%20%3D%20self.checkout%3B%0A%20%20%20%20%7D%2C%0A%0A%20%20%20%20%2F%2F%20Defina%20propriedade%20de%20%27desativado%27%20de%20check%20in%20e%20check%20out.%0A%20%20%20%20setCheckinCheckoutDisable%20%3A%20function%20%28value%29%20%7B%0A%20%20%20%20%20%20%20%20var%20self%20%3D%20this%3B%0A%20%20%20%20%20%20%20%20self.YAHOO.util.Dom.get%28self.CHECKIN_ID%29.disabled%20%3D%20self.YAHOO.util.Dom.get%28self.CHECKOUT_ID%29.disabled%20%3D%20value%3B%0A%20%20%20%20%7D%2C%0A%0A%20%20%20%20%2F%2F%20Set%20handler%20for%20dateless%20checkbox.%0A%20%20%20%20decorateDatelessCheckbox%20%3A%20function%28%29%20%7B%0A%20%20%20%20%20%20%20%20var%20self%20%3D%20this%3B%0A%20%20%20%20%20%20%20%20var%20datelessCheckBox%20%3D%20self.YAHOO.util.Dom.get%28self.RESET_DATES_ID%29%3B%0A%20%20%20%20%20%20%20%20if%20%28datelessCheckBox%29%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20self.updateSavedDates%28%29%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20self.YAHOO.util.Event.on%28datelessCheckBox%2C%20%22click%22%2C%20function%28%29%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20if%20%28datelessCheckBox.checked%29%20%7B%20%2F%2F%20if%20dateless%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20self.updateSavedDates%28%29%3B%20%2F%2F%20salve%20datas%20inseridas%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%2F%2F%20clear%20fields%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20self.YAHOO.util.Dom.get%28self.CHECKIN_ID%29.value%20%3D%20self.YAHOO.util.Dom.get%28self.CHECKOUT_ID%29.value%20%3D%20%22%22%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%2F%2F%20desative%20campos%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20self.setCheckinCheckoutDisable%28true%29%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%7D%20else%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%2F%2F%20se%20modo%20calend%E1rio%20-%20ative%20campos%20e%20restaure%20datas%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20self.setCheckinCheckoutDisable%28false%29%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20self.restoreSavedDates%28%29%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%7D%0A%20%20%20%20%20%20%20%20%20%20%20%20%7D%29%0A%20%20%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%2C%0A%0A%20%20%20%20%2F%2F%20Fun%E7%F5es%20utilit%E1rias%20-%20adiciona%20dia%20%E0%20data.%0A%20%20%20%20addDays%20%3A%20function%28date%2C%20days%29%20%7B%0A%20%20%20%20%20%20%20%20var%20result%20%3D%20new%20Date%28%29%3B%0A%20%20%20%20%20%20%20%20result.setTime%28date.getTime%28%29%20%2B%20%281000%2A3600%2A24%29%2Adays%29%3B%0A%20%20%20%20%20%20%20%20return%20result%3B%0A%20%20%20%20%7D%2C%0A%0A%20%20%20%20%2F%2F%20Fun%E7%E3o%20utilit%E1ria%20-%20formata%20datas%20de%20acordo%20com%20o%20locale%20atual%0A%20%20%20%20formatDate%20%3A%20function%28date%29%20%7B%0A%20%20%20%20%20%20%20%20var%20self%20%3D%20this%3B%0A%20%20%20%20%20%20%20%20return%20self.YAHOO.util.Date.format%28date%2C%20%7B%20format%3A%20%22%25x%22%20%7D%2C%20self.localeCode%29%3B%0A%20%20%20%20%7D%2C%0A%0A%20%20%20%20%2F%2F%20Fun%E7%E3o%20utilit%E1ria%20-%20analisa%20dados%20de%20acordo%20com%20o%20locale%20atual%0A%20%20%20%20parseDate%20%3A%20function%28sDate%29%20%7B%0A%20%20%20%20%20%20%20%20var%20self%20%3D%20this%3B%0A%20%20%20%20%20%20%20%20var%20aDate%20%3D%20sDate.split%28self.locale.calendarLocale.DATE_FIELD_DELIMITER%29%3B%0A%20%20%20%20%20%20%20%20var%20rArray%3B%0A%0A%20%20%20%20%20%20%20%20if%20%28aDate.length%20%3D%3D%202%29%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20rArray%20%3D%20%5BaDate%5Bself.locale.calendarLocale.MD_MONTH_POSITION-1%5D%2CaDate%5Bself.locale.calendarLocale.MD_DAY_POSITION-1%5D%5D%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20rArray.type%20%3D%20self.YAHOO.widget.Calendar.MONTH_DAY%3B%0A%20%20%20%20%20%20%20%20%7D%20else%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20rArray%20%3D%20%5BaDate%5Bself.locale.calendarLocale.MDY_YEAR_POSITION-1%5D%20-%20self.locale.calendarLocale.YEAR_OFFSET%2C%20aDate%5Bself.locale.calendarLocale.MDY_MONTH_POSITION-1%5D%2CaDate%5Bself.locale.calendarLocale.MDY_DAY_POSITION-1%5D%5D%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20rArray.type%20%3D%20self.YAHOO.widget.Calendar.DATE%3B%0A%20%20%20%20%20%20%20%20%7D%0A%0A%20%20%20%20%20%20%20%20for%20%28var%20i%3D0%3Bi%3CrArray.length%3Bi%2B%2B%29%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20rArray%5Bi%5D%20%3D%20parseInt%28rArray%5Bi%5D%2C%2010%29%3B%0A%20%20%20%20%20%20%20%20%7D%0A%20%20%20%20%20%20%20%20return%20self.YAHOO.widget.DateMath.getDate%28rArray%5B0%5D%2C%28rArray%5B1%5D-1%29%2CrArray%5B2%5D%29%0A%20%20%20%20%7D%2C%0A%0A%20%20%20%20%2F%2F%20Fun%E7%E3o%20utilit%E1ria%20-%20formata%20data%20e%20define-a%20ao%20calend%E1rio%0A%20%20%20%20setCalendarDate%20%3A%20function%28calendar%2C%20date%29%20%7B%0A%20%20%20%20%20%20%20%20var%20self%20%3D%20this%3B%0A%20%20%20%20%20%20%20%20if%20%28calendar%29%20calendar.select%28self.formatDate%28date%29%29%3B%0A%20%20%20%20%7D%2C%0A%0A%20%20%20%20%2F%2F%20Calcule%20e%20defina%20datas%20iniciais%0A%20%20%20%20setInitialCheckinCheckoutDates%20%3A%20function%28%29%20%7B%0A%20%20%20%20%20%20%20%20var%20self%20%3D%20this%3B%0A%20%20%20%20%20%20%20%20%2F%2F%20today%20%2B%203%20days%0A%20%20%20%20%20%20%20%20self.checkInDateSelected%20%3D%20self.addDays%28self.today%2C%203%29%3B%0A%20%20%20%20%20%20%20%20%2F%2F%20today%20%2B%205%20days%0A%20%20%20%20%20%20%20%20self.checkOutDateSelected%20%3D%20self.addDays%28self.checkInDateSelected%2C%202%29%3B%0A%20%20%20%20%20%20%20%20%2F%2F%20set%20values%20to%20inputs%0A%20%20%20%20%20%20%20%20self.YAHOO.util.Dom.get%28self.CHECKIN_ID%29.value%20%3D%20self.formatDate%28self.checkInDateSelected%29%3B%0A%20%20%20%20%20%20%20%20self.YAHOO.util.Dom.get%28self.CHECKOUT_ID%29.value%20%3D%20self.formatDate%28self.checkOutDateSelected%29%3B%0A%20%20%20%20%7D%2C%0A%0A%20%20%20%20%2F%2F%20Defina%20targetId%20e%20destino%20para%20especificar%20local%20de%20busca.%0A%20%20%20%20setTargetData%20%3A%20function%28destination%2C%20targetId%29%20%7B%0A%20%20%20%20%20%20%20%20var%20self%20%3D%20this%3B%0A%20%20%20%20%20%20%20%20self.YAHOO.util.Dom.get%28self.TARGET_ID%29.value%20%3D%20targetId%3B%0A%20%20%20%20%20%20%20%20self.YAHOO.util.Dom.get%28self.DESTINATION_ID%29.value%20%3D%20destination%3B%0A%20%20%20%20%7D%2C%0A%0A%20%20%20%20%2F%2F%20Set%20event%20handlers%20for%20selectors%20of%20predefined%20destinations.%0A%20%20%20%20decoratePredefinedDestinations%20%3A%20function%28%29%20%7B%0A%20%20%20%20%20%20%20%20var%20self%20%3D%20this%3B%0A%20%20%20%20%20%20%20%20%2F%2F%20seletores%20com%20destinos%20predefinidos%0A%20%20%20%20%20%20%20%20var%20radios%20%3D%20self.YAHOO.util.Selector.query%28%27input%5Bname%5E%3Dpredefined%5D%27%29%3B%0A%20%20%20%20%20%20%20%20for%20%28var%20index%20%3D%200%3B%20index%20%3C%20radios.length%3B%20index%2B%2B%29%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%2F%2F%20on%20click%20for%20any%0A%20%20%20%20%20%20%20%20%20%20%20%20self.YAHOO.util.Event.on%28radios%5Bindex%5D%2C%22click%22%2C%20function%28e%2C%20radio%29%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%2F%2F%20defina%20como%20marcado%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20radio.checked%20%3D%20true%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%2F%2F%20defina%20dados%20do%20local%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20self.setTargetData%28radio.value%2C%20radio.id%29%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20%7D%2C%20radios%5Bindex%5D%29%3B%0A%20%20%20%20%20%20%20%20%7D%0A%0A%20%20%20%20%20%20%20%20var%20destination%20%3D%20self.YAHOO.util.Dom.get%28self.DESTINATION_ID%29%3B%0A%0A%20%20%20%20%20%20%20%20%2F%2F%20if%20users%20changes%20destination%0A%20%20%20%20%20%20%20%20self.YAHOO.util.Event.on%28destination%2C%20%22change%22%2C%20function%28e%29%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%2F%2F%20defina%20texto%20de%20destino%2C%20mas%20apague%20targetId%20%28ir%E1%20calcular%20ap%F3s%20redirecionar%29%0A%20%20%20%20%20%20%20%20%20%20%20%20self.setTargetData%28destination.value%2C%20%22%22%29%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20%2F%2F%20verifique%20todos%20os%20r%E1dios%20para%20destino%20predefinido%0A%20%20%20%20%20%20%20%20%20%20%20%20for%20%28var%20i%20%3D%200%3B%20i%20%3C%20radios.length%3B%20i%2B%2B%29%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%2F%2F%20se%20o%20texto%20de%20r%E1dio%20estiver%20diferente%20daquele%20inserido%20pelo%20usu%E1rio%20-%20desmarque-o%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20if%20%28radios%5Bi%5D.value%20%21%3D%20destination.value%29%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20if%20%28radios%5Bi%5D.checked%29%20radios%5Bi%5D.checked%20%3D%20false%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%7D%20else%20%7B%20%2F%2F%20caso%20contr%E1rio%20definir%20targetId%20correto%20%28de%20dados%20predefinidos%29%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20radios%5Bi%5D.checked%20%3D%20true%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20self.setTargetData%28radios%5Bi%5D.value%2C%20radios%5Bi%5D.id%29%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20break%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%7D%0A%20%20%20%20%20%20%20%20%20%20%20%20%7D%0A%20%20%20%20%20%20%20%20%20%20%20%20%2F%2F%20se%20dados%20previamente%20preenchidos%20forem%20usados%20para%20as%20configura%E7%F5es%20iniciais%2C%20use%20os%20destinos%20inseridos%20pelo%20usu%E1rio%0A%20%20%20%20%20%20%20%20%20%20%20%20if%20%28self.YAHOO.util.Dom.get%28self.PREDEFINED_DESTINATION_ID%29%20%26%26%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20self.YAHOO.util.Dom.get%28self.PREDEFINED_DESTINATION_ID%29%20%3D%3D%20destination.value%29%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%2F%2F%20defina%20targetId%20para%20destino%20previamente%20preenchido%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20self.setTargetData%28self.YAHOO.util.Dom.get%28self.PREDEFINED_DESTINATION_ID%29.value%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20self.YAHOO.util.Dom.get%28self.PREDEFINED_TARGETID_ID%29.value%29%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20%7D%0A%0A%20%20%20%20%20%20%20%20%7D%29%3B%0A%20%20%20%20%7D%2C%0A%0A%20%20%20%20%2F%2F%20Set%20event%20handler%20for%20search%20button.%0A%20%20%20%20decorateSearch%20%3A%20function%28%29%20%7B%0A%20%20%20%20%20%20%20%20var%20self%20%3D%20this%3B%0A%0A%20%20%20%20%20%20%20%20%2F%2F%20inicie%20busca%20ao%20clicar%0A%20%20%20%20%20%20%20%20self.YAHOO.util.Event.on%28self.YAHOO.util.Dom.get%28self.SEARCH_ID%29%2C%20%22click%22%2C%20function%28%29%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20var%20data%20%3D%20%7B%7D%3B%20%2F%2F%20dados%20para%20redirecionar%20%28ir%E1%20converter%20para%20par%E2metros%20URL%29%0A%20%20%20%20%20%20%20%20%20%20%20%20var%20targetId%20%3D%20self.YAHOO.util.Dom.get%28self.TARGET_ID%29%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20%2F%2F%20target%20id%20looks%20like%20XXXXX%7CYYYY%7CZZZ%2C%20leave%20only%20XXXXX%7CYYYY%0A%20%20%20%20%20%20%20%20%20%20%20%20if%20%28targetId.value%29%20data%5B%22targetId%22%5D%20%3D%20targetId.value.split%28%22%7C%22%29%5B0%5D%20%2B%20%22%7C%22%20%2B%20targetId.value.split%28%22%7C%22%29%5B1%5D%3B%0A%0A%20%20%20%20%20%20%20%20%20%20%20%20%2F%2F%20colete%20dados%20do%20destino%20inserido%0A%20%20%20%20%20%20%20%20%20%20%20%20var%20destination%20%3D%20self.YAHOO.util.Dom.get%28self.DESTINATION_ID%29%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20if%20%28destination.value%29%20data%5B%22destination%22%5D%20%3D%20destination.value%3B%0A%0A%20%20%20%20%20%20%20%20%20%20%20%20%2F%2F%20se%20modo%20sem%20data%20est%E1%20ativado%20-%20passe%20par%E2metros%20para%20informar%20o%20servidor%0A%20%20%20%20%20%20%20%20%20%20%20%20if%20%28self.YAHOO.util.Dom.get%28self.RESET_DATES_ID%29.checked%29%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20data%5B%22datelessValidating%22%5D%20%3D%20%22true%22%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20data%5B%22checkin%22%5D%20%3D%20data%5B%22checkout%22%5D%20%3D%20%22null%22%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20data%5B%22dateless%22%5D%20%3D%20%22true%22%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20%7D%20else%20%7B%20%2F%2F%20caso%20contr%E1rio%20obtenha%20datas%20inseridas%20pelo%20usu%E1rio%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%2F%2F%20%20return%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20var%20checkin%20%3D%20self.parseDate%28self.YAHOO.util.Dom.get%28self.CHECKIN_ID%29.value%29%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20var%20checkout%20%3D%20self.parseDate%28self.YAHOO.util.Dom.get%28self.CHECKOUT_ID%29.value%29%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20data%5B%22checkin%22%5D%20%3D%20self.YAHOO.util.Date.format%28checkin%2C%20%7B%20format%3A%20%22%25x%22%20%7D%2C%20self.localeCode%20%2B%20%22_origin%22%29%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20data%5B%22checkout%22%5D%20%3D%20self.YAHOO.util.Date.format%28checkout%2C%20%7B%20format%3A%20%22%25x%22%20%7D%2C%20self.localeCode%20%2B%20%22_origin%22%29%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20%7D%0A%0A%20%20%20%20%20%20%20%20%20%20%20%20var%20rooms%20%3D%20self.YAHOO.util.Dom.get%28self.ROOMS_ID%29%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20var%20children%20%3D%20self.YAHOO.util.Dom.get%28self.CHILDREN_ID%29%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20data%5B%22roomsCount%22%5D%20%3D%20rooms.value%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20if%20%28rooms.value%20%3D%3D%201%29%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%2F%2F%20se%20somente%20um%20quarto%20estiver%20selecionado%20-%20obtenha%20o%20n%FAmero%20de%20adultos%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20data%5B%22rooms%5B0%5D.adultsCount%22%5D%20%3D%20self.YAHOO.util.Dom.get%28self.ADULTS_ID%29.value%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20data%5B%22rooms%5B0%5D.childrenCount%22%5D%20%3D%20children.value%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%2F%2F%20and%20set%20age%20of%20all%20children%20to%207.%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20for%20%28var%20q%20%3D%200%3B%20q%20%3C%20children.value%3B%20q%2B%2B%29%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20data%5B%22rooms%5B0%5D.children%5B%22%20%2B%20q%20%2B%20%22%5D.age%22%5D%20%3D%20%227%22%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%7D%0A%20%20%20%20%20%20%20%20%20%20%20%20%7D%20else%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%2F%2F%20se%20mais%20de%201%20quarto%20estiver%20selecionado%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20for%20%28var%20i%20%3D%200%3B%20i%20%3C%20rooms.value%3B%20i%2B%2B%29%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%2F%2F%20defina%20adultos%20%3D%202%20e%20crian%E7as%20%3D%200%20para%20cada%20quarto%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20data%5B%22rooms%5B%22%20%2B%20i%20%2B%20%22%5D.adultsCount%22%5D%20%3D%20%222%22%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20data%5B%22rooms%5B%22%20%2B%20i%20%2B%20%22%5D.childrenCount%22%5D%20%3D%20%220%22%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%7D%0A%20%20%20%20%20%20%20%20%20%20%20%20%7D%0A%0A%20%20%20%20%20%20%20%20%20%20%20%20%2F%2F%20se%20o%20filtro%20de%20cadeia%20de%20hot%E9is%20ou%20de%20classifica%E7%E3o%20por%20estrelas%20estiver%20definido%20-%20adicione-o%20aos%20par%E2metros%0A%20%20%20%20%20%20%20%20%20%20%20%20var%20chains%20%3D%20self.YAHOO.util.Dom.get%28self.HOTEL_CHAINS_ID%29%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20if%20%28chains.selectedIndex%29%20data%5B%22filter.hotelName%22%5D%20%3D%20chains.value%3B%0A%0A%20%20%20%20%20%20%20%20%20%20%20%20var%20stars%20%3D%20self.YAHOO.util.Dom.get%28self.STAR_CATEGORY_ID%29%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20if%20%28stars.selectedIndex%29%20data%5B%22filter.starRates%22%5D%20%3D%20stars.value%3B%0A%0A%20%20%20%20%20%20%20%20%20%20%20%20%2F%2F%20defina%20idioma%20e%20moeda%0A%20%20%20%20%20%20%20%20%20%20%20%20data%5B%22lang%22%5D%20%3D%20%22pt_BR%22%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20data%5B%22currency%22%5D%20%3D%20%22USD%22%3B%0A%0A%20%20%20%20%20%20%20%20%20%20%20%20%2F%2F%20prepare%20URL%20para%20redirecionar%0A%20%20%20%20%20%20%20%20%20%20%20%20var%20url%20%3D%20%22https%3A%2F%2Fwww.travelnow.com%2Ftemplates%2F296999%2FsearchWidget%3Fautosearch%3Dtrue%22%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20%0A%20%20%20%20%20%20%20%20%20%20%20%20for%20%28var%20key%20in%20data%29%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20url%20%2B%3D%20%28%22%26%22%20%2B%20key%20%2B%20%22%3D%22%20%2B%20encodeURIComponent%28data%5Bkey%5D%29%29%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20%7D%0A%20%20%20%20%20%20%20%20%20%20%20%20%2F%2F%20e%20abra%20em%20uma%20nova%20guia%0A%20%20%20%20%20%20%20%20%20%20%20%20window.open%28url%2C%27_newtab%27%29%3B%0A%20%20%20%20%20%20%20%20%7D%29%3B%0A%20%20%20%20%7D%2C%0A%0A%20%20%20%20%2F%2F%20Set%20event%20handlers%20for%20checkin%20and%20checkout%20checkboxes.%0A%20%20%20%20decorateDates%20%3A%20function%28%29%20%7B%0A%20%20%20%20%20%20%20%20function%20isValidDate%28d%29%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20if%20%28%20Object.prototype.toString.call%28d%29%20%21%3D%3D%20%22%5Bobject%20Date%5D%22%20%29%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20return%20false%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20return%20%21isNaN%28d.getTime%28%29%29%3B%0A%20%20%20%20%20%20%20%20%7D%0A%0A%20%20%20%20%20%20%20%20var%20self%20%3D%20this%3B%0A%20%20%20%20%20%20%20%20var%20checkin%20%3D%20self.YAHOO.util.Dom.get%28self.CHECKIN_ID%29%3B%0A%20%20%20%20%20%20%20%20%2F%2F%20data%20de%20check%20in%20for%20alterada%20pelo%20usu%E1rio%20%28sem%20calend%E1rio%29%0A%20%20%20%20%20%20%20%20self.YAHOO.util.Event.on%28checkin%2C%20%22change%22%2C%20function%28e%29%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20var%20date%20%3D%20self.parseDate%28checkin.value%29%3B%20%2F%2F%20tente%20analisar%0A%20%20%20%20%20%20%20%20%20%20%20%20if%20%28isValidDate%28date%29%20%26%26%20date%20%21%3D%20self.checkInDateSelected%29%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%2F%2F%20se%20o%20formato%20est%E1%20correto%20e%20foi%20alterado%20-%20atualize%20o%20calend%E1rio%20com%20a%20data%20inserida%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20self.checkInDateSelected%20%3D%20date%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20self.setCalendarDate%28self.checkinCalendar%2C%20date%29%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%2F%2F%20se%20a%20data%20de%20check%20out%20for%20anterior%20%E0%20data%20de%20check%20in%20-%20corrija-a%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20if%20%28self.addDays%28self.checkOutDateSelected%2C%20-1%29%20%3C%20self.checkInDateSelected%29%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%2F%2F%20novo%20check%20out%20%3D%20check%20in%20mais%201%20dia%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20self.checkOutDateSelected%20%3D%20self.addDays%28self.checkInDateSelected%2C%201%29%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%2F%2F%20atualize%20o%20calend%E1rio%20e%20o%20campo%20de%20texto%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20self.setCalendarDate%28self.checkoutCalendar%2C%20self.checkOutDateSelected%29%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20self.YAHOO.util.Dom.get%28self.CHECKOUT_ID%29.value%20%3D%20self.formatDate%28self.checkOutDateSelected%29%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%7D%0A%20%20%20%20%20%20%20%20%20%20%20%20%7D%0A%20%20%20%20%20%20%20%20%7D%29%3B%0A%0A%20%20%20%20%20%20%20%20var%20checkout%20%3D%20self.YAHOO.util.Dom.get%28self.CHECKOUT_ID%29%3B%0A%20%20%20%20%20%20%20%20%2F%2F%20se%20o%20check%20out%20foi%20alterado%0A%20%20%20%20%20%20%20%20self.YAHOO.util.Event.on%28checkout%2C%20%22change%22%2C%20function%28e%29%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20var%20date%20%3D%20self.parseDate%28checkout.value%29%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20if%20%28isValidDate%28date%29%20%26%26%20date%20%21%3D%20self.checkOutDateSelected%29%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%2F%2F%20se%20o%20formato%20est%E1%20correto%20e%20foi%20alterado%20-%20atualize%20o%20calend%E1rio%20com%20a%20data%20inserida%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20self.checkOutDateSelected%20%3D%20date%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20self.setCalendarDate%28self.checkoutCalendar%2C%20date%29%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%2F%2F%20se%20a%20data%20de%20check%20out%20for%20anterior%20%E0%20data%20de%20check%20in%20-%20corrija-a%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20if%20%28self.addDays%28self.checkOutDateSelected%2C%20-1%29%20%3C%20self.checkInDateSelected%29%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%2F%2F%20novo%20check%20out%20%3D%20check%20in%20menos%201%20dia%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20self.checkInDateSelected%20%3D%20self.addDays%28self.checkOutDateSelected%2C%20-1%29%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20self.setCalendarDate%28self.checkinCalendar%2C%20self.checkInDateSelected%29%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20self.YAHOO.util.Dom.get%28self.CHECKIN_ID%29.value%20%3D%20self.formatDate%28self.checkInDateSelected%29%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%7D%0A%20%20%20%20%20%20%20%20%20%20%20%20%7D%0A%20%20%20%20%20%20%20%20%7D%29%0A%20%20%20%20%7D%2C%0A%0A%20%20%20%20%2F%2F%20Defina%20manipuladores%20de%20eventos%20para%20selecionadores%20de%20quarto.%0A%20%20%20%20decorateRooms%20%3A%20function%28%29%20%7B%0A%20%20%20%20%20%20%20%20var%20self%20%3D%20this%3B%0A%20%20%20%20%20%20%20%20var%20rooms%20%3D%20self.YAHOO.util.Dom.get%28self.ROOMS_ID%29%3B%0A%20%20%20%20%20%20%20%20var%20adults%20%3D%20self.YAHOO.util.Dom.get%28self.ADULTS_ID%29%3B%0A%20%20%20%20%20%20%20%20var%20children%20%3D%20self.YAHOO.util.Dom.get%28self.CHILDREN_ID%29%3B%0A%20%20%20%20%20%20%20%20var%20adultsLabel%20%3D%20self.YAHOO.util.Dom.get%28self.ADULTS_LABEL_ID%29%3B%0A%20%20%20%20%20%20%20%20var%20childrenLabel%20%3D%20self.YAHOO.util.Dom.get%28self.CHILDREN_LABEL_ID%29%3B%0A%0A%20%20%20%20%20%20%20%20%2F%2F%20n%FAmero%20de%20altera%E7%F5es%20de%20n%FAmeros%20de%20quarto%0A%20%20%20%20%20%20%20%20self.YAHOO.util.Event.on%28rooms%2C%20%22change%22%2C%20function%28e%29%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%2F%2F%20se%20zero%280%29%20-%20esconda%20listas%20suspensas%20de%20adultos%20e%20crian%E7as%2C%20caso%20contr%E1rio%20as%20exiba%0A%20%20%20%20%20%20%20%20%20%20%20%20var%20display%20%3D%20rooms.value%20%3D%3D%201%20%3F%20%22block%22%20%3A%20%22none%22%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20self.YAHOO.util.Dom.setStyle%28adults%2C%20%22display%22%2C%20display%29%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20self.YAHOO.util.Dom.setStyle%28children%2C%20%22display%22%2C%20display%29%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20self.YAHOO.util.Dom.setStyle%28adultsLabel%2C%20%22display%22%2C%20display%29%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20self.YAHOO.util.Dom.setStyle%28childrenLabel%2C%20%22display%22%2C%20display%29%3B%0A%20%20%20%20%20%20%20%20%7D%29%3B%0A%20%20%20%20%7D%2C%0A%0A%20%20%20%20%2F%2F%20Defina%20manipuladores%20de%20eventos%20para%20calend%E1rios.%0A%20%20%20%20decorateCalendars%20%3A%20function%28%29%20%7B%0A%20%20%20%20%20%20%20%20var%20self%20%3D%20this%3B%0A%20%20%20%20%20%20%20%20%2F%2F%20fun%E7%E3o%20para%20inicializar%20e%20exibir%20calend%E1rio%20de%20check%20in%0A%20%20%20%20%20%20%20%20var%20showCheckInCalendar%20%3D%20function%28%29%20%7B%0A%0A%20%20%20%20%20%20%20%20%20%20%20%20var%20checkIn%20%3D%20self.YAHOO.util.Dom.get%28self.CHECKIN_ID%29%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20var%20checkInIcon%20%3D%20self.YAHOO.util.Dom.get%28self.CHECKIN_ICON_ID%29%3B%0A%0A%20%20%20%20%20%20%20%20%20%20%20%20self.showCalendar%28%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%2F%2F%20m%E9todos%20seletores%20e%20modificadores%20para%20di%E1logo%20do%20calend%E1rio%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20self.CHECKIN_ID%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20get%3A%20function%28%29%20%7Breturn%20self.checkinCalendarDialog%3B%7D%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20set%3A%20function%28value%29%20%7Bself.checkinCalendarDialog%20%3D%20value%3B%7D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%2F%2F%20m%E9todos%20seletores%20e%20modificadores%20para%20objeto%20do%20calend%E1rio%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20get%3A%20function%28%29%20%7Breturn%20self.checkinCalendar%3B%7D%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20set%3A%20function%28value%29%20%7Bself.checkinCalendar%20%3D%20value%3B%7D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%2F%2F%20se%20usu%E1rio%20clicar%20em%20qualquer%20lugar%20menos%20o%20calend%E1rio%20-%20o%20calend%E1rio%20fecha%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20function%20%28el%29%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20return%20el%20%21%3D%20checkIn%20%26%26%20%21self.YAHOO.util.Dom.isAncestor%28checkIn%2C%20el%29%20%26%26%20el%20%21%3D%20checkInIcon%20%26%26%20%21self.YAHOO.util.Dom.isAncestor%28checkInIcon%2C%20el%29%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%2F%2F%20usu%E1rio%20seleciona%20nova%20data%20no%20calend%E1rio%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20function%20%28date%29%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20self.checkInDateSelected%20%3D%20date%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20self.YAHOO.util.Dom.get%28self.CHECKIN_ID%29.value%20%3D%20self.formatDate%28date%29%3B%0A%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%2F%2F%20ajuste%20se%20a%20data%20de%20check%20out%20estiver%20incorreta%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20if%20%28self.addDays%28self.checkOutDateSelected%2C%20-1%29%20%3C%20self.checkInDateSelected%29%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20self.checkOutDateSelected%20%3D%20self.addDays%28self.checkInDateSelected%2C%201%29%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20self.setCalendarDate%28self.checkoutCalendar%2C%20self.checkOutDateSelected%29%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20self.YAHOO.util.Dom.get%28self.CHECKOUT_ID%29.value%20%3D%20self.formatDate%28self.checkOutDateSelected%29%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%7D%0A%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%2F%2F%20em%20seguida%2C%20ajuste%20a%20data%20m%EDnima%20do%20calend%E1rio%20de%20check%20out%20de%20acordo%20com%20a%20nova%20data%20de%20check%20in%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20if%20%28self.checkoutCalendar%29%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20self.checkoutCalendar.cfg.setProperty%28%22mindate%22%2C%20self.addDays%28self.checkInDateSelected%2C%201%29%29%3B%0A%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20iframe%3Afalse%2C%20%20%20%20%20%20%20%20%20%20%2F%2F%20Turn%20iframe%20off%2C%20since%20container%20has%20iframe%20support.%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20hide_blank_weeks%3Atrue%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20mindate%3A%20self.today%2C%0A%20%20%20%20%20%20%20%20start_weekday%20%3A%201%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20initDate%20%3A%20function%28%29%20%7Breturn%20self.checkInDateSelected%3B%7D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%7D%0A%20%20%20%20%20%20%20%20%20%20%20%20%29%3B%0A%20%20%20%20%20%20%20%20%7D%3B%0A%20%20%20%20%20%20%20%20%2F%2F%20open%20checkin%20calendar%20on%20click%3A%0A%0A%20%20%20%20%20%20%20%20self.YAHOO.util.Event.on%28self.YAHOO.util.Dom.get%28self.CHECKIN_ID%29%2C%20%22focus%22%2C%20function%28%29%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20showCheckInCalendar%28%29%3B%0A%20%20%20%20%20%20%20%20%7D%29%3B%0A%0A%20%20%20%20%20%20%20%20self.YAHOO.util.Event.on%28self.YAHOO.util.Dom.get%28self.CHECKIN_ICON_ID%29%2C%20%22click%22%2C%20function%28%29%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20if%20%28%21self.YAHOO.util.Dom.get%28self.CHECKIN_ID%29.disabled%29%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20showCheckInCalendar%28%29%3B%0A%20%20%20%20%20%20%20%20%7D%29%3B%0A%0A%0A%20%20%20%20%20%20%20%20%2F%2F%20see%20comment%20for%20checkin%20calenar%2C%20it%20is%2050%25%20the%20same.%0A%20%20%20%20%20%20%20%20var%20showCheckOutCalendar%20%3D%20function%28%29%20%7B%0A%0A%20%20%20%20%20%20%20%20%20%20%20%20var%20checkOut%20%3D%20self.YAHOO.util.Dom.get%28self.CHECKOUT_ID%29%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20var%20checkOutIcon%20%3D%20self.YAHOO.util.Dom.get%28self.CHECKOUT_ICON_ID%29%3B%0A%0A%20%20%20%20%20%20%20%20%20%20%20%20self.showCalendar%28%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20self.CHECKOUT_ID%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20get%3A%20function%28%29%20%7Breturn%20self.checkoutCalendarDialog%3B%7D%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20set%3A%20function%28value%29%20%7Bself.checkoutCalendarDialog%20%3D%20value%3B%7D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20get%3A%20function%28%29%20%7Breturn%20self.checkoutCalendar%3B%7D%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20set%3A%20function%28value%29%20%7Bself.checkoutCalendar%20%3D%20value%3B%7D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20function%20%28el%29%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20return%20el%20%21%3D%20checkOut%20%26%26%20%21self.YAHOO.util.Dom.isAncestor%28checkOut%2C%20el%29%20%26%26%20%20el%20%21%3D%20checkOutIcon%20%26%26%20%21self.YAHOO.util.Dom.isAncestor%28checkOutIcon%2C%20el%29%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20function%28date%29%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20self.YAHOO.util.Dom.get%28self.CHECKOUT_ID%29.value%20%3D%20self.formatDate%28date%29%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20iframe%3Afalse%2C%20%20%20%20%20%20%20%20%20%20%2F%2F%20Turn%20iframe%20off%2C%20since%20container%20has%20iframe%20support.%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20hide_blank_weeks%3Atrue%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20mindate%3A%20self.addDays%28self.checkInDateSelected%2C%201%29%2C%0A%20%20%20%20%20%20%20%20start_weekday%20%3A%201%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20initDate%20%3A%20function%28%29%20%7Breturn%20self.checkOutDateSelected%3B%7D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%7D%0A%20%20%20%20%20%20%20%20%20%20%20%20%29%3B%0A%20%20%20%20%20%20%20%20%7D%3B%0A%0A%20%20%20%20%20%20%20%20self.YAHOO.util.Event.on%28self.YAHOO.util.Dom.get%28self.CHECKOUT_ID%29%2C%20%22focus%22%2C%20function%28%29%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20showCheckOutCalendar%28%29%3B%0A%20%20%20%20%20%20%20%20%7D%29%3B%0A%0A%20%20%20%20%20%20%20%20self.YAHOO.util.Event.on%28self.YAHOO.util.Dom.get%28self.CHECKOUT_ICON_ID%29%2C%20%22click%22%2C%20function%28%29%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20if%20%28%21self.YAHOO.util.Dom.get%28self.CHECKOUT_ID%29.disabled%29%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20showCheckOutCalendar%28%29%3B%0A%20%20%20%20%20%20%20%20%7D%29%3B%0A%0A%20%20%20%20%7D%2C%0A%0A%20%20%20%20%20%2F%2F%20Crie%20calend%E1rio.%0A%20%20%20%20%20%2F%2F%20%40param%20containerId%20id%20of%20DOM%20container%20for%20calendar.%0A%20%20%20%20%20%2F%2F%20%40param%20dialogStore%20get%2Fset%20object%20for%20dialog.%0A%20%20%20%20%20%2F%2F%20%40param%20calendarStore%20get%2Fset%20object%20for%20calendar.%0A%20%20%20%20%20%2F%2F%20%40param%20shouldHide%20callback%20to%20get%20info%20about%20closing.%0A%20%20%20%20%20%2F%2F%20%40param%20changeCallback%20callback%20to%20call%20on%20date%20selection.%0A%20%20%20%20%20%2F%2F%20%40param%20options%20calendar%20init%20options%20%28according%20YAHOO%20UI%20Calendar%20widget%29.%0A%20%20%20%20showCalendar%20%3A%20function%28containerId%2C%20dialogStore%2C%20calendarStore%2C%20shouldHide%2C%20changeCallback%2C%20options%29%20%20%7B%0A%20%20%20%20%20%20%20%20var%20self%20%3D%20this%3B%0A%20%20%20%20%20%20%20%20%2F%2F%20Estilo%20CSS%20padr%E3o%20para%20evitar%20texto%20preto%20para%20datas%20de%20hoje.%0A%20%20%20%20%20%20%20%20self.YAHOO.widget.Calendar.STYLES.CSS_CELL_TODAY%20%3D%20%22%22%3B%0A%0A%20%20%20%20%20%20%20%20%2F%2F%20if%20no%20dialog%20yet%20-%20create%20it.%0A%20%20%20%20%20%20%20%20if%20%28%21dialogStore.get%28%29%29%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20dialogStore.set%28new%20self.YAHOO.widget.Dialog%28containerId%20%2B%20%22Container%22%2C%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20visible%3Afalse%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20context%3A%5B%22show%22%2C%20%22tl%22%2C%20%22bl%22%5D%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20buttons%3A%5B%5D%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20draggable%3Afalse%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20close%3Afalse%0A%20%20%20%20%20%20%20%20%20%20%20%20%7D%29%29%3B%0A%0A%20%20%20%20%20%20%20%20%20%20%20%20%2F%2F%20hide%20dialog%20if%20we%20click%20anywhere%20in%20the%20document%20other%20than%20the%20calendar%0A%20%20%20%20%20%20%20%20%20%20%20%20self.YAHOO.util.Event.on%28document%2C%20%22click%22%2C%20function%28e%29%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20var%20el%20%3D%20self.YAHOO.util.Event.getTarget%28e%29%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20var%20dialogEl%20%3D%20dialogStore.get%28%29.element%3B%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%2F%2F%20call%20to%20callback%20for%20info%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20if%20%28el%20%21%3D%20dialogEl%20%26%26%20%21self.YAHOO.util.Dom.isAncestor%28dialogEl%2C%20el%29%20%26%26%20shouldHide%28el%29%29%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20dialogStore.get%28%29.hide%28%29%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%7D%0A%20%20%20%20%20%20%20%20%20%20%20%20%7D%29%3B%0A%0A%20%20%20%20%20%20%20%20%20%20%20%20%2F%2F%20inject%20DOM%20element%20for%20calendar.%0A%20%20%20%20%20%20%20%20%20%20%20%20dialogStore.get%28%29.setBody%28%27%3Cdiv%20id%3D%22%27%20%2B%20containerId%20%2B%20%27ContainerCalendar%22%3E%3C%2Fdiv%3E%27%29%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20dialogStore.get%28%29.render%28self.YAHOO.util.Dom.get%28containerId%20%2B%20%27DialogContainer%27%29%29%3B%0A%0A%20%20%20%20%20%20%20%20%20%20%20%20dialogStore.get%28%29.showEvent.subscribe%28function%28%29%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20if%20%28self.YAHOO.env.ua.ie%29%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%2F%2F%20Since%20we%27re%20hiding%20the%20table%20using%20yui-overlay-hidden%2C%20we%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%2F%2F%20queremos%20que%20o%20di%E1logo%20saiba%20que%20o%20tamanho%20do%20conte%FAdo%20foi%20alterado%2C%20quando%20exibido%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%2F%2F%20.%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20dialogStore.get%28%29.fireEvent%28%22changeContent%22%29%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%7D%0A%20%20%20%20%20%20%20%20%20%20%20%20%7D%29%3B%0A%20%20%20%20%20%20%20%20%7D%0A%0A%20%20%20%20%20%20%20%20%2F%2F%20if%20there%20is%20no%20calendar%20yet%20-%20create%20it.%0A%20%20%20%20%20%20%20%20if%20%28%21calendarStore.get%28%29%29%20%7B%0A%0A%20%20%20%20%20%20%20%20%20%20%20%20calendarStore.set%28new%20self.YAHOO.widget.Calendar%28containerId%20%2B%20%27ContainerCalendar%27%2C%20options%29%29%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20%2F%2F%20define%20o%20modelo%20de%20semana%20com%20base%20no%20local%20selecionado.%0A%20%20%20%20%20%20%20%20%20%20%20%20for%20%28var%20key%20in%20self.locale.calendarLocale%29%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20if%20%28key%20%21%3D%20%27START_WEEKDAY%27%29%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20calendarStore.get%28%29.cfg.setProperty%28key%2C%20self.locale.calendarLocale%5Bkey%5D%29%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20%7D%0A%0A%20%20%20%20%20%20%20%20%20%20%20%20calendarStore.get%28%29.render%28%29%3B%0A%0A%20%20%20%20%20%20%20%20%20%20%20%20%2F%2F%20set%20handler%20for%20date%20selection%20to%20call%20provided%20callback.%0A%20%20%20%20%20%20%20%20%20%20%20%20calendarStore.get%28%29.selectEvent.subscribe%28function%28%29%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20if%20%28calendarStore.get%28%29.getSelectedDates%28%29.length%20%3E%200%29%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20var%20selDate%20%3D%20calendarStore.get%28%29.getSelectedDates%28%29%5B0%5D%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20if%20%28changeCallback%29%20changeCallback%28selDate%29%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%7D%20else%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20if%20%28changeCallback%29%20changeCallback%28null%29%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%7D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20dialogStore.get%28%29.hide%28%29%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20%7D%29%3B%0A%0A%20%20%20%20%20%20%20%20%20%20%20%20calendarStore.get%28%29.renderEvent.subscribe%28function%28%29%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%2F%2F%20diz%20ao%20di%E1logo%20que%20seu%20conte%FAdo%20foi%20alterado%2C%20o%20que%20permite%20o%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%2F%2F%20container%20to%20redraw%20the%20underlay%20%28for%20IE6%2FSafari2%29%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20calendarStore.get%28%29.fireEvent%28%22changeContent%22%29%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20%7D%29%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20if%20%28options.initDate%29%20self.setCalendarDate%28calendarStore.get%28%29%2C%20options.initDate%28%29%29%3B%0A%20%20%20%20%20%20%20%20%7D%0A%0A%20%20%20%20%20%20%20%20var%20selectedDate%20%3D%20calendarStore.get%28%29.getSelectedDates%28%29%3B%0A%0A%20%20%20%20%20%20%20%20if%20%28selectedDate.length%20%3E%200%29%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%2F%2F%20Set%20the%20pagedate%20to%20show%20the%20selected%20date%20if%20it%20exists%0A%20%20%20%20%20%20%20%20%20%20%20%20calendarStore.get%28%29.cfg.setProperty%28%22pagedate%22%2C%20selectedDate%5B0%5D%29%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20calendarStore.get%28%29.render%28%29%3B%0A%20%20%20%20%20%20%20%20%7D%0A%0A%20%20%20%20%20%20%20%20dialogStore.get%28%29.show%28%29%3B%0A%20%20%20%20%7D%0A%7D%3B%0A%0A%2F%2F%20Widget%20de%20busca%20usa%20a%20YAHOO%20UI.%20Em%20alguns%20casos%20raros%20pode%20ocorrer%20conflito%20com%20outra%20vers%E3o%20da%20YUI.%20Isso%20ajuda%20a%20eliminar%20esse%20problema.%0A%2F%2F%20In%20such%20case%20you%20can%20do%20following%3A%0A%2F%2F%201%29%20Try%20to%20remove%20searchWidgetYahooUIloader%20and%20replace%20it%20with%20%27SearchWidget.init%28YAHOO%29%3B%27%20to%20force%20using%20your%20version%20of%20YUI.%0A%2F%2F%202%29%20Try%20to%20use%20YAHOO.util.YUILoader%20with%20sandbox%20%28see%20documentation%20for%20YUILoader%29.%0A%2F%2F%20Inicie%20e%20configure%20o%20YUI%20Loader%3A%0Avar%20searchWidgetYahooUIloader%20%3D%20new%20YAHOO.util.YUILoader%28%7B%0A%20%20%20%20%2F%2F%20O%20YUI%20Loader%20identificar%E1%20automaticamente%20qualquer%20depend%EAncia%20adicional%20exigida%20para%20os%20componentes%20especificados.%0A%20%20%20%20%2F%2F%20.%0A%20%20%20%20%2F%2F%20DataSource%20required%20for%20correct%20date%20formating.%0A%20%20%20%20require%3A%20%5B%22event%22%2C%20%22calendar%22%2C%20%22container%22%2C%20%22datasource%22%2C%20%22selector%22%5D%2C%0A%0A%20%20%20%20%2F%2F%20Configura%20o%20YUI%20Loader%20para%20puxar%20depend%EAncias%20opcionais.%20%0A%20%20%20%20%2F%2F%20Anima%E7%E3o%2C%20por%20exemplo%2C%20%E9%20uma%20depend%EAncia%20opcional%20para%20o%20controle%20deslizante.%0A%20%20%20%20loadOptional%3A%20true%2C%0A%0A%20%20%20%20%2F%2F%20Essa%20fun%E7%E3o%20%E9%20chamada%20quando%20todos%20os%20recursos%20script%2Fcss%20tiverem%20sido%20carregados.%0A%20%20%20%20onSuccess%3A%20function%28%29%20%7B%0A%20%20%20%20%20%20%20%20%2F%2F%20inicialize%20widget%20de%20busca%20com%20refer%EAncia%20da%20YUI%20carregada.%0A%20%20%20%20%20%20%20%20SearchWidget.init%28YAHOO%29%3B%0A%20%20%20%20%7D%2C%0A%0A%20%20%20%20%2F%2F%20Configure%20the%20Get%20utility%20to%20timeout%20after%205%20seconds%20for%20any%20given%20node%20insert%0A%20%20%20%20timeout%3A%205000%2C%0A%0A%20%20%20%20%2F%2F%20Combine%20YUI%20files%20into%20a%20single%20request%20%28per%20file%20type%29%20by%20using%20the%20Yahoo%21%20CDN%20combo%20service.%0A%20%20%20%20combine%3A%20false%2C%0A%20%20%20%20%2F%2F%20Load%20compressed%20version.%0A%20%20%20%20filter%3A%20%27min%27%2C%0A%0A%20%20%20%20base%3A%20%27https%3A%2F%2Fwww.travelnow.com%2Ftemplates%2F296999%2Fstatic%2F5%2Fdefault%2Fjs%2Fyui2%2F%27%0A%2F%2F%20%20%20%20base%3A%20%27https%3A%2F%2Fajax.googleapis.com%2Fajax%2Flibs%2Fyui%2F2.8.1%2Fbuild%2F%27%0A%7D%29%3B%0A%0A%2F%2F%20Carregue%20a%20YUI%20e%20inicie%20o%20widget.%0Aif%20%28typeof%20YAHOO%20%3D%3D%20%22undefined%22%20%7C%7C%20typeof%20YAHOO.widget%20%3D%3D%20%22undefined%22%20%7C%7C%20YAHOO.widget.Calendar%20%3D%3D%20%22undefined%22%0A%20%20%20%20%20%20%20%20%7C%7C%20typeof%20YAHOO.widget.Dialog%20%3D%3D%20%22undefined%22%20%7C%7C%20typeof%20YAHOO.util.Date%20%3D%3D%20%22undefined%22%29%0A%20%20%20%20searchWidgetYahooUIloader.insert%28%29%3B%0Aelse%0A%20%20%20%20SearchWidget.init%28YAHOO%29%3B%0A%0A%3C%2Fscript%3E%0A"));