The office workers of Dunder-Mifflin are outraged when Phyllis (Phyllis Smith) gets an unexpected eyeful from a flasher. Dwight (Rainn Wilson) and Andy (Ed Helms) team up to catch the predator. Meanwhile, Michael takes the women from work on a special outing and comes to an important decision. John Krasinski, B.J. Novak, Melora Hardin and Kate Flannery also star.

THE OFFICE

Thursday, 8:30 p.m., NBC

DRAMA

Fast forward

Hiro (Masi Oka) and his buddy Ando (James Kyson Lee) travel five years into the future and see a grim forecast. Nathan Petrelli (Adrian Pasdar) is the President of the United States, but the other heroes are not in such good shape. Following the destruction of New York City, they are celebrities, but they are also being hunted down and imprisoned as “terrorists.” Hiro and Ando become swept up in what could be the final battle for these special people.

HEROES

Monday, 9 p.m., NBC

DRAMA

Leave of absence

Has Addison (Kate Walsh) taken leave of her senses? The worthy doctor has been on shaky ground for a while now in her personal life now – her marriage is over and her relationship with McSteamy (Eric Dane) is on the rocks. To get away from it all, Addison takes a road trip to Los Angeles to visit old friends from medical school. Back in Seattle, Cristina’s future mother-in-law, Jane Burke (Diahann Carroll), descends upon her to help the reluctant bride plan the big day. If the Addison Montgomery portion of these back- to-back episodes rates well, Kate Walsh could get her own series next fall. Guest stars in the L.A. story line include Paul Adelstein, Amy Brenneman, Tim Daly and Taye Diggs.

GREY’S ANATOMY

9 and 10 p.m., ABC

DRAMA

Miami menace

Horatio investigates a case of revenge on a scorned ex-lover, but the personal problems of one of the detectives on his team impede its progress and he is forced to take unexpected action. David Caruso stars with Khandi Alexander, Adam Rodriguez, Eva La Rue and Emily Procter.

CSI: MIAMI

Monday, 10 p.m., CBS

DRAMA

Last case

Returning from hiatus, “Veronica Mars” tells the story of a hate crime. A Middle Eastern restaurant owner hires Veronica (Kristen Bell) to find out who has been vandalizing his business with ethnic slurs. While investigating the case, Veronica and the restaurant owner are attacked in a drive-by shooting. Meanwhile, Veronica’s dad does some surprise ID checks in neighborhood bars after a teenager is hit by a car in front of one. In his search, Keith finds two guys with fake ID’s that were provided by Veronica.

VERONICA MARS

Tuesday, 9 p.m., CW

COMEDY

Crisis mode

Betty (America Ferrera) juggles a family crisis and party-planning for Secretaries Day. The bash will be held at a medieval-themed restaurant. Hilda (Ana Ortiz) faces a tough cosmetology school exam. Betty tells Daniel he needs help for his issue with women and Wilhemina (Vanessa Williams) makes another bold move in her world domination plan at Mode magazine.