/* 
Simple JQuery GMap.

*/

function initGMap() 
{
    	$("#footer").localScroll();
		
		$("#map1").gMap({ markers: [{ latitude: 47.670553,
									  longitude: 9.588479 }] });
		
		$("#map2").gMap({ maptype: G_PHYSICAL_MAP });
		
		$("#map3").gMap({ markers: [{ latitude: 47.670553,
									  longitude: 9.588479,
									  html: "Tettnang, Germany",
									  popup: true }],
						  zoom: 6 });
		
		$("#map5").gMap({ maptype: G_NORMAL_MAP, 
                  markers: [{ address: "Maximilianallee 18 04129 Leipzig",
                              icon: { image: "theme/images/gmap_pin_orange.png",
                              		  iconsize: [26, 46],
                              		  iconanchor: [12,46],
                              		  infowindowanchor: [12, 0] },
                                      html: "<b>TLStudio</b> - <i>Druck & Werbung</i><br/> Maximilianallee 18<br/> 04129 Leipzig",
									  popup: true },
                            { address: "Schnorr Str. 72 01069 Dresden",
                              icon: { image: "theme/images/gmap_pin_grey.png",
                              		  iconsize: [26, 46],
                              		  iconanchor: [12,46],
                              		  infowindowanchor: [12, 0] } },
                                        { address: "Berlin - Lichtenberg",
                              icon: { image: "theme/images/gmap_pin.png",
                              		  iconsize: [26, 46],
                              		  iconanchor: [12,46],
                              		  infowindowanchor: [12, 0] } }],
       address: "Cottbus Germany",
                  zoom: 7 });
        
		$("#map4").gMap({ markers: [{ latitude: 47.651968,
                              longitude: 9.478485,
                              html: "_latlng" },
                            { address: "Tettnang, Germany",
                              html: "The place I live" },
                            { address: "Langenargen, Germany",
                              html: "_address" }],
                  address: "Braitenrain, Germany",
                  zoom: 10 });
}
$(document).ready(function() {initGMap();});
