/**
 * Generates HTML closing </XX> tag - if passed the id or class attribute
 * used for the opening tag, will append a comment
 *
 *@access protected
 * @param string $tag
 * @param string $id - html id attribute
 * @param string $class - html class attribute
 * @param bool   $indent
 * @return string
 */
 protected static function _close_tag($tag = 'div', $id = '', $class = '', $indent = TRUE)
 {
     $comment = '';
     if ($id) {
         $comment = EEH_HTML::comment('close ' . $id) . EEH_HTML::nl(0, $tag);
     } else {
         if ($class) {
             $comment = EEH_HTML::comment('close ' . $class) . EEH_HTML::nl(0, $tag);
         }
     }
     $html = $indent ? EEH_HTML::nl(-1, $tag) : '';
     $html .= '</' . $tag . '>' . $comment;
     return $html;
 }