The Rishon Lezion Magistrates Court has extended the detention of Dr. Idan Barak, who is suspected of pedophilia on the Internet.