// global variable to hold name of bid review window
var bidwin = null;

function openwin(path)
  {
  // initialize winX and winY to default values
  // for cases where Screen object isn't supported 
  var winX = 50;
  var winY = 50;
  var resize = "";
  var scroll = "";
  // only set new values if 4.0 browser
  if (parseInt(navigator.appVersion) >= 4)
    {
    winX = (screen.availWidth - w)*.5;
    winY = (screen.availHeight - h)*.5;
    }
  if (resizable) resize = "resizable=yes,";
  if (scrollable) scroll = "scrollbars=yes,";
newWindow = window.open("",winname,"titlebar=yes,location=no,"+resize+scroll+"width="+w+",height="+h+",left="+winX+",top="+winY);
//newWindow.close();
newWindow = window.open(path, winname,"titlebar=yes,location=no,"+resize+scroll+"width="+w+",height="+h+",left="+winX+",top="+winY);
newWindow.focus();
  }

  
