// $Id$
// javascript1.2 popup window

function openimwindow(theurl,winname,features, mywidth, myheight, iscenter) { 
  if(window.screen)if(iscenter)if(iscenter=="true"){
    var myleft = 20;
    var mytop = 20;
    features+=(features!='')?',':'';
    features+=',left='+myleft+',top='+mytop;
  }
  window.open(theurl,winname,features+((features!='')?',':'')+'width='+mywidth+',height='+myheight);
}

