function render_editor()
 {
     include_once wysiwygPro_DIR . 'config.php';
     include_once wysiwygPro_DIR . 'editor_class.php';
     $editor = new wysiwygPro();
     $editor->set_name($this->_process_name_attribute($this->get_attribute('name')));
     $editor->set_code($this->get_value());
     if (!($width = $this->get_attribute('width'))) {
         $width = RICHEDIT_DEFAULT_WIDTH;
     }
     if (!($height = $this->get_attribute('height'))) {
         $height = RICHEDIT_DEFAULT_HEIGHT;
     }
     if ($editor->is_ie55 || $editor->is_ie50) {
         echo "<script type='text/javascript' src='" . WP_WEB_DIRECTORY . "/js/LimbScriptIE.js'></script>";
         $editor->addbutton('Insert Image from Repository', 'after:image', 'open_limb_image_window(##name##, this)', '##directory##/images/limb_image.gif', 22, 22, 'limb_image');
         $editor->addbutton('Insert File from Repository', 'after:link', 'open_limb_file_window(##name##, this)', '##directory##/images/limb_file.gif', 22, 22, 'limb_file');
     } elseif ($editor->is_gecko) {
         echo "<script type='text/javascript' src='" . WP_WEB_DIRECTORY . "/js/LimbScriptMozilla.js'></script>";
         $editor->addbutton('Insert Image from Repository', 'after:image', 'open_limb_image_window(##name##, this)', '##directory##/images/limb_image.gif', 22, 22, 'limb_image');
         $editor->addbutton('Insert File from Repository', 'after:link', 'open_limb_file_window(##name##, this)', '##directory##/images/limb_file.gif', 22, 22, 'limb_file');
     }
     $editor->set_stylesheet('/design/main/styles/main.css');
     $editor->usep(true);
     $editor->print_editor($width, $height);
 }