var xmlHttp = false;var csFunction;// Mozilla, Opera, Safari sowie Internet Explorer 7if (typeof XMLHttpRequest != 'undefined') {    xmlHttp = new XMLHttpRequest();}if (!xmlHttp) {    // Internet Explorer 6 und älter    try {        xmlHttp  = new ActiveXObject("Msxml2.XMLHTTP");    } catch(e) {        try {            xmlHttp  = new ActiveXObject("Microsoft.XMLHTTP");        } catch(e) {            xmlHttp  = false;        }    }}// (c) Codefabrik.de - Helmut Ebeltfunction sendRequest(cmd, callBackFunction, language, params) {	csFunction = callBackFunction;	if (xmlHttp) {	    xmlHttp.open('POST', 'http://www.fotos.sc/ajax/gw.php', true);	    xmlHttp.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');	    xmlHttp.onreadystatechange = handleStateChange;	    if(params && params.length > 0) {	    	test = xmlHttp.send('cmd=' + cmd + '&lang=' + language + '&' + params);	    } else {	    	test = xmlHttp.send('cmd=' + cmd + '&lang=' + language);	    }	}}function handleStateChange() {	if (xmlHttp.readyState == 4) {	    csFunction(xmlHttp.status, xmlHttp.statusText, xmlHttp.responseText, xmlHttp.responseXML);	}}