 var newwin;

 function launchwin(winurl) { //v2.0 
  var x = 0; 
  var y = 0; 
  x = (screen.availWidth - 12 - 400) / 2; 
  y = (screen.availHeight - 48 - 400) / 2; 

//  newwin = window.open(winurl,"flavor","screenX=" + x + ",screenY=" + y + ",top="+y+",left="+x+ "toolbar=no,menubar=no,location=no,height=400,width=400,resizable=no,scrollbars=no");
  newwin = window.open(winurl,"flavor","screenX=" + x + ",screenY=" + y + ",top="+y+",left="+x+ "toolbar=no,menubar=no,location=no,height=400,width=400,resizable=yes,scrollbars=no");
// added so that child window can link back to this win
  if (newwin.opener == null) newwin.opener = self; 

      if(javascript_version > 1.0)
      {
                              //delay a bit here because IE4 encounters errors
                              //when trying to focus a recently opened window
          setTimeout('newwin.focus();',250);
      }
}
