HTTP.status==200) {     // Was the request successful?
                ajaxdata = JSON.parse(xmlHTTP.responseText);
                // incoming json format:
                // { "vms": [{"status": 1, "host_cpu_mhz": 1999, "cpu_count": 4, "name": "MyServerName1", "cpu": [1539,1234,2221,1211]}, ...   ]}
                // error json format:
                // { "vms": [{"error": "details"}]}

                vm_array = ajaxdata['vms'];
                if ("error" in vm_array[0]) {
                    $('#erro