

function mausdrauf(Ort,Button) 
{if(document.images) {document.images[Ort].src=Button.src;}}
function mausweg(Ort,Button) 
{if(document.images) {document.images[Ort].src=Button.src;}}

/////////////////////////////////
/* dhtml-Objekt-Werkzeugkasten */
/////////////////////////////////

function dObj(xpos,ypos,id,sicht) {
   if (document.documentElement) {
      this.el = document.getElementById(id);
      this.css = this.el.style;
   }
   else if (document.all) {
      this.el = document.all[id];
      this.css = this.el.style;
   }
   else if (document.layers) {
      this.el = document.layers[id];
      this.css = this.el;
   }
   this.x = xpos; this.css.left = xpos;
   this.y = ypos; this.css.top = ypos;
   this.zIndex = this.css.zIndex;
   this.sichtbar = sicht;
   if (document.layers) {
      this.breite = this.el.document.width;
      this.hoehe = this.el.document.height;
   }
   else {
      this.breite = this.el.offsetWidth;
      this.hoehe = this.el.offsetHeight;
   }
   this.gehNach = dObj_gehNach;
   this.zeige = dObj_zeige;
   this.verstecke = dObj_verstecke;
}

function dObj_gehNach(x,y) {
   this.css.left = x;
   this.css.top = y;
   this.x = x;
   this.y = y;
}

function dObj_zeige() {
   this.css.visibility = "visible";
   this.sichtbar = true;
}

function dObj_verstecke() {
   this.css.visibility = "hidden";
   this.sichtbar = false;
}
///////////////////////////////////////
/* Ende dhtml-Objekt-Werkzeugkasten */
//////////////////////////////////////



function dObj(id) {
   if (document.documentElement) {
      this.el = document.getElementById(id);
      this.css = this.el.style;
   }
   else if (document.all) {
      this.el = document.all[id];
      this.css = this.el.style;
   }
   else if (document.layers) {
      this.el = document.layers[id];
      this.css = this.el;
   }
   this.x = parseInt(this.css.left);
   this.y = parseInt(this.css.top);
   this.zIndex = this.css.zIndex;
   this.sichtbar = true;
   if (document.layers) {
      this.breite = this.el.document.width;
      this.hoehe = this.el.document.height;
   }
   else {
      this.breite = this.el.offsetWidth;
      this.hoehe = this.el.offsetHeight;
   }
   this.gehNach = dObj_gehNach;
   this.zeige = dObj_zeige;
   this.verstecke = dObj_verstecke;
}

function dObj_gehNach(x,y) {
   this.css.left = x;
   this.css.top = y;
   this.x = x;
   this.y = y;
}

function dObj_zeige() {
   this.css.visibility = "visible";
   this.sichtbar = true;
}

function dObj_verstecke() {
   this.css.visibility = "hidden";
   this.sichtbar = false;
}



   	function bw(ebene, Ort,Drop) 
{
if(document.images) {
	if(document.layers){
		document.layers[ebene].document.images[Ort].src=Drop.src; 
	}
	else document.images[Ort].src=Drop.src; 
}
}

	function ein(wer) {
		ebenen[wer].zeige();
	}
	function aus(wer) {
		ebenen[wer].verstecke();
	}
	
	function gehezu(url) {
	{location.href = url; }
}


