function buttontausch(neue_navigationsseite, aktiver_button)

{

	var anzahl_buttons=parent.navigationsseite.document.images.length;

	var zaehler=0;

	var jetziger_navigationsseitenpfad=parent.navigationsseite.location.href;

	var jetzige_navigationsseite=jetziger_navigationsseitenpfad.substring(jetziger_navigationsseitenpfad.lastIndexOf("/")+1, jetziger_navigationsseitenpfad.lastIndexOf("."));

	if(jetzige_navigationsseite!=neue_navigationsseite.substring(neue_navigationsseite.lastIndexOf("/")+1, neue_navigationsseite.lastIndexOf(".")))

		parent.navigationsseite.location.href=neue_navigationsseite;

	else

	{

		anzahl_buttons=parent.navigationsseite.document.images.length;

		for(zaehler==0; zaehler<anzahl_buttons;zaehler++)

		{

			bildname=parent.navigationsseite.document.images[zaehler].src;



			if(bildname.substring(bildname.lastIndexOf("_")+1,bildname.lastIndexOf("."))==aktiver_button)

				neuer_bildname="buttons/aktiv"+bildname.substring(bildname.lastIndexOf("_"),bildname.lastIndexOf("."))+".jpg";

			else

				neuer_bildname="buttons/normal"+bildname.substring(bildname.lastIndexOf("_"),bildname.lastIndexOf("."))+".jpg";

	

			parent.navigationsseite.document.images[zaehler].src=neuer_bildname;

		}

	}

	self.focus();

}
