WINDOW,
                 url: self.url("main.htm"),
               state: view.WINDOW_SHOWN,
               width: 800,
              height: 600,
           alignment: 5 // center of the screen  
        };
      });      
      
      $(form#native-test).on("change", function() {
        var v = this.value;
		if (v.a && v.b)
		{
          var res = view.api.math.sum(v.a, v.b);
          this.value = { r: res };
		}
        return true;
      });
 
    </script>
  </head>
<body> 
  <button #test>打开另�