
//<![CDATA[
/*************************************************
 * Created with GoogleMapAPI 2.5
 * Author: Monte Ohrt <monte AT ohrt DOT com>
 * Copyright 2005-2006 New Digital Group
 * http://www.phpinsider.com/php/code/GoogleMapAPI/
 *************************************************/
var points = [];
var markers = [];
var counter = 0;
var map = null;
function onLoadmap_30089d887bcc637f093ec2079a416ade() {
if (GBrowserIsCompatible()) {
var mapObj = document.getElementById("map_30089d887bcc637f093ec2079a416ade");
if (mapObj != "undefined" && mapObj != null) {
map = new GMap2(document.getElementById("map_30089d887bcc637f093ec2079a416ade"));
map.setCenter(new GLatLng(47.288192, 12.524513), 16, G_NORMAL_MAP);
map.addControl(new GLargeMapControl());
map.addControl(new GMapTypeControl());
map.addControl(new GScaleControl());
map.addControl(new GOverviewMapControl());
map.enableScrollWheelZoom();
		function wheelevent(e) {
			if (!e) e = window.event;
			if (e.preventDefault) e.preventDefault();
			e.returnValue = false;
		}
		GEvent.addDomListener(map.getContainer(), "DOMMouseScroll", wheelevent);
		map.getContainer().onmousewheel = wheelevent;
var point = new GLatLng(47.2881917,12.5245133);
var marker = createMarker(point,"Malerei Eberl","<div id=\"gmapmarker\"><b>Malerei Eberl<\/b><br \/>Betriebsstätte Stuhlfelden<br \/>Stuhlfelden 153<br \/>5724 Stuhlfelden<\/div>", 0,"");
map.addOverlay(marker);
}
} else {
alert("Sorry, the Google Maps API is not compatible with this browser.");
}
}
function createMarker(point, title, html, n, tooltip) {
if(n >= 0) { n = -1; }
var marker = new GMarker(point,{'title': tooltip});
if(isArray(html)) { GEvent.addListener(marker, "click", function() { marker.openInfoWindowTabsHtml(html); }); }
else { GEvent.addListener(marker, "click", function() { marker.openInfoWindowHtml(html); }); }
points[counter] = point;
markers[counter] = marker;
counter++;
return marker;
}
function isArray(a) {return isObject(a) && a.constructor == Array;}
function isObject(a) {return (a && typeof a == 'object') || isFunction(a);}
function isFunction(a) {return typeof a == 'function';}
function showInfoWindow(idx,html) {
map.centerAtLatLng(points[idx]);
markers[idx].openInfoWindowHtml(html);
}
//]]>


