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.

39 lines
914 B

  1. function PageInit()
  2. {
  3. top.window.PopulateLeftPane();
  4. idWelcome.ttText = top.window.L_Welcome_ToolTip;
  5. idStart.ttText = top.window.L_Start_ToolTip;
  6. var szName = top.window.g_szNewName;
  7. if (szName && szName.length)
  8. {
  9. idNameInput.value = szName;
  10. idNameInput.createTextRange().select();
  11. }
  12. idNameInput.focus();
  13. }
  14. function Next()
  15. {
  16. var szName = GetText(idNameInput);
  17. if (szName.length)
  18. {
  19. var szMsg = ValidateAccountName(szName);
  20. if (szMsg)
  21. {
  22. alert(szMsg);
  23. idNameInput.createTextRange().select();
  24. idNameInput.focus();
  25. }
  26. else
  27. {
  28. top.window.g_szNewName = szName;
  29. top.window.g_iNewType = null;
  30. top.window.g_Navigator.navigate("createpage2.htm");
  31. }
  32. }
  33. else
  34. idNameInput.focus();
  35. }