code: function() {
          this.blocks = [];
  
          //since all positions contain the same number of blocks, we can 
          // just pick the first position and use its blocks array to create
          // our blocks array
          var firstPosition = null;
          for(var key in this.positionBlocks) {
              firstPosition = key;
              break;
          }
          
          var position = this.positionBlocks[firstPosition];
          for (var i = 0; i < position.blocks.length; i++) {
  
              var block = {};
              this.blocks.push(block);
  
              var divId = this.id + '_FrameDecorationDiv_' + i;
              block.div = OpenLayers.Util.createDiv(divId, 
                  null, null, null, "absolute", null, "hidden", null
              );
  
              var imgId = this.id + '_FrameDecorationImg_' + i;
              var imageCreator = 
                  (this.isAlphaImage) ? OpenLayers.Util.createAlphaImageDiv
                                      : OpenLayers.Util.createImage;
  
              block.image = imageCreator(imgId, 
                  null, this.imageSize, this.imageSrc, 
                  "absolute", null, null, null
              );
  
              block.div.appendChild(block.image);
              this.groupDiv.appendChild(block.div);
          }
      }
docs: Method: createBlocks