ltm.contact = {
		
	setup: function()
	{		
		if( ltm.gMapsInitialized == false )
		{			
			var mapCenter = new google.maps.LatLng( 51.17229744778833, 6.837959289550781 );

			var myOptions = {
				zoom: 14,
				center: mapCenter,
				disableDefaultUI: true,
				draggable: false,
				mapTypeId: google.maps.MapTypeId.ROADMAP
			};
			
			var map = new google.maps.Map( document.getElementById( "maps_container" ), myOptions );
			var icon = new google.maps.MarkerImage( "images/assets/map_spot_shadow.png" );
			var leotainment = new google.maps.LatLng( 51.1678768, 6.8375118 );
			var marker = new google.maps.Marker({
			  position: leotainment,
			  icon: icon
			});
			
			google.maps.event.addListener( map, 'click', function( event ) { ltm.gotoGoogleMaps() } );
			
			marker.setMap( map );  
			
			var elem = $( ".kontakt_container_text" );
			infoBubble = new InfoBubble({
			  content: '<div class="kontakt_tooltip">' + elem.html() + '</div>',
			  disableAutoPan: true,
			  shadowStyle: 0,
			  hideCloseButton: true,
			  arrowPosition: 20,
			  arrowStyle: 2,
			  borderRadius: 3,
			  backgroundColor: '#000000',
          	  arrowSize: 15,
         	  borderWidth: 0
			});

			infoBubble.open( map, marker );

			ltm.gMapsInitialized = true;
		}
	},

	onLoad: function ( e )
	{
	},

	initialize: function()
	{
		ltm.contact.setup();	
	}
}

//jQuery( window ).bind( "load", ltm.contact.onLoad );
//jQuery( ltm.contact.initialize );
