// Dreamweaver pop-up

function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
} 

// Spezielles Pop-up

function openPicture(imageName,imageWidth,imageHeight,alt,posLeft,posTop) {
	newWindow = window.open("","newWindow","width="+imageWidth+",height="+imageHeight+",left="+posLeft+",top="+posTop);
	newWindow.document.open();
	newWindow.document.write('<html><title>'+alt+'</title><body bgcolor="#FFFFFF" leftmargin="0" topmargin="0" marginheight="0" marginwidth="0" onBlur="self.close()">'); 
	newWindow.document.write('<img src='+imageName+' width='+imageWidth+' height='+imageHeight+' alt='+alt+'>'); 
	newWindow.document.write('</body></html>');
	newWindow.document.close();
	newWindow.focus();
} 



// Fehlermeldungen unterdrücken

function SymError()
{
  return true;
}

window.onerror = SymError; 



/* Zeigt die aktuelle Uhrzeit in einem FORM-Feld an */
function Uhr_anzeigen()
{
var jahr, monat, tag 
 var AktuellesDatum=new Date() 
 jahr =AktuellesDatum.getFullYear() 
 monat=AktuellesDatum.getMonth()+1 
 tag=AktuellesDatum.getDate() 
 if(monat<10) monat="0"+monat 
 if(tag<10) tag="0"+tag 
 var Datum = new Date()
 var std = Datum.getHours()
 var min = Datum.getMinutes()
 var sec = Datum.getSeconds()
 Zeit = ((std < 10) ? " 0" : " ") + std
  Zeit += ((min < 10) ? ":0" : ":") + min
  Zeit += ((sec < 10) ? ":0" : ":") + sec
  /* Zeit += " Uhr" */
  document.uhr.zeit.value = tag+"."+monat+"."+jahr+" - "+Zeit
  timerid = setTimeout("Uhr_anzeigen()",1000)
}

