
/*
=======================================================================================================================
	IMAGE - LOOP - STEUERUNG
=======================================================================================================================
*/

	    function ImageLoop() {
			document.getElementById('LoopText1').style.visibility = "visible";
	        document.getElementById('LoopText1').style.height = "150px";
	        var divheight = LoopHoehe( LoopHeight[0] ) + "px";
	        document.getElementById('LoopText1').style.height = divheight;
	        window.setTimeout("ImageLoop_1()", 2000 );
	    }


	    function ImageLoop_1() {
            Bild_0( BilderproImgLoop[0], ImgLoopSrc1, 1 );
	    }


	    function ImageLoop_2() {
            document.getElementById('LoopText1').style.visibility = "hidden";
	        document.getElementById('LoopText1').style.height = "1px";
	        document.getElementById('LoopText1').style.width = "400px";
	        document.getElementById('LoopText2').style.visibility = "visible";
	        var divheight = LoopHoehe( LoopHeight[1] ) + "px";
	        document.getElementById('LoopText2').style.height = divheight;
			document.getElementById('LoopText2').style.width = "420px";
            Bild_0( BilderproImgLoop[1], ImgLoopSrc2, 2 );
	    }


	    function ImageLoop_3() {
            document.getElementById('LoopText2').style.visibility = "hidden";
	        document.getElementById('LoopText2').style.height = "1px";
	        document.getElementById('LoopText2').style.width = "400px";
	        document.getElementById('LoopText3').style.visibility = "visible";
	        var divheight = LoopHoehe( LoopHeight[2] ) + "px";
	        document.getElementById('LoopText3').style.height = divheight;
	        document.getElementById('LoopText3').style.width = "420px";
            Bild_0( BilderproImgLoop[2], ImgLoopSrc3, 3 );
	    }


	    function ImageLoop_4() {
	        document.getElementById('LoopText3').style.visibility = "hidden";
	        document.getElementById('LoopText3').style.height = "1px";
	        document.getElementById('LoopText3').style.width = "400px";
	        document.getElementById('LoopText4').style.visibility = "visible";
	        var divheight = LoopHoehe( LoopHeight[3] ) + "px";
	        document.getElementById('LoopText4').style.height = divheight;
	        document.getElementById('LoopText4').style.width = "420px";
            Bild_0( BilderproImgLoop[3], ImgLoopSrc4, 4 );
	    }


	    function ImageLoop_5() {
	        document.getElementById('LoopText4').style.visibility = "hidden";
	        document.getElementById('LoopText4').style.height = "1px";
	        document.getElementById('LoopText4').style.width = "400px";
	        document.getElementById('LoopText5').style.visibility = "visible";
	        var divheight = LoopHoehe( LoopHeight[4] ) + "px";
	        document.getElementById('LoopText5').style.height = divheight;
	        document.getElementById('LoopText5').style.width = "420px";
            Bild_0( BilderproImgLoop[4], ImgLoopSrc5, 5 );
	    }


	    function ImageLoop_6() {
	        document.getElementById('LoopText5').style.visibility = "hidden";
	        document.getElementById('LoopText5').style.height = "1px";
	        document.getElementById('LoopText5').style.width = "400px";
	        document.getElementById('LoopText6').style.visibility = "visible";
	        var divheight = LoopHoehe( LoopHeight[5] ) + "px";
	        document.getElementById('LoopText6').style.height = divheight;
	        document.getElementById('LoopText6').style.width = "420px";
            Bild_0( BilderproImgLoop[5], ImgLoopSrc6, 6 );
	    }


	    function ImageLoop_7() {
	        document.getElementById('LoopText6').style.visibility = "hidden";
	        document.getElementById('LoopText6').style.height = "1px";
	        document.getElementById('LoopText6').style.width = "400px";
	        document.getElementById('LoopText7').style.visibility = "visible";
	        var divheight = LoopHoehe( LoopHeight[6] ) + "px";
	        document.getElementById('LoopText7').style.height = divheight;
	        document.getElementById('LoopText7').style.width = "420px";
            Bild_0( BilderproImgLoop[6], ImgLoopSrc7, 7 );
	    }


	    function ImageLoop_8() {
	        document.getElementById('LoopText7').style.visibility = "hidden";
	        document.getElementById('LoopText7').style.height = "1px";
	        document.getElementById('LoopText7').style.width = "400px";
	        document.getElementById('LoopText8').style.visibility = "visible";
	        var divheight = LoopHoehe( LoopHeight[7] ) + "px";
	        document.getElementById('LoopText8').style.height = divheight;
	        document.getElementById('LoopText8').style.width = "420px";
            Bild_0( BilderproImgLoop[7], ImgLoopSrc8, 8 );
	    }


	    function ImageLoop_9() {
	        document.getElementById('LoopText8').style.visibility = "hidden";
	        document.getElementById('LoopText8').style.height = "1px";
	        document.getElementById('LoopText8').style.width = "400px";
	        document.getElementById('LoopText9').style.visibility = "visible";
	        var divheight = LoopHoehe( LoopHeight[8] ) + "px";
	        document.getElementById('LoopText9').style.height = divheight;
	        document.getElementById('LoopText9').style.width = "420px";
            Bild_0( BilderproImgLoop[8], ImgLoopSrc9, 9 );
	    }


	    function ImageLoop_10() {
	        document.getElementById('LoopText9').style.visibility = "hidden";
	        document.getElementById('LoopText9').style.height = "1px";
	        document.getElementById('LoopText9').style.width = "400px";
	        document.getElementById('LoopText10').style.visibility = "visible";
	        var divheight = LoopHoehe( LoopHeight[9] ) + "px";
	        document.getElementById('LoopText10').style.height = divheight;
	        document.getElementById('LoopText10').style.width = "420px";
            Bild_0( BilderproImgLoop[9], ImgLoopSrc10, 10 );
	    }


	    function ImageLoop_11() {
	        document.getElementById('LoopText10').style.visibility = "hidden";
	        document.getElementById('LoopText10').style.height = "1px";
	        document.getElementById('LoopText10').style.width = "400px";
	        document.getElementById('LoopText1').style.visibility = "visible";
	        var divheight = LoopHoehe( LoopHeight[0] ) + "px";
	        document.getElementById('LoopText1').style.height = divheight;
	        document.getElementById('LoopText1').style.width = "420px";
            Bild_0( BilderproImgLoop[0], ImgLoopSrc1, 1 );
	    }




/*
------------------   Ermittlung der Höhe des ImgLoop-Feldes -----
*/
		function LoopHoehe( TxtZ ) {
        	
			var DivHoehe = 1;
			var DivHoehe0 = 100;
			
			if ( TxtZ > 0 && TxtZ < 200 ) {
				DivHoehe = DivHoehe0;
			}
				
        	if ( TxtZ > 199 && TxtZ < 300 ) {
				DivHoehe = DivHoehe0 + 20;
			}

        	if ( TxtZ > 299 && TxtZ < 400 ) {
				DivHoehe = DivHoehe0 + 40;
				var DivHoehe = 180;
			}
			
        	if ( TxtZ > 399 && TxtZ < 500 ) {
				DivHoehe = DivHoehe0 + 60;
				var DivHoehe = 220;
			}
				
        	if ( TxtZ > 499 && TxtZ < 600 ) {
				DivHoehe = DivHoehe0 + 80;
				var DivHoehe = 260;
			}

        	if ( TxtZ > 599 && TxtZ < 700 ) {
				DivHoehe = DivHoehe0 + 100;
				var DivHoehe = 300;
			}

        	if ( TxtZ > 699 ) {
				DivHoehe = DivHoehe0 + 150;
			}
		
			return DivHoehe;
		}
	

/*
------------------------------------------------------------------------------
*/


/*
=======================================================================================================================
	IMAGES - STEUERUNG
=======================================================================================================================
*/

		function zurueck() {
        	switch( globLoopNr ) {
	            case 1:
	                ImageLoop_2();
                    break;
	            case 2:
	                ImageLoop_3();
                    break;
	            case 3:
	                ImageLoop_4();
                    break;
	            case 4:
	                ImageLoop_5();
                    break;
	            case 5:
	                ImageLoop_6();
                    break;
	            case 6:
	                ImageLoop_7();
                    break;
	            case 7:
	                ImageLoop_8();
                    break;
	            case 8:
	                ImageLoop_9();
                    break;
	            case 9:
	                ImageLoop_10();
                    break;
	            case 10:
	                ImageLoop_11();
                    break;
			}
        }




	    function Bild_0( BildAnzahl, ImgSrc, LoopNr ) {
        	globBildAnzahl = BildAnzahl;
            globImgSrc = ImgSrc;
            globLoopNr = LoopNr;
	        if ( BildAnzahl > 0 ) {
                Bild_1();
	        } else {
	            zurueck();
	        }
	    }



	    function Bild_1() {
            document.getElementById('LoopImage').src = globImgSrc[0];
	        if ( globBildAnzahl > 1 ) {
				window.setTimeout( "Bild_2()", ZeitproBild );
	        } else {
	            window.setTimeout( "zurueck()", ZeitproBild );
	        }
	    }


	    function Bild_2() {
            document.getElementById('LoopImage').src = globImgSrc[1];
	        if ( globBildAnzahl > 2 ) {
				window.setTimeout( "Bild_3()", ZeitproBild );
	        } else {
	            window.setTimeout( "zurueck()", ZeitproBild );
	        }
	    }


	    function Bild_3() {
            document.getElementById('LoopImage').src = globImgSrc[2];
	        if ( globBildAnzahl > 3 ) {
                window.setTimeout( "Bild_4()", ZeitproBild );
	        } else {
	            window.setTimeout( "zurueck()", ZeitproBild );
	        }
	    }


	    function Bild_4() {
            document.getElementById('LoopImage').src = globImgSrc[3];
	        if ( globBildAnzahl > 4 ) {
                window.setTimeout( "Bild_5()", ZeitproBild );
	        } else {
	            window.setTimeout( "zurueck()", ZeitproBild );
	        }
	    }


	    function Bild_5() {
            document.getElementById('LoopImage').src = globImgSrc[4];
	        if ( globBildAnzahl > 5 ) {
                window.setTimeout( "Bild_6()", ZeitproBild );
	        } else {
	            window.setTimeout( "zurueck()", ZeitproBild );
	        }
	    }


	    function Bild_6() {
            document.getElementById('LoopImage').src = globImgSrc[5];
	        if ( globBildAnzahl > 6 ) {
                window.setTimeout( "Bild_7()", ZeitproBild );
	        } else {
	            window.setTimeout( "zurueck()", ZeitproBild );
	        }
	    }


	    function Bild_7() {
            document.getElementById('LoopImage').src = globImgSrc[6];
	        if ( globBildAnzahl > 7 ) {
                window.setTimeout( "Bild_8()", ZeitproBild );
	        } else {
	            window.setTimeout( "zurueck()", ZeitproBild );
	        }
	    }


	    function Bild_8() {
            document.getElementById('LoopImage').src = globImgSrc[7];
	        if ( globBildAnzahl > 8 ) {
                window.setTimeout( "Bild_9()", ZeitproBild );
	        } else {
	            window.setTimeout( "zurueck()", ZeitproBild );
	        }
	    }


	    function Bild_9() {
            document.getElementById('LoopImage').src = globImgSrc[8];
	        if ( globBildAnzahl > 9 ) {
                window.setTimeout( "Bild_10()", ZeitproBild );
	        } else {
	            window.setTimeout( "zurueck()", ZeitproBild );
	        }
	    }


	    function Bild_10() {
            document.getElementById('LoopImage').src = globImgSrc[9];
	        if ( globBildAnzahl > 10 ) {
                window.setTimeout( "Bild_11()", ZeitproBild );
	        } else {
	            window.setTimeout( "zurueck()", ZeitproBild );
	        }
	    }



	    function Bild_11() {
            document.getElementById('LoopImage').src = globImgSrc[10];
	        if ( globBildAnzahl > 11 ) {
                window.setTimeout( "Bild_12()", ZeitproBild );
	        } else {
	            window.setTimeout( "zurueck()", ZeitproBild );
	        }
	    }


	    function Bild_12() {
            document.getElementById('LoopImage').src = globImgSrc[11];
	        if ( globBildAnzahl > 12 ) {
                window.setTimeout( "Bild_13()", ZeitproBild );
	        } else {
	            window.setTimeout( "zurueck()", ZeitproBild );
	        }
	    }


	    function Bild_13() {
            document.getElementById('LoopImage').src = globImgSrc[12];
	        if ( globBildAnzahl > 13 ) {
                window.setTimeout( "Bild_14()", ZeitproBild );
	        } else {
	            window.setTimeout( "zurueck()", ZeitproBild );
	        }
	    }


	    function Bild_14() {
            document.getElementById('LoopImage').src = globImgSrc[13];
	        if ( globBildAnzahl > 14 ) {
                window.setTimeout( "Bild_15()", ZeitproBild );
	        } else {
	            window.setTimeout( "zurueck()", ZeitproBild );
	        }
	    }


	    function Bild_15() {
            document.getElementById('LoopImage').src = globImgSrc[14];
	        if ( globBildAnzahl > 15 ) {
                window.setTimeout( "Bild_16()", ZeitproBild );
	        } else {
	            window.setTimeout( "zurueck()", ZeitproBild );
	        }
	    }


	    function Bild_16() {
            document.getElementById('LoopImage').src = globImgSrc[15];
	        if ( globBildAnzahl > 16 ) {
                window.setTimeout( "Bild_17()", ZeitproBild );
	        } else {
	            window.setTimeout( "zurueck()", ZeitproBild );
	        }
	    }


	    function Bild_17() {
            document.getElementById('LoopImage').src = globImgSrc[16];
	        if ( globBildAnzahl > 17 ) {
                window.setTimeout( "Bild_18()", ZeitproBild );
	        } else {
	            window.setTimeout( "zurueck()", ZeitproBild );
	        }
	    }


	    function Bild_18() {
            document.getElementById('LoopImage').src = globImgSrc[17];
	        if ( globBildAnzahl > 18 ) {
                window.setTimeout( "Bild_19()", ZeitproBild );
	        } else {
	            window.setTimeout( "zurueck()", ZeitproBild );
	        }
	    }


	    function Bild_19() {
            document.getElementById('LoopImage').src = globImgSrc[18];
	        if ( globBildAnzahl > 19 ) {
                window.setTimeout( "Bild_20()", ZeitproBild );
	        } else {
	            window.setTimeout( "zurueck()", ZeitproBild );
	        }
	    }


	    function Bild_20() {
            document.getElementById('LoopImage').src = globImgSrc[19];
	        if ( globBildAnzahl > 20 ) {
                window.setTimeout( "Bild_21()", ZeitproBild );
	        } else {
	            window.setTimeout( "zurueck()", ZeitproBild );
	        }
	    }


	    function Bild_21() {
            document.getElementById('LoopImage').src = globImgSrc[20];
	        if ( globBildAnzahl > 21 ) {
                window.setTimeout( "Bild_22()", ZeitproBild );
	        } else {
	            window.setTimeout( "zurueck()", ZeitproBild );
	        }
	    }


	    function Bild_22() {
            document.getElementById('LoopImage').src = globImgSrc[21];
	        if ( globBildAnzahl > 22 ) {
                window.setTimeout( "Bild_23()", ZeitproBild );
	        } else {
	            window.setTimeout( "zurueck()", ZeitproBild );
	        }
	    }


	    function Bild_23() {
            document.getElementById('LoopImage').src = globImgSrc[22];
	        if ( globBildAnzahl > 23 ) {
                window.setTimeout( "Bild_24()", ZeitproBild );
	        } else {
	            window.setTimeout( "zurueck()", ZeitproBild );
	        }
	    }


	    function Bild_24() {
            document.getElementById('LoopImage').src = globImgSrc[23];
	        if ( globBildAnzahl > 24 ) {
                window.setTimeout( "Bild_25()", ZeitproBild );
	        } else {
	            window.setTimeout( "zurueck()", ZeitproBild );
	        }
	    }


	    function Bild_25() {
            document.getElementById('LoopImage').src = globImgSrc[24];
	        if ( globBildAnzahl > 25 ) {
                window.setTimeout( "Bild_26()", ZeitproBild );
	        } else {
	            window.setTimeout( "zurueck()", ZeitproBild );
	        }
	    }


	    function Bild_26() {
            document.getElementById('LoopImage').src = globImgSrc[25];
	        if ( globBildAnzahl > 26 ) {
                window.setTimeout( "Bild_27()", ZeitproBild );
	        } else {
	            window.setTimeout( "zurueck()", ZeitproBild );
	        }
	    }


	    function Bild_27() {
            document.getElementById('LoopImage').src = globImgSrc[26];
	        if ( globBildAnzahl > 27 ) {
                window.setTimeout( "Bild_28()", ZeitproBild );
	        } else {
	            window.setTimeout( "zurueck()", ZeitproBild );
	        }
	    }


	    function Bild_28() {
            document.getElementById('LoopImage').src = globImgSrc[27];
	        if ( globBildAnzahl > 28 ) {
                window.setTimeout( "Bild_29()", ZeitproBild );
	        } else {
	            window.setTimeout( "zurueck()", ZeitproBild );
	        }
	    }


	    function Bild_29() {
            document.getElementById('LoopImage').src = globImgSrc[28];
	        if ( globBildAnzahl > 29 ) {
                window.setTimeout( "Bild_30()", ZeitproBild );
	        } else {
	            window.setTimeout( "zurueck()", ZeitproBild );
	        }
	    }


	    function Bild_30() {
            document.getElementById('LoopImage').src = globImgSrc[29];
            window.setTimeout( "zurueck()", ZeitproBild );
	    }


