tinyMCE.init({
    mode : "specific_textareas",
    plugins : "paste,spellchecker",
    editor_selector : "mceEditor",
    theme : "advanced",
    theme_advanced_toolbar_location : "top",
    theme_advanced_buttons1 : "pasteword,bold,italic,charmap,code,spellchecker",
    theme_advanced_buttons2 : "",
    theme_advanced_buttons3 : "",
    theme_advanced_statusbar_location : "bottom",
    theme_advanced_path : false,
    valid_elements : "a[href|target=_blank|title]," +
      "-strong/-b," + 
      "-em/-i," + 
      "br," + 
      "#p," + 
      "-sub," + 
      "-sup," + 
      "-blockquote",
	forced_root_block : 'p',
    cleanup : true,
    content_css : "interface.css",
    setup : function( ed ) {
      ed.onKeyUp.add( function( ed, e ) {   
	  var strip = (tinyMCE.activeEditor.getContent()).replace( /<p>/ig, " <p>" ).replace(/(<([^>]+)>)/ig,"");
	  var text = (strip.split(' ').length - 1) + " Words, " +  strip.length + " Characters";
	  tinymce.DOM.setHTML(tinymce.DOM.get(tinyMCE.activeEditor.id + '_path_row'), text); 
	});
    }
  });
