function About()
{
	this.oAjax = new sack();
	this.resetAjax();
}

About.prototype = {
	init : function()
	{
	},

	resetAjax : function()
	{
		this.oAjax.resetData();
		this.oAjax.requestFile = "index.php";
		this.oAjax.method = "POST";
		this.oAjax.Synchron = false;
		this.oAjax.setVar("module", "About");
		this.callBackFunction = "";
	},

	writeOutput : function(sResponse)
	{
		var oResponse = eval(sResponse);

		try {
			if (oResponse.aPopup != "" && oResponse.aPopup != undefined) {
				if (oResponse.aPopup.sHeadline != undefined && oResponse.aPopup.sContent != undefined) {
					if (oResponse.aPopup.iWidth != "" && oResponse.aPopup.iWidth != undefined) {
						iWidth = oResponse.aPopup.iWidth;
					}
					if (oResponse.aPopup.iHeight != "" && oResponse.aPopup.iHeight != undefined) {
						iHeight = oResponse.aPopup.iHeight;
					}

					if (document.popup == null) document.popup = new isPopup();
					document.popup.show(oResponse.aPopup.sButtons, oResponse.aPopup.sHeadline, iWidth, iHeight, oResponse.aPopup.sContent, oThis);
				}
			}
		} catch (e) {
		}
	},

	show : function(sEvent)
	{
		this.resetAjax();

		this.oAjax.setVar("event", sEvent);
		this.oAjax.runAJAX();

		oThis = this;
		onCompletionAJAX = function () {
			oThis.writeOutput(oAJAX.responseText);
		};
	}
}

oAbout = new About();