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(1311); NEW_gallery.images = ['_uploaded/VegaMacotelaAntonio1.jpg', '_uploaded/VegaMacotelaAntonio2.jpg']; NEW_gallery.captions = ['', '']; NEW_gallery.img_widths = ['669', '669']; NEW_gallery.img_heights = ['535', '535']; resident_galleries[1311] = NEW_gallery; ///////////////////////////////////