function myTT_clsMeldung() {
	this.cAJAX           = new myTT_clsAjax();
	this.fAnzSperre      = document.getElementById("SPERRE");
	this.fAnzMeldung     = document.getElementById("MELDUNG");
	this.fAnzKopf        = document.getElementById("MELDUNG_KOPF");
	this.fAnzIcon        = document.getElementById("MELDUNG_ICON");
	this.fAnzHeader      = document.getElementById("MELDUNG_HEADER");
	this.fAnzBody        = document.getElementById("MELDUNG_BODY");
	this.fAnzButton      = document.getElementById("MELDUNG_BUTTON");
	this.fAktMeldung     = "";
	this.fAktPlatzhalter = new Array();
	this.fArrButton      = new Array("Nein", "Ja", "OK", "Abbrechen", "Speichern","Einf&#xFC;gen", "L&#xFC;schen", "Start", "Nicht speichern");
	this.fArrIcon        = new Array("error", "frage", "hinweis", "info", "save","warnung");
	this.fArrKopf        = new Array("Fehler", "Frage", "Hinweis", "Information","Sichern", "Warnung");
	this.Close           = myTT_clsMeldung_Close;
	this.Create          = myTT_clsMeldung_Create;
	this.Open            = myTT_clsMeldung_Open;
	this.Resize          = myTT_clsMeldung_Resize;
	this.Write           = myTT_clsMeldung_Write;
	
	function myTT_clsMeldung_Close() {
		with (this) {
			fAnzHeader.innerHTML = "";
			fAnzBody.innerHTML = "";
			fAnzButton.innerHTML = "";
			fAnzIcon.className = "cLeer";
			fAnzMeldung.style.display = fAnzSperre.style.display = "none";
		}
	}
	function myTT_clsMeldung_Create() {
		with (this) {
		}
	}
	function myTT_clsMeldung_Open(aIdx, aPlatzhalter) {
		with (this) {
			fAktMeldung = aIdx;
			fAktPlatzhalter = aPlatzhalter;
			Write();
		}
	}
	function myTT_clsMeldung_Resize() {
		with (this) {
			fAnzMeldung.style.display = fAnzSperre.style.display = "inline";
			fAnzMeldung.style.top     = Math.round((fAnzSperre.offsetHeight - fAnzMeldung.offsetHeight) / 2) + "px";
			fAnzMeldung.style.left    = Math.round((fAnzSperre.offsetWidth - fAnzMeldung.offsetWidth) / 2)	+ "px";
		}
	}
	function myTT_clsMeldung_Write() {
		with (this) {
			var mMeldung = myTT_arrMeldung[fAktMeldung];
			var mText = "";
			var mButton = "";
			if (mMeldung) {
				mText = mMeldung[2];
				if (fAktPlatzhalter) {
					for ( var i = 0; i < fAktPlatzhalter.length; i++) {
						mPH = fAktPlatzhalter[i][0] ? "/" + fAktPlatzhalter[i][0] + "/" : "";
						mText = mText.replace(eval(mPH), fAktPlatzhalter[i][1]);
					}
				}
				for ( var i = 0; i < mMeldung[3].lenght; i++) {
					alert(mMeldung[3][0] + "::" + mMeldung[3][1]);
					mButton += "<a class='cMELDUNG_Button' "
							+ " href ='javascript:c_MELDUNG.Aktion(" + i
							+ ");'>Test" + "</a>";
				}
				fAnzIcon.style["background"] = "url(" + PFAD
						+ "_system/media/icon/16/" + fArrIcon[mMeldung[0]]
						+ ".gif)";
				fAnzHeader.innerHTML = fArrKopf[mMeldung[0]] + " - "
						+ mMeldung[1];
				fAnzBody.innerHTML = mText;
				fAnzButton.innerHTML = mButton;
			}
			Resize();
		}
	}
}