function MapsackStartup(){	
			
		if (MS.started) return;
		MS.started = true;

		MS.source = _initdata.source;
		
		Mapping.add_map('map', _initdata.lat, _initdata.lng, _initdata.zoom, false);
		
		
		
		State.init();
		Markers.init();
		Items.init();
		UI.init();
		
		MS.map.setCenter(new GLatLng( _initdata.lat, _initdata.lng));

		//MessageUI.init();
		
		//Events
		GEvent.addListener(MS.map, 'click', Explore.mapClicked);
		GEvent.addListener(MS.map, 'moveend', Explore.doScroll);
		GEvent.addListener(MS.map, 'movestart', function(){Explore.dragging = true;});

		if (_initdata.user != null){
			MS.doLogin(_initdata.user.id, _initdata.user.username, _initdata.user.mycon_url );
		}
		
		//Do tags
		//**********
		State.initTags(_initdata.tags, _initdata.excludetags, _initdata.mintags);
		
		if (_initdata.view_options.show_topbar) 
			UI.setTab(_initdata.selectedTab,_initdata.tags);
		else
			State.setTags(_initdata.tags, _initdata.excludetags, _initdata.mintags);
			
		

		//IF GET['adding'] == true popup the adding box
		if (window.location.search.indexOf('adding=true') > 0){
			setTimeout("Explore.beginAdd();", 1000);
		}
		
		$('loading').style.display = 'none';
}
