function Room(Lstg)
{
  if (Lstg.indexOf("DZ") !=-1) return getTranslation("leistung_zimmer","Doppelzimmer");
  if (Lstg.indexOf("EZ") !=-1) return getTranslation("leistung_zimmer","Einzelzimmer");
  if (Lstg.indexOf("FZ") !=-1) return getTranslation("leistung_zimmer","Familienzimmer");
  if (Lstg.indexOf("AP") !=-1) return getTranslation("leistung_zimmer","Appartment");
  if (Lstg.indexOf("ST") !=-1) return getTranslation("leistung_zimmer","Studio");
  if (Lstg.indexOf("SU") !=-1) return getTranslation("leistung_zimmer","Suite");
  if (Lstg.indexOf("JS") !=-1) return getTranslation("leistung_zimmer","Juniorsuite");
  if (Lstg.indexOf("BU") !=-1) return getTranslation("leistung_zimmer","Bungalow");
  if (Lstg.indexOf("LC") !=-1) return getTranslation("leistung_zimmer","Sparzimmer");
  if (Lstg.indexOf("FI") !=-1) return getTranslation("leistung_zimmer","Fincazimmer");
  if (Lstg.indexOf("VI") !=-1) return getTranslation("leistung_zimmer","Villa");
  if (Lstg.indexOf("FW") !=-1) return getTranslation("leistung_zimmer","Ferienwohnung");
  if (Lstg.indexOf("FH") !=-1) return getTranslation("leistung_zimmer","Ferienhaus");
  if (Lstg.indexOf("DU") !=-1) return getTranslation("leistung_zimmer","Duplexzimmer");
  if (Lstg.indexOf("SE") !=-1) return getTranslation("leistung_zimmer","Seniorsuite");
  if (Lstg.indexOf("MA") !=-1) return getTranslation("leistung_zimmer","Maisonette");

  return ""
}

function Meal(Lstg)
{
  if (Lstg.indexOf("ÜF") !=-1) return  getTranslation("leistung_essen","Frühstück");
  if (Lstg.indexOf("Ü") !=-1)  return  getTranslation("leistung_essen","Übernachtung");

  if (Lstg.indexOf("HP+") !=-1) return getTranslation("leistung_essen","Halbpension +");
  if (Lstg.indexOf("VP+") !=-1) return getTranslation("leistung_essen","Vollpension +");
  if (Lstg.indexOf("AI+") !=-1) return getTranslation("leistung_essen","All Inclusive +");

  if (Lstg.indexOf("HP") !=-1) return getTranslation("leistung_essen","Halbpension");
  if (Lstg.indexOf("VP") !=-1) return getTranslation("leistung_essen","Vollpension");
  if (Lstg.indexOf("AI") !=-1) return getTranslation("leistung_essen","All Inclusive");
  if (Lstg.indexOf("XX") !=-1) return getTranslation("leistung_essen","gem. Programm");

  return ""
}

function ZZus(Lstg)
{
  if (Lstg.indexOf("Mb") !=-1) return " "+ getTranslation("leistung_zimmer","Meerblick");
  if (Lstg.indexOf("Ms") !=-1) return " "+ getTranslation("leistung_zimmer","Meerseite");
  if (Lstg.indexOf("Sup") !=-1) return " " + getTranslation("leistung_zimmer","Superior");
  if (Lstg.indexOf("2sz") !=-1) return " " + getTranslation("leistung_zimmer", "2 Schlafzimmer");
  if (Lstg.indexOf("Gs")  !=-1) return " " + getTranslation("leistung_zimmer", "Gartenseite");
  if (Lstg.indexOf("Ps")  !=-1) return " "+ getTranslation("leistung_zimmer", "Poolseite");
  if (Lstg.indexOf("Ls")  !=-1) return " " + getTranslation("leistung_zimmer", "Landseite");
  if (Lstg.indexOf("TypA")!=-1) return " " + getTranslation("leistung_zimmer", "Typ A");
  if (Lstg.indexOf("TypB")!=-1) return " " + getTranslation("leistung_zimmer", "Typ B");
  if (Lstg.indexOf("TypC")!=-1) return " " + getTranslation("leistung_zimmer", "Typ C");
  if (Lstg.indexOf("Low") !=-1) return " " + getTranslation("leistung_zimmer", "Spar");
  if (Lstg.indexOf("Dlx") !=-1) return " " + getTranslation("leistung_zimmer", "Deluxe");

  return ""
}


function Palme(Tlc)
{
  Pathname = window.location.pathname.toUpperCase()

  if (Pathname.indexOf("AUTO") != -1) return "AUTO"

  if (Tlc == 'FUE') return Tlc
  if (Tlc == 'PMI') return Tlc

  return "PALME"	  

}
