application.core.extend({
  news: {  
    Newsletter: function(config) {
	  this.storeConfig({ 
	    form: '#newsletterForm'
	  }, config);		
		
	  return this.init();
    }
  }
});

application.core.extend(
  application.news.Newsletter.prototype, 
  application.base.Base.prototype, 
  {  
  	init: function() {
	  this.ready(function() {
		this.setProp('form', $(this.retrieveConfigValue('form')));
	
		this.setupClearText();
	  });
	  
	  return this;	
	},
	
	setupClearText: function() {
	  application.ui.clearText(this.getProp('form').find('input.text'));	
	}
  }  
);   