function Collection() {
    //-----------------------
    // DEFINE YOUR GALLERIES
    // Use addDisplay("filename.ext", "Here is a description");
    // -- Your main image should appear in gallery/images
    // -- Your thumbnail image should appear in gallery/thumbnails
    // -- Your main and thumbmail image must have the same name!
    // -- No double-quotes (") in the description or you ruin everything!
    //-----------------------

    ////////////////////////////////////////////////
    // Illustration Gallery
    var illustration = new Gallery();
    illustration.addDisplay("slither.jpg", "slither");
    illustration.addDisplay("ritesofspring03.jpg", "rites of spring");
    illustration.addDisplay("T8cover07.jpg", "wayward");
    illustration.addDisplay("AEfull04.jpg", "nathaniel");
    illustration.addDisplay("archer.jpg", "archer");
    illustration.addDisplay("escape.jpg", "escape");
    illustration.addDisplay("theicequeen.jpg", "the ice queen");
    illustration.addDisplay("monks_training.jpg", "monks training");
    
    

    ////////////////////////////////////////////////
    // Concept Art Gallery
    var concept_art = new Gallery();
    concept_art.addDisplay("natureshrine.jpg", "natureshrine");
    concept_art.addDisplay("smsewers03.jpg", "sewers");
    concept_art.addDisplay("mountains.jpg", "mountains");
    concept_art.addDisplay("knowledgeshrine.jpg", "knowledgeshrine");
    concept_art.addDisplay("feather.jpg", "feather");
    concept_art.addDisplay("goblinvillage.jpg", "goblin village");
    
    
    ////////////////////////////////////////////////
    // Sketchbook Gallery
    var sketchbook = new Gallery();
    sketchbook.addDisplay("sketchbook1.jpg", "sketchbook1");
    sketchbook.addDisplay("sketchbook2.jpg", "sketchbook2");
    sketchbook.addDisplay("sketchbook3.jpg", "sketchbook3");
    sketchbook.addDisplay("sketchbook4.jpg", "sketchbook4");
    sketchbook.addDisplay("sketchbook5.jpg", "sketchbook5");
    sketchbook.addDisplay("sketchbook6.jpg", "sketchbook6");
    sketchbook.addDisplay("sketchbook7.jpg", "sketchbook7");
    sketchbook.addDisplay("sketchbook8.jpg", "sketchbook8");


    ////////////////////////////////////////////////
    // Put 'em all together!
    var galleries = new Array();    
    galleries["illustration"] = illustration;
    galleries["concept_art"] = concept_art;
    galleries["sketchbook"] = sketchbook;

    //---------------------------
    // DEFINE DISPLAY PROPERTIES
    //---------------------------

    var defaultGallery = "illustration"; // The first gallery that appears should be...?
    
    var hSpace = 10; // How much horizontal space between images (left AND right margins) in pixels
    
    //------------------------------------------
    // NEVER YOU MIND ABOUT THE STUFF DOWN HERE
    //
    // HERE THERE BE JAVASCRIPT
    //------------------------------------------

    var galleryNames = new Array();
    for(var galleryName in galleries) {
	galleryNames.push(galleryName);    
    }
    
    this.getGalleryNames = function() {
        return galleryNames;
    }

    this.getDefaultGallery = function() {
        return defaultGallery;
    }

    this.getGalleries = function() {
	return galleries;
    };
    
    this.getGallery = function(g) {
    	return galleries[g];
    };

    this.getHSpace = function() {
	return hSpace;
    };

    this.displayGallery = function(gallery) {

	var galleryContent="";
	var current_row_prefix = "current_row_";
	$.each(galleries[gallery].getDisplays(), function(index, display) {
		galleryContent += "<a target=\"_self\" href=\"index.html?page=gallery&gallery=" + gallery + "&image="+ display.getImage() +"\"" + 
		                 " style=\"margin-right:" + hSpace + "px; margin-left:" + hSpace + "px;\"" + 
	       		         "><img width=60 height=60 src=\"" + display.getThumbnailPath()  + 
				 "\"/></a>";
	    });

        $("#thumbnails_container").append(galleryContent);
    };

};
