Index: schedule/Module/calendar.php
===================================================================
--- schedule/Module/calendar.php	(revision 16235)
+++ schedule/Module/calendar.php	(revision 16236)
@@ -79,10 +79,10 @@
 						var Month=date.getMonth();
 						<?php 
-						$sqlSched=mysql_query("SELECT*FROM schedule");
-						while($rowSched=mysql_fetch_array($sqlSched))
+						$sqlSched1=mysql_query("SELECT*FROM schedule");
+						while($rowSched1=mysql_fetch_array($sqlSched1))
 						{
-							$timestamp=strtotime(<?php echo $rowSched['fStart']; ?>);
+							$timestamp1=strtotime(<?php echo $rowSched1['fStart']; ?>);
 						?>
-							if(Year+""+Day+""+Month==<?php echo date('Ydm',$timestamp); ?>)
+							if(Year+""+Day+""+Month==<?php echo date('Ydm',$timestamp1); ?>)
 							{
 								alert('wa');
@@ -110,10 +110,10 @@
 							var lines = [];
 							<?php 
-							$sqlSched=mysql_query("SELECT*FROM schedule");
-							while($rowSched=mysql_fetch_array($sqlSched))
-							{
-								$timestamp=strtotime(<?php echo $rowSched['fStart']; ?>);
+							$sqlSched2=mysql_query("SELECT*FROM schedule");
+							while($rowSched2=mysql_fetch_array($sqlSched2))
+							{
+								$timestamp2=strtotime(<?php echo $rowSched2['fStart']; ?>);
 							?>
-								if(year+"-"+day+"-"+month==<?php echo date('Y-d-m',$timestamp); ?>)
+								if(year+"-"+day+"-"+month==<?php echo date('Y-d-m',$timestamp2); ?>)
 								{
 									alert('zz');
