AJAX.registerTeardown("server_status_queries.js",function(){var a=$("#serverstatusquerieschart").data("queryPieChart");if(a){a.destroy()}});AJAX.registerOnload("server_status_queries.js",function(){var b=[];try{$.each(jQuery.parseJSON($("#serverstatusquerieschart_data").text()),function(c,d){b.push([c,parseInt(d)])});$("#serverstatusquerieschart").data("queryPieChart",PMA_createProfilingChartJqplot("serverstatusquerieschart",b))}catch(a){}PMA_tooltip($("table.sortable>thead>tr:first").find("th"),"th",PMA_messages.strSortHint);initTableSorter("statustabs_queries")});