Index: schedule/Module/calendar.php
===================================================================
--- schedule/Module/calendar.php	(revision 16471)
+++ schedule/Module/calendar.php	(revision 16472)
@@ -108,5 +108,5 @@
 							var T = [];
 							var sources = 0;
-							var xmlhttp = [];
+							var xmlhttp = new Array();
 							
 							for(sources=0;sources<source.length;sources++)
@@ -116,10 +116,10 @@
 								if (window.XMLHttpRequest)
 								  {// code for IE7+, Firefox, Chrome, Opera, Safari
-								  xmlhttp[sources]=new XMLHttpRequest();
+								  xmlhttp.push(new XMLHttpRequest());
 								  }
 								  
 								else
 								  {// code for IE6, IE5
-								  xmlhttp[sources]=new ActiveXObject("Microsoft.XMLHTTP");
+								  xmlhttp.push(new ActiveXObject("Microsoft.XMLHTTP"));
 								  }
 								
