<!--
nMaxItem = 4;


NameIndex = 0;
DefaultState = 1;
MouseOverState = 2;
imgCounter = 0;

ImageList = new Array();

bIsSupportOK = (
	((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) >= 3 )) ||
	((navigator.appName == "Microsoft Internet Explorer") && (parseInt(navigator.appVersion) >= 4 ))
);

function AddImageToImageList(name, Default, MouseOver, MouseDown)
{
	ImageList[imgCounter] = new Array(nMaxItem);
	ImageList[imgCounter][NameIndex] = name;
	ImageList[imgCounter][DefaultState] = new Image();
	ImageList[imgCounter][DefaultState].src = Default;
	if (MouseOver != "") {
		ImageList[imgCounter][MouseOverState] = new Image();
		ImageList[imgCounter][MouseOverState].src = MouseOver;
	}

	imgCounter++;
}

function ReplaceImage(name, state)
{
	for (i = 0; i < imgCounter; i++) {
		if (document.images[ImageList[i][NameIndex]] != null) {
			if ((name == ImageList[i][NameIndex]) && (ImageList[i][state] != null))
				document.images[name].src = ImageList[i][state].src;
		}
	}
}
function bannerAktuelles(){
			//window.location.href = "index.php";
			Neufenster = window.open("html/bannerAktuelles.html", "Newsticker", "width=590, height=315,location=no, left=0, top=0");
		}

		
		
function umfrage(){
			Neufenster = window.open("html/umfrage.php", "Taxi_Augsburg_Umfrage", "width=520, height=685, location=no, left=0, top=0");
}		


AddImageToImageList("tag_home", "images/navigation/home.jpg", "images/navigation/home_over.jpg");
AddImageToImageList("tag_wir" , "images/navigation/wir.jpg", "images/navigation/wir_over.jpg");
AddImageToImageList("tag_service", "images/navigation/service.jpg", "images/navigation/service_over.jpg");
AddImageToImageList("tag_taxitarif", "images/navigation/taxitarif.jpg", "images/navigation/taxitarif_over.jpg");
AddImageToImageList("tag_online_bestellung", "images/navigation/online_bestellung.jpg", "images/navigation/online_bestellung_over.jpg");
AddImageToImageList("tag_job", "images/navigation/job.jpg", "images/navigation/job_over.jpg");
AddImageToImageList("tag_taxi_intern", "images/navigation/taxi_intern.jpg", "images/navigation/taxi_intern_over.jpg");
AddImageToImageList("tag_links", "images/navigation/links.jpg", "images/navigation/links_over.jpg");
AddImageToImageList("tag_kontakt", "images/navigation/kontakt.jpg", "images/navigation/kontakt_over.jpg");
AddImageToImageList("tag_wp", "images/navigation/werbepartner.jpg", "images/navigation/werbepartner_over.jpg");

//Bildvergrößerung
function anzeigen(das){
if(document.getElementById(das).style.display=="none") {
document.getElementById(das).style.display="inline";
}
else {
document.getElementById(das).style.display="none";
}
}

// Bilder anzeigen mit "Zoom"-Funktion

var zaehler = 50;
function aufmachen(breite,ID) {
 if (zaehler < breite) {
   zaehler =250;
  document.getElementById(ID).style.display="inline";
  document.getElementById(ID).style.width=zaehler+"px";

  window.setTimeout("aufmachen("+breite+",'"+ID+"')",0);
 }
 else {
  //document.getElementById("beschreibung-"+ID).style.display="block";
 }
}

function zumachen(ID) {
zaehler = 50;
 document.getElementById(ID).style.display="none";
 //document.getElementById("beschreibung-"+ID).style.display="none";

}



var i = 0;
var z=0;
cnt1=0;
cnt2=0;

bild1 = new Image();
bild1.src = "images/anim_logo1.jpg";
bild2 = new Image();
bild2.src = "images/anim_logo2.jpg";
bild3 = new Image();
bild3.src = "images/anim_logo3.jpg";
bild4 = new Image();
bild4.src = "images/anim_logo4.jpg";

bild5 = new Image();
bild5.src = "images/img/tkey.jpg";
bild6 = new Image();
bild6.src = "images/img/tkey2.jpg";
bild7 = new Image();
bild7.src = "images/img/tkey3.jpg";
bild8 = new Image();
bild8.src = "images/img/taxi_key.jpg";



function animation(){
	if(i ==0){
  		document.images[9].src = bild1.src;
 		window.setTimeout("animation()",1300);
		i++;
		}
	else if(i==1){
		i++;
		document.images[9].src = bild2.src;
		window.setTimeout("animation()",1300);

		}else if(i==2){
		i++;
		document.images[9].src = bild3.src;
		window.setTimeout("animation()",1000);

		}else if(i==3){
		if(cnt1>=9){
		i=5;
		document.images[9].src = bild4.src;

		}else{
		i=0;
		window.setTimeout("animation()",1300);

		}
	}
cnt1++;
}


function animation_werbung(){
	if(z ==0){
  		document.images[12].src = bild5.src;
 		window.setTimeout("animation_werbung()",800);

		z++;
		}
	else if(z==1){
		document.images[12].src = bild6.src;
		window.setTimeout("animation_werbung()",2000);
z++;

		}else if(z==2){
		document.images[12].src = bild7.src;
		z++;
		window.setTimeout("animation_werbung()",2000);
		}else if(z==3){
		document.images[12].src = bild8.src;
		window.setTimeout("animation_werbung()",2000);
		z=0;
		if(cnt2>5){z=5;}
		}else{}
cnt2++;
}

//Animation auf Index-Site
function anzeigen(bild){
 if(document.getElementById(bild).style.display=="none") {
  document.getElementById(bild).style.display="inline";
 }
 else {
  document.getElementById(bild).style.display="none";
 }
}


//------------>
