function openWindow(url, options){
  this.options = $H({
      width: 580,
      height: 450,
      location: 1,
      status: 0,
      scrollbars: 0,
      toolbar: 0,
      menubar: 0,
      resizable: 1,
      window: "myWindow",
      url: url
    }).merge(options);
    
  //Open the window
  window.open(
    this.options.get('url'),
    this.options.get('window'),
    "location="+this.options.get('location')
    +",status="+this.options.get('status')
    +",toolbar="+this.options.get('toolbar')
    +",menubar="+this.options.get('menubar')
    +",resizable="+this.options.get('resizable')
    +",scrollbars="+this.options.get('scrollbars')
    +",width="+this.options.get('width')
    +",height="+this.options.get('height')
  );
}
