//打开没有菜单,没有工具栏并位置居于屏幕中央的新窗口
function hsOpenWindows(url,winName,widthStr,heightStr)
  var toTop ;
  var toLeft ;
  var sw = screen.width ;
  var sh = screen.height ;  if (widthStr == '') widthStr = 0 ;
  if (heightStr == '') heightStr = 0 ;  toTop = parseInt((sh - heightStr)/2)-20 ;
  toLeft = parseInt((sw - widthStr )/2) ;
  //alert(toTop + '+' + toLeft) ;
  window.open(url,"", "height=" + heightStr + ",width=" + widthStr + ",status=no,toolbar=no,menubar=no,location=no,scrollbars=yes,resizable=no,left=" + toLeft + ",top=" +toTop + ",'true'")
}