function hashmaplg () 
{
  this.liste = new Array;
}

hashmaplg.prototype = {
	Set : function(lg,foo,bar) {this.liste[foo+lg] = bar;},
	Get : function(lg,foo) {return this.liste[foo+lg] ? this.liste[foo+lg] : foo;}
}

function _T(foo)
{
  return mapTextes.Get ( lg, foo);
}

var lg;

var months = new Array( 'de', 'en', 'fr', 'it');
months['de'] = new Array ( 'Januar','Februar','März','April','Mai','Juni','Juli','August','September','Oktober','November','Dezember');
months['en'] = new Array ( 'January','February','March','April','May','June','July','August','September','October','November','December');
months['fr'] = new Array ( 'janvier','février','mars','avril','mai','juin','juillet','août','septembre','octobre','novembre','décembre');
months['it'] = new Array ( 'gennaio','febbraio','marzo','aprile','maggio','giugno','luglio','agosto','settembre','ottobre','novembre','dicembre');

var mapTextes  = new hashmaplg( );
mapTextes.Set ( 'it', 'filtrer', 'Filtrare');
mapTextes.Set ( 'fr', 'filtrer', 'Filtrer');
mapTextes.Set ( 'en', 'filtrer', 'Filter');
mapTextes.Set ( 'de', 'filtrer', 'Filtern');

mapTextes.Set ( 'it', 'du', ' da ');
mapTextes.Set ( 'fr', 'du', ' du ');
mapTextes.Set ( 'en', 'du', ' from ');
mapTextes.Set ( 'de', 'du', ' von ');

mapTextes.Set ( 'it', 'au', ' a ');
mapTextes.Set ( 'fr', 'au', ' au ');
mapTextes.Set ( 'en', 'au', ' to ');
mapTextes.Set ( 'de', 'au', ' bis ');

mapTextes.Set ( 'it', 'toutes', 'Tutti');
mapTextes.Set ( 'fr', 'toutes', 'Toutes');
mapTextes.Set ( 'en', 'toutes', 'All');
mapTextes.Set ( 'de', 'toutes', 'Alle');

mapTextes.Set ( 'it', 'aucune', 'Nessuno');
mapTextes.Set ( 'fr', 'aucune', 'Aucune');
mapTextes.Set ( 'en', 'aucune', 'None');
mapTextes.Set ( 'de', 'aucune', 'Keine');

mapTextes.Set ( 'it', 'icone', 'Icona');
mapTextes.Set ( 'fr', 'icone', 'Icône');
mapTextes.Set ( 'en', 'icone', 'Icon');
mapTextes.Set ( 'de', 'icone', 'Signal');

mapTextes.Set ( 'it', 'route', 'Strada');
mapTextes.Set ( 'fr', 'route', 'Route');
mapTextes.Set ( 'en', 'route', 'Road');
mapTextes.Set ( 'de', 'route', 'Strasse');

mapTextes.Set ( 'it', 'message', 'Messaggio');
mapTextes.Set ( 'fr', 'message', 'Message');
mapTextes.Set ( 'en', 'message', 'Message');
mapTextes.Set ( 'de', 'message', 'Meldung');

mapTextes.Set ( 'it', 'autre', 'altri');
mapTextes.Set ( 'fr', 'autre', 'autres');
mapTextes.Set ( 'en', 'autre', 'other');
mapTextes.Set ( 'de', 'autre', 'übrige');

mapTextes.Set ( 'it', 'aidefiltres', 'Seleziona le categorie desiderate.');
mapTextes.Set ( 'fr', 'aidefiltres', 'Sélectionnez les catégories souhaitées.');
mapTextes.Set ( 'en', 'aidefiltres', 'Select one or more categories.');
mapTextes.Set ( 'de', 'aidefiltres', 'Gewünschte Kategorien auswählen.');

mapTextes.Set ( 'it', 'aideroutes', 'Seleziona i percorsi desiderati.<br/>Non risultano nell\'elenco: i percorsi liberi di qualsiasi evento ed al<br/>di fuori della rete autostradale svizzera.');
mapTextes.Set ( 'fr', 'aideroutes', 'Sélectionnez les routes souhaitées.<br/>Vous ne trouverez pas dans la liste: Les routes libres de tout événement<br/>situées en dehors du réseau autoroutier suisse.');
mapTextes.Set ( 'en', 'aideroutes', 'Select one or more roads.<br/>Not listed: Roads without any event that are not on the Swiss motorway network.');
mapTextes.Set ( 'de', 'aideroutes', 'Gewünschte Strecken auswählen.<br/>Auf der Liste nicht zu finden: Gänzlich ereignisfreie Strecken ausserhalb des schweizerischen Autobahnnetzes.');

mapTextes.Set ( 'it', 'aidetools', 'Seleziona l\'intervallo orario desiderato. Risulteranno gli eventi che si<br/>sovrappongono interamente o in parte con questo intervallo.');
mapTextes.Set ( 'fr', 'aidetools', 'Sélectionnez le créneau horaire souhaité. Le filtre affichera tous les<br/>événements chevauchant ce créneau.');
mapTextes.Set ( 'en', 'aidetools', 'Select a time slot. The filter will show all events having an overlap<br/>with the selected slot.');
mapTextes.Set ( 'de', 'aidetools', 'Gewünschtes Zeitintervall auswählen. Es werden alle Ereignisse<br/>angezeigt, die sich mit dem gewählten Intervall überlappen.');
