Index: schedule/Module/calendar.php
===================================================================
--- schedule/Module/calendar.php	(revision 16488)
+++ schedule/Module/calendar.php	(revision 16489)
@@ -97,11 +97,5 @@
 				var xmlhttp = new Array();
 				var source = ['Mrk 421','Mrk 501'];
-                 CAL.addEventListener("onSelect", function(){
-							var day =this.selection.print("%d").join("\n");
-							var month =this.selection.print("%m").join("\n");
-							var year =this.selection.print("%Y").join("\n");	
-							
-						getXMLData();	
-						function getXML() 
+				function getXML() 
 						{
 							if (window.XMLHttpRequest)
@@ -147,5 +141,11 @@
 							}	
 						}
-												
+                 CAL.addEventListener("onSelect", function(){
+							var day =this.selection.print("%d").join("\n");
+							var month =this.selection.print("%m").join("\n");
+							var year =this.selection.print("%Y").join("\n");	
+							
+						getXML();
+						displayData();
 						});
 						
