			//MAPS KEY: ABQIAAAA_8k6JgClVIv577Lcx4jfghS5rfLTM7j17rBzz8vClRxtP8S5NxSG3Idt6deOQaoDw0BsRwmDxSe61A;
			var cinema_gmap_lastsearch = null;
			var cinema_gmap = null;
			var cinema_gmap_markerOptions =null;
			var cinema_gmap_addressMarker = null;
			
			function wheelevent(e) {
				if (!e) { 
					e = window.event;
				} 
				if (e.preventDefault) {
					e.preventDefault();
				}
				e.returnValue = false; 
			}
			
			function showCinemaAddress(address) {
			//address = 'Schifferstraße, duisburg';
		      if (GBrowserIsCompatible()) {
		        cinema_gmap = new GMap2(document.getElementById("map_canvas"));						
		        //map.setCenter(new GLatLng(37.4419, -122.1419), 13);
				//map.openInfoWindowHtml(map.getCenter(),"<img src='empire.png'>");                 
				cinema_gmap_lastsearch=address;
				//alert(address.substring(0,7));
				if(address.substring(0,7)=='coords:') {					
					//alert(address.substring(7,address.length));
					var coords = address.substring(7,address.length).split(',');
					//alert(coords[0]); //latitude
					//alert(coords[1]); //longitude
					setCinemaMapPosition(new GLatLng(coords[0],coords[1]));
				}
				else {
					var geocoder = new GClientGeocoder();
				    geocoder.getLatLng(
								    address,
									setCinemaMapPosition
					);
				}
				
				var markerIcon = new GIcon(G_DEFAULT_ICON);
				markerIcon.image = "/_img/uci_logo_new.png";
				markerIcon.iconSize = new GSize(33,27);
				markerIcon.shadow = "/_img/uci_logo_new-shadow.png";
				markerIcon.shadowSize = new GSize(50,27);
				markerIcon.iconAnchor = new GPoint(35, 0);
				cinema_gmap_markerOptions = {icon: markerIcon };
				
				
				
				cinema_gmap.addControl(new GSmallMapControl());
				cinema_gmap.addControl(new GMapTypeControl());
				cinema_gmap.enableScrollWheelZoom();
				cinema_gmap.enableContinuousZoom(); // caution
				   	
				GEvent.addDomListener(cinema_gmap.getContainer(), "DOMMouseScroll", wheelevent); 
				cinema_gmap.getContainer().onmousewheel = wheelevent;			
		      }
		    }
		    
		    function setCinemaMapPosition(point) {
		      if (!point) {
		        alert(cinema_gmap_lastsearch + " not found");
		      } else {
		        cinema_gmap.setCenter(point, 13);
		        cinema_gmap_addressMarker = new GMarker(point, cinema_gmap_markerOptions);
				cinema_gmap.addOverlay(cinema_gmap_addressMarker);
				GEvent.addListener(cinema_gmap_addressMarker, 'click', showBubble);
				showBubble();
		        
				cinema_gmap.openInfoWindowHtml(point,"<img src='empire.png' style='width:100px;'>");
		      }
		    }
		    
		    function showBubble() {
				cinema_gmap_addressMarker.openInfoWindowHtml("<div style=\"margin: 10px;\"><img style=\"margin-right: 20px\" width=\"100\" src=\"/empire.png\" /></div>");
			}
