Beispiel (mit umschlie├čenden Funktions-Block)

                var imgList = new Array();
                function init_imgList() {
                    imgList[0] = new Object();
                    imgList[0]["image"] = "..\pics\2016\bunny_00.jpg";
                    imgList[0]["thumb"] = "..\pics\2016\thumbs\th_00.jpg";
                    imgList[0]["title"] = "myImage_1";
                    imgList[0]["alt"] = "";
                    imgList[0]["description"] = "";
                    imgList[0]["img-class"] = "imgClass";
                    imgList[0]["th-class"] = "thumbClass";
                    imgList[0]["style"] = "display:inline;";
                    imgList[0]["data-lightbox"] = "image_1";
                    imgList[0]["name1"] = "wert1";
                    imgList[0]["name2"] = "wert2";
                  }
                

cont02