﻿/*******************************************************************************
 * Javascript für twGmap02MarkerUndInfo
 ******************************************************************************/

var elementId = "twGmap";  // muss im html an ein <div> als id vergeben werden
var lat       = "51.179343";  // Breitengrad (Latitude) z.B: 51.041
var lon       = "15.644531";  // Längengrad (Longitude) z.B: 13.748
var zoom      = 4;         // einen Wert von 1 bis ca 17 (nicht in "" setzen)


/**
 * Prüft auf kompatiblen Browser und vorhandene Variablen und ruft die
 * Funktion auf, die die GoogleMap erstellt.
 */
function twGmapLoad() {
	if (GBrowserIsCompatible()) {
		if (!document.getElementById(elementId)) {
			alert("Fehler: das Element mit der id "+ elementId+ " konnte nicht auf dieser Webseite gefunden werden!");
			return false;
		} else {
			if (lat=="" || isNaN(lat)) {
				lat = 51.041;
				alert("Fehler: Der Breitengrad(lat) wurde im Skript nicht korrekt eingetragen!\nEin Defaultwert wird deshalb benutzt!");
			}
			if (lon=="" || isNaN(lon)) {
				lon = "13.748";
				alert("Fehler: Der Längengrad(lon) wurde im Skript nicht korrekt eingetragen!\nEin Defaultwert wird deshalb benutzt!");
			}
			if (typeof zoom == "undefined") {
				zoom = 3;
				alert("Fehler: Die Zoomstufe wurde im Skript nicht korrekt eingetragen!\nEin Defaultwert wird deshalb benutzt!");
			}
			machTwGmap(elementId, lat, lon, zoom);
		}
	}
}


/**
 * Erstellt die GoogleMap in dem <div>-Bereich mit der übergebenen id
 * @param {Object} id   -im div-Bereich mit dieser id wird die Map dargestellt
 * @param {Object} lat  -Breitengrad 
 * @param {Object} lon  -Längengrad
 * @param {Object} zoom -Zoomstufe 1 bis 17 (ganze Welt bis kleiner Ausschnitt)
 */
function machTwGmap(id, lat, lon, zoom) {
	// die Map (für das div mit der id="...")
	var map = new GMap2(document.getElementById(id));
	// mit Zoom (auch noch: GSmallMapControl, GLargeMapControl, GSmallZoomControl, GScaleControl)
	map.addControl(new GLargeMapControl());
	// mit Typ-Auswahl (auch noch: GMapTypeControl, GHierarchicalMapTypeControl, GOverviewMapControl)
	map.addControl(new GMapTypeControl());
	// ((Breitengrad, Längengrad), Zoomstufe, G_NORMAL_MAP/G_SATELLITE_MAP/G_HYBRID_MAP)
	map.setCenter(new GLatLng(lat, lon), zoom, G_NORMAL_MAP);
	
	// Marker setzen mit eigener Marker-Funktion
	map = setLassee(map);
	map = setEsch(map);
	map = setHolmegaard(map);
	map = setNadur(map);
	map = setKannus(map);
	map = setOckelbo(map);
	map = setPolva(map);
	map = setKandava(map);
	map = setZagare(map);
	map = setStrzyzow(map);
	map = setHepstedt(map);
	map = setPoddvorov(map);
	map = setMedzev(map);
	map = setNagycenk(map);	
	map = setIbanesti(map);
	map = setKolindros(map);
	map = setLefkara(map);
	map = setBucine(map);
	map = setCisse(map);
	map = setBienvenida(map);
	map = setSamuel(map);
	map = setBievre(map);
	map = setDesborough(map);
	map = setCashel(map);
	map = setMoravce(map);
	map = setTroisvierges(map);
	
}


function setLassee(map) {
	var point  = new GPoint(16.823115,48.225588);  //ACHTUNG: (lon, lat) also vertauscht
	var marker = new GMarker(point);
	var html   = "";
	
	html += "<div class='twGmapInfo'>";
	html += "  <p class='headline'>Lassee - Austria</p>";
	html += " <p class='text'>Lassee belongs to the municipality Lassee and Sch&ouml;nfeld and is situated in the heart of Marchfeldes, the corn barn of Austria. It is situated east of Vienna, 8 km from the Slovakian border. From Lassee you can reach the border with Hungary within an hour. </p>";
	html += " <p class='text'><a href='municipalities/lassee/lassee.html' title='Lassee'> click here for more details <br><br> </a>";
	html += "  <p class='twClear'>&nbsp;</p>";
	html += "</div>";
	
	GEvent.addListener(marker, "click", function() {marker.openInfoWindowHtml(html)});	
	map.addOverlay(marker);
	
	return map;
}
function setEsch(map) {
	var point  = new GPoint(5.291376,51.611355);  //ACHTUNG: (lon, lat) also vertauscht
	var marker = new GMarker(point);
	var html   = "";
	html += "<div class='twGmapInfo'>";
	html += "  <p class='headline'>Esch - Netherlands</p>";
	html += " <p class='text'>Esch has approximately 2200 inhabitants. The village, together with the villages Haaren, Helvoirt and Biezenmortel form the municipality of Haaren. In the village, the inhabitants have a wide choice of leisure activities. There are many clubs for sports, music and other activities.</p>";
	html += " <p class='text'><a href='municipalities/esch/esch.html' title='Esch'> click here for more details <br><br> </a>";
	html += "  <p class='twClear'>&nbsp;</p>";
	html += "</div>";
	
	GEvent.addListener(marker, "click", function() {marker.openInfoWindowHtml(html)});	
	map.addOverlay(marker);
		return map;
}
	function setHolmegaard(map) {
	var point  = new GPoint(11.876329,55.257334);  //ACHTUNG: (lon, lat) also vertauscht
	var marker = new GMarker(point);
	var html   = "";
	html += "<div class='twGmapInfo'>";
	html += "  <p class='headline'>Holmegaard - Denmark</p>";
	html += " <p class='text'>From the first of January Holmegaard Municipality has merged together with 3 other smaller municipalities and Naestved into the new Naestved Municipality. Naestved have now a surface of 684 quare kilometers and have 80.000 inhabitants. Naestved city is the center of the administration and in the country side you will find several villages.</p>";
	html += " <p class='text'><a href='municipalities/holmegaard/holmegaard.html'  title='Holmegaard'> click here for more details <br><br> </a>";
	html += "  <p class='twClear'>&nbsp;</p>";
	html += "</div>";
	
	GEvent.addListener(marker, "click", function() {marker.openInfoWindowHtml(html)});	
	map.addOverlay(marker);
	
		return map;
}

function setNadur(map) {
	var point  = new GPoint(14.296822,36.047654);  //ACHTUNG: (lon, lat) also vertauscht
	var marker = new GMarker(point);
	var html   = "";
	html += "<div class='twGmapInfo'>";
	html += "  <p class='headline'>Nadur - Malta</p>";
	html += " <p class='text'>Nadur is situated on the most eastern hill of the small island of Gozo, Maltas sister-island. Nadur, a lofty, lookout plateau, has a population of around 4800 people, which makes Nadur one of the largest localities in Gozo. Nadurs emblem shows the sun merging from blue seas with the motto &raquo;Vigilant&laquo;, which means &raquo;watchful against danger&laquo;.</p>";
	html += " <p class='text'><a href='municipalities/nadur/nadur.html' title='Nadur'> click here for more details <br><br> </a>";
	html += "  <p class='twClear'>&nbsp;</p>";
	html += "</div>";
	
	GEvent.addListener(marker, "click", function() {marker.openInfoWindowHtml(html)});	
	map.addOverlay(marker);
	
		return map;
}

function setKannus(map) {
	var point  = new GPoint(23.914423, 63.899247);  //ACHTUNG: (lon, lat) also vertauscht
	var marker = new GMarker(point);
	var html   = "";
	html += "<div class='twGmapInfo'>";
	html += "  <p class='headline'>Kannus - Finland</p>";
	html += " <p class='text'>The municipality of Kannus was founded in 1859. The surface is 410 km 2 and Kannus has approximately 6000 inhabitants. There are several industrial and commercial activities in Kannus. Business communities cover approximately 38% of the area; forestry and agriculture 17%; services 35% and the remaining 10% are used by several other businesses.</p>";
	html += " <p class='text'><a href='municipalities/kannus/kannus.html'  title='Kannus'> click here for more details <br><br> </a>";
	html += "  <p class='twClear'>&nbsp;</p>";
	html += "</div>";
	
	GEvent.addListener(marker, "click", function() {marker.openInfoWindowHtml(html)});	
	map.addOverlay(marker);
	
		return map;
}

function setOckelbo(map) {
	var point  = new GPoint(16.701653,60.87498);  //ACHTUNG: (lon, lat) also vertauscht
	var marker = new GMarker(point);
	var html   = "";
	html += "<div class='twGmapInfo'>";
	html += "  <p class='headline'>Ockelbo - Sweden</p>";
	html += " <p class='text'>Ockelbo is called &raquo;The strawberry Place in G&auml;vleborg&laquo;, which refers to a place where you can find peace, enjoy yourself, have friends and do it all in beautiful surroundings.</p>";
	html += " <p class='text'><a href='municipalities/ockelbo/ockelbo.html'  title='Ockelbo'> click here for more details <br><br> </a>";
	html += "  <p class='twClear'>&nbsp;</p>";
	html += "</div>";
	
	GEvent.addListener(marker, "click", function() {marker.openInfoWindowHtml(html)});	
	map.addOverlay(marker);
	
		return map;
}

function setPolva(map) {
	var point  = new GPoint(27.07881,58.063068);  //ACHTUNG: (lon, lat) also vertauscht
	var marker = new GMarker(point);
	var html   = "";
	html += "<div class='twGmapInfo'>";
	html += "  <p class='headline'>P&otilde;lva - Estonia</p>";
	html += " <p class='text'>The City of P&otilde;lva was founded in the 15 th century around a church, which had been built at the crossroads of trade routes. The small village has developed into an administrative centre of the province. </p>";
	html += " <p class='text'><a href='municipalities/polva/polva.html'  title='Polva'> click here for more details <br><br> </a>";
	html += "  <p class='twClear'>&nbsp;</p>";
	html += "</div>";
	
	GEvent.addListener(marker, "click", function() {marker.openInfoWindowHtml(html)});	
	map.addOverlay(marker);
	
		return map;
}

function setKandava(map) {
	var point  = new GPoint(22.772996,57.041333);  //ACHTUNG: (lon, lat) also vertauscht
	var marker = new GMarker(point);
	var html   = "";
	html += "<div class='twGmapInfo'>";
	html += "  <p class='headline'>Kandava - Latvia</p>";
	html += " <p class='text'>Kandava is situated on the west part of Latvia - Kurzeme (Kurland) in the nature park and cultural-historic region of Abava River Valley. The Abava river valley was inhabited 3000 B.C.. The place Kandava (Candowe) was first mentioned in a treaty between Latvian Kingdoms and Germans in 1230./31.. In 1917 Kandava is granted town privileges.</p>";
	html += " <p class='text'><a href='municipalities/kandava/kandava.html' title='Kandava'> click here for more details <br><br> </a>";
	html += "  <p class='twClear'>&nbsp;</p>";
	html += "</div>";
	
	GEvent.addListener(marker, "click", function() {marker.openInfoWindowHtml(html)});	
	map.addOverlay(marker);
	
		return map;
}

function setZagare(map) {
	var point  = new GPoint(23.24961,56.361696);  //ACHTUNG: (lon, lat) also vertauscht
	var marker = new GMarker(point);
	var html   = "";
	html += "<div class='twGmapInfo'>";
	html += "  <p class='headline'>Zagare - Lithuania</p>";
	html += " <p class='text'>Žagarė is a remote town in the north of Lithuania and is famous for its old architecture and a beautiful landscape. There is hardly a town in Lithuania that can boast such an old history as Žagarė. In 1198, Žagarė was first mentioned in written sources as Sagera. The river Svete divided the town into two parts – Old Žagarė and New Žagarė.</p>";
	html += " <p class='text'><a href='municipalities/zagare/zagare.html' title='Zagare'> click here for more details <br><br> </a>";
	html += "  <p class='twClear'>&nbsp;</p>";
	html += "</div>";
	
	GEvent.addListener(marker, "click", function() {marker.openInfoWindowHtml(html)});	
	map.addOverlay(marker);
	
		return map;
}

function setStrzyzow(map) {
	var point  = new GPoint(21.79386,49.87047);  //ACHTUNG: (lon, lat) also vertauscht
	var marker = new GMarker(point);
	var html   = "";
	html += "<div class='twGmapInfo'>";
	html += "  <p class='headline'>Strzyz&oacute;w - Poland</p>";
	html += " <p class='text'>Strzyz&oacute;w is a small place in the province Podkarpackie. It has 8600 inhabitants. It is the largest place in the municipality and since 1999 also the capital of the region. The municipality has, besides Strzyz&oacute;w, 14 other small villages and a total surface of 140km 2 with 21,320 inhabitants. The region of Strzyz&oacute;w has a rural character, typical for southeast Poland.</p>";
	html += " <p class='text'><a href='municipalities/strzyzow/strzyzow.html'  title='Strzyz&oacute;w'> click here for more details <br><br> </a>";
	html += "  <p class='twClear'>&nbsp;</p>";
	html += "</div>";
	
	GEvent.addListener(marker, "click", function() {marker.openInfoWindowHtml(html)});	
	map.addOverlay(marker);
	
		return map;
}

function setHepstedt(map) {
	var point  = new GPoint(9.082808,53.258637);  //ACHTUNG: (lon, lat) also vertauscht
	var marker = new GMarker(point);
	var html   = "";
	html += "<div class='twGmapInfo'>";
	html += "  <p class='headline'>Hepstedt - Germany</p>";
	html += " <p class='text'>Hepstedt is a village of approximately 1050 inhabitants in northern Germany, near Bremen. Meadows and forests surround it. There are still 15 families working in agriculture. Most of the other people work in Zeven (15km away) in the food industry or the service sector, or in Bremen with Mercedes Benz.</p>";
	html += " <p class='text'><a href='municipalities/hepstedt/hepstedt.html'  title='Hepstedt'> click here for more details <br><br> </a>";
	html += "  <p class='twClear'>&nbsp;</p>";
	html += "</div>";
	
	GEvent.addListener(marker, "click", function() {marker.openInfoWindowHtml(html)});	
	map.addOverlay(marker);
	
		return map;
}

function setPoddvorov(map) {
	var point  = new GPoint(16.987717,48.87479);  //ACHTUNG: (lon, lat) also vertauscht
	var marker = new GMarker(point);
	var html   = "";
	html += "<div class='twGmapInfo'>";
	html += "  <p class='headline'>Starỳ; Poddvorov - Czech Republic</p>";
	html += " <p class='text'>The village Starỳ; Poddvorov has 954 inhabitants. It has its own council that is established in a recently modernised building. The whole village has gas, water and a sewerage system. The water treatment plant has been linked to the sewerage system. This installation has been renewed recently with European subsidy.</p>";
	html += " <p class='text'><a href='municipalities/poddvorov/poddvorov.html'  title='Poddvorov'> click here for more details <br><br> </a>";
	html += "  <p class='twClear'>&nbsp;</p>";
	html += "</div>";
	
	GEvent.addListener(marker, "click", function() {marker.openInfoWindowHtml(html)});	
	map.addOverlay(marker);
	
		return map;
}
	
function setMedzev(map) {
	var point  = new GPoint(20.906527,48.71124);  //ACHTUNG: (lon, lat) also vertauscht
	var marker = new GMarker(point);
	var html   = "";
	html += "<div class='twGmapInfo'>";
	html += "  <p class='headline'>Medzev - Slovakia</p>";
	html += " <p class='text'>Medzev or Metzenseifen has for a long time inhabited by people of German and Flemish origin. During the time this group developed itself together with the so called &raquo;Karpaten-deutschen&laquo; to a group which is known as the &raquo;Mantaken&laquo;. Miners, craft workers and farmers came with their families to the east by invitation of the Hungarian King Bela IV, and established themselves in the mountain area at the river Bodwa. They found in this area, copper ore and later iron ore.</p>";
	html += " <p class='text'><a href='municipalities/medzev/medzev.html'  title='Medzev'> click here for more details <br><br> </a>";
	html += "  <p class='twClear'>&nbsp;</p>";
	html += "</div>";
	
	GEvent.addListener(marker, "click", function() {marker.openInfoWindowHtml(html)});	
	map.addOverlay(marker);
	
		return map;
}

function setNagycenk(map) {
	var point  = new GPoint(16.698826,47.602904);  //ACHTUNG: (lon, lat) also vertauscht
	var marker = new GMarker(point);
	var html   = "";
	html += "<div class='twGmapInfo'>";
	html += "  <p class='headline'>Nagy&ccedil;enk - Hungary</p>";
	html += " <p class='text'>There was human life in Nagy&ccedil;enk since ancient times. During recent excavation, they found relics of a 4000-year-old village. The community with 1860 people situates next to the western border. The nearest town is Sopron (12km), which is also the border station to Austria. Vienna is 75km away. Two significant principal roads are going through the village.</p>";
	html += " <p class='text'><a href='municipalities/nagycenk/nagycenk.html'  title='Nagy&ccedil;enk'> click here for more details <br><br> </a>";
	html += "  <p class='twClear'>&nbsp;</p>";
	html += "</div>";
	
	GEvent.addListener(marker, "click", function() {marker.openInfoWindowHtml(html)});	
	map.addOverlay(marker);
	
		return map;
}

function setIbanesti(map) {
	var point  = new GPoint(24.938049,46.775242);  //ACHTUNG: (lon, lat) also vertauscht
	var marker = new GMarker(point);
	var html   = "";
	html += "<div class='twGmapInfo'>";
	html += "  <p class='headline'>Ibanesti - Romania</p>";
	html += " <p class='text'>Ibanesti lies at the foot of The Gurghiu Mountains, which are part of The Romanian Eastern Carpathians. It is the most eastern place of The Gurghiu Valley. Ibanesti is a small country municipality that consists of 10 villages: Ibanesti, Ibanesti Padure, Blidireasa, Tisieu, Bradetelu, Tireu, P&acirc;r&acirc;u Mare, Dulcea, Lapusna, Zimti.</p>";
	html += " <p class='text'><a href='municipalities/ibanesti/ibanesti.html'  title='Ibanesti'> click here for more details <br><br> </a>";
	html += "  <p class='twClear'>&nbsp;</p>";
	html += "</div>";
	
	GEvent.addListener(marker, "click", function() {marker.openInfoWindowHtml(html)});	
	map.addOverlay(marker);
	
		return map;
}

function setKolindros(map) {
	var point  = new GPoint(22.49379,40.488659);  //ACHTUNG: (lon, lat) also vertauscht
	var marker = new GMarker(point);
	var html   = "";
	html += "<div class='twGmapInfo'>";
	html += "  <p class='headline'>Kolindros - Greece</p>";
	html += " <p class='text'>Kolindros is located 450km from Athens, 50km from Thessalonica and 38km from Katerini, the capital of Pieria, and the largest city in the area. Kolindros is a small country municipality at the foot of the hills of Pieria.</p>";
	html += " <p class='text'><a href='municipalities/kolindros/kolindros.html'  title='Kolindors'> click here for more details <br><br> </a>";
	html += "  <p class='twClear'>&nbsp;</p>";
	html += "</div>";
	
	GEvent.addListener(marker, "click", function() {marker.openInfoWindowHtml(html)});	
	map.addOverlay(marker);
	
		return map;
}

function setLefkara(map) {
	var point  = new GPoint(33.306944,34.866667);  //ACHTUNG: (lon, lat) also vertauscht
	var marker = new GMarker(point);
	var html   = "";
	html += "<div class='twGmapInfo'>";
	html += "  <p class='headline'>Lefkara - Cyprus</p>";
	html += " <p class='text'>Lefkara is situated at an altitude of 750 metres, southwest of the Troodos Mountains. Lefkara lies in the heart of Cyprus, because it is only 50 km away from Nicosia, 35 km from Larnaca and 55 km from Limassol.</p>";
	html += " <p class='text'><a href='municipalities/lefkara/lefkara.html'  title='Lefkara'> click here for more details <br><br> </a>";
	html += "  <p class='twClear'>&nbsp;</p>";
	html += "</div>";
	
	GEvent.addListener(marker, "click", function() {marker.openInfoWindowHtml(html)});	
	map.addOverlay(marker);
	
		return map;
}

function setBucine(map) {
	var point  = new GPoint(11.615963,43.477519);  //ACHTUNG: (lon, lat) also vertauscht
	var marker = new GMarker(point);
	var html   = "";
	html += "<div class='twGmapInfo'>";
	html += "  <p class='headline'>Bucine - Italy</p>";
	html += " <p class='text'>Bucine is located 40km from Florence, the capital of Tuscany and 250km from Rome, the capital of Italy. The territory of the town of Bucine is situated in the zone where the last mountains of Chianti meet the upper Arno River Valley, on the banks of the Ambra.</p>";
	html += " <p class='text'><a href='municipalities/bucine/bucine.html'  title='Bucine'> click here for more details <br><br> </a>";
	html += "  <p class='twClear'>&nbsp;</p>";
	html += "</div>";
	
	GEvent.addListener(marker, "click", function() {marker.openInfoWindowHtml(html)});	
	map.addOverlay(marker);
	
		return map;
}
function setCisse(map) {
	var point  = new GPoint(0.227108,46.644958);  //ACHTUNG: (lon, lat) also vertauscht
	var marker = new GMarker(point);
	var html   = "";
	html += "<div class='twGmapInfo'>";
	html += "  <p class='headline'>Ciss&eacute; - France</p>";
	html += " <p class='text'>Ciss&eacute; is a rural community with 2500 inhabitants. The municipality is located in the Midwest of France, 330km from Paris, 250km from Bordeaux and 130km from La Rochelle on the Atlantic coast. Ciss&eacute; is situated 13km west of Poitiers, the capital of the region, with many historical buildings, a renowned university and a famous amusement park: Futuroscope.</p>";
	html += " <p class='text'><a href='municipalities/cisse/cisse.html'  title='Cisse'> click here for more details <br><br> </a>";
	html += "  <p class='twClear'>&nbsp;</p>";
	html += "</div>";
	
	GEvent.addListener(marker, "click", function() {marker.openInfoWindowHtml(html)});	
	map.addOverlay(marker);
	
		return map;
}

function setBienvenida(map) {
	var point  = new GPoint(-6.2105,38.298279);  //ACHTUNG: (lon, lat) also vertauscht
	var marker = new GMarker(point);
	var html   = "";
	html += "<div class='twGmapInfo'>";
	html += "  <p class='headline'>Bienvenida - Spain</p>";
	html += " <p class='text'>Our people are in Extremadura in Badajoz province, located north of the Shire of Tentudía to 606 meters of altitude, relief plain in the north and southeast of the Sierra Home, 793 meters of altitude. </p>";
	html += " <p class='text'><a href='municipalities/bienvenida/bienvenida.html'  title='Bienvenida'> click here for more details <br><br> </a>";
	html += "  <p class='twClear'>&nbsp;</p>";
	html += "</div>";
	
	GEvent.addListener(marker, "click", function() {marker.openInfoWindowHtml(html)});	
	map.addOverlay(marker);
	
		return map;
}

function setSamuel(map) {
	var point  = new GPoint(-8.704963,40.096066);  //ACHTUNG: (lon, lat) also vertauscht
	var marker = new GMarker(point);
	var html   = "";
	html += "<div class='twGmapInfo'>";
	html += "  <p class='headline'>Samuel - Portugal</p>";
	html += " <p class='text'>Samuel belongs to the district Coimbra and the municipality Soure. It lies at the left bank of the river Mondego, approximately 13km from Soure, and has a territory of 3200 ha. The density of the population is approximately 50 inhabitants to one square kilometre. Samuel has 1398 inhabitants.</p>";
	html += " <p class='text'><a href='municipalities/samuel/samuel.html'  title='Samuel'> click here for more details <br><br> </a>";
	html += "  <p class='twClear'>&nbsp;</p>";
	html += "</div>";
	
	GEvent.addListener(marker, "click", function() {marker.openInfoWindowHtml(html)});	
	map.addOverlay(marker);
	
		return map;
}

function setBievre(map) {
	var point  = new GPoint(5.016405,49.941373);  //ACHTUNG: (lon, lat) also vertauscht
	var marker = new GMarker(point);
	var html   = "";
	html += "<div class='twGmapInfo'>";
	html += "  <p class='headline'>Bi&egrave;vre - Belgium</p>";
	html += " <p class='text'>The municipality of Bi&egrave;vre with its twelve picturesque and peaceful villages is situated at 348 metres altitude on a plateau in the Ardennes in the south of the province Namur in Belgium. The municipality is located in the valley of the rivers Semois and Lesse, on the main road halfway between Beauraing (pilgrimage) and the city Bouillon.</p>";
	html += " <p class='text'><a href='municipalities/bievre/bievre.html'  title='Bievre'> click here for more details <br><br> </a>";
	html += "  <p class='twClear'>&nbsp;</p>";
	html += "</div>";
	
	GEvent.addListener(marker, "click", function() {marker.openInfoWindowHtml(html)});	
	map.addOverlay(marker);
	
		return map;
}

function setDesborough(map) {
	var point  = new GPoint(-0.820573,52.440202);  //ACHTUNG: (lon, lat) also vertauscht
	var marker = new GMarker(point);
	var html   = "";
	html += "<div class='twGmapInfo'>";
	html += "  <p class='headline'>Desborough - Great Britan</p>";
	html += " <p class='text'>Desborough has an archaeological history back to the Iron Age, and referring to the Domesday Book of 1086 the name meant &raquo;place of judgement&laquo;, which shows the importance of the town at that time. St Giles Church, built in 1223, is the oldest remaining building. Between the 17 th and mid-19 th centuries, it was the centre of spinning and weaving of woollen and linen fabrics. When these industries disappeared, they introduced the weaving of silk.</p>";
	html += " <p class='text'><a href='municipalities/desborough/desborough.html'  title='Desborough'> click here for more details <br><br> </a>";
	html += "  <p class='twClear'>&nbsp;</p>";
	html += "</div>";
	
	GEvent.addListener(marker, "click", function() {marker.openInfoWindowHtml(html)});	
	map.addOverlay(marker);
	
		return map;
}

function setCashel(map) {
	var point  = new GPoint(-7.891171,52.51684);  //ACHTUNG: (lon, lat) also vertauscht
	var marker = new GMarker(point);
	var html   = "";
	html += "<div class='twGmapInfo'>";
	html += "  <p class='headline'>Cashel - Ireland</p>";
	html += " <p class='text'>The Celtic name for this Irish village is Caiseal Mumhan. The municipality lies 25km from Clomnel, the nearest large city; 100km from Cork, the province capital and 180km from Dublin, the capital of Ireland. Cashel was once the seat of the kings of Munster.</p>";
	html += " <p class='text'><a href='municipalities/cashel/cashel.html'  title='Cashel'> click here for more details <br><br> </a>";
	html += "  <p class='twClear'>&nbsp;</p>";
	html += "</div>";
	
	GEvent.addListener(marker, "click", function() {marker.openInfoWindowHtml(html)});	
	map.addOverlay(marker);
	
		return map;
}

function setMoravce(map) {
	var point  = new GPoint(14.744527,46.135677);  //ACHTUNG: (lon, lat) also vertauscht
	var marker = new GMarker(point);
	var html   = "";
	html += "<div class='twGmapInfo'>";
	html += "  <p class='headline'>Moravče - Slovenia</p>";
	html += " <p class='text'>The village of Moravče lies on the road from Austria to Ljubiljana. The village consists of a number of smaller hamlets. Each hamlet has a couple of houses and when you add them together, Moravce has approximately 2500 inhabitants.</p>";
	html += " <p class='text'><a href='municipalities/moravce/moravce.html'  title='Moravče'> click here for more details <br><br> </a>";
	html += "  <p class='twClear'>&nbsp;</p>";
	html += "</div>";
	
	GEvent.addListener(marker, "click", function() {marker.openInfoWindowHtml(html)});	
	map.addOverlay(marker);
	
		return map;
}

function setTroisvierges(map) {
	var point  = new GPoint(6.00171,50.121797);  //ACHTUNG: (lon, lat) also vertauscht
	var marker = new GMarker(point);
	var html   = "";
	html += "<div class='twGmapInfo'>";
	html += "  <p class='headline'>Troisvierges - Luxembourg</p>";
	html += " <p class='text'>Lying in the north of The Grand Duchy, Troisvierges attributes its unique character mainly to the geographical position and its historical development. It started somewhere in the middle of the forests of the Ardennes when people developed the country. </p>";
	html += " <p class='text'><a href='municipalities/troisvierges/troisvierges.html'  title='Troivierges'> click here for more details <br><br> </a>";
	html += "  <p class='twClear'>&nbsp;</p>";
	html += "</div>";
	
	GEvent.addListener(marker, "click", function() {marker.openInfoWindowHtml(html)});	
	map.addOverlay(marker);
	
		return map;
}

