Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /var/www/vhosts/rijksakademie.nl/httpdocs/_back_end/_cms_inc/_cms_skeleton/dbConnect.inc.php on line 15 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(1127); NEW_gallery.images = ['_uploaded/ChaganiNoorAli1.jpg', '_uploaded/ChaganiNoorAli2.jpg']; NEW_gallery.captions = ['Untitled | 2012 | work in progress', 'Untitled | 2012 | work in progress']; NEW_gallery.img_widths = ['710', '710']; NEW_gallery.img_heights = ['533', '533']; resident_galleries[1127] = NEW_gallery; ///////////////////////////////////