Scarlett Johansson and her good friend, Justin Timberlake, were spotted partying at 1OAK nightclub in NYC, taking time out from their nude photos scandal worries.

The two were seen arriving at the club at around 3 a.m. and danced until 5 a.m., Life & Style reported.

The nude photos of both them were floating around the Internet after the phone hacking scandal. But they took a short break from the hacking scandal for partying and hot club dancing.

They were dancing and talking to each other all night like old friends, an eyewitness told Life & Style. People were surprised that she showed up with him, but they both seemed happy to see each other.

Both have become the latest celebrity victims to have private photos leaked to the public. But neither star showed signs of stress at the hot spot. He was all smiles with her, eyewitness added.

Johansson photos made the rounds online, spreading like wildfire on blogs, news sites, and social networking sites like Facebook and Twitter.

Meanwhile, the FBI has launched an investigation into an alleged hacking incident resulting in half-nude photos of the actress being leaked on the web.

The FBI has reportedly been investigating hacks into as many as 50 celebrity email accounts, including Vanessa Hudgens, Jessica Alba and Mila Kunis.

The FBI has identified the brain behind the hacking and they are in the process of identifying the hackers, TMZ reported.

According to TMZ, sources said the gang earlier gained access to cell phones of other celebrities, including Vanessa Hudgens, Jessica Alba, Lindsey Vonn, Ali Larter and Emma Caulfield.

Johansson and Timberlake became good friends in 2006, after shooting the video for Timberlake's hit, What Goes Around Comes Around.