function randomImage(collection) {


//  collection[i][0]  = image src

//  collection[i][1]  = href

    this.collection   = collection
;
    this.unitCount    = this.collection.length - 1
;
    this.randomNumber = randomize(0,this.unitCount)
;
    this.src          = this.collection[this.randomNumber][0]
;
    this.link         = this.collection[this.randomNumber][1]
;

    function randomize(x, y) {
        var range = y - x + 1
;
        return Math.floor(Math.random() * range) + x
;
    }

//  var listBanners  = new randomImage(listBanners)
;
//  random image src = listBanners.src
//  random link href = listBanners.linl

}

