var GoogleMap = Class.create({
	initialize: function(container, options){
		this.container = (typeof container == 'object') ? container : $(container);
		this.options = $.extend({
			center: new google.maps.LatLng(52.521358,13.41156),
			zoom: 14,
			mapTypeId: google.maps.MapTypeId.ROADMAP,
			mapTypeControl: true
		}, options || {});
		
		this.container.show();
		
		this.map = new google.maps.Map(this.container[0], this.options);
		this.marker = new google.maps.Marker({ position: this.options.center, map: this.map });
		this.marker.setMap(this.map);
	}
});
