Javascript photo view for apaloosa webgallery