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
3.6 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(headerimagesbannertext, headerisapihomemenuitem, headerincmicrosofthomemenuitem) ;
  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", heaerincallproductsmenuitem, "", headerincallproductslinktext);
  19. addMSSubMenu("ProductsMenu", headerincdownloadsdownloadsmenuitem, headerincdownloadslinktext);
  20. addMSSubMenu("ProductsMenu", headerincmsproductcatalogmenuitem, headerincmsproductcatalogtext);
  21. addMSSubMenu("ProductsMenu", headerincmicrosoftaccessibilitymenuitem,headerincmicrosoftaccessibilitytext);
  22. addMSSubMenuLine("ProductsMenu");
  23. addMSSubMenu("ProductsMenu", headerincserverproductsmenuitem, headerincserverproductstext);
  24. addMSSubMenu("ProductsMenu", headerincdevelopertoolsmenuitem, headerincdevelopertoolstext);
  25. addMSSubMenu("ProductsMenu", headerincofficefamilymenuitem, headerincofficefamilytext);
  26. addMSSubMenu("ProductsMenu", headerincwindowsfamilymenuitem, headerincwindowsfamilytext);
  27. addMSSubMenu("ProductsMenu", headerincmsnlinkmenuitem, headerincmsnlinktext);
  28. //SupportMenu
  29. addMSMenu("SupportMenu", headerincsupportlinkmenuitem, "", headerincsupportlinktext);
  30. addMSSubMenu("SupportMenu", headerincknowledgebasemenuitem, headerincknowledgebasetext);
  31. addMSSubMenu("SupportMenu", headerincproductsupportoptionsmenuitem, headerincproductsupportoptionstext);
  32. addMSSubMenu("SupportMenu", headerincservicepartnerreferralsmenuitem, headerincservicepartnerreferralstext);
  33. //SearchMenu
  34. addMSMenu("SearchMenu", headerincsearchlinkmenuitem, "", headerincsearchlinktext);
  35. addMSSubMenu("SearchMenu", headerincsearchmicrosoftmenuitem, headerincsearchmicrosofttext);
  36. addMSSubMenu("SearchMenu", headerincmsnwebsearchmenuitem, headerincmsnwebsearchtext);
  37. //MicrosoftMenu
  38. addMSMenu("MicrosoftMenu", headerincmicrosoftcomguidemenuitem, "", headerincmicrosoftcomguidetext);
  39. addMSSubMenu("MicrosoftMenu", headerincmicrosoftcomhomemenuitem, headerincmicrosoftcomhometext);
  40. addMSSubMenu("MicrosoftMenu", headerincmsnhomemenuitem, headerincmsnhometext);
  41. addMSSubMenuLine("MicrosoftMenu");
  42. addMSSubMenu("MicrosoftMenu", headerinccontactusmenuitem, headerinccontactustext);
  43. addMSSubMenu("MicrosoftMenu", headerinceventslinkmenuitem, headerinceventslinktext);
  44. addMSSubMenu("MicrosoftMenu", headerincnewsletterslinkmenuitem, headerincnewsletterslinktext);
  45. addMSSubMenu("MicrosoftMenu", headerincprofilecentermenuitem, headerincprofilecentertext);
  46. addMSSubMenu("MicrosoftMenu", headerinctrainingcertificationmenuitem, headerinctrainingcertificationtext);
  47. addMSSubMenu("MicrosoftMenu", headerincfreemailaccountmenuitem, headerincfreemailaccounttext);
  48. addMSFooterMenu(headerincmicrosoftrightsreservedtext, "");
  49. addMSFooterMenu(headerinctermsofusemenuitem, headerinctermsofusetext)
  50. addMSFooterMenu(headerincprivacystatementmenuitem, headerincprivacystatementtext);
  51. addMSFooterMenu(headerincaccessibilitylinkmenuitem, headerincaccessibilitylinktext)
  52. }