// JavaScript Document for openwin
function openwin(theURL,x,y) { //v3.0
  if (window.showModelessDialog){
    var h=parseInt(y)+45;
    var w=parseInt(x);
    features="dialogWidth:"+w+"px;dialogHeight:"+h+"px;status:false;help:no;scroll-x:no";
    win = window.showModalDialog(theURL,'',features);
  } else {
    features="width="+x+"px,height="+y+"px,scrollbars";
    win = window.open(theURL,'',features);
  }
}