function GetInfo(url,place)
{
    // создаем объект xmlhttp
    var xmlhttp;
    try {
        xmlhttp = new ActiveXObject("Msxml2.XMLHTTP");
    } catch (e) {
        try {
            xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
        } catch (e) {
            xmlhttp = false;
        }
    }
    if (!xmlhttp && typeof XMLHttpRequest!="undefined") {
        xmlhttp = new XMLHttpRequest();
    }

    // отправляем запрос на сервак и ждем ответа
    if (xmlhttp) {
        var params = "script=1";
        xmlhttp.open("POST",url,true)
        xmlhttp.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
        xmlhttp.onreadystatechange = function() {
            if (xmlhttp.readyState == 4) {
                if(xmlhttp.status == 200) {
                    data=xmlhttp.responseText;
                }
            }else{
                data="";
            }
            document.getElementById(place).innerHTML = data;
        }
        xmlhttp.send(params);
    }else{
        document.getElementById(place).innerHTML = "";
    }

}

GetInfo("typo3conf/ext/informers/pi1/inc/informer-weather.php","informer-weather");
GetInfo("typo3conf/ext/informers/pi1/inc/informer-currency.php","informer-currency");