if (CheckColorAndStrip(ioWidgetIDString, outColor)) { outType = nsPrefWindow::eColor; return PR_TRUE; }
static PRBool ParseElementIDString(    nsString& ioWidgetIDString,    nsPrefWindow::TypeOfPref& outType,    PRInt16& outOrdinal)// If the id in the HTML is "pref:bool:general.startup.browser".//     outType will be set to eBool//     ioWidgetIDString will be modified to "general.startup.browser".//----------------------------------------------------------------------------------------{    if (!CheckAndStrip(ioWidgetIDString, "pref:"))        return PR_FALSE;    if (!CheckOrdinalAndStrip(ioWidgetIDString, outOrdinal))        return PR_FALSE;    if (CheckAndStrip(ioWidgetIDString, "bool:"))    {        outType = nsPrefWindow::eBool;        return PR_TRUE;    }    if (CheckAndStrip(ioWidgetIDString, "int:"))    {        outType = nsPrefWindow::eInt;        return PR_TRUE;    }    if (CheckAndStrip(ioWidgetIDString, "string:"))    {        outType = nsPrefWindow::eString;        return PR_TRUE;    }    if (CheckAndStrip(ioWidgetIDString, "path:"))    {        outType = nsPrefWindow::ePath;        return PR_TRUE;    }    return PR_FALSE;} // ParseElementIDString