		/* Funktion Auswahl */
		function auswahl () {
		
		    var object = new Date();
			var tag = object.getDate();
			var monat = object.getMonth();
			var jahr = object.getFullYear();
			var heute = object.getTime();
			//alert ("heute ist der " + tag + "." + monat + "." + jahr);
			//alert (heute);
			
			document.Kontaktformular.Tag_Anreisedatum.options[tag].selected = true;
			document.Kontaktformular.Monat_Anreisedatum.options[monat].selected = true;
			document.Kontaktformular.Jahr_Anreisedatum.options[jahr-2009].selected = true;
			
			var dann = heute + (24 * 60 * 60 * 1000);
			//alert (dann);
			object.setTime(dann);
			tag = object.getDate();
			monat = object.getMonth();
			jahr = object.getFullYear();
			//alert ("morgen ist der " + tag + "." + monat + "." + jahr);
			
			document.Kontaktformular.Tag_Abreisedatum.options[tag].selected = true;
			document.Kontaktformular.Monat_Abreisedatum.options[monat].selected = true;
			document.Kontaktformular.Jahr_Abreisedatum.options[jahr-2009].selected = true;
		
		}


		/* Funktion zum Laden der Google-Map */
		
		function KarteLaden () {
/*		  FrameLaden('Inhalt/anfahrt.htm');  */
		  
		  	/* ++++++++++++++++++++++++++++++++++++ */
			/* Funktion zur Definition des ELabel 	*/
			/* ++++++++++++++++++++++++++++++++++++ */
			function ELabel(point, html, classname, pixelOffset, percentOpacity, overlap) 
			{
				// Mandatory parameters
				this.point = point;
				this.html = html;
				
				// Optional parameters
				this.classname = classname||"";
				this.pixelOffset = pixelOffset||new GSize(0,0);
				if (percentOpacity) {
				  if(percentOpacity<0){percentOpacity=0;}
				  if(percentOpacity>100){percentOpacity=100;}
				}        
				this.percentOpacity = percentOpacity;
				this.overlap=overlap||false;
				this.hidden = false;
			} 
			  
			ELabel.prototype = new GOverlay();

			ELabel.prototype.initialize = function(map) 
			{
				var div = document.createElement("div");
				div.style.position = "absolute";
				div.innerHTML = '<div class="' + this.classname + '">' + this.html + '</div>' ;
				map.getPane(G_MAP_FLOAT_SHADOW_PANE).appendChild(div);
				this.map_ = map;
				this.div_ = div;
				if (this.percentOpacity) {        
				  if(typeof(div.style.filter)=='string'){div.style.filter='alpha(opacity:'+this.percentOpacity+')';}
				  if(typeof(div.style.KHTMLOpacity)=='string'){div.style.KHTMLOpacity=this.percentOpacity/100;}
				  if(typeof(div.style.MozOpacity)=='string'){div.style.MozOpacity=this.percentOpacity/100;}
				  if(typeof(div.style.opacity)=='string'){div.style.opacity=this.percentOpacity/100;}
				}
				if (this.overlap) {
				  var z = GOverlay.getZIndex(this.point.lat());
				  this.div_.style.zIndex = z;
				}
				if (this.hidden) {
				  this.hide();
				}
			}

			ELabel.prototype.remove = function() 
			{
				this.div_.parentNode.removeChild(this.div_);
			}

			ELabel.prototype.copy = function() 
			{
				return new ELabel(this.point, this.html, this.classname, this.pixelOffset, this.percentOpacity, this.overlap);
			}

			ELabel.prototype.redraw = function(force) 
			{
				var p = this.map_.fromLatLngToDivPixel(this.point);
				var h = parseInt(this.div_.clientHeight);
				this.div_.style.left = (p.x + this.pixelOffset.width) + "px";
				this.div_.style.top = (p.y +this.pixelOffset.height - h) + "px";
			}

			ELabel.prototype.show = function() 
			{
				if (this.div_) {
				  this.div_.style.display="";
				  this.redraw();
				}
				this.hidden = false;
			}
			  
			ELabel.prototype.hide = function() 
			{
				if (this.div_) {
				  this.div_.style.display="none";
				}
				this.hidden = true;
			}
			  
			ELabel.prototype.isHidden = function() 
			{
				return this.hidden;
			}
			  
			ELabel.prototype.supportsHide = function() {
				return true;
			}

			ELabel.prototype.setContents = function(html) 
			{
				this.html = html;
				this.div_.innerHTML = '<div class="' + this.classname + '">' + this.html + '</div>' ;
				this.redraw(true);
			}
			  
			ELabel.prototype.setPoint = function(point) 
			{
				this.point = point;
				if (this.overlap) {
				  var z = GOverlay.getZIndex(this.point.lat());
				  this.div_.style.zIndex = z;
				}
				this.redraw(true);
			}
			  
			ELabel.prototype.setOpacity = function(percentOpacity) 
			{
				if (percentOpacity) {
				  if(percentOpacity<0){percentOpacity=0;}
				  if(percentOpacity>100){percentOpacity=100;}
				}        
				this.percentOpacity = percentOpacity;
				if (this.percentOpacity) {        
				  if(typeof(this.div_.style.filter)=='string'){this.div_.style.filter='alpha(opacity:'+this.percentOpacity+')';}
				  if(typeof(this.div_.style.KHTMLOpacity)=='string'){this.div_.style.KHTMLOpacity=this.percentOpacity/100;}
				  if(typeof(this.div_.style.MozOpacity)=='string'){this.div_.style.MozOpacity=this.percentOpacity/100;}
				  if(typeof(this.div_.style.opacity)=='string'){this.div_.style.opacity=this.percentOpacity/100;}
				}
			}

			ELabel.prototype.getPoint = function() 
			{
				return this.point;
			}
			
			ELabel.prototype.U = function() 
			{
				return this.point;
			}
			
			ELabel.prototype.V = function() 
			{
				return this.point;
			}
			
			ELabel.prototype.W = function() 
			{
				return this.point;
			}
			
			ELabel.prototype.X = function() 
			{
				return this.point;
			}
			
			ELabel.prototype.Y = function() 
			{
				return this.point;
			}
			
			ELabel.prototype.Z = function() 
			{
				return this.point;
			}
		  
  		    if (GBrowserIsCompatible()) {
			
				var map = new GMap2(document.getElementById("map"));
				
				var punkt1 = new GLatLng(51.259098,6.756527);
				var marker1 = new GMarker(punkt1)
				var label1 = new ELabel(punkt1, "Gästezimmer", "markerx");
				label1.pixelOffset=new GSize(-17,-33);
								
				var punkt2 = new GLatLng(51.278105,6.767449);
				var marker2 = new GMarker(punkt2)
				var label2 = new ELabel(punkt2, "Flughafen", "marker");
				label2.pixelOffset=new GSize(-71,-17);
				
				var punkt3 = new GLatLng(51.260169,6.747279);
				var marker3 = new GMarker(punkt3)
				var label3 = new ELabel(punkt3, "Messe_Ost", "marker");
				label3.pixelOffset=new GSize(-17,-33);
				
				var punkt4 = new GLatLng(51.255899,6.741958);
				var marker4 = new GMarker(punkt4)
				var label4 = new ELabel(punkt4, "Messe_Süd", "marker");
				label4.pixelOffset=new GSize(-17,-33);
				
				var punkt5 = new GLatLng(51.260089,6.734319);
				var marker5 = new GMarker(punkt5)
				var label5 = new ELabel(punkt5, "Messe_Nord", "marker");
				label5.pixelOffset=new GSize(-50,-33);
				
				var punkt6 = new GLatLng(51.262277,6.761484);
				var marker6 = new GMarker(punkt6)
				var label6 = new ELabel(punkt6, "Fashion_House", "marker");
				label6.pixelOffset=new GSize(-50,-33);
				
				map.setCenter(new GLatLng(51.259511,6.756806), 14);
				map.addControl(new GLargeMapControl3D());
				map.addControl(new GMapTypeControl());
				
				map.addOverlay(marker1);		
				map.addOverlay(label1);
				map.addOverlay(marker2);		
				map.addOverlay(label2);
				map.addOverlay(marker3);		
				map.addOverlay(label3);
				map.addOverlay(marker4);		
				map.addOverlay(label4);
				map.addOverlay(marker5);		
				map.addOverlay(label5);
				map.addOverlay(marker6);		
				map.addOverlay(label6);
				
				/* marker.openInfoWindowHtml("Erlöserkirche Düsseldorf"); */
				
			}
		}
		//----------------------------------------------------------------------------------------
		function KarteLadenEn () {
/*		  FrameLaden('Inhalt/anfahrt.htm');  */
		  
		  	/* ++++++++++++++++++++++++++++++++++++ */
			/* Funktion zur Definition des ELabel 	*/
			/* ++++++++++++++++++++++++++++++++++++ */
			function ELabel(point, html, classname, pixelOffset, percentOpacity, overlap) 
			{
				// Mandatory parameters
				this.point = point;
				this.html = html;
				
				// Optional parameters
				this.classname = classname||"";
				this.pixelOffset = pixelOffset||new GSize(0,0);
				if (percentOpacity) {
				  if(percentOpacity<0){percentOpacity=0;}
				  if(percentOpacity>100){percentOpacity=100;}
				}        
				this.percentOpacity = percentOpacity;
				this.overlap=overlap||false;
				this.hidden = false;
			} 
			  
			ELabel.prototype = new GOverlay();

			ELabel.prototype.initialize = function(map) 
			{
				var div = document.createElement("div");
				div.style.position = "absolute";
				div.innerHTML = '<div class="' + this.classname + '">' + this.html + '</div>' ;
				map.getPane(G_MAP_FLOAT_SHADOW_PANE).appendChild(div);
				this.map_ = map;
				this.div_ = div;
				if (this.percentOpacity) {        
				  if(typeof(div.style.filter)=='string'){div.style.filter='alpha(opacity:'+this.percentOpacity+')';}
				  if(typeof(div.style.KHTMLOpacity)=='string'){div.style.KHTMLOpacity=this.percentOpacity/100;}
				  if(typeof(div.style.MozOpacity)=='string'){div.style.MozOpacity=this.percentOpacity/100;}
				  if(typeof(div.style.opacity)=='string'){div.style.opacity=this.percentOpacity/100;}
				}
				if (this.overlap) {
				  var z = GOverlay.getZIndex(this.point.lat());
				  this.div_.style.zIndex = z;
				}
				if (this.hidden) {
				  this.hide();
				}
			}

			ELabel.prototype.remove = function() 
			{
				this.div_.parentNode.removeChild(this.div_);
			}

			ELabel.prototype.copy = function() 
			{
				return new ELabel(this.point, this.html, this.classname, this.pixelOffset, this.percentOpacity, this.overlap);
			}

			ELabel.prototype.redraw = function(force) 
			{
				var p = this.map_.fromLatLngToDivPixel(this.point);
				var h = parseInt(this.div_.clientHeight);
				this.div_.style.left = (p.x + this.pixelOffset.width) + "px";
				this.div_.style.top = (p.y +this.pixelOffset.height - h) + "px";
			}

			ELabel.prototype.show = function() 
			{
				if (this.div_) {
				  this.div_.style.display="";
				  this.redraw();
				}
				this.hidden = false;
			}
			  
			ELabel.prototype.hide = function() 
			{
				if (this.div_) {
				  this.div_.style.display="none";
				}
				this.hidden = true;
			}
			  
			ELabel.prototype.isHidden = function() 
			{
				return this.hidden;
			}
			  
			ELabel.prototype.supportsHide = function() {
				return true;
			}

			ELabel.prototype.setContents = function(html) 
			{
				this.html = html;
				this.div_.innerHTML = '<div class="' + this.classname + '">' + this.html + '</div>' ;
				this.redraw(true);
			}
			  
			ELabel.prototype.setPoint = function(point) 
			{
				this.point = point;
				if (this.overlap) {
				  var z = GOverlay.getZIndex(this.point.lat());
				  this.div_.style.zIndex = z;
				}
				this.redraw(true);
			}
			  
			ELabel.prototype.setOpacity = function(percentOpacity) 
			{
				if (percentOpacity) {
				  if(percentOpacity<0){percentOpacity=0;}
				  if(percentOpacity>100){percentOpacity=100;}
				}        
				this.percentOpacity = percentOpacity;
				if (this.percentOpacity) {        
				  if(typeof(this.div_.style.filter)=='string'){this.div_.style.filter='alpha(opacity:'+this.percentOpacity+')';}
				  if(typeof(this.div_.style.KHTMLOpacity)=='string'){this.div_.style.KHTMLOpacity=this.percentOpacity/100;}
				  if(typeof(this.div_.style.MozOpacity)=='string'){this.div_.style.MozOpacity=this.percentOpacity/100;}
				  if(typeof(this.div_.style.opacity)=='string'){this.div_.style.opacity=this.percentOpacity/100;}
				}
			}

			ELabel.prototype.getPoint = function() 
			{
				return this.point;
			}
			
			ELabel.prototype.U = function() 
			{
				return this.point;
			}
			
			ELabel.prototype.V = function() 
			{
				return this.point;
			}
			
			ELabel.prototype.W = function() 
			{
				return this.point;
			}
			
			ELabel.prototype.X = function() 
			{
				return this.point;
			}
			
			ELabel.prototype.Y = function() 
			{
				return this.point;
			}
			
			ELabel.prototype.Z = function() 
			{
				return this.point;
			}
		  
  		    if (GBrowserIsCompatible()) {
			
				var map = new GMap2(document.getElementById("map_en"));
				
				var punkt1 = new GLatLng(51.259098,6.756527);
				var marker1 = new GMarker(punkt1)
				var label1 = new ELabel(punkt1, "Guest_rooms", "markerx");
				label1.pixelOffset=new GSize(-45,-33);
								
				var punkt2 = new GLatLng(51.278105,6.767449);
				var marker2 = new GMarker(punkt2)
				var label2 = new ELabel(punkt2, "Airport", "marker");
				label2.pixelOffset=new GSize(-53,-17);
				
				var punkt3 = new GLatLng(51.260169,6.747279);
				var marker3 = new GMarker(punkt3)
				var label3 = new ELabel(punkt3, "Messe_East", "marker");
				label3.pixelOffset=new GSize(-40,-33);
				
				var punkt4 = new GLatLng(51.255899,6.741958);
				var marker4 = new GMarker(punkt4)
				var label4 = new ELabel(punkt4, "Messe_South", "marker");
				label4.pixelOffset=new GSize(-40,-33);
				
				var punkt5 = new GLatLng(51.260089,6.734319);
				var marker5 = new GMarker(punkt5)
				var label5 = new ELabel(punkt5, "Messe_North", "marker");
				label5.pixelOffset=new GSize(-40,-33);
				
				var punkt6 = new GLatLng(51.262277,6.761484);
				var marker6 = new GMarker(punkt6)
				var label6 = new ELabel(punkt6, "Fashion_House", "marker");
				label6.pixelOffset=new GSize(-40,-33);
				
				map.setCenter(new GLatLng(51.259511,6.756806), 14);
				map.addControl(new GLargeMapControl3D());
				map.addControl(new GMapTypeControl());
				
				map.addOverlay(marker1);		
				map.addOverlay(label1);
				map.addOverlay(marker2);		
				map.addOverlay(label2);
				map.addOverlay(marker3);		
				map.addOverlay(label3);
				map.addOverlay(marker4);		
				map.addOverlay(label4);
				map.addOverlay(marker5);		
				map.addOverlay(label5);
				map.addOverlay(marker6);		
				map.addOverlay(label6);
				
				/* marker.openInfoWindowHtml("Erlöserkirche Düsseldorf"); */
				
			}
		}

