Index: schedule/Module/calendar.php
===================================================================
--- schedule/Module/calendar.php	(revision 16396)
+++ schedule/Module/calendar.php	(revision 16397)
@@ -119,5 +119,5 @@
 								  }
 							
-								do
+								for(src = 0; src<source.length;src++)
 								{							
 									xmlhttp.onreadystatechange=function()
@@ -134,5 +134,5 @@
 												}
 												
-												GraphData(Data,src);
+												GraphData(Data, src);
 												//document.getElementById('data').innerHTML=Data[src];
 										}
@@ -142,7 +142,7 @@
 									xmlhttp.send();
 									document.getElementById('data').innerHTML=source.length+""+src;
-									src++;
-								}while(src<source.length);
-							function GraphData(array,index)
+								
+								}
+							function GraphData(array, index)
 							{
 								
