1 function findSWF(movieName) {
2 if (navigator.appName.indexOf("Microsoft")!= -1) {
3 return window[movieName];
5 return document[movieName];
11 * @param index as integer.
13 * Returns a CLONE of the chart with one of the elements removed
15 function chart_remove_element(chart, index)
18 // global_showing_old_data = !global_showing_old_data;
21 var modified_chart = {};
22 jQuery.extend(modified_chart, chart);
24 // remove the old data from the chart:
25 var element = modified_chart.elements[1];
26 var elements = new Array();
28 for(i=0; i<modified_chart.elements.length; i++)
32 elements[c] = modified_chart.elements[i];
36 modified_chart.elements = elements;
37 return modified_chart;