Index: schedule/Module/calendar.php
===================================================================
--- schedule/Module/calendar.php	(revision 15547)
+++ schedule/Module/calendar.php	(revision 15548)
@@ -71,12 +71,13 @@
 //var column3=parseFloat(lineN[3]);
 var arr = [];
-for(var row=0;row<xmlhttp.responseText.length(); row++)
+for(var row=0;row<xmlhttp.responseText; row++)
 {
-	var f = lines[row].slit(',');
-	arr[row].time=f[0];
-	arr[row].value=f[5];
+	//var f = lines[row].slit(',');
+	//arr[row].time=f[0];
+	//arr[row].value=f[5];
+	document.getElementById('data').innerHTML=row;								}
+
 
 }
-document.getElementById('data').innerHTML=arr;								}
 							}
 							xmlhttp.open("GET","http://www.fact-project.org/smartfact/index.php?source="+'Mrk+421'+"&time="+year+"-"+month+"-"+day,true);
