webshellElement->GetAttribute(inAttribute.GetUnicode(), outValue );
webshellElement->GetAttribute(inAttribute, outValue );
void GetAttribute( nsIXULWindow* inWindow, const nsAutoString& inAttribute, nsAutoString& outValue ){  nsCOMPtr<nsIDocShell> shell;  if ( inWindow &&  		NS_SUCCEEDED(inWindow->GetDocShell(getter_AddRefs(shell))))  {  		nsCOMPtr<nsIDOMNode> node( GetDOMNodeFromDocShell ( shell ) ); 			  if (node )	  {	  	nsCOMPtr<nsIDOMElement> webshellElement( do_QueryInterface(node));  		if ( webshellElement.get() )  			webshellElement->GetAttribute(inAttribute.GetUnicode(), outValue );  	  }  }}