
function writeFusszeile (Text) {
 document.getElementById("derText").firstChild.nodeValue = Text

}

function openPopUp (GrafikURL,width,height,FText) {
  if (!width) width = 400;
  if (!height) height = 520;

  Fensteroptionen="toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0";

  popUpWindow=window.open("", "", Fensteroptionen + ',width=' + width+ ',height=' + height);
  popUpWindow.moveTo((screen.availWidth-width)/2,(screen.availHeight-height)/2);
  popUpWindow.focus();
	popUpWindow.document.open();
	with(popUpWindow)
	{
	document.write("<html><head>\r")
	document.write("<title>" + FText + "</title>\r")

	document.write("</head>\r")
	document.write("\r")


	document.write("\r")
	document.write('<body leftmargin="0" marginheight="0" marginwidth="0" topmargin="0">\r')
	document.write('<img border="0" id=\"Bild\" onclick=\"window.close();\" \r')
	document.write(" src=\""+ GrafikURL +"\"")
/*	document.write(' style=\"visibility:hidden; filter:revealTrans(Duration=2, Transition=23)\" \r')   */
	document.write(' title=\"Zum Schließen auf das Foto klicken\">\r');
	
	document.write("</body></html>");
	}
}


function openPopUp2 (name,width,height) {
  if (!width) width = 400;
  if (!height) height = 520;
  options="toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=" + width + ",height=" + height;
  popUpWindow=window.open("http://www.gregor-muench.de/tinc?key=PXtykDfb","",options);
  popUpWindow.focus();
}



function email(name, domain, suffix, text)
{
   var address = name + "\u0040" + domain + "." + suffix;
   var url = "mailto:" + address;
	text = "-Mail"
      document.write("<b><a href=\"" + url + "\"><font size='4'>E</font>" + text + "</a></b>");
}

function email2(name, domain, suffix, text)
{
   var address = name + "\u0040" + domain + "." + suffix;
   var url = "mailto:" + address;


   if( ! text )
   {
      text = address;
   }

      document.write("<b><a href=\"" + url + "\">" + text + "</a></b>");
}




function Bildwechsel2 (Bildnr, Bildobjekt) {
	  document.images[Bildnr].src = Bildobjekt;
}

function Scroller2(scrollText )
{
window.status = scrollText.substring(scrollCounter++,scrollText.length);
if (scrollCounter == scrollText.length)
scrollCounter = 0;
setTimeout("Scroller2(scrollText)", scrollDelay);
}
