//template-unspezifisch :
var ImgNormal = new Array(anzahl);
var ImgHigh = new Array(anzahl);
var ImgClick= new Array(anzahl);
var bild_nr = ImgName[1];
var altbild = "";

function vinit() {

	for (jj=1; jj < anzahl ; jj++){
 		ImgNormal[jj] = new Image();
 		ImgNormal[jj].src = imgprae + ImgName[jj] + norm_ext;
 		ImgHigh[jj] = new Image();
 		ImgHigh[jj].src = imgprae + ImgName[jj] + high_ext;
 		ImgClick[jj] = new Image();
 		ImgClick[jj].src = imgprae + ImgName[jj] + click_ext;
	}
}	

vinit();

function anim(bild,dateiname) {
	if (document.images) {
		if (bild_nr != bild) window.document.images[bild].src =  dateiname.src;
	}
}

function aktiv(bild,dateiname) {
	var i=0;
	if (document.images) {
	if (bild_nr!=bild){
		window.document.images[bild].src = dateiname.src;
		for (i = 1; i < anzahl; i++) {	
			if (ImgName[i] == bild_nr) window.document.images[ImgName[i]].src = ImgNormal[i].src;
		}
		}
	}
	bild_nr=bild;
}

// ------------------------------------------