
var SlideShowSpeed = 1;


var slideIMG = 1;
var curr = 1;
var nPix = Picture.length;

var preLoad = new Array();

//var i=1;
//while (i<nPix) {
for (i=1; i<nPix; i++) {
preLoad[i] = new Image();
preLoad[i].src = Picture[i];
}



// extended
function __control(id){
curr=id;

document.getElementById("PictureBox").style.filter="blendTrans(duration=1)";
document.getElementById("PictureBox").filters.blendTrans.Apply();
document.getElementById("PictureBox").src = preLoad[curr].src;
//alert(bild);
//alert(bild.search(/clear.gif/));
document.getElementById("PictureBox").filters.blendTrans.Play();

for (i=1; i<4; i++) {
document.getElementById("wwwBildInfo"+i).style.display = "none";
}
document.getElementById("wwwBildInfo"+curr).style.display = "inline";
}



function control(id){
	curr=id;

	if (browserName == "Netscape" ){
		document.getElementById("PictureBox").style.filter="alpha(opacity=1)";
		document.getElementById("PictureBox").src = preLoad[curr].src;
		for (i=1; i<4; i++) document.getElementById("wwwBildInfo"+i).style.display = "none";
		document.getElementById("wwwBildInfo"+curr).style.display = "inline";
	} else {
		document.getElementById("PictureBox").style.filter="blendTrans(duration=1)";
		document.getElementById("PictureBox").filters.blendTrans.Apply();
		document.getElementById("PictureBox").src = preLoad[curr].src;
		document.getElementById("PictureBox").filters.blendTrans.Play();
		for (i=1; i<4; i++) {
			document.getElementById("wwwBildInfo"+i).style.display = "none";
		}
		document.getElementById("wwwBildInfo"+curr).style.display = "inline";
	}

}
