<!--
function popup(url,breite,hoehe) {
f3=window.open(url,"fenster3","dependent=yes,width="+breite+",height="+hoehe+",left=10,top=20,location=no,menubar=no,personalbar=no,scrollbars=no,status=no,titlebar=no,toolbar=no,resizable=1");
f3.focus();
}

function immervorn() {
  self.focus();
  window.setTimeout("immervorn()",100);
}

time = new Date();
function istneu(maxdays, addDate){
	var oldDate = new Date(addDate);
	var newDate = new Date();
	var maxdaysold = maxdays*24*60*60*1000;

	if ((newDate.getTime()-oldDate.getTime()) <=  maxdaysold) {
   		document.write("<img border='0' src=images/neu.gif width=28 height=20 ALIGN=MIDDLE Alt='Neu'>");
	}
	else if ((newDate.getTime()-oldDate.getTime()) >  maxdaysold) {
        document.write("<img border='0' src=images/alt.gif width=28 height=20 ALIGN=MIDDLE>");
    }
}


function istanders(maxdays, addDate){
	var altDate = new Date(addDate);
	var neuDate = new Date();
	var maxdaysalt = maxdays*24*60*60*1000;

	if ((neuDate.getTime()-altDate.getTime()) <=  maxdaysalt) {
   		document.write("<img border='0' src=images/anders.gif width=28 height=20 ALIGN=MIDDLE Alt='geändert'>");
	}
	else if ((neuDate.getTime()-altDate.getTime()) >  maxdaysalt) {
        document.write("<img border='0' src=images/alt.gif width=28 height=20 ALIGN=MIDDLE>");
    }
}


function emailkommentar() {
	mail_str = "mailto:udf@adhoc-data.de?subject=Kommentar zu - comment to: " + document.title;

      location.href = mail_str;
}

function emailvorschlag() {
	mail_str = "mailto:udf@adhoc-data.de?subject=was ich vermisse - what I missed";
      location.href = mail_str;
}


function letzteAenderung() {
lastmod=new Date(document.lastModified);
if (lastmod.getYear()<2000) year=lastmod.getYear()+1900; else year=lastmod.getYear();
if (lastmod.getYear()<10) year=lastmod.getYear()+2000;
if (lastmod.getMinutes()<10) min="0"+lastmod.getMinutes(); else min=lastmod.getMinutes();
if (lastmod.getSeconds()<10) sec="0"+lastmod.getSeconds(); else sec=lastmod.getSeconds();
document.write("Letzte Aktualisierung dieser Seite: "+year+"-"+(lastmod.getMonth()+1)+ "-"+lastmod.getDate()+" "+lastmod.getHours()+":"+min+":"+sec+" +01:00");
}

function lastmodified() {
lastmod=new Date(document.lastModified);
if (lastmod.getYear()<2000) year=lastmod.getYear()+1900; else year=lastmod.getYear();
if (lastmod.getYear()<10) year=lastmod.getYear()+2000;
if (lastmod.getMinutes()<10) min="0"+lastmod.getMinutes(); else min=lastmod.getMinutes();
if (lastmod.getSeconds()<10) sec="0"+lastmod.getSeconds(); else sec=lastmod.getSeconds();
document.write("last modified: "+year+"-"+(lastmod.getMonth()+1)+ "-"+lastmod.getDate()+" "+lastmod.getHours()+":"+min+":"+sec+" +01:00");
}

function modification() {
lastmod=new Date(document.lastModified);
if (lastmod.getYear()<2000) year=lastmod.getYear()+1900; else year=lastmod.getYear();
if (lastmod.getYear()<10) year=lastmod.getYear()+2000;
if (lastmod.getMinutes()<10) min="0"+lastmod.getMinutes(); else min=lastmod.getMinutes();
if (lastmod.getSeconds()<10) sec="0"+lastmod.getSeconds(); else sec=lastmod.getSeconds();
document.write("la dernière modification: "+year+"-"+(lastmod.getMonth()+1)+ "-"+lastmod.getDate()+" "+lastmod.getHours()+":"+min+":"+sec+" +01:00");
}
//-->

