var Calendar_errors, yxMonths, today = new Date, days = today.getDate(), month = today.getMonth(), year = today.getFullYear(), yearmore = year + 2, topdate = "31-12-" + yearmore, textMonth, valueMonth; function Init_Localizations() { var a = "Sorry. It seems that the departure date you have given comes before your arrival date."; yxLinks = ["Close calendar", "close"]; yxMonths = ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"]; yxMonthsLarge = ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"]; yxDays = ["Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday", "Sunday"]; valueMonth = ["01", "02", "03", "04", "05", "06", "07", "08", "09", "10", "11", "12"]; Calendar_errors = ["Sorry. It seems that the date you have given should be for a previous period.", "Sorry. It seems that the arrival date you have given is for a date in the past.", "Sorry. It seems that the departure date you have given is for a date in the past.", a, a, "Our online booking engine does not accept bookings for periods greater than two months. Please check your dates and try again."] } function set_nights_text(a) { return a == 1 ? "night" : "nights" };