Index: schedule/Module/calendar.php
===================================================================
--- schedule/Module/calendar.php	(revision 16452)
+++ schedule/Module/calendar.php	(revision 16453)
@@ -111,10 +111,10 @@
 							for(sources=0;sources<source.length;sources++)
 								  {
-								  
+								  alert(sources);
 								if (window.XMLHttpRequest)
 								  {// code for IE7+, Firefox, Chrome, Opera, Safari
 								  xmlhttp=new XMLHttpRequest();
 								  }
-								  alert(sources);
+								  
 								else
 								  {// code for IE6, IE5
@@ -139,5 +139,5 @@
 											
 											
-											GraphData(Data,sources);
+											//GraphData(Data,sources);
 											//document.getElementById('data').innerHTML=Data[sources];
 									}
@@ -147,13 +147,18 @@
 								xmlhttp.send();
 								document.getElementById('data').innerHTML=source.length+""+source[sources];
+										
 								}
+								
+							GraphData(Data,source.length);
 							
 							function GraphData(array, index)
 							{
-								for(i=0;i<array[index].length;i++)
+								for(i=0;i<index;i++)
 								{
-									
-										document.getElementById('day').innerHTML=array[index];
-									
+									for(j=0;j<array[i].length;j++)
+								{
+									document.getElementById('day').innerHTML=array[index];
+								}
+								
 								}
 							}
