moz->MyBrowser->WebBrowserContainer->GetPIDOMWindow( getter_AddRefs( piWin ) );
moz->EmbedRef->GetPIDOMWindow( getter_AddRefs( piWin ) );
static int child_getting_focus( PtWidget_t *widget, PtWidget_t *child, PhEvent_t *ev ) {	PtMozillaWidget_t *moz = (PtMozillaWidget_t *) widget;	nsCOMPtr<nsPIDOMWindow> piWin;	moz->MyBrowser->WebBrowserContainer->GetPIDOMWindow( getter_AddRefs( piWin ) );	if( !piWin ) return Pt_CONTINUE;	nsCOMPtr<nsIFocusController> focusController;	piWin->GetRootFocusController(getter_AddRefs(focusController));	if( focusController ) focusController->SetActive( PR_TRUE );	return Pt_CONTINUE;	}