Updated

Two teenagers were charged with setting fires in suburban Washington after they bragged about the blazes on MySpace.com, authorities said.

The 17-year-old schoolmates were involved in 17 fires in Montgomery County, fire officials said Friday. The teens face 22 charges, including two counts each of first-degree arson and four counts of second-degree arson.

Their names were not released because they were charged as juveniles.

Stores, vehicles, a bowling alley and two school buses were set on fire between Jan. 20 and April 16. Investigators got a tip to check out the online social networking site MySpace.com, where they found photos and descriptions.

"The significant thing is they posted on the Internet, and bragged about the fires, and that certainly allowed us to break the case," county Fire Chief Thomas W. Carr Jr. said. "They posted photos of these fires."

The teens are being held at a juvenile detention center.

FOXNews.com is owned and operated by News Corporation, which also owns and operates MySpace.com.