function ContentPane() {
  this.contentElement = null;
  this.roundedBox = null;
  this.menu = null;
  this.parentElement = $('body')[0];
}

ContentPane.prototype.init = function(o) {
  var _this = this;
  var itemNo=0;
  if (o) {
    if (o.menuItemNo) {itemNo=o.menuItemNo;};
    if (o.parentElement) {this.parentElement=o.parentElement;};
  }
  var menuItem = this.menu.items[itemNo];
  this.menu.setActiveItem(menuItem);
   
  $(document).ready(function(){
    _this.menu.highlightActiveItem();
    _this.roundedBox = new RoundedBox({parentElement:_this.parentElement, type:'white40'});
    $(_this.roundedBox.wrapperElement).addClass('contentPane');
    _this.contentElement = $(_this.roundedBox.contentElement);
    menuItem.toggleContentPane();
 });
};

