(function () {
const properties = [
{
city: "Bengaluru",
name: "Axon Bellandur by Axon Hotels",
url: "https://axonbellandur.bookmystay.io/?utm_source=appShare"
},
{
city: "Bengaluru",
name: "Axon Bellandur Hotel Phase 2",
url: "https://axonbellandur2.bookmystay.io/?utm_source=appShare"
},
{
city: "Bengaluru",
name: "Axon Corporate Stays Whitefield",
url: "https://axoncorporatestayswhitefieldhopefarm.bookmystay.io/?utm_source=appShare"
},
{
city: "Kolkata",
name: "Axon Corporate Stays Newtown",
url: "https://axoncorporatestaysbestbusinessstayinnewtown.bookmystay.io/?utm_source=appShare"
},
{
city: "Gurugram",
name: "Axon Corporate Stays Gurgaon Sector 52",
url: "https://axoncorporatestaysbestbusinessstayingurgaon.bookmystay.io/?utm_source=appShare"
},
{
city: "Sanand, Gujarat",
name: "Axon Business Hotel GIDC Sanand",
url: "https://axonbusinesshotelandrestaurantgidcsanand.bookmystay.io/?utm_source=appShare"
},
{
city: "Hyderabad",
name: "Axon Business Hotel Hitech City",
url: "https://axonbusinesshotelhiteccityhotelrestaurants.bookmystay.io/?utm_source=appShare"
},
{
city: "Hyderabad",
name: "Madhura Luxury Hotel, Manikonda",
url: "https://madhurabanquethallsluxuryroomsmanikonda.bookmystay.io/?utm_source=appShare"
},
{
city: "Hyderabad",
name: "Hotel Indiana Hitech City",
url: "https://hotelindianahitechcity.bookmystay.io/?utm_source=appShare"
},
{
city: "Hyderabad",
name: "Elvo Suites Hotel, Madhapur",
url: "https://elvosuites.bookmystay.io/?utm_source=appShare"
},
{
city: "Coorg, Karnataka",
name: "The Birchwood Retreat",
url: "https://thebirchwoodretreat.bookmystay.io/?utm_source=appShare"
},
{
city: "Pune",
name: "Hotel Tattva Suites",
url: "https://tattvasuites.bookmystay.io/?utm_source=appShare"
},
{
city: "Pangot, Uttarakhand",
name: "Hotel Aranya Virasat Pangot",
url: "https://hotelaranyavirasat.bookmystay.io/?utm_source=appShare"
},
{
city: "Dharamshala",
name: "Vista Valley Stay Dharamshala",
url: "https://vistavalleystaydharamshala.bookmystay.io/?utm_source=appShare"
},
{
city: "Manali",
name: "The Bear Creek Luxury Villa",
url: "https://thebearcreekluxury2bhkvillamanali.bookmystay.io/?utm_source=appShare"
},
{
city: "Ghorakhal, Uttarakhand",
name: "Iktara Inn Homestay",
url: "https://iktarainnghorakhalbesthomestaynearkainchidhamnainital.bookmystay.io/?utm_source=appShare"
}
];
const form = document.getElementById("mfsBookingForm");
if (!form || form.dataset.initialized) return;
form.dataset.initialized = "true";
const location = document.getElementById("mfsLocation");
const hotel = document.getElementById("mfsHotel");
const checkin = document.getElementById("mfsCheckin");
const checkout = document.getElementById("mfsCheckout");
const message = document.getElementById("mfsMessage");
function localDate(date) {
const y = date.getFullYear();
const m = String(date.getMonth() + 1).padStart(2, "0");
const d = String(date.getDate()).padStart(2, "0");
return `${y}-${m}-${d}`;
}
const today = new Date();
checkin.min = localDate(today);
const tomorrow = new Date(today);
tomorrow.setDate(tomorrow.getDate() + 1);
checkout.min = localDate(tomorrow);
// Populate unique destinations.
[...new Set(properties.map(p => p.city))].forEach(city => {
const option = document.createElement("option");
option.value = city;
option.textContent = city;
location.appendChild(option);
});
// Show only hotels in the selected destination.
location.addEventListener("change", function () {
hotel.innerHTML = 'Select Hotel';
properties
.filter(p => p.city === location.value)
.forEach(p => {
const option = document.createElement("option");
option.value = p.name;
option.textContent = p.name;
hotel.appendChild(option);
});
hotel.disabled = !location.value;
message.textContent = "";
});
// Keep check-out after check-in.
checkin.addEventListener("change", function () {
if (!checkin.value) return;
const nextDay = new Date(checkin.value + "T12:00:00");
nextDay.setDate(nextDay.getDate() + 1);
checkout.min = localDate(nextDay);
if (checkout.value && checkout.value p.name === hotel.value && p.city === location.value
);
if (!selected) {
message.textContent = "Please select a destination and hotel.";
return;
}
if (checkout.value <= checkin.value) {
message.textContent =
"Check-out must be at least one day after check-in.";
checkout.focus();
return;
}
/*
Opens the exact booking-engine URL provided by the client.
Dates and guest count are collected here but are not appended
to the external URL because the booking engine's supported
query parameters have not been confirmed.
*/
window.location.href = selected.url;
});
})();
Welcome to My FairStay
Every journey deserves abetter stay.
My FairStay helps travellers discover a range of hotels, resorts and homestays for business trips, family holidays and refreshing getaways. Explore our destinations, choose the property that suits your plans, and continue to its booking page.
Replace this introductory copy with the client’s approved brand story and verified service promises before launch.
Changes and cancellations depend on the property’s booking policy and the rate selected. Refer to your booking confirmation or contact the property for assistance.