Index: schedule/Module/calendar.php
===================================================================
--- schedule/Module/calendar.php	(revision 16234)
+++ schedule/Module/calendar.php	(revision 16235)
@@ -74,4 +74,22 @@
 					$(document).ready(function(){
 						Graph();
+						var date= new Date();
+						var Year=date.getFullYear();
+						var Day=date.getDay();
+						var Month=date.getMonth();
+						<?php 
+						$sqlSched=mysql_query("SELECT*FROM schedule");
+						while($rowSched=mysql_fetch_array($sqlSched))
+						{
+							$timestamp=strtotime(<?php echo $rowSched['fStart']; ?>);
+						?>
+							if(Year+""+Day+""+Month==<?php echo date('Ydm',$timestamp); ?>)
+							{
+								alert('wa');
+							}
+						<?php
+						}
+						?>
+						
 					});
 					</script>
@@ -91,4 +109,20 @@
 							var source=['Mrk 421','Crab','Mrk 501'];
 							var lines = [];
+							<?php 
+							$sqlSched=mysql_query("SELECT*FROM schedule");
+							while($rowSched=mysql_fetch_array($sqlSched))
+							{
+								$timestamp=strtotime(<?php echo $rowSched['fStart']; ?>);
+							?>
+								if(year+"-"+day+"-"+month==<?php echo date('Y-d-m',$timestamp); ?>)
+								{
+									alert('zz');
+								}
+							<?php
+							}
+							?>
+							else
+							{
+
 							function LoadData()
 							{
@@ -281,4 +315,5 @@
 							}
 							Charts();
+							}
 							//Charts();
 							
