
Filter = function(name) {

  this.name = name;

}

Filter.prototype.init = function()
{
  var self = this;
  
  var textbox = $('#'+this.name);
  var div = $('#'+this.name+'Filter');
  
  var textboxHeight = textbox.height();
  
  textbox.value = div;
  
  $(textbox).rte({
    cssUrl: "/css/filter.css",
    width: '100%',
    height: textboxHeight+'px'
  });
  
  //Style and hide
  //div.css('height',textboxHeight);
  //textbox.hide();
  
  //Observe
}



