Index: schedule/Module/calendar.php
===================================================================
--- schedule/Module/calendar.php	(revision 16586)
+++ schedule/Module/calendar.php	(revision 16590)
@@ -101,5 +101,6 @@
 					//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++) {
+					for (i = 0; i<source.length; i++) 
+					{
 						testXMLData(i, source);
 					}
@@ -119,5 +120,7 @@
 							dataSource.push(line);
 							if (dataSource.length == source.length)
+								{
 								displayXMLData(dataSource, source); //this will be called when the last data from the list is read
+								}
 						}
 					testXML.send();
@@ -128,5 +131,6 @@
 					//This function splits the lines of data per data source
 					var dataGraph = new Array(source.length); 
-					for (i=0; i<source.length; i++) {
+					for (i=0; i<source.length; i++) 
+					{
 						dataGraph[i] = new Array(); //dataGraph contains the individual points for each source i
 						for(row=0;row<dataSource[i].length;row++)
@@ -140,6 +144,6 @@
 
                  CAL.addEventListener("onSelect", function(){
-							 day =this.selection.print("%d").join("\n");
-							 month =this.selection.print("%m").join("\n");
+							day =this.selection.print("%d").join("\n");
+							month =this.selection.print("%m").join("\n");
 							year =this.selection.print("%Y").join("\n");	
 							//document.getElementById('data').innerHTML="Calendar selected! ";
