Index: schedule/Module/calendar.php
===================================================================
--- schedule/Module/calendar.php	(revision 16339)
+++ schedule/Module/calendar.php	(revision 16340)
@@ -120,5 +120,5 @@
 								  xmlhttp=new ActiveXObject("Microsoft.XMLHTTP");
 								  }
-								xmlhttp.onreadystatechange=function(data)
+								xmlhttp.onreadystatechange=function()
 								  {
 								  if (xmlhttp.readyState==4 && xmlhttp.status==200)
@@ -131,7 +131,7 @@
 											{
 												rows=line[row].split(',');
-												str+=Data.push(rows[4]);
+												str="["+Data.push(rows[4])+"]";
 											}
-											return str;
+											GraphData(str);
 											
 									}
@@ -141,7 +141,8 @@
 								xmlhttp.send();
 							}
-							
-								document.getElementById('data').innerHTML=xmlhttp;
-							
+							GraphData(x)
+							{
+								document.getElementById('data').innerHTML=x;
+							}
 							
 							
