/** * Booking.com dynamically included availability form * * @author: Matthew Pennell * @since: 27-01-2010 * @modified: 08-09-2011 * @version: 1.2.0 */ // Create the form markup using parameters passed in the URL // aid => b_aid // hotel_id => s_raw_param_hotel_id // hotel_page => s_raw_param_hotel_page // hotel_cc1 => s_raw_param_cc1 // skin => s_raw_param_skin // lang // disable => s_raw_param_disable // powered => s_raw_param_powered var form_markup = ''; form_markup += '
'; form_markup += '

Quando você deseja se hospedar?

'; form_markup += '
'; form_markup += '
'; form_markup += ' '; form_markup += ' '; form_markup += ' '; form_markup += ' '; form_markup += ' '; form_markup += ' '; form_markup += '
'; form_markup += '

Data de entrada

'; form_markup += '
'; form_markup += ' '; form_markup += ' '; form_markup += '
'; form_markup += '
'; form_markup += '
'; form_markup += '

Data de saída

'; form_markup += '
'; form_markup += ' '; form_markup += ' '; form_markup += '
'; form_markup += '
'; form_markup += '
'; form_markup += ' '; form_markup += '
'; form_markup += '
'; form_markup += '
'; form_markup += '
'; // Write the form markup to the page document.write(form_markup); // If specified, load a CSS skin var css_href = 'https://aff.bstatic.com/images/partner/330843/form.css'; var newcsslink = document.createElement('link'); newcsslink.setAttribute('type','text/css'); newcsslink.setAttribute('id','bb_skin'); newcsslink.setAttribute('href',css_href); newcsslink.setAttribute('rel','stylesheet'); newcsslink.setAttribute('media','screen'); document.getElementsByTagName('head')[0].appendChild(newcsslink);