Gallery page content and JavaScript coded.