echo $CONF_ENCODING;
?>
">
  <style type="text/css">
  body, p, table,tr,td {font-family:Verdana, Arial, Helvetica, sans-serif; font-size:10px;}
  body {margin:0px}
  </style>
</head>
<?php 
$waypointIDdelete = makeSane($_REQUEST['waypointIDdelete'], 1);
$waypt = new waypoint($waypointIDdelete);
$waypt->getFromDB();
if ($_POST['deleteWaypoint'] == 1) {
    // DELETE waypoint
    $waypt = new waypoint($waypointIDdelete);
    if ($waypt->delete()) {
        ?>
		  <script language="javascript">
			  function refreshParent() {
				  topWinRef=top.location.href;
				  top.window.location.href=topWinRef;
			  }
		  </script>
		<?php 
        echo "<center>" . _THE_TAKEOFF_HAS_BEEN_DELETED . "<br><br>";
        echo "<a href='javascript:refreshParent();'>RETURN </a>";
        echo "<br></center>";
    } else {
        echo "<H3> Error in deleting waypoint  from DB! </H3>\n";
    }
} else {