﻿    /**
        put your albums in albums subdirectory. Each catalog in albums is one album. 
        But not all catalogs in albums will be 
        displayed as albums, but only those, which You have difebed (see below).
    */

    /** configuration mode 
    * "explicit" or "automatic"
    * automatic means that You have numbered photos (from 1) in Your album with one extension
    * explicit means that You have to pass all photos filenames
    */
    var mode = "automatic"; 
    
    /*
        in eplicit mode You must pass all photo filenames;
        You define your albums that way:
        var albums = Array(
                            Array("first_album_subdir_name",
                                        "first_photo_name.extension",
                                        "second_photo_name.extension",
                                        "third_photo_name.extenstion",
                                        "and_so_on.ext"),
                            Array("second_album_subdir_name",
                                        "first_photo_name.extension",
                                        "second_photo_name.extension",
                                        "third_photo_name.extenstion",
                                        "and_so_on.ext"),
                            Array("and_so_on", "some.jpg", "some_other.gif", "something.png")
                           );
         var albums = Array( 
                        Array("album_one", 
                                    "2.jpg", "3.jpg", "4.jpg", "5.jpg", "6.jpg"), 
                        Array("album_two", 
                                    "5.jpg", "6.jpg")
                        );
    */
                        
    /*
        in automatic mode You define your Albums that way:
        var albums = Array( Array("album_one", 10, "jpg"),
                            Array("album_two", 5, "jpg")
                           );
        where first string is album subdir, second int is number of photos, end the last one is extension of photo files
    */
        var albums = Array( Array("spotkanie XXX", 6, "jpg"),   // "album name", number_of_photos, "extension"
                            Array("spotkanie XXXII", 5, "jpg"),
                            Array("install fest", 15, "jpg")
                            /**/
                           );
                        
    /*
    * default album to show (counting starts from 0)
    */
    var defaultAlbum = 0;
        
    /**
    * override colors in application
    * uncomment  (remove first to slashes in line) and define values (explained below);
    * colors can be supplied in some formats
    */

    // var parentCanvasBackground = "#FFFFFFFF";    //background of whole application
    // var AlbumsBackground = "#FFFF4242";          //background of albums panel (this with album names)
    // var AlbumItemsBackground = "#FF0D306C";      //background of album thumbinals (bottom panel)
    // var PhotoContainerBackground = "#FFFFFFFF";  //background for bog foro panel
    // var prevButtonGradientStop1Color = "#FFFFFFFF";       //prev button gradient start color
    // var prevButtonGradientStop2Color = "#FF000000";       // prev button gradient stop color
    // var nextButtonGradientStop1Color = "#FF000000";       // next button gradient start color
    // var nextButtonGradientStop2Color = "#FFFFFFFF";       // next button gradient stop color
    
    // var scrollLeftBackground = "#FFFFFFFF";               // scroll left field background color
    // var scrollLeftOpacity = "0.2";                 // scroll left feld opacity 
    // var scrollLeftSlowBackground = "#FFFFFFFF";           // scroll left slow field background color
    // var scrollLeftSlowOpacity = "0.1";              // scroll left slow feld opacity 
    
    
    // var scrollRightBackground = "#FFFFFFFF";  // like scroll above, but apply to scroll right fields
    // var scrollRightOpacity = "0.2";
    // var scrollRightSlowBackground = "#FFFFFFFF";
    // var scrollRightSlowOpacity = "0.1";
    
    // var albumViewBackground = "#22000000"; // album thumbinals field background (this one, which is displayed when moving mouse over album name)
    
    /**
    * override sizes
    * cant be ommited
    */
    var parentCanvasWidth = 800;
    var parentCanvasHeight = 600;
    var PhotoWidth = 640;
    var PhotoHeight = 480;
    var padding = 5;
    
    
