gRDFService->GetResource(NC_NAMESPACE_URI "SearchCategoryRoot",  &kNC_SearchCategoryRoot);
gRDFService->GetResource(kURINC_FilterSearchURLsRoot,            &kNC_FilterSearchURLsRoot); gRDFService->GetResource(kURINC_FilterSearchSitesRoot,           &kNC_FilterSearchSitesRoot); gRDFService->GetResource(kURINC_SearchCategoryRoot,              &kNC_SearchCategoryRoot); gRDFService->GetResource(NC_NAMESPACE_URI "SearchMode",          &kNC_LastSearchMode);  gRDFService->GetResource(NC_NAMESPACE_URI "searchtype",          &kNC_SearchType); gRDFService->GetResource(NC_NAMESPACE_URI "SearchResult",        &kNC_SearchResult);
InternetSearchDataSource::InternetSearchDataSource(void){	NS_INIT_REFCNT();	if (gRefCnt++ == 0)	{		nsresult rv = nsServiceManager::GetService(kRDFServiceCID,			nsIRDFService::GetIID(), (nsISupports**) &gRDFService);		PR_ASSERT(NS_SUCCEEDED(rv));		rv = NS_NewISupportsArray(getter_AddRefs(mConnections));		gRDFService->GetResource(kURINC_SearchEngineRoot,                &kNC_SearchEngineRoot);		gRDFService->GetResource(kURINC_LastSearchRoot,                  &kNC_LastSearchRoot);		gRDFService->GetResource(kURINC_SearchResultsSitesRoot,          &kNC_SearchResultsSitesRoot);		gRDFService->GetResource(NC_NAMESPACE_URI "SearchCategoryRoot",  &kNC_SearchCategoryRoot);		gRDFService->GetResource(NC_NAMESPACE_URI "ref",                 &kNC_Ref);		gRDFService->GetResource(NC_NAMESPACE_URI "child",               &kNC_Child);		gRDFService->GetResource(NC_NAMESPACE_URI "data",                &kNC_Data);		gRDFService->GetResource(NC_NAMESPACE_URI "Name",                &kNC_Name);		gRDFService->GetResource(NC_NAMESPACE_URI "URL",                 &kNC_URL);		gRDFService->GetResource(RDF_NAMESPACE_URI "instanceOf",         &kRDF_InstanceOf);		gRDFService->GetResource(RDF_NAMESPACE_URI "type",               &kRDF_type);		gRDFService->GetResource(NC_NAMESPACE_URI "loading",             &kNC_loading);		gRDFService->GetResource(NC_NAMESPACE_URI "HTML",                &kNC_HTML);		gRDFService->GetResource(NC_NAMESPACE_URI "Icon",                &kNC_Icon);		gRDFService->GetResource(NC_NAMESPACE_URI "StatusIcon",          &kNC_StatusIcon);		gRDFService->GetResource(NC_NAMESPACE_URI "Banner",              &kNC_Banner);		gRDFService->GetResource(NC_NAMESPACE_URI "Site",                &kNC_Site);		gRDFService->GetResource(NC_NAMESPACE_URI "Relevance",           &kNC_Relevance);		gRDFService->GetResource(NC_NAMESPACE_URI "Relevance?sort=true", &kNC_RelevanceSort);		gRDFService->GetResource(NC_NAMESPACE_URI "Engine",              &kNC_Engine);	}}