function BrowserCheck() {
	var b = navigator.appName
	if (b=="Netscape") this.b = "ns"
	else if (b=="Microsoft Internet Explorer") this.b = "ie"
	else this.b = b
	this.version = navigator.appVersion
	this.v = parseInt(this.version)
	this.ns = (this.b=="ns" && this.v>=4)
	this.ns4 = (this.b=="ns" && this.v==4)
	this.ns6 = (this.b=="ns" && this.v>=5)
	this.ie = (this.b=="ie" && this.v>=4)
	this.ie4 = (this.version.indexOf('MSIE 4')>0)
	this.ie5 = (this.version.indexOf('MSIE 5')>0)
	this.min = (this.ns||this.ie)
}

is = new BrowserCheck()

if (document.layers) {
	widthCheck = window.innerWidth
	heightCheck = window.innerHeight
	window.onResize = resizeFix
}
function resizeFix() {
	if (widthCheck != window.innerWidth || heightCheck != window.innerHeight)
	parent.frames[2].document.location.href = parent.frames[2].document.location.href
}


function vorladen(imgObj,imgSrc) {
	eval(imgObj+' = new Image()')
	eval(imgObj+'.src = "'+imgSrc+'"')
}

function bildWechsel(layer,imgName,imgObj) {
    if (document.layers && layer!=null) eval('document.'+layer+'.document.images["'+imgName+'"].src = '+imgObj+'.src');
    else document.images[imgName].src = eval(imgObj+".src");
}

var ort;
var maxunten=160;
var hoch;
var runter;



function nachoben() {
	if(is.ns4) {
		var scrollobjekt=document.layers["texte"];
		if(ort<=minoben) return;
		ort=scrollobjekt.top;
		ort-=3
		scrollobjekt.top=ort;
	}
	else if (is.ie4) {
		var scrollobjekt=document.all["texte"];
		if(ort<=minoben) return;
		ort=scrollobjekt.style.posTop;     
		ort-=3;
		scrollobjekt.style.top=ort;                  
	}
	else {
		var scrollobjekt=document.getElementById("texte");
		if(ort<=minoben) return;
		ort=scrollobjekt.style.top;     
		ort-=3;
		scrollobjekt.style.top=ort;          
	}
	top.focus()
	hoch=window.setTimeout("nachoben();",40);
}
function nachunten() {
        if(is.ns4) {
	        var scrollobjekt=document.layers["texte"];
	        if(ort>=maxunten) return;
	        ort=scrollobjekt.top;
	        ort+=3;
	        scrollobjekt.top=ort;
        }
        else if (is.ie4) {
			var scrollobjekt=document.all["texte"];
			if(ort>=maxunten) return;
			ort=scrollobjekt.style.posTop;         
			ort+=3;
			scrollobjekt.style.top=ort;                    
        }
		
		else {
			var scrollobjekt=document.getElementById("texte").style;
			if(ort>=maxunten) return;
			ort=scrollobjekt.top;         
			ort+=3;
			scrollobjekt.top=ort;        
		}
		
		top.focus()
        runter=window.setTimeout("nachunten();",40);
}
function stop() {
        window.clearTimeout(hoch);
        window.clearTimeout(runter);
		top.focus();
}
