cpu / (vm_array[i]["host_cpu_mhz"] * vm_array[i]["cpu_count"]))
                        var cpu_percent = Math.round(cpu_percent * 100);
                        $('#vm' + i + '_percent').html(cpu_percent + '%');

                    }
                }

            } else if (xmlHTTP.readyState==4 && xmlHTTP.status!=200)  {
                $('#errorText').html('Unable to update data');
                $('#errorText').css("display", "inline");
                $('#main_output').css("display", "none");
       