Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

62 lines
4.0 KiB

  1. var ToolBar_Supported = ToolBar_Supported ;
  2. if (ToolBar_Supported != null && ToolBar_Supported == true)
  3. {
  4. //To Turn on/off Instrumentation set DoInstrumentation = true/false.
  5. DoInstrumentation= false;
  6. // Customize default MS menu color - bgColor, fontColor, mouseoverColor
  7. setDefaultMSMenuColor("#000000", "#FFFFFF", "#AEB2FE");
  8. // Customize toolbar background color
  9. setToolbarBGColor("white");
  10. // display default ICP Banner
  11. setICPBanner(L_headerimagesbannertext_TEXT, L_headerisapihomemenuitem_TEXT, L_headerincmicrosofthomemenuitem_TEXT) ;
  12. // display MSCOM Banner
  13. //setMSBanner("mslogo.gif", "http://www.microsoft.com/isapi/gomscom.asp?target=/", "microsoft.com Home") ;
  14. // display ADS
  15. //setAds("http://www.microsoft.com/library/toolbar/images/ADS/ad.gif","","") ;
  16. //***** Add Standard Microsoft.com menus *****
  17. //ProductsMenu
  18. addMSMenu("ProductsMenu", L_headerincallproductsmenuitem_TEXT, "", L_headerincallproductslinktext_TEXT);
  19. addMSSubMenu("ProductsMenu", L_headerincdownloadsdownloadsmenuitem_TEXT, L_headerincdownloadslinktext_TEXT);
  20. addMSSubMenu("ProductsMenu", L_headerincmsproductcatalogmenuitem_TEXT, L_headerincmsproductcatalogtext_TEXT);
  21. addMSSubMenu("ProductsMenu", L_headerincmicrosoftaccessibilitymenuitem_TEXT,L_headerincmicrosoftaccessibilitytext_TEXT);
  22. addMSSubMenuLine("ProductsMenu");
  23. addMSSubMenu("ProductsMenu", L_headerincserverproductsmenuitem_TEXT, L_headerincserverproductstext_TEXT);
  24. addMSSubMenu("ProductsMenu", L_headerincdevelopertoolsmenuitem_TEXT, L_headerincdevelopertoolstext_TEXT);
  25. addMSSubMenu("ProductsMenu", L_headerincofficefamilymenuitem_TEXT, L_headerincofficefamilytext_TEXT);
  26. addMSSubMenu("ProductsMenu", L_headerincwindowsfamilymenuitem_TEXT, L_headerincwindowsfamilytext_TEXT);
  27. addMSSubMenu("ProductsMenu", L_headerincmsnlinkmenuitem_TEXT, L_headerincmsnlinktext_TEXT);
  28. //SupportMenu
  29. addMSMenu("SupportMenu", L_headerincsupportlinkmenuitem_TEXT, "", L_headerincsupportlinktext_TEXT);
  30. addMSSubMenu("SupportMenu", L_headerincknowledgebasemenuitem_TEXT, L_headerincknowledgebasetext_TEXT);
  31. addMSSubMenu("SupportMenu", L_headerincproductsupportoptionsmenuitem_TEXT, L_headerincproductsupportoptionstext_TEXT);
  32. addMSSubMenu("SupportMenu", L_headerincservicepartnerreferralsmenuitem_TEXT, L_headerincservicepartnerreferralstext_TEXT);
  33. //SearchMenu
  34. addMSMenu("SearchMenu", L_headerincsearchlinkmenuitem_TEXT, "", L_headerincsearchlinktext_TEXT);
  35. addMSSubMenu("SearchMenu", L_headerincsearchmicrosoftmenuitem_TEXT, L_headerincsearchmicrosofttext_TEXT);
  36. addMSSubMenu("SearchMenu", L_headerincmsnwebsearchmenuitem_TEXT, L_headerincmsnwebsearchtext_TEXT);
  37. //MicrosoftMenu
  38. addMSMenu("MicrosoftMenu", L_headerincmicrosoftcomguidemenuitem_TEXT, "", L_headerincmicrosoftcomguidetext_TEXT);
  39. addMSSubMenu("MicrosoftMenu", L_headerincmicrosoftcomhomemenuitem_TEXT, L_headerincmicrosoftcomhometext_TEXT);
  40. addMSSubMenu("MicrosoftMenu", L_headerincmsnhomemenuitem_TEXT, L_headerincmsnhometext_TEXT);
  41. addMSSubMenuLine("MicrosoftMenu");
  42. addMSSubMenu("MicrosoftMenu", L_headerinccontactusmenuitem_TEXT, L_headerinccontactustext_TEXT);
  43. addMSSubMenu("MicrosoftMenu", L_headerinceventslinkmenuitem_TEXT, L_headerinceventslinktext_TEXT);
  44. addMSSubMenu("MicrosoftMenu", L_headerincnewsletterslinkmenuitem_TEXT, L_headerincnewsletterslinktext_TEXT);
  45. addMSSubMenu("MicrosoftMenu", L_headerincprofilecentermenuitem_TEXT, L_headerincprofilecentertext_TEXT);
  46. addMSSubMenu("MicrosoftMenu", L_headerinctrainingcertificationmenuitem_TEXT, L_headerinctrainingcertificationtext_TEXT);
  47. addMSSubMenu("MicrosoftMenu", L_headerincfreemailaccountmenuitem_TEXT, L_headerincfreemailaccounttext_TEXT);
  48. addMSFooterMenu(L_headerincmicrosoftrightsreservedtext_TEXT, "");
  49. addMSFooterMenu(L_headerinctermsofusemenuitem_TEXT, L_headerinctermsofusetext_TEXT)
  50. addMSFooterMenu(L_headerincprivacystatementmenuitem_TEXT, L_headerincprivacystatementtext_TEXT);
  51. addMSFooterMenu(L_headerincaccessibilitylinkmenuitem_TEXT, L_headerincaccessibilitylinktext_TEXT)
  52. }