25 Αποτελέσματα
  • 1
    Βοστώνη

    Βοστώνη

    Μασαχουσέτη, Ηνωμένες Πολιτείες
    337 κριτικές

    Έμεινα στο Νιούτον και ήταν θαυμάσια

  • 2
    Cambridge

    Cambridge

    Massachusetts, USA
    55 κριτικές
  • 3
    Somerville

    Somerville

    Massachusetts, USA
    7 κριτικές
  • 4
    Brookline

    Brookline

    Massachusetts, USA
    11 κριτικές
  • 5
    Newton

    Newton

    Massachusetts, USA
    6 κριτικές
  • 6
    Quincy

    Quincy

    Massachusetts, USA
    4 κριτικές
  • 7
    Rockport

    Rockport

    Massachusetts, USA
    17 κριτικές
  • 8
    Framingham

    Framingham

    Massachusetts, USA
    5 κριτικές
  • 9
    Arlington

    Arlington

    Massachusetts, USA
    3 κριτικές
  • 10
    Revere

    Revere

    Massachusetts, USA
    5 κριτικές
var ListPage = { maxTries: 20, interval: 0, xhrRequests: [], update: function(url, count, callback){ var fingerprint = "&t=" + (new Date().getTime()); var reqcount = "&req_count=" + count; this.loader("on"); var self = this; var req = new XMLHttpRequest(); req.open("GET", url + fingerprint + reqcount, true); ListPage.xhrRequests.push(req); req.onreadystatechange = function() { if (req.readyState === 4 && (req.status === 200 || req.status === 202)) { eval(req.responseText); self.loader("off"); if (req.status === 200 || req.status !== 202 ) callback(req.status); if (req.status === 202) { if (count < self.maxTries) { setTimeout(function(){ListPage.update(url, ++count, callback)}, self.interval); self.interval += 100; } else { callback(req.status); } } } }; req.send(null); }, loader: function(status) { var spinnerD = document.querySelector('.spinnersD'); var spinnerM = document.querySelector('.spinnersM'); if (spinnerD && spinnerM) { if (status === "on") { spinnerD.className = "spinnersD shownow"; spinnerM.className = "spinnersM shownow"; } else { // hide spinnerD.className = "spinnersD"; spinnerM.className = "spinnersM"; } } }, ajax: function(url, callback) { this.update(url, 1, callback); } }; ListPage.ajax("https://gr.skyscanner.com/trip/hotels/hotel_suggestions?action=index&clean_path=greater-boston-massachusetts&controller=topics&country_code=&current_user_id=&filters=&id=2000000057053&klass_name=Region&list_type=cities&nearby=false&path=greater-boston-massachusetts%2F%CF%80%CF%8C%CE%BB%CE%B5%CE%B9%CF%82&place=2000000057053&place_type=ProvinceArea1&place_type=region&region=2000000057053", function(status){ if (status === 200) { HotelRates.ajax(); } }); var HotelRates = { hotels: "", ajaxCalls: function(tryIndex) { if (this.hotels) { ListPage.update("https://gr.skyscanner.com/trip/hotels/hotel_rates_list?bookable_only=&country_code=&current_user_id=&locale=el&region=2000000057053" + "&" + this.hotels, tryIndex, function(){ var placeholder = document.querySelectorAll('.metasearch_featured .placeholder'); for (var i = 0; i < placeholder.length; i++) { placeholder[i].style.display='none'; } }); } }, ajax: function() { this.ajaxCalls(1); }, singleAjax: function() { this.ajaxCalls(ListPage.maxTries); } };