function Object() {
	//var ua = navigator.userAgent.toLowerCase();
	//var agent = (ua.indexOf("gecko/") != -1);
	//var agent2 = (ua.indexOf("msie") > -1 && ua.indexOf("opera") == -1);
	var agent = (window.pkcs11&&window.XML); // moz1.5+
	var agent2 = (window.clipboardData && document.compatMode); // ie6&7

	function checkBrowserName(name){  
	  var agent = navigator.userAgent.toLowerCase();  
	  if (agent.indexOf(name.toLowerCase())>-1) {  
            return true;  }  
          return false;  
        }  
	
	//if(checkBrowserName('MSIE')){alert('Du bist ein Explorer!');  }  
	//if(checkBrowserName('opera')){alert('Aha, ein Opernfreund!');  }  
        //if(checkBrowserName('safari')){alert('Auf geht\'s zur Safari!');  }  
	if(checkBrowserName('firefox')){ var firefox = true;}  
	
	
	this.i = 0; this.o = 1;
	this.obj = new Array();

	if (firefox) { // moz?
		this.add = function(o) { // moz; write image and add to array
			document.write('<img id="yxcv' + this.obj.length + '" src="' + o + '" alt="" class="header-bild" style="position:absolute; z-index:0; opacity:0" />');
			this.obj[this.obj.length] = document.getElementById('yxcv' + this.obj.length);
		}

		this.init = function() { // moz; initialize start arguments
			this.obj[0].style.opacity = 1;
			this.obj[0].style.zIndex = 1;
			this.obj[1].style.zIndex = 1;
			dfgh.dodo();
		}

		this.dodo = function() { // moz; fade images
			this.i++;
			window.setTimeout('dfgh.dodo()',12); // Zeit des aktuellen Bildes (vorher 50)
			if (this.i >= 0) this.obj[this.o].style.opacity = this.i/55; // Geschwindigkeit des Wechselns (vorher 100)
			if (this.i >= 100) {
				this.i = -100;
				dfgh.next();
				this.obj[this.o].style.opacity = 0;
				this.obj[this.o].style.zIndex = ++this.obj[this.o].style.zIndex;
			}
		}
	} else if (agent2) { // ie?
		this.add = function(o) { // ie; write image and add to array
			document.write('<img id="yxcv' + this.obj.length + '" src="' + o + '" alt="" class="header-bild" style="position:absolute; z-index:0; filter:alpha(opacity=0)" />');
			this.obj[this.obj.length] = document.getElementById('yxcv' + this.obj.length);
		}

		this.init = function() { // ie; initialize start arguments
			this.obj[0].filters.alpha.opacity = 100;
			this.obj[0].style.zIndex = 1;
			this.obj[1].style.zIndex = 1;
			dfgh.dodo();
		}

		this.dodo = function() { // ie; fade images
			this.i++;
			window.setTimeout('dfgh.dodo()',12); // Zeit des aktuellen Bildes (vorher 50)
			if (this.i >= 0) this.obj[this.o].filters.alpha.opacity = this.i;
			if (this.i >= 100) {
				this.i = -100;
				dfgh.next();
				this.obj[this.o].filters.alpha.opacity = 0;
				this.obj[this.o].style.zIndex = ++this.obj[this.o].style.zIndex;
			}
		}
	} else {
		this.add = function(o) { // ??; write first image
			document.write('<img src="' + o + '" class="head-picture-img" alt="" />');
		}
		this.init = function() { // ??; no function
		}		
	}

	this.next = function() {
		if (this.obj.length -1 > this.o) ++this.o; else this.o = 0;
	}
}
