var resident_galleries = new Array(); function create_resident_gallery(gallery_id) { this.gallery_id = gallery_id; this.images = []; this.captions = []; this.img_widths = []; this.img_heights = []; } var NEW_gallery = new create_resident_gallery(3218); NEW_gallery.images = ['_uploaded/BakhshiMahmoud1_1.jpg', '_uploaded/BakhshiMahmoud2_1.jpg']; NEW_gallery.captions = [''Top10', 2014, Two simultaneous slide projections', ''Top10', 2014, Two simultaneous slide projections']; NEW_gallery.img_widths = ['710', '710']; NEW_gallery.img_heights = ['502', '502']; resident_galleries[3218] = NEW_gallery; ///////////////////////////////////