
	// Google Maps
	var map = new google.maps.Map2( document.getElementById( "gmap" ) );
	map.setMapType( G_NORMAL_MAP );
	map.addControl( new GSmallMapControl() );
	var geocoder = new GClientGeocoder();
	geocoder.getLocations( 'Schwedter Str. 34a, 10435 Berlin, Deutschland', function( response )
	{
		if ( response && response.Status.code === 200 )
		{
			place = response.Placemark[0];
			point = new GLatLng( place.Point.coordinates[1], place.Point.coordinates[0] );
			map.setCenter( new google.maps.LatLng( place.Point.coordinates[1], place.Point.coordinates[0]), 15 );
			marker = new GMarker( point );
			map.addOverlay( marker );
		}
	} );
	
	// Flash Weiche
	if ( swfobject.hasFlashPlayerVersion( '10' )  )
	{
		var params = { scale: 'noscale', bgcolor: '#868686' };
		swfobject.embedSWF( 'images/flash/webwerk.swf', 'flash_container', '100%', '100%', '10', 'images/flash/expressInstall.swf', {}, params, {} );
	}
	else
	{
		if( window.location.href.indexOf( 'index9.html' ) > 0 )
		{
			// Um den Rest kümmert sich swfobject
			var params = { scale: 'noscale', wmode: 'transparent', bgcolor: '#868686' };
			swfobject.embedSWF( 'images/flash/webwerk9.swf', 'flash_container', '100%', '100%', '9', 'images/flash/expressInstall.swf', {}, params, {} );
		}
		else if ( window.location.href.indexOf( 'index_choice.html' ) < 0 ) {
			window.location.href = 'index_choice.html';
		}
		else if ( window.location.href.indexOf( 'index_choice.html' ) > 0 ) {
			// Timeout starten um automatisch auf index9 weiterzuleiten
			setTimeout( function() { window.location.href = 'index9.html'; }, 8000 );
		}
	}
	
