// biogpops 20030212.2130
var havecolwind = false;
var t = 100;
var l = 100;
function doSubWin(whatfile, h, w)
{
    if ((!h)||(h < 100)) { h = 400; }
    if ((!w)||(w < 100)) { w = 300; }
    if (havecolwind) { colwind.close(); }
    t += 50;
    if (t > 350) { t = 100; }
    l += 75;
    if (l > 350) { l = 100; }
    colwind=open(whatfile,'subwind','scrollbars=yes,resizable=yes,status=no,top='+t+',left='+l+',height='+h+',width='+w+',dependent=yes');
    colwind.focus();
    colwind.document.close();
    havecolwind = true;
}
