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.

23 lines
651 B

  1. function UpgradeNow() {
  2. // reformat ?website=mywebsite&bla=... to 'http://mywebsite?bla=...'
  3. var querypart = window.location.search;
  4. var websiteKeyword = "website=";
  5. var websiteIndex = querypart.indexOf(websiteKeyword)+websiteKeyword.length;
  6. var website = querypart.substring( websiteIndex );
  7. var newURL = "http://"+website;
  8. alert("debug info->Calling website "+newURL);
  9. window.navigate( newURL );
  10. }
  11. function UpgradeLater() {
  12. var oWShell = new ActiveXObject( "WScript.Shell" )
  13. oWShell.Run( "dvdupgrd /remove" );
  14. pchealth.Close();
  15. }
  16. function OnLoad() {
  17. trg.style.setExpression( "left", document.body.clientWidth - trg.offsetWidth );
  18. }