Josh Hartnett was caught on CCTV having sex in a hotel library. The '30 Days of Night' actor - who is currently starring in a London theatre production of 'Rain Man' - was unaware he was being watched by hotel staff as he romped with a mystery woman.Sponsored Links: Trying to be discreet, the star drew all the curtains in the wing of the Soho hotel, but failed to spot the surveillance cameras filming his every move. A source told Britain's Daily Mirror newspaper: "Josh and the girl were getting pretty hot and heavy. "Their every spit and cough was recorded and cringing hotel workers saw all of Josh's X-rated moves. "No one quite knew where to look and there was a very awkward silence. "Josh didn't seem bothered that the library wasn't locked and anyone could just burst in. He just kind of went for it." After the romp, the 30-year-old star was "asked to take his personal business elsewhere" in the future by hotel workers.Sponsored Links: The source added: "He has been very well behaved since."