function displayETAs()
 {
     $etas["fav"] = "<div id=\"favorite\" data-role=\"collapsible\">\n            <h3>Favorites</h3><ul data-role=\"listview\" data-theme=\"c\">";
     $favs = $_COOKIE["favs"];
     $favArray = explode(";", $favs);
     foreach ($favArray as $favStopRoutePair) {
         $separated = explode($favStopRoutePair);
         $favStop = $separated[0];
         $favRoute = $separated[1];
         if ($favRoute == 1) {
             $westStopArray[] = $favStop;
             print_r($westStopArray);
         } else {
             $eastStopArray[] = $favStop;
             print_r($eastStopArray);
         }
     }
     $etas["fav"] .= dataService::drawETAs("1", $westStopArray, true);
     $etas["fav"] .= dataService::drawETAs("2", $eastStopArray, true);
     $etas["fav"] .= "</ul></div>";
     $etas["west"] = dataService::drawETAs("1", '', false);
     $etas["east"] = dataService::drawETAs("2", '', false);
     return json_encode($etas);
 }
 static function displayETAs()
 {
     //$etas = DataServiceData::getNextEta();
     $etas["fav"] = dataService::drawETAs(array("1", "2"), '', true);
     $etas["west"] = dataService::drawETAs("1", '', false);
     $etas["east"] = dataService::drawETAs("2", '', false);
     return json_encode($etas);
 }