PRBool useViewManager2 = PR_FALSE;
PRBool useViewManager2 = PR_TRUE;
static NS_IMETHODIMP ViewManagerConstructor(nsISupports *aOuter, REFNSIID aIID, void **aResult){	PRBool useViewManager2 = PR_FALSE;	nsresult rv;	NS_WITH_SERVICE(nsIPref, prefs, NS_PREF_PROGID, &rv);	if (NS_SUCCEEDED(rv))		prefs->GetBoolPref("nglayout.view.useViewManager2", &useViewManager2);	if (useViewManager2)		return nsViewManager2Constructor(aOuter, aIID, aResult);	else		return nsViewManagerConstructor(aOuter, aIID, aResult);}