function fOver(obj, classname)
{
	obj.className=classname;
}

imgFadeObjects = new Object();
imgFadeTimers = new Object();
intSnelheid = 1;

function imgFade(object, naarDoorzichtigheid, snelheid, aantalStappen)
{
	if (!document.all) 
	{
		return;
	}
	if (object != "[object]")
	{
		setTimeout("imgFade("+object+","+naarDoorzichtigheid+","+snelheid+","+aantalStappen+")",0);
		return;
	}
	clearTimeout(imgFadeTimers[object.sourceIndex]);
	diff = naarDoorzichtigheid-object.filters.alpha.opacity;
	direction = 1;
	if (object.filters.alpha.opacity > naarDoorzichtigheid)
	{
		direction = -1;
	}
	aantalStappen = Math.min(direction*diff,aantalStappen);
	object.filters.alpha.opacity+=direction*aantalStappen;
	if (object.filters.alpha.opacity != naarDoorzichtigheid)
	{
		// begin toevoeging dreeke.com
		snelheid = intSnelheid;
		//alert(snelheid);
		// einde toevoeging dreeke.com

		imgFadeObjects[object.sourceIndex] = object;
		imgFadeTimers[object.sourceIndex] = setTimeout("imgFade(imgFadeObjects["+object.sourceIndex+"],"+naarDoorzichtigheid+","+snelheid+","+aantalStappen+")",snelheid);
	}
}