function nbild(datei, pause)
{
	this.datei = datei
	this.pause = pause
	this.zahl = null
}

var anim = new Array()
anim[anim.length]	= new nbild("fagreabl.gif", 2000)
anim[anim.length]	= new nbild("fconfort.gif", 2000)
anim[anim.length]	= new nbild("fcalme.gif", 2000)
anim[anim.length]	= new nbild("findivid.gif", 2000)
anim[anim.length]	= new nbild("fprive.gif", 2000)
anim[anim.length]	= new nbild("fcentral.gif", 2000)

var	zahl = -1

function prep()
{
	var	i
	for(i = 0; i < anim.length; i++)
	{
		anim[i].zahl	= new Image()
		anim[i].zahl.src	= anim[i].datei
	}
}

function begin()
{
	zahl++
	if(zahl >= anim.length)
		zahl = 0
	document.images["anim"].src = anim[zahl].zahl.src
	setTimeout("begin()", anim[zahl].pause)
}

var feld = new Array();

function sage(iname)
{
	var z = feld.length;
	feld[z] = new Image();
	feld[z].src = iname;
}

function hole()
{
	sage("location-vacances/haus.jpg");
	sage("location-vacances/garten.jpg");
	sage("location-vacances/kueche.jpg");
	sage("location-vacances/wohnen.jpg");
	sage("location-vacances/bad.jpg");
	sage("location-vacances/schlafen.jpg");
	sage("location-vacances/localite/bermatgn.jpg");
	sage("location-vacances/localite/regiomap.jpg");
	sage("location-vacances/plan/fwplan.gif");
	sage("constance/lac-constance.jpg");
}
