PRUint32 length = 0; GetLength(&length);
NS_IF_ADDREF(*aReturn = option);
nsHTMLOptionCollection::Item(PRUint32 aIndex, nsIDOMNode** aReturn){  *aReturn = nsnull;  PRUint32 length = 0;  GetLength(&length);  nsresult rv = NS_OK;  if (aIndex < length) {    rv = mElements->QueryElementAt(aIndex,                                   NS_GET_IID(nsIDOMNode),                                   (void**)aReturn);  }  return rv;}