PR_TRUE,
PR_TRUE, PR_TRUE,
nsIWebShellWindow* FindWebShellWindow(nsIXULWindowCallbacks* inCallbacks)//----------------------------------------------------------------------------------------{	// Temporary - we'll create a brand new window EVERY time.	nsresult rv;	NS_WITH_SERVICE(nsIAppShellService, appShellService, kAppShellServiceCID, &rv);	if (NS_FAILED(rv))		return nsnull;	const PRInt32 windowWidth  = 615;	const PRInt32 windowHeight = 650;	nsCOMPtr<nsIURI> urlObj;    char * urlStr = "chrome://navigator/content";#ifndef NECKO	rv = NS_NewURL(getter_AddRefs(urlObj), urlStr);#else    NS_WITH_SERVICE(nsIIOService, service, kIOServiceCID, &rv);    if (NS_FAILED(rv)) return nsnull;    nsIURI *uri = nsnull;    rv = service->NewURI(urlStr, nsnull, &uri);    if (NS_FAILED(rv)) return nsnull;    rv = uri->QueryInterface(nsIURI::GetIID(), (void**)&urlObj);    NS_RELEASE(uri);#endif // NECKO	if (NS_FAILED(rv))		return nsnull;	nsIWebShellWindow *aWindow = nsnull;			// we will return the window AddRefed	rv = appShellService->CreateTopLevelWindow(    	nsnull,    	urlObj, // nsIURI* of chrome    	PR_TRUE,        NS_CHROME_ALL_CHROME,        inCallbacks, // callbacks        NS_SIZETOCONTENT, NS_SIZETOCONTENT,    	&aWindow);	if (NS_FAILED(rv))		return nsnull;	return aWindow;}