var BrowserName = navigator.appName;
var Filter = "ns";
if (BrowserName == "Microsoft Internet Explorer")
			{
	Filter = "ie";	}

opacity=100 ;
var increase = 0;
var decrease = 1;
var counter  = 0;
var counter2 = 0;

	var i = 1 ;
	var j = 2 ;
	var k = 3 ;
	var l = 4 ;
	var m = 5 ;
	var n = 6 ;
	var o = 7 ;
	var p = 0 ;
	var q = 950 ;
	var r = 0;
	var s = 0;
	var visibility = 0;
	var start = 1;
	var counter  = 0;
	var counter2 = 0;

var small= new Array();

 small[1] = new Image(); small[1].src = "t_kostmann2.jpg";
 small[2] = new Image(); small[2].src = "t_siegl1.jpg";
 small[3] = new Image(); small[3].src = "t_siegl2.jpg";
 small[4] = new Image(); small[4].src = "t_siegl3.jpg";
 small[5] = new Image(); small[5].src = "t_andi1.jpg";
 small[6] = new Image(); small[6].src = "t_andi2.jpg";
 small[7] = new Image(); small[7].src = "t_andi3.jpg";
 small[8] = new Image(); small[8].src = "t_ruwo1.jpg";
 small[9] = new Image(); small[9].src = "t_ruwo2.jpg";
 small[10] = new Image(); small[10].src = "t_ruwo3.jpg";
 small[11] = new Image(); small[11].src = "t_ruwo4.jpg";
 small[12] = new Image(); small[12].src = "t_landring1.jpg";
 small[13] = new Image(); small[13].src = "t_landring2.jpg";
 small[14] = new Image(); small[14].src = "t_landring3.jpg";
 small[15] = new Image(); small[15].src = "t_landring4.jpg";
 small[16] = new Image(); small[16].src = "t_iris.jpg";
 small[17] = new Image(); small[17].src = "t_marien1.jpg";
 small[18] = new Image(); small[18].src = "t_marien2.jpg";
 small[19] = new Image(); small[19].src = "t_marien3.jpg";
 small[20] = new Image(); small[20].src = "t_red_bull.jpg";
 small[22] = new Image(); small[22].src = "t_koerperglas1.jpg";
 small[23] = new Image(); small[23].src = "t_koerperglas2.jpg";
 small[24] = new Image(); small[24].src = "t_soellner1.jpg";
 small[25] = new Image(); small[25].src = "t_soellner2.jpg";
 small[26] = new Image(); small[26].src = "t_soellner3.jpg";
 small[27] = new Image(); small[27].src = "t_gady1.jpg";
 small[28] = new Image(); small[28].src = "t_mex.jpg";

var big = new Array();

 big[1] = new Image(); big[1].src = "kostmann2.jpg";
 big[2] = new Image(); big[2].src = "siegl1.jpg";
 big[3] = new Image(); big[3].src = "siegl2.jpg";
 big[4] = new Image(); big[4].src = "siegl3.jpg";
 big[5] = new Image(); big[5].src = "andi1.jpg";
 big[6] = new Image(); big[6].src = "andi2.jpg";
 big[7] = new Image(); big[7].src = "andi3.jpg";
 big[8] = new Image(); big[8].src = "ruwo1.jpg";
 big[9] = new Image(); big[9].src = "ruwo2.jpg";
 big[10] = new Image(); big[10].src = "ruwo3.jpg";
 big[11] = new Image(); big[11].src = "ruwo4.jpg";
 big[12] = new Image(); big[12].src = "landring1.jpg";
 big[13] = new Image(); big[13].src = "landring2.jpg";
 big[14] = new Image(); big[14].src = "landring3.jpg";
 big[15] = new Image(); big[15].src = "landring4.jpg";
 big[16] = new Image(); big[16].src = "iris.jpg";
 big[17] = new Image(); big[17].src = "marien1.jpg";
 big[18] = new Image(); big[18].src = "marien2.jpg";
 big[19] = new Image(); big[19].src = "marien3.jpg";
 big[20] = new Image(); big[20].src = "red_bull.jpg";
 big[22] = new Image(); big[22].src = "koerperglas1.jpg";
 big[23] = new Image(); big[23].src = "koerperglas2.jpg";
 big[24] = new Image(); big[24].src = "soellner1.jpg";
 big[25] = new Image(); big[25].src = "soellner2.jpg";
 big[26] = new Image(); big[26].src = "soellner3.jpg";
 big[27] = new Image(); big[27].src = "gady1.jpg";
 big[28] = new Image(); big[28].src = "mex.jpg";

var b = new Array();
 b[0] = new Image(); b[0].src = "aktuell_011.JPG";
 b[1] = new Image(); b[1].src = "aktuell_035.JPG";
 b[2] = new Image(); b[2].src = "aktuell_024.JPG";
 b[3] = new Image(); b[3].src = "atelier_145.JPG";
 b[4] = new Image(); b[4].src = "aktuell_002.JPG";
 b[5] = new Image(); b[5].src = "laplata2004_034.JPG";
 b[6] = new Image(); b[6].src = "aktuell_036.JPG";
 b[7] = new Image(); b[7].src = "aktuell_029.JPG";

var c = new Array();
 c[0] = new Image(); c[0].src = "logo2.gif";
 c[1] = new Image(); c[1].src = "logo.gif";

function Big(i)
 {
	document.getElementById("koerper").style.padding = 0;

	document.images["Logo"].width = 48;
        document.images["Logo"].height = 9;

	document.images["Top0"].width = 26;
        document.images["Top0"].height = 20;

	document.images["Top1"].width = 26;
        document.images["Top1"].height = 20;

	document.images["Top2"].width = 26;
        document.images["Top2"].height = 20;

	document.images["Top3"].width = 26;
        document.images["Top3"].height = 20;

	document.images["Top4"].width = 26;
        document.images["Top4"].height = 20;

	document.images["Top5"].width = 26;
        document.images["Top5"].height = 20;

	document.images["Top6"].width = 26;
        document.images["Top6"].height = 20;

	document.images["Top7"].width = 26;
        document.images["Top7"].height = 20;

			
	document.images["kostmann2"].src = small[1].src;
	document.images["kostmann2"].width = 110;
        document.images["kostmann2"].height = 83;

	document.images["siegl1"].src = small[2].src;
	document.images["siegl1"].width = 78;
        document.images["siegl1"].height = 110;

	document.images["siegl2"].src = small[3].src;
	document.images["siegl2"].width = 110;
        document.images["siegl2"].height = 83;

	document.images["siegl3"].src = small[4].src;
	document.images["siegl3"].width = 83;
        document.images["siegl3"].height = 110;

	document.getElementById("praxis").style.color = "#000000";
	document.getElementById("praxis").style.fontSize = 1;

	document.images["andi1"].src = small[5].src;
	document.images["andi1"].width = 84;
        document.images["andi1"].height = 110;

	document.images["andi2"].src = small[6].src;
	document.images["andi2"].width = 110;
        document.images["andi2"].height = 83;

	document.images["andi3"].src = small[7].src;
	document.images["andi3"].width = 110;
        document.images["andi3"].height = 83;

	document.images["ruwo1"].src = small[8].src;
	document.images["ruwo1"].width = 83;
        document.images["ruwo1"].height = 110;

	document.images["ruwo2"].src = small[9].src;
	document.images["ruwo2"].width = 110;
        document.images["ruwo2"].height = 83;

	document.images["ruwo3"].src = small[10].src;
	document.images["ruwo3"].width = 110;
        document.images["ruwo3"].height = 75;

	document.images["ruwo4"].src = small[11].src;
	document.images["ruwo4"].width = 110;
        document.images["ruwo4"].height = 83;

	document.images["landring1"].src = small[12].src;
	document.images["landring1"].width = 100;
        document.images["landring1"].height = 75;

	document.images["landring2"].src = small[13].src;
	document.images["landring2"].width = 100;
        document.images["landring2"].height = 75;

	document.images["landring3"].src = small[14].src;
	document.images["landring3"].width = 86;
        document.images["landring3"].height = 90;

	document.images["landring4"].src = small[15].src;
	document.images["landring4"].width = 100;
        document.images["landring4"].height = 75;

	document.images["iris"].src = small[16].src;
	document.images["iris"].width = 110;
        document.images["iris"].height = 83;

	document.images["marien1"].src = small[17].src;
	document.images["marien1"].width = 83;
        document.images["marien1"].height = 110;

	document.images["marien2"].src = small[18].src;
	document.images["marien2"].width = 110;
        document.images["marien2"].height = 83;

	document.images["marien3"].src = small[19].src;
	document.images["marien3"].width = 83;
        document.images["marien3"].height = 110;

	document.images["red"].src = small[20].src;
	document.images["red"].width = 99;
        document.images["red"].height = 100;

	document.images["koerperglas1"].src = small[22].src;
	document.images["koerperglas1"].width = 68;
        document.images["koerperglas1"].height = 90;

	document.images["koerperglas2"].src = small[23].src;
	document.images["koerperglas2"].width = 110;
        document.images["koerperglas2"].height = 83;

	document.images["soellner1"].src = small[24].src;
	document.images["soellner1"].width = 83;
        document.images["soellner1"].height = 83;

	document.images["soellner2"].src = small[25].src;
	document.images["soellner2"].width = 110;
        document.images["soellner2"].height = 83;

	document.images["soellner3"].src = small[26].src;
	document.images["soellner3"].width = 83;
        document.images["soellner3"].height = 110;

	document.images["gady1"].src = small[27].src;
	document.images["gady1"].width = 110;
        document.images["gady1"].height = 83;

	document.images["mex"].src = small[28].src;
	document.images["mex"].width = 110;
        document.images["mex"].height = 90;
	


 	if(i==1)	{	
	document.images["kostmann2"].src = big[1].src;		
	document.images["kostmann2"].width = 250;
        document.images["kostmann2"].height = 188;
			}
 	if(i==2)	{	
	document.images["siegl1"].src = big[2].src;		
	document.images["siegl1"].width = 177;
        document.images["siegl1"].height = 250;
			}
 	if(i==3)	{	
	document.images["siegl2"].src = big[3].src;		
	document.images["siegl2"].width = 250;
        document.images["siegl2"].height = 188;
			}
 	if(i==4)	{	
	document.images["siegl3"].src = big[4].src;		
	document.images["siegl3"].width = 188;
        document.images["siegl3"].height = 250;
	document.getElementById("praxis").style.color = "#ff0000";
	document.getElementById("praxis").style.fontSize = 14;
			}
 	if(i==5)	{	
	document.images["andi1"].src = big[5].src;		
	document.images["andi1"].width = 153;
        document.images["andi1"].height = 200;
			}
 	if(i==6)	{	
	document.images["andi2"].src = big[6].src;		
	document.images["andi2"].width = 250;
        document.images["andi2"].height = 188;
			}
 	if(i==7)	{	
	document.images["andi3"].src = big[7].src;		
	document.images["andi3"].width = 250;
        document.images["andi3"].height = 188;
			}
 	if(i==8)	{	
	document.images["ruwo1"].src = big[8].src;		
	document.images["ruwo1"].width = 188;
        document.images["ruwo1"].height = 250;
			}
 	if(i==9)	{	
	document.images["ruwo2"].src = big[9].src;		
	document.images["ruwo2"].width = 250;
        document.images["ruwo2"].height = 188;
			}
 	if(i==10)	{	
	document.images["ruwo3"].src = big[10].src;		
	document.images["ruwo3"].width = 250;
        document.images["ruwo3"].height = 169;
			}
 	if(i==11)	{	
	document.images["ruwo4"].src = big[11].src;		
	document.images["ruwo4"].width = 250;
        document.images["ruwo4"].height = 188;
			}
 	if(i==12)	{	
	document.images["landring1"].src = big[12].src;		
	document.images["landring1"].width = 250;
        document.images["landring1"].height = 188;
			}
 	if(i==13)	{	
	document.images["landring2"].src = big[13].src;		
	document.images["landring2"].width = 200;
        document.images["landring2"].height = 150;
			}
 	if(i==14)	{	
	document.images["landring3"].src = big[14].src;		
	document.images["landring3"].width = 200;
        document.images["landring3"].height = 209;
			}
 	if(i==15)	{	
	document.images["landring4"].src = big[15].src;		
	document.images["landring4"].width = 267;
        document.images["landring4"].height = 200;
			}
 	if(i==16)	{	
	document.images["iris"].src = big[16].src;		
	document.images["iris"].width = 250;
        document.images["iris"].height = 188;
			}
 	if(i==17)	{	
	document.images["marien1"].src = big[17].src;		
	document.images["marien1"].width = 188;
        document.images["marien1"].height = 250;
			}
 	if(i==18)	{	
	document.images["marien2"].src = big[18].src;		
	document.images["marien2"].width = 225;
        document.images["marien2"].height = 169;
			}
 	if(i==19)	{	
	document.images["marien3"].src = big[19].src;		
	document.images["marien3"].width = 188;
        document.images["marien3"].height = 250;
			} 
 	if(i==20)	{	
	document.images["red"].src = big[20].src;		
	document.images["red"].width = 220;
        document.images["red"].height = 222;
			} 	
 	if(i==21)	{	
	document.getElementById("koerper").style.padding = 5;

	document.images["Logo"].width = 160;
        document.images["Logo"].height = 30;
	document.images["Top0"].width = 74;
        document.images["Top0"].height = 55;
	document.images["Top1"].width = 74;
        document.images["Top1"].height = 55;
	document.images["Top2"].width = 74;
        document.images["Top2"].height = 55;
	document.images["Top3"].width = 74;
        document.images["Top3"].height = 55;
	document.images["Top4"].width = 74;
        document.images["Top4"].height = 55;
	document.images["Top5"].width = 74;
        document.images["Top5"].height = 55;
	document.images["Top6"].width = 74;
        document.images["Top6"].height = 55;
	document.images["Top7"].width = 74;
        document.images["Top7"].height = 55;
			}
 	if(i==22)	{
	document.images["koerperglas1"].src = big[22].src;
	document.images["koerperglas1"].width = 188;
        document.images["koerperglas1"].height = 250;
			}
 	if(i==23)	{
	document.images["koerperglas2"].src = big[23].src;
	document.images["koerperglas2"].width = 250;
        document.images["koerperglas2"].height = 188;
			}
 	if(i==24)	{
	document.images["soellner1"].src = big[24].src;
	document.images["soellner1"].width = 150;
        document.images["soellner1"].height = 150;
			}
 	if(i==25)	{
	document.images["soellner2"].src = big[25].src;
	document.images["soellner2"].width = 250;
        document.images["soellner2"].height = 188;
			}
 	if(i==26)	{
	document.images["soellner3"].src = big[26].src;
	document.images["soellner3"].width = 188;
        document.images["soellner3"].height = 250;
			}
 	if(i==27)	{
	document.images["gady1"].src = big[27].src;
	document.images["gady1"].width = 250;
        document.images["gady1"].height = 188;
			}
 	if(i==28)	{
	document.images["mex"].src = big[28].src;
	document.images["mex"].width = 250;
        document.images["mex"].height = 205;
			}
}


function Logo()
 { 	
	if(start == 1){
	setTimeout("Logo()",1500);
	start=0;	}
	else
	if(Filter == "ie")	{
	s++;
	if (s>1) s=0;
	document.images["Logo"].filters.revealTrans.Apply();
	document.images["Logo"].src = c[s].src;
	document.images["Logo"].filters.revealTrans.Play();
	if(s>0)	{
	setTimeout("Logo()",3000);
			}
	else
	setTimeout("Logo()",1500);		
				}
	else setTimeout("Logo2()",1);
}

function Logo2()
 { 
	if(counter<=8)
	{
	counter++;
	if (opacity>=20 && decrease==1){
	opacity-=10}
	else{
	increase=1
	decrease=0
		}
	document.images["Logo"].style.MozOpacity=opacity/100;
	document.images["Logo"].src = c[s].src;
	
	setTimeout("Logo2()",100)
	}
	
	else
	{
	if (counter2==0){s++;}
	increase=1
	decrease=0
	if(counter2<=8)
	{
	counter2++;
	if (opacity<=90 && increase==1){
	opacity+=10
					}
	else{
	increase=0
	decrease=1
		}
			
	if(s > 1) s = 0;
	document.images["Logo"].src = c[s].src;
	document.images["Logo"].style.MozOpacity=opacity/100;
	setTimeout("Logo2()",100)
	}
	else
		{
		opacity=100 ;
		increase=0 ;
		decrease=1 ;
		counter=0;
		counter2=0;
		if(s==0){
		setTimeout("Logo2()",500)}
		else{
		setTimeout("Logo2()",3000)}
		
		}
	}
	
 }


function Animation2()
 {
		
		if(q < 950) q = 950;
		if(i > 7) i = 0;
		if(j > 7) j = 0;
		if(k > 7) k = 0;
		if(l > 7) l = 0;
		if(m > 7) m = 0;
		if(n > 7) n = 0;
		if(o > 7) o = 0;
		if(p > 7) p = 0;
		
		document.images["Top0"].src = b[i].src;
		document.images["Top1"].src = b[j].src;
		document.images["Top2"].src = b[k].src;
		document.images["Top3"].src = b[l].src;
		document.images["Top4"].src = b[m].src;
		document.images["Top5"].src = b[n].src;
		document.images["Top6"].src = b[o].src;
		document.images["Top7"].src = b[p].src;
 		i = i + 1;
		j = j + 1;
		k = k + 1;
		l = l + 1;
		m = m + 1;
		n = n + 1;
		o = o + 1;
		p = p + 1; 		
		r = r + 50;
		if(r < 999){
			setTimeout("Animation2()",1000-r);
				}
		else
			setTimeout("Animation()",1000-q);
 }

function Animation()
 {
		if(r > 0) r = 300;
		if(i > 7) i = 0;
		if(j > 7) j = 0;
		if(k > 7) k = 0;
		if(l > 7) l = 0;
		if(m > 7) m = 0;
		if(n > 7) n = 0;
		if(o > 7) o = 0;
		if(p > 7) p = 0;
		
		document.images["Top0"].src = b[i].src;
		document.images["Top1"].src = b[j].src;
		document.images["Top2"].src = b[k].src;
		document.images["Top3"].src = b[l].src;
		document.images["Top4"].src = b[m].src;
		document.images["Top5"].src = b[n].src;
		document.images["Top6"].src = b[o].src;
		document.images["Top7"].src = b[p].src;
 		i = i + 1;
		j = j + 1;
		k = k + 1;
		l = l + 1;
		m = m + 1;
		n = n + 1;
		o = o + 1;
		p = p + 1; 		
		q = q - 50;
		if(q > 300){
			setTimeout("Animation()",1000-q);
				}
		else
			setTimeout("Animation2()",1000-r);
 }
