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.

57 lines
1.7 KiB

  1. var g_sconnectImgDir="images/";
  2. ///////////////////////////////////////////////////////////
  3. // msobshel.htm - initialization
  4. ///////////////////////////////////////////////////////////
  5. function sconnect_InitSimpleNavMap()
  6. {
  7. var sconnect_dir="html\\sconnect\\";
  8. g_SimpleNavMap.Add("sconnect.htm", sconnect_dir+"scntlast.htm");
  9. }
  10. ///////////////////////////////////////////////////////////
  11. // sconnect.htm
  12. ///////////////////////////////////////////////////////////
  13. function sconnectFirstPage_LoadMe()
  14. {
  15. InitFrameRef('External');
  16. InitNewButtons();
  17. if (g.btnNext != null)
  18. g_FirstFocusElement = g.btnNext;
  19. else
  20. if (g.btnSkip != null)
  21. g_FirstFocusElement = g.btnSkip;
  22. else
  23. if (g.btnBack != null)
  24. g_FirstFocusElement = g.btnBack;
  25. if (g_FirstFocusElement != null)
  26. g_FirstFocusElement.focus();
  27. else
  28. g.document.body.focus();
  29. }
  30. ///////////////////////////////////////////////////////////
  31. // for interior pages
  32. ///////////////////////////////////////////////////////////
  33. function sconnectInteriorPage_LoadMe()
  34. {
  35. InitFrameRef('External');
  36. g_FirstFocusElement = g.btnNext;
  37. InitButtons("SimpleBack", "SimpleNext");
  38. g_FirstFocusElement.focus();
  39. }
  40. ///////////////////////////////////////////////////////////
  41. // scntlast.htm
  42. ///////////////////////////////////////////////////////////
  43. function sconnectLastPage_LoadMe() {
  44. InitFrameRef('External');
  45. g_FirstFocusElement = g.btnNext;
  46. // we will not use simpleback or simpleNext because we want the page to go directly to next checkpoint.
  47. InitNewButtons();
  48. g_FirstFocusElement.focus();
  49. }