<html>
  <head>
    <script language="JavaScript">
// Init main window
Sash.WindowApp.MainWindow.TitleText = "Hello World";
Sash.WindowApp.MainWindow.Visible = true;

// Show OS version on status bar
//Sash.WindowApp.MainWindow.StatusVisible = true;
//Sash.WindowApp.MainWindow.StatusText =
//  "2Running on " + Sash.Core.Platform.OS;

with (Sash.WindowApp.MainWindow) {
  StatusVisible = true;
  StatusText = "3Running on " + Sash.Core.Platform.OS;
}

// Action triggered by the click of a button.
function showGreeting(str) { // Arg unused
  // Get the text box object
  var box = document.getElementById("box");
  var name = "world"; // Default value of greetee
  if (box.value != "") {
    name = box.value;
  }
  var message = "Hello, " + name;
  var title = "Greetings!";
  // Pops up message box with OK button
  Sash.Core.UI.MessageBox(message, title,
    Sash.Core.UI.MB_OK);
}
    </script>
  </head>

<body>
<!-- Actual HTML form shown by browser -->
<P>Enter a name:<br>
<