/* jLightBox (using jQuery library).
*--------------------------------------------*
*  @author : ukhome ( ukhome@gmail.com | ntkhoa_friends@yahoo.com )
*--------------------------------------------*
*  @released : 24-Mar-2009 : version 1.0
*--------------------------------------------*
*  @revision history : ( latest version : 1.0 )
*--------------------------------------------*
*      + 24-Mar-2009 : version 1.0
*          - released
*--------------------------------------------*
*/

/* package $lightbox.Global
*/

$lightbox.Global = new function () { //Singleton class
    var collection = [];

    this.push = function (id, obj) {
        collection[id] = obj;
    }

    this.getCollection = function () {
        return collection;
    }

    this.getLightBoxObjectById = function (id) {
        return collection[id];
    }
}
