<!--
function tag(s){ return "<"+s+">" }

function showPic(myimage_w,myimage_h,myimage,myscroll){
	h = myimage_h; w= myimage_w;
	h = h; var x=0, y=0, parameter="";
  	if (w < screen.availWidth || h < screen.availHeight) {
    x = (screen.availWidth - w - 12) / 2;
    y = (screen.availHeight - h - 104) / 2;
    if (window.opera){
		x = (window.innerWidth - w - 12) / 2;
   		y = (window.innerHeight - h - 104) / 2;
	} 
    if (x<0 || y<0) { x=0; y=0; }
    else parameter = "width=" + (w+10) + ",height=" + (h+10) + ",";
  	}
 	parameter += "left=" + x + ",top=" + y;
	parameter += ",menubar=no,location=no,toolbar=no,status=no,resizable=no,";
  	if(myscroll)
  	parameter += "scrollbars=yes";
	else
	parameter += "scrollbars=no";
    var fenster = window.open("","PopUp",parameter)
   	if (fenster!=null){ 
      fenster.document.open();
      fenster.document.write(tag("HTML")+tag("BODY topmargin='5' leftmargin='5' marginheight='5' marginwidth='5' bottommargin='5' rightmargin='5'"));
	  picLink = "img src='" + myimage + "' width='"+w+"' height='"+h+"' border='0'"
	  fenster.document.write(tag("a href='javascript:close();'") + tag(picLink) + tag("/a"));
      fenster.document.write(tag("/BODY")+tag("/HTML"));
      fenster.document.close()
	  fenster.focus();
   }
}


function openWindow(w,h,ziel,myscroll) {
  h = h - 0; var x=0, y=0, parameter="";
  if (w < screen.availWidth || h < screen.availHeight) {
    x = (screen.availWidth - w - 12) / 2;
    y = (screen.availHeight - h - 104) / 2;
    if (window.opera){
		x = (window.innerWidth - w - 12) / 2;
   		y = (window.innerHeight - h - 104) / 2;
	} 
    if (x<0 || y<0) { x=0; y=0; }
    else parameter = "width=" + w + ",height=" + h + ",";
  }
  
  parameter += "left=" + x + ",top=" + y;
  parameter += ",menubar=no,location=no,toolbar=no,status=no,resizable=no,";
  if(myscroll)
  	parameter += "scrollbars=yes";
	else
	parameter += "scrollbars=no";
  popup = window.open(ziel,"PopUp",parameter);
}

function openWindow2(w,h,ziel,myscroll) {
  h = h - 0; var x=0, y=0, parameter="";
  if (w < screen.availWidth || h < screen.availHeight) {
    x = (screen.availWidth - w - 12) / 2;
    y = (screen.availHeight - h - 104) / 2;
    if (window.opera){
		x = (window.innerWidth - w - 12) / 2;
   		y = (window.innerHeight - h - 104) / 2;
	} 
    if (x<0 || y<0) { x=0; y=0; }
    else parameter = "width=" + w + ",height=" + h + ",";
  }
  
  parameter += "left=" + x + ",top=" + y;
  parameter += ",menubar=yes,location=no,toolbar=no,status=no,resizable=no,";
  if(myscroll)
  	parameter += "scrollbars=yes";
	else
	parameter += "scrollbars=no";
  popup = window.open(ziel,"PopUp",parameter);
}



function getEmail(name,domain,classname) {
var email = '<a href=\"mailto:' + name + '@' + domain + '\" ';
if(classname!="")
	email += 'class=\"' + classname +'\"'; 
email += '>' + name + '@' + domain + '</a>';
return email;
}

function ticker() {
	if(nachricht != null){
		text=nachricht;
		document.formular.ticker.value=text
		nachricht=nachricht.substring (1, nachricht.length) + nachricht.substring (0, 1)
		timerId=setTimeout("ticker()", verzoegerung)
	}
}
//-->