Index: schedule/Module/calendar.php
===================================================================
--- schedule/Module/calendar.php	(revision 16926)
+++ schedule/Module/calendar.php	(revision 17422)
@@ -58,45 +58,27 @@
             var CAL = Calendar.setup({
                     cont: "cont",
-                   // weekNumbers: true,
                     selectionType: Calendar.SEL_MULTIPLE,
                     showTime: 24,
-					//fdow     : 1,
 					dateInfo:getDateInfo
-                    // titleFormat: "%B %Y"
             })
           </script>
 		  </td>
-
             <tr>
               <td>
 				<script type="text/javascript">
-					$(document).ready(function(){
-						Graph();
-					});
-					</script>
-                <script type="text/javascript">
+				$(document).ready(function(){
+					Graph();
+				});
 				var day;
 				var year;
 				var month;
                  CAL.addEventListener("onSelect", function(){
-							day =this.selection.print("%d").join("\n");
-							month =this.selection.print("%m").join("\n");
-							year =this.selection.print("%Y").join("\n");	
-                             GetData();
-							GetDate();
-						$('#Scheduling').load('Module/Scheduling.php?days='+year+'-'+month+'-'+day);
-							//$.get("function/function.php", {days:year+'-'+month+'-'+day});
-							//$load("function/function.php?days:year+-'+month+'-'+day);
-						//$.get("function/SplitDelete.php", {days:year+'-'+month+'-'+day});
-						 
-
-							 //GetDate();
-							
-
-                        	
-                });
-						
-						
-							
+						day =this.selection.print("%d").join("\n");
+						month =this.selection.print("%m").join("\n");
+						year =this.selection.print("%Y").join("\n");	
+						GetData();
+						GetDate(day,month,year);
+						$('#Scheduling').load('Module/Scheduling.php?days='+year+'-'+month+'-'+day);   	
+                });							
                </script>
               </td>
@@ -107,5 +89,4 @@
       </tr>
     </table>
-
   </body>
 </html>
