     var Cart = Class.create()Cart.prototype = {     initialize: function(name, title, nurl, status) {     var w=675     var h=450     var wh = centerObject(window,w,h)     var win = new Window(          name, {          className: "alphacube",          title: title,          width: w,          height: h,          left: wh[0],          top: wh[1],          resizable: false,          minimizable: false,          maximizable: false,          closeable: true,          draggable: false,          destroyOnClose: true,          url: nurl          }     )     var closeable = function() {          return (true)          }     win.setDestroyOnClose()     win.showCenter(true)     win.setCloseCallback(closeable)     this.win = win     this.name = name     this.status = status     },     getWin: function() {          return (this.win)     },     getId: function() {          return(this.win.getId())     },     getName: function() {          return (this.name)     },     getStatus: function() {          return (this.status)     },     close: function() {          Windows.close(this.name)     },     hide: function() {          $(this.win.getId()).style.visibility = "hidden"     },     show: function() {          $(this.win.getId()).style.visibility = "visible"     },     resize: function() {          this.win.updateHeight()          this.win.updateWidth()     },     size: function() {          var dimen = new Array          dimen = this.win.getSize()          alert(dimen["width"]+ "x" + dimen["height"])     },     newSize: function(h,w) {          var dimen = new Array          dimen = this.win.getSize()          this.win.setSize(dimen["width"]+w,dimen["height"]+h)     }}