function crObj(id) {

	if ( is.ns6 || is.ie56) { 	

	this.el = document.getElementById(id);

		this.img = document.images; 

		this.css = this.el.style; }

	else if (document.all) 	{ 	

		this.el = document.all[id]; 

		this.img = document.images; 

		this.css = this.el.style;}

	else if (document.layers) 	{ 	

		this.el = document.layers[id]; 

		this.img = this.el.document.images; 

		this.css = this.el;

	}

						

  	this.x = (!document.all && !is.ns6)? parseInt(this.css.left):this.el.offsetLeft;

   	this.y = (!document.all && !is.ns6)? parseInt(this.css.top):this.el.offsetTop;

  

   	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.zIndex = this.css.zIndex;



	//methoden

   	this.zeige = Obj_ein;

  	this.verstecke = Obj_aus;

     this.gehNach = dObj_gehNach;

}

	

function Obj_ein() {

   	this.css.visibility = (document.layers)? "show":"visible";

   	this.sichtbar = true;

}



function Obj_aus() {

   	this.css.visibility = (document.layers)? "hide":"hidden";

   	this.sichtbar = false;

}



function dObj_gehNach(x,y) {

   this.css.left = x;

   this.css.top = y;

   this.x = x;

   this.y = y;

}

