Source code of Windows XP (NT5)
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.

87 lines
1.2 KiB

  1. <HTML>
  2. <HEAD>
  3. <STYLE>
  4. BODY {
  5. margin: 0;
  6. background-color: black;
  7. font-family: Verdana;
  8. }
  9. BUTTON {
  10. font-family: "MS Sans Serif";
  11. font-size: 8pt;
  12. width: 80;
  13. }
  14. </STYLE>
  15. </HEAD>
  16. <BODY BGCOLOR=black class=body>
  17. <!--CALL WINDOW.EXTERNAL-->
  18. <SCRIPT>
  19. function DoCancel()
  20. {
  21. window.external.Cancel();
  22. }
  23. function DoExisting()
  24. {
  25. window.external.Existing();
  26. }
  27. </SCRIPT>
  28. <SCRIPT>
  29. var iTimerID;
  30. <!--REQUIRED FUNCTION PROTOTYPE :: DO NOT ALTER-->
  31. function DisableCancel(bDisabled)
  32. {
  33. g_btnCancel.disabled = bDisabled;
  34. if(bDisabled)
  35. iTimerID = setTimeout("DisableCancel(false);" , 6000);
  36. else
  37. clearTimeout(iTimerID);
  38. }
  39. </SCRIPT>
  40. <SCRIPT>
  41. <!--REQUIRED FUNCTION PROTOTYPE :: DO NOT ALTER-->
  42. function HideExisting(bHide)
  43. {
  44. if(bHide)
  45. g_btnExisting.style.visibility = "hidden";
  46. else
  47. g_btnExisting.style.visibility = "visible";
  48. }
  49. </SCRIPT>
  50. </SCRIPT>
  51. <table cellspacing=0 cellpadding=0>
  52. <tr>
  53. <td width=410>
  54. <br>
  55. <br>
  56. </td>
  57. <td width=85 align=right>
  58. <BUTTON onclick="DoExisting();"
  59. ID=g_btnExisting
  60. >
  61. Use Existing
  62. </BUTTON>
  63. </td>
  64. <td width=85 align=right>
  65. <BUTTON onclick="DoCancel();"
  66. ID=g_btnCancel
  67. >
  68. Cancel
  69. </BUTTON>
  70. </td>
  71. </tr>
  72. </table>
  73. </BODY>
  74. </HTML>