John Krasinski and B.J. Novak went to high school together. They went to Newton South High School in Newton, Massachusetts, and they both graduated in 1997. They were even on the same little league baseball team.
When John Krasinski (Jim Halpert) got the role of Jim, the first thing he asked the casting director was "did Jenna Fischer (Pam) get the role?" Similarly, when Jenna got the job, the first thing she asked the casting director was about John getting the role.
The computers on the Dunder Mifflin office set were wired for the internet. Cast members admitted that when they're in the background of scenes, they were often checking e-mail and surfing the net.
Jim would have spent an estimated $7,000 to $10,000 pranking Dwight across the entire series.