Index: schedule/Module/calendar.php
===================================================================
--- schedule/Module/calendar.php	(revision 16599)
+++ schedule/Module/calendar.php	(revision 16600)
@@ -99,12 +99,12 @@
 				var year;
 				var month;
-				var source = ["Mrk 421","Mrk 501"];
 				function testData() 
 				{
 					//calls the xml request in a loop based on the current sources                
-					
+					var source = ["Mrk 421","Mrk 501"];
 					for (i = 0; i<source.length; i++) 
 					{
 						testXMLData(i, source);
+						$('#data').append('1st'+source);
 					}
 				}
@@ -113,4 +113,5 @@
 				{
 					var testXML;
+					$('#data').append('   xmlData pass'+source + " "+index);
 					testXML = new XMLHttpRequest();
 					//NOTE: previous errors on the request was caused by appending "http://www.fact-project.org"
@@ -126,4 +127,5 @@
 								{
 								displayXMLData(dataSource, source); //this will be called when the last data from the list is read
+								$('#data').append('successfully load'+source +""+dataSource);
 								}
 						}
@@ -135,5 +137,5 @@
 				{
 					//This function splits the lines of data per data source
-					var dataGraph = new Array(); 
+					var dataGraph = new Array(source.length); 
 					for (i=0; i<source.length; i++) 
 					{
