// ----------------------------------------------------------------------------
if (typeof(ACCESSIBLE_VERSION) == "undefined") { ACCESSIBLE_VERSION = false; }
// ----------------------------------------------------------------------------
if (typeof(__waa__) == "undefined") var __waa__ = [];
__waa__[__waa__.length] = 
new function(appInfo) {
language = "de";
country = "DE";

var resurl = new URL("https://" + appInfo.server + "/extras/res/js/date.js");

var cgiurl = new URL("https://" + appInfo.server + appInfo.cgiPath);

cgiurl.setParameter("accountId", appInfo.accountId, true);
cgiurl.setParameter("modified", appInfo.customField, true);

footer_setModifiedTimestamp = function() {
	try {
		var elem = document.getElementById("footer_lastModified");
		if (elem) {
			var date = new Date();
			var d = elem.getAttribute("value");
			if (d) {
				d = d.substring(0,4) + "/" + d.substring(4,6) + "/" + d.substring(6,8) + " "
				  + d.substring(9,11) + ":" + d.substring(11,13) + ":" + d.substring(13,15)
				date = new Date(d);
			}

			var format = elem.getAttribute("format") || "f1";

			elem.innerHTML = dateToLocaleTimeStamp(date, true, true, format);
		}
	} catch (e) {
		alert(e);
	}
}

document.writeln("<SCRIPT src='" + resurl.toString() + "'></SCRIPT>");
document.writeln("<SCRIPT src='" + cgiurl.toString() + "'></SCRIPT>");
document.writeln("<SCRIPT> footer_setModifiedTimestamp();</SCRIPT>");

}({
    accountId       : "ATOIX0INV7OC", 
    internalId      : "20150429-185602", 
    customField     : "", 
    server          : "homepage.t-online.de", 
    cgiPath         : "/cgi-bin/Footer", 
    cgiRes          : "https://homepage.t-online.de/cgi", 
    productId       : "WSCSYSSSSLYTCPRX", 
    clientId       	: "RRVTEL999JZTUUJG", 
    proxyIncludes   : false, 
    proxyUrl        : "", 
    pos             : __waa__.length
});
// ----------------------------------------------------------------------------
