Index: /schedule/function/function.php
===================================================================
--- /schedule/function/function.php	(revision 15687)
+++ /schedule/function/function.php	(revision 15688)
@@ -1,3 +1,4 @@
  <script type="text/javascript">
+	$(document).ready(function(){
 	var currentDate = new Date();
 	var day = currentDate.getDate();
@@ -38,3 +39,4 @@
 	
 	});
+	});
  </script>
