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(2741); NEW_gallery.images = ['_uploaded/AJDE_1.jpg', '_uploaded/Vukovic_RijksakademieOPEN2013_224_photoGJvanROOIJ_1.jpg', '_uploaded/Vukovic_RijksakademieOPEN2013_225_photoGJvanROOIJ_1.jpg']; NEW_gallery.captions = ['RijksakademieOPEN 2013', 'RijksakademieOPEN 2013', 'RijksakademieOPEN 2013']; NEW_gallery.img_widths = ['710', '710', '381']; NEW_gallery.img_heights = ['405', '457', '535']; resident_galleries[2741] = NEW_gallery; ///////////////////////////////////