/*
function stoperror(){
return true
}
window.onerror=stoperror
*/
// ====================================================================



// === BILD-POPUP (oeffnet "bild_popup.php") ===
// Script: "support\script / bild_popup.php"
var f1="";
var fensterzahl=0;
var startbreite = 640;
var starthoehe = 480;
var startpos_x = (screen.availWidth - startbreite)/2;
var startpos_y = (screen.availHeight - starthoehe)/2;

function fenster(urlBild,strDesc,strCopy,secDiv)
// param.1: Dateiname/pfad des großen Bildes (= this.href!)
// param.2: Beschreibung, Info z. Bild
// param.3: &copy;: Copyrightinhaber
// param.4: Bild schützen 1=JA / 0=NEIN
{
  if(fensterzahl>0)
  {
    if(f1.closed==false)
      f1.close()
  }
fensterzahl=1;

f1=open("support/script/bild_popup.php?"+(urlBild+"|"+strDesc+"|"+strCopy+"|"+secDiv),"","width="+startbreite+",height="+starthoehe+",left="+startpos_x+",top="+startpos_y+",toolbar=0,menubar=0,status=0,scrollbars=0,location=0,resizable=yes")//resizable auf yes setzen!
    f1.focus()
}
// Einbau:
/*
<a href="images/test/dummybild_640x480.gif" target="_blank"
onclick="javascript:fenster(this.href,'Info','PS',0);return false">
<img src="images/test/dummybild_320x240.gif" alt="Zum Vergrössern bitte anklicken" width="320" height="240" border="0" class="" />
</a>
*/
// ====================================================================



// === Textwechsler ===
var texte=new Array()
texte[0]="Das ist ein Textticker..."
texte[1]="...der frei einstellbar ist"
texte[2]="Text, Bilder u. Links..."
texte[3]="passen da rein ..."

var start_2=0
var ende_2=texte.length-1

function aktuelles() {
	if (document.getElementById("akt_uelles")) {
			document.getElementById("akt_uelles").innerHTML=texte[start_2];
				if(start_2 < ende_2)
					start_2++
					else
					start_2=0
			var aktu = setTimeout('aktuelles()',4000)
		}
}
function stopaktuell() {
	clearTimeout(aktu);
}
// ====================================================================

