//return the document modification date (excl.time) as a string
function DocDate() { 
	secOffset = Date.parse(document.lastModified);
	if (secOffset == 0 || secOffset == null) //Opera3.2
		 dateStr = "Unknown";
	else {
		aDate = new Date();
		aDate.setTime(secOffset);
		year = aDate.getYear();
		if ( year < 1900 ) year += 1900;
  		dateStr = " " + aDate.getDate() + "." + (aDate.getMonth()+1) + "." + year;
		}
	return dateStr;
	}
document.writeln(DocDate());
