	function createImages() {
		var count		= createImages.arguments.length;
		var imgs		= new Array( count );
		for ( i = 0; i < count; i++ ) {
			imgs[i]		= new Image();
			imgs[i].src	= createImages.arguments[i];
		}
		return imgs;
	}


	function linkSelected( no ) {

		if ( no == 0 ) {
			window.status	= "Informationen über Englisch für Kinder";
		}
		else if ( no == 1 ) {
			window.status	= "Informationen über Englisch für Schüler";
		}
		else if ( no == 2 ) {
			window.status	= "Informationen über Englisch-Training für Erwachsene";
		}
		else if ( no == 3 ) {
			window.status	= "Informationen über Englisch-Training für Firmen";
		}
		else if ( no == 4 ) {
			window.status	= "Informationen zur Kontakt-Aufnahme";
		}
		else if ( no == 5 ) {
			window.status	= "Zurück zur Startseite";
		}

		lastRotationObjects	= nextRotationObjects;							// backup
		nextRotationObjects	= imgsCenterBridge;
		mouseAboveLink		= true;

	}


	function linkUnselected( no ) {

		window.status	= "";

		nextRotationObjects	= lastRotationObjects;							// restore
		mouseAboveLink		= false;

	}


	function doNextRotationStep() {

		var	img		= null;

		img	= document.images[ "imgCenter" + nextRotationValue];
		if ( img ) {
			img.src				= nextRotationObjects[nextRotationValue].src;
		}

		nextRotationValue++;
		if ( nextRotationValue > 3 ) {
			nextRotationValue	= 0;
			if ( nextRotationObjects == imgsCenterLogo )
				if ( mouseAboveLink ) 
					nextRotationObjects	= imgsCenterBridge;
				else 
					nextRotationObjects	= imgsCenterLocal;
			else
				nextRotationObjects	= imgsCenterLogo;
		}
		currentTimeout			= setTimeout( "doNextRotationStep()", 1000 );

	}


	function createTiles( base ) {
		return createImages( base + "_0.gif", base + "_1.gif", base + "_2.gif", base + "_3.gif" );
	}


	function init( base ) {
		if ( document.images ) {
			imgsCenterLocal		= createTiles( base );
			if ( imgsCenterLogo == null ) {		// falls netscape unten so schnell war, dass document.images noch nicht existierte
				localInit()
			}
		}
	}

	function start() {
		if ( document.images ) {
		    currentTimeout		= -1;
			nextRotationObjects	= imgsCenterLogo;
			currentTimeout		= setTimeout( "doNextRotationStep()", 1000 );
		}
	}


	function destroy() {
		if ( "" + currentTimeout != "" ) {		// currentTimeout hat mit ns3 nen ziemlich albernen Wert
			clearTimeout( currentTimeout );
		}
	}


	function localInit() {
		if ( document.images ) {
			imgsCenterLogo		= createTiles( "gfx/center_logo" );
			imgsCenterBridge	= createTiles( "gfx/center_bridge" );
		}
	}

	imgsCenterLogo			= null;
	imgsCenterBridge		= null;
	imgsCenterLocal			= null;
    currentTimeout			= "";
	nextRotationValue		= 0;
	nextRotationObjects		= null;
	lastRotationObjects		= null;				// Backup waehrend wegen eines aktiven links ein anderes logo kommt.
	mouseAboveLink			= false;

	localInit();								// klappt nicht immer, weil document.images manchmal fehlt
