	var swidth=190;
	var sheight=72;
	var sspeed=1;

function Vorschau(Dateiname, br, wi) {
	
	F1 = open("","Voransicht","width=" + br + ",height=" + wi);
	twahl = '<html><body><title>Voransicht</title><div id="Layer1" style="position:absolute; z-index:1; left: 0px; top: 0px">' +
		'<img src="bilder/' + Dateiname  + '"></div></body></html>';
	F1.document.open();
	F1.document.write(twahl);
	F1.document.close();
	F1.focus();
}

function IMInfo(ktext, ltext, bild) {
	
	F1 = open("","Voransicht","width=600,height=400,scrollbars=yes");
	kopf = '<html><body><title>Voransicht</title><link rel="stylesheet" type="text/css" href="web.css"><div id="Layer1" style="position:absolute; z-index:1; left: 0px; top: 0px">';
	body = '<p class="Ueber2">'+ ktext + '<p>';
	if (bild != "") {
		body = body + '<img border="1" src="bilder/' + bild + '" align="right" vspace="10" hspace="10"> ';
	}
	body = body + ltext;
	body = body + '<p><a class="linkklein" href="javascript:self.close()">Fenster schliessen</a>';
	fuss = '</div></body></html>';
	F1.document.open();
	F1.document.write(kopf + body + fuss);
	F1.document.close();
	F1.focus();
}

function DruckAnsicht() {
	F1 = open("","","width=700,height=500,scrollbars=yes,resizable=yes");
	kopf = '<html><body><title>Druckansicht</title><link rel="stylesheet" type="text/css" href="web.css"><div id="Layer1" style="position:absolute; z-index:1; left: 5px; top: 0px">';
	druck = '<a href="javascript:window.print()"><img src="images/druck.jpg" align="right" border="0"></a>&nbsp;<br><br>';
	fuss = '</div></body></html>';
	F1.document.open();
	
        try{
	  bereich = document.getElementById('TextBereich2');
	} catch (e) {
	  
	}
	if (bereich == null) {
	  bereich = document.getElementById('TextBereich');
	}		

	F1.document.write(kopf + druck + bereich.innerHTML + fuss);
	F1.document.close();
	F1.focus();	
}


function Test(Feld) {
	var num = 0;
	num = Math.abs(Feld.value);
	if (isNaN(num) == false) {
		Feld.value = num;
	} else {
		Feld.value = 0;
	}
	
}

	function start(){
		if (document.all){
			ieslider1.style.top=sheight;
			iemarquee(ieslider1);
		} else if (document.layers){
			document.ns4slider.document.ns4slider1.top=sheight;
			document.ns4slider.document.ns4slider1.visibility='show';
			ns4marquee(document.ns4slider.document.ns4slider1);
		} else if (document.getElementById&&!document.all){
			document.getElementById('ns6slider1').style.top=sheight;
			ns6marquee(document.getElementById('ns6slider1'))
		}
	}
		
	function iemarquee(whichdiv){
		iediv=eval(whichdiv)
		if (iediv.style.pixelTop>0&&iediv.style.pixelTop<=sspeed){
			iediv.style.pixelTop=0
			setTimeout("iemarquee(iediv)",100)
		}
		if (iediv.style.pixelTop>=sheight*-1){
			iediv.style.pixelTop-=sspeed
			setTimeout("iemarquee(iediv)",100)
		} else {
			iediv.style.pixelTop=sheight
			iediv.innerHTML=singletext[i]
			if (i==singletext.length-1)
				i=0
			else
				i++
			}
		}
		
		function ns4marquee(whichlayer){
			ns4layer=eval(whichlayer)
			if (ns4layer.top>0&&ns4layer.top<=sspeed){
				ns4layer.top=0
				setTimeout("ns4marquee(ns4layer)",100)
			}
			if (ns4layer.top>=sheight*-1){
				ns4layer.top-=sspeed
				setTimeout("ns4marquee(ns4layer)",100)
			} else {
				ns4layer.top=sheight
				ns4layer.document.write(singletext[i])
				ns4layer.document.close()
				if (i==singletext.length-1)
					i=0
				else
					i++
			}
		}
		
		function ns6marquee(whichdiv){
			ns6div=eval(whichdiv)
			if (parseInt(ns6div.style.top)>0&&parseInt(ns6div.style.top)<=sspeed){
				ns6div.style.top=0
				setTimeout("ns6marquee(ns6div)",100)
			}
			if (parseInt(ns6div.style.top)>=sheight*-1){
				ns6div.style.top=parseInt(ns6div.style.top)-sspeed
				setTimeout("ns6marquee(ns6div)",100)
			} else {
				ns6div.style.top=sheight
				ns6div.innerHTML=singletext[i]
				if (i==singletext.length-1)
					i=0
				else
					i++
			}
		}



/*
Cross browser Marquee II- © Dynamic Drive (www.dynamicdrive.com)
For full source code, 100's more DHTML scripts, and TOS, visit http://www.dynamicdrive.com
Credit MUST stay intact
*/

//Specify the marquee's width (in pixels)
var marqueewidth="150px"
//Specify the marquee's height
var marqueeheight="90px"
//Specify the marquee's marquee speed (larger is faster 1-10)
var marqueespeed=1
//Pause marquee onMousever (0=no. 1=yes)?
var pauseit=1

//Specify the marquee's content
//Keep all content on ONE line, and backslash any single quotations (ie: that\'s great):

// var marqueecontent='<font face="Verdana">Thank you for visiting <a href="http://www.dynamicdrive.com">Dynamic Drive.</a><p>If you find this script useful, please consider linking to us by <a href="../link.htm">clicking here.</a><p>Visit our partner <a href="http://javascriptkit.com">JavaScript Kit</a> for JavaScript tutorials.</font>'


////NO NEED TO EDIT BELOW THIS LINE////////////

marqueespeed=(document.all)? marqueespeed : Math.max(1, marqueespeed-1) //slow speed down by 1 for NS
var copyspeed=marqueespeed
var pausespeed=(pauseit==0)? copyspeed: 0
var iedom=document.all||document.getElementById
var actualheight=''
var cross_marquee, ns_marquee

function populate(){
if (iedom){
cross_marquee=document.getElementById? document.getElementById("iemarquee") : document.all.iemarquee
cross_marquee.style.top=parseInt(marqueeheight)+8+"px"
cross_marquee.innerHTML=marqueecontent
actualheight=cross_marquee.offsetHeight
}
else if (document.layers){
ns_marquee=document.ns_marquee.document.ns_marquee2
ns_marquee.top=parseInt(marqueeheight)+8
ns_marquee.document.write(marqueecontent)
ns_marquee.document.close()
actualheight=ns_marquee.document.height
}
lefttime=setInterval("scrollmarquee()",20)
}


function scrollmarquee(){

if (iedom){
if (parseInt(cross_marquee.style.top)>(actualheight*(-1)+8))
cross_marquee.style.top=parseInt(cross_marquee.style.top)-copyspeed+"px"
else
cross_marquee.style.top=parseInt(marqueeheight)+8+"px"
}
else if (document.layers){
if (ns_marquee.top>(actualheight*(-1)+8))
ns_marquee.top-=copyspeed
else
ns_marquee.top=parseInt(marqueeheight)+8
}
}
