Index: schedule/Module/calendar.php
===================================================================
--- schedule/Module/calendar.php	(revision 16547)
+++ schedule/Module/calendar.php	(revision 16548)
@@ -96,4 +96,5 @@
 				var index = 0;
 				var xmlhttp = new Array();
+                var testXML;
 				var source = ['Mrk 421','Mrk 501'];
 				var sourceData = [[]];
@@ -166,4 +167,21 @@
 					}	
 				}
+
+                function testData() 
+                {
+                    var url = "https://www.fact-project.org/smartfact/index.php?source=Mrk%20421&time=2012-12-10"
+                    textXML = new XMLHttpRequest();
+                    
+                    textXML.onreadystatechange=function() {
+                        alert ("state: " + textXML.readyState + " status: " + textXML.status);
+                        if (textXML.readyState==4 && textXML.status==200)
+						{
+                            alert ("request ok");
+                        }
+                    };
+					
+                    textXML.open("GET","http://www.fact-project.org/smartfact/index.php?source="+escape(source[index])+"&time="+year+"-"+month+"-"+day,true);
+					xtextXML.send();
+                }
                  CAL.addEventListener("onSelect", function(){
 							 day =this.selection.print("%d").join("\n");
