function RandomEvent() {
	var No = Math.floor(Math.random()*E.length);
	DisplayEvent(No);
	return 0;
	}

function InitEventDescr() {
	document.getElementById("et01").firstChild.nodeValue = "";
	document.getElementById("et02").firstChild.nodeValue = "";
	document.getElementById("et03").firstChild.nodeValue = "";
	document.getElementById("et04").firstChild.nodeValue = "";
	document.getElementById("et05").firstChild.nodeValue = "";
	document.getElementById("et06").firstChild.nodeValue = "";
	document.getElementById("et07").firstChild.nodeValue = "";
	document.getElementById("et08").firstChild.nodeValue = "";
	document.getElementById("et09").firstChild.nodeValue = "";
	document.getElementById("et10").firstChild.nodeValue = "";
	document.getElementById("et11").firstChild.nodeValue = "";
	document.getElementById("et12").firstChild.nodeValue = "";
	document.getElementById("et13").firstChild.nodeValue = "";
	document.getElementById("et14").firstChild.nodeValue = "";
	document.getElementById("et15").firstChild.nodeValue = "";
	document.getElementById("et16").firstChild.nodeValue = "";
	return 0;
	} 
function DisplayEvent(No) {
	InitEventDescr();
	var StrLen = E[No].length;
	var Eintrag = 0;
	var i = 0;
	for(var i = 0; i < StrLen; i++) {
		Eintrag++;
		var Len = 0;
		var StartAt = i;
		while((E[No].charAt(i) != '|') && (i < StrLen)) {
			Len++;
			i++;
			}
		var Teilstring = E[No].substring(StartAt, StartAt+Len);
		if (Eintrag ==  1) document.getElementById("et01").firstChild.nodeValue = Teilstring;
		if (Eintrag ==  2) document.getElementById("et02").firstChild.nodeValue = Teilstring;
		if (Eintrag ==  3) document.getElementById("et03").firstChild.nodeValue = Teilstring;
		if (Eintrag ==  4) document.getElementById("et04").firstChild.nodeValue = Teilstring;
		if (Eintrag ==  5) document.getElementById("et05").firstChild.nodeValue = Teilstring;
		if (Eintrag ==  6) document.getElementById("et06").firstChild.nodeValue = Teilstring;
		if (Eintrag ==  7) document.getElementById("et07").firstChild.nodeValue = Teilstring;
		if (Eintrag ==  8) document.getElementById("et08").firstChild.nodeValue = Teilstring;
		if (Eintrag ==  9) document.getElementById("et09").firstChild.nodeValue = Teilstring;
		if (Eintrag == 10) document.getElementById("et10").firstChild.nodeValue = Teilstring;
		if (Eintrag == 11) document.getElementById("et11").firstChild.nodeValue = Teilstring;
		if (Eintrag == 12) document.getElementById("et12").firstChild.nodeValue = Teilstring;
		if (Eintrag == 13) document.getElementById("et13").firstChild.nodeValue = Teilstring;
		if (Eintrag == 14) document.getElementById("et14").firstChild.nodeValue = Teilstring;
		if (Eintrag == 15) document.getElementById("et15").firstChild.nodeValue = Teilstring;
		if (Eintrag == 16) document.getElementById("et16").firstChild.nodeValue = Teilstring;
		i++;
		}
	return 0;
	}

