Index: schedule/Module/control.php
===================================================================
--- schedule/Module/control.php	(revision 17472)
+++ schedule/Module/control.php	(revision 17473)
@@ -321,5 +321,5 @@
 {
 		$timestamp=strtotime($times['fStart']);
-		$actualtime = $times['fStart'];
+		$actualtime = ($times['fStart'])->format('Y-m-d H:i:s');
 		$timestamp2 = date('Y-m-d',$timestamp);
 		$date_time = date('H:i:s',$timestamp);
@@ -376,14 +376,11 @@
 				);
 			
-			var count = 0;		
 	<?php
 	
-	$observations = mysql_query("SELECT * FROM schedule WHERE fStart = '2014-01-21 19:00:00'");
+	$observations = mysql_query("SELECT * FROM schedule WHERE fStart = '$actualtime'");
 
 	while($rows = mysql_fetch_array($observations))
 	{
 	?>
-			alert("new observation shed");
-
 			var newtr<?php echo $cnt; ?> = document.createElement("tr");
 				newtr<?php echo $cnt; ?>.setAttribute('class','tr');
