
function tdAktiv(welche,welcheFarbe)
	{schalten(welche,Farbe[welcheFarbe]);}
	
function schalten(diese,myFarbe)
	{window.document.all.tags("td")[diese].style.backgroundColor = myFarbe;}
	

function tdSchalten(welche,welcheFarbe,Bildnr,Bildobjekt)
	{
	myFarbe = Farbe[welcheFarbe];
	window.document.images[Bildnr].src = Bildobjekt.src;
	if(document.all)
		{
		window.document.all.tags("td")[welche].style.backgroundColor = myFarbe;
		window.document.all.tags("td")[welche - 1].style.backgroundColor = myFarbe;
		}
	}
