Index: schedule/Module/calendar.php
===================================================================
--- schedule/Module/calendar.php	(revision 16454)
+++ schedule/Module/calendar.php	(revision 16455)
@@ -152,5 +152,13 @@
 							GraphData(Data,source.length);
 							
-							function GraphData(array, index)
+							
+							
+						});
+						
+						
+							
+                //]]></script>
+				<script type="javascript">
+					function GraphData(array, index)
 							{
 								for(i=0;i<index;i++)
@@ -162,10 +170,6 @@
 								
 								}
-							}
-							
-							
-						});
-
-                //]]></script>
+							};
+				</script>
               </td>
             </tr>
