   
        function setChartSeriesHidden(hidden) {
            var seriesLength = aaGlobalChart.series.length;
            for (var i = 0; i < seriesLength; i++) {
                var seriesElement = aaGlobalChart.series[i];
                if (hidden == true) {
                    seriesElement.hide();
                } else {
                    seriesElement.show();
                }
            }
        }
        
        function showTheSeriesElementContentWithIndex(elementIndex) {
            var se