function ShowDate()
{ 
 var now = new Date();
 var day = now.getDate();
 var month = now.getMonth() + 1;
 var year = now.getYear();
 return day+"."+month+"."+year;
}

function txt_24() 
{
 MeinFenster = window.open("txt_24.htm", "Zweitfenster", 
 "width=540,height=500,scrollbars.visible == false,left=0,top=0");
 MeinFenster.focus();
}

function NeuFenster() 
{
 MeinFenster = window.open("images/net4.html", "Zweitfenster", 
 "width=550,height=400,scrollbars.visible == false");
 MeinFenster.focus();
}

function fenster()
{
	var win;
	win=window.open("height=10");
	win.setTimeout ('window.close ()',1000);
}

//für das portrait 24 Stunden
function bild24()
{
	var win;
	win=window.open("../imag/24_stunden/24_portrait.jpg", "Bildfenster","width=362,height=760,left=0,top=0");
	win.setTimeout ('window.close ()',3000);
}
/*
function newImage(arg) {
	if (document.images) {
		rslt = new Image();
		rslt.src = arg;
		return rslt;
	}
}

function changeImages(imgname, imgpath) {
	if (document.images && (preloadFlag == true)) {
		if (document.layers) {
			var dname = 'div_' + imgname.substr(-2, 2);
			document.layers[dname].document[imgname].src = imgpath;
		} else if (document.all) {
			document[imgname].src = imgpath;
		//} else if (document.documentElement) {
		//	self.document.getElementById(imgname).src = imgpath;
		}
	}
}

var preloadFlag = false;
function preloadImages() {
	if (document.images) {
		navigation_02_over = newImage("imag/ex_0702/IMG0008_t.jpg");
		navigation_03_over = newImage("imag/ex_0702/IMG0009_t.jpg");
		navigation_04_over = newImage("imag/ex_0702/IMG0010_t.jpg");
		navigation_05_over = newImage("imag/ex_0702/IMG0011_t.jpg");
		navigation_06_over = newImage("imag/ex_0702/IMG0012_t.jpg");
		navigation_07_over = newImage("imag/ex_0702/IMG0013_t.jpg");
		navigation_08_over = newImage("imag/ex_0702/IMG0014_t.jpg");
		navigation_09_over = newImage("imag/ex_0702/IMG0015_t.jpg");
		navigation_10_over = newImage("imag/ex_0702/IMG0016_t.jpg");
		navigation_11_over = newImage("imag/ex_0702/IMG0017_t.jpg");
		navigation_12_over = newImage("imag/ex_0702/IMG0018_t.jpg");
		preloadFlag = true;
	}
	setTimeout("slideAll()", 170);
}

function slideAll() {
	var dname, x, y;
	x = 50 + 20; y = -500;

	for (var i=2; i<=12; i++) {
		dname = (i < 10) ? ('0' + i) : i;
		dname = "div_" + dname;
		moveTo(dname, x, y);
		slideDiv(dname, x);
		x += 50;
		y -= 50;
	}
}

function getY(dname) {
	var y;
	
	if (document.layers) {
		y = document.layers[dname].top;
	} else if (document.all) {
		y = document.all[dname].style.top;
	//} else if (document.documentElement) {
	//	y = self.document.getElementById(dname).style.top;
	}
	
	return parseInt(y);
}

function moveTo(dname, x, y) {
	if (document.layers) {
		document.layers[dname].left = x;
		document.layers[dname].top = y;
	} else if (document.all) {
		document.all[dname].style.left = x + 'px';
		document.all[dname].style.top = y + 'px';
	//} else if (document.documentElement) {
	//	self.document.getElementById(dname).style.left = x + 'px';
	//	self.document.getElementById(dname).style.top = y + 'px';
	}
}

function slideDiv(dname, x) {
	var y = getY(dname);
	if (y < 110) {
		moveTo(dname, x, (y + 10));
		var cmd = "slideDiv('" + dname + "'," + x + ")";
		setTimeout(cmd, 20);
	}
}

*/
function docwritelastmod(sprache) {
	text = " ";
	if(sprache == 'EN') text = "Last Update: ";
	if(sprache == 'DE') text = "MODE: ";
	

	if(navigator.appName=="Netscape") {
		doclastmod = document.lastModified; // GMT-Format
		doclastmodstring = doclastmod.toString();

		jahr = doclastmodstring.substring(doclastmodstring.lastIndexOf('.')+1,doclastmodstring.lastIndexOf(' ')); 
		monat = doclastmodstring.substring(doclastmodstring.indexOf('.')+1,doclastmodstring.lastIndexOf('.'))-1;
		tag = doclastmodstring.substring(0,doclastmodstring.indexOf('.'));
		stunde  = doclastmodstring.substring(doclastmodstring.indexOf(' ')+1,doclastmodstring.indexOf(':'));
		minute  = doclastmodstring.substring(doclastmodstring.indexOf(':')+1,doclastmodstring.lastIndexOf(':'));		
		sekunde  = doclastmodstring.substring(doclastmodstring.lastIndexOf(':')+1,doclastmodstring.length);
						
		lastmod = new Date(jahr, monat, tag);
	} // end if
	
	else{ // Browser ist ein MS IE
		lastmod=new Date(document.lastModified);
	} // end else

	    if (lastmod.getYear()<2000) year=lastmod.getYear()+1900; else year=lastmod.getYear();
	    if (lastmod.getYear()<10) year=lastmod.getYear()+2000;
	    if (lastmod.getMonth()<9) month="0"+(lastmod.getMonth()+1); else month=(lastmod.getMonth()+1);
	    if (lastmod.getMinutes()<10) min="0"+lastmod.getMinutes(); else min=lastmod.getMinutes();
	    if (lastmod.getSeconds()<10) sec="0"+lastmod.getSeconds(); else sec=lastmod.getSeconds();

		writedate = " ";
		if(sprache == 'DE') writedate = lastmod.getDate()+"."+month+"."+year;
		if(sprache == 'EN') writedate = month+"/"+lastmod.getDate()+"/"+year+", "+lastmod.getHours()+":"+min+":"+sec;

			
	    document.write(text + writedate);

}

<script language="JavaScript"><!--
var name = "andreas.masche";
var domain = "gmx.de";
document.write('<a href=\"mailto:' + name + '@' + domain + '\">');
document.write(name + '@' + domain + '</a>');
--></script>
