sInstanceCount--;
nsSelection::~nsSelection() {  if (sInstanceCount <= 1)  {    NS_IF_RELEASE(sTableAtom);    NS_IF_RELEASE(sRowAtom);    NS_IF_RELEASE(sCellAtom);    NS_IF_RELEASE(sTbodyAtom);  }  PRInt32 i;  for (i = 0;i<nsISelectionController::NUM_SELECTIONTYPES;i++){    if (mDomSelections[i])        NS_IF_RELEASE(mDomSelections[i]);  }  sInstanceCount--;}