var jvers = 1.2; 
function setwindow(ww,wh)
{
  s_left = Math.round(((window.screen.availWidth - ww) / 2));
  s_top = Math.round(((window.screen.availHeight - wh) / 3));
  if (s_top <= 0)
    s_top = 20;
  if (s_left <= 0)
    s_left = 20; 
  options += ",top=" + s_top + ",left=" + s_left + ",screenX=" + s_left + ",screenY=" + s_top;  
}
// -->
