} else {  doc->SetTooltipNode ( self->mPossibleTooltipNode ); self->LaunchPopup ( self->mMouseClientX, self->mMouseClientY+16);
XULPopupListenerImpl :: sTooltipCallback (nsITimer *aTimer, void *aClosure){  XULPopupListenerImpl* self = NS_STATIC_CAST(XULPopupListenerImpl*, aClosure);  if ( self ) {    // set the node in the document that triggered the tooltip and show it    nsCOMPtr<nsIDOMXULDocument> doc;    self->FindDocumentForNode ( self->mPossibleTooltipNode, getter_AddRefs(doc) );    if ( doc ) {      nsCOMPtr<nsIDOMElement> element ( do_QueryInterface(self->mPossibleTooltipNode) );      if ( element ) {        // check that node is enabled before showing tooltip        nsAutoString disabledState;        element->GetAttribute ( "disabled", disabledState );        if ( disabledState != "true" ) {          doc->SetTooltipElement ( element );                  self->LaunchPopup (element, self->mMouseClientX, self->mMouseClientY+16);        } // if node enabled      }    } // if document  } // if "self" data valid  } // sTimerCallback