/**
  *
  * @staticvar \MUtil_Html_HtmlElement $blank What to display when blank
  * @param \MUtil_Html_HtmlElement $td      The element / cell to add the conditional link
  * @param \MUtil_Model_Bridge_TableBridge $bridge
  * @param string $icon                    Name of icon file
  * @param \Gems_Menu_SubMenuItem $menuItem The menu item to add
  * @param mixed $options                  Other values for for link (not used for blank)
  * @return void
  */
 protected function addFileImage(\MUtil_Html_HtmlElement $td, \MUtil_Model_Bridge_TableBridge $bridge, $icon, \Gems_Menu_SubMenuItem $menuItem = null, $options = null)
 {
     static $blank;
     if (!$menuItem) {
         return;
     }
     if (!$blank) {
         $blank = \MUtil_Html::create('img', array('src' => 'blank.png', 'alt' => '', 'class' => 'file-icon'));
     }
     $href = $menuItem->toHRefAttribute($this->request, $bridge);
     $title = array(strtolower($menuItem->get('label')), $bridge->relpath);
     $img = \MUtil_Html::create('img', array('src' => $icon, 'alt' => $title, 'class' => 'file-icon'));
     $td->iflink($href, array($href, $img, array('title' => $title), $options), $blank);
 }