kEventsAtom  = NS_NewAtom("events"); kTargetsAtom = NS_NewAtom("targets");
nsXULContentUtils::Init(){    if (gRefCnt++ == 0) {        nsresult rv;        rv = nsServiceManager::GetService(kRDFServiceCID,                                          nsCOMTypeInfo<nsIRDFService>::GetIID(),                                          (nsISupports**) &gRDF);        if (NS_FAILED(rv)) return rv;        rv = nsComponentManager::CreateInstance(kNameSpaceManagerCID,                                                nsnull,                                                nsCOMTypeInfo<nsINameSpaceManager>::GetIID(),                                                (void**) &gNameSpaceManager);        if (NS_FAILED(rv)) return rv;        rv = nsComponentManager::CreateInstance(kDateTimeFormatCID,                                                nsnull,                                                nsCOMTypeInfo<nsIDateTimeFormat>::GetIID(),                                                (void**) &gFormat);        if (NS_FAILED(rv)) return rv;    }    return NS_OK;}