
function  mmax(abc,H,W) { 
if (windowHandle !=-1) windowHandle.close();
aH=H;tH=H;tW=W;aW=W;
scrl=0;
if (aH>(screen.height-53)) scrl=1 
if (aH>(screen.height-53)) tW+=12;
if (aW>(screen.width -10)) scrl=1 
if (aW>(screen.width -10)) tH+=12;
if (tH>screen.height-53)  tH=screen.height-53;
if (tW>screen.width-10)   tW=screen.width -10;
tT=(screen.height-aH-53)/2;
if (tT<0) tT=0;
tL=(screen.width-aW)/2;
if (tL<0) tL=0;
windowHandle=window.open(abc, 'MAX', 'scrollbars='+scrl+',status=no,fullscreen=no,resizable=no,screenX=1,screenY=1,innerWidth='+tW+',innerHeight='+tH+',width='+tW+',height='+tH+',screenY=0,screenX=0,left='+tL+',top='+tT+'');
windowHandle.window.focus();
}
function  mfull2(abc,H,W) { 
if (windowHandle !=-1) windowHandle.close();
aH=H;tH=H;tW=W;
scrl=0;
if (aH>(screen.height-48)) scrl=1 
if (tW>(screen.width-10))  scrl=1 
tW=screen.width-10;
tH=screen.height-30;
windowHandle2=window.open(abc, 'MAX2', 'scrollbars='+scrl+',status=no,fullscreen=no,resizable=yes,screenX=1,screenY=1,innerWidth='+tW+',innerHeight='+tH+',width='+tW+',height='+tH+',screenY=0,screenX=0,left=0,top=0');
windowHandle2.window.focus();
}
function  mdo(abc,abc2,H,W) { 
aH=H;tH=H;tW=W;aW=W;
scrl=0;
if (aH>(screen.height-53)) scrl=1 
if (aH>(screen.height-53)) tW+=12;
if (aW>(screen.width -10)) scrl=1 
if (aW>(screen.width -10)) tH+=12;
if (tH>screen.height-53)  tH=screen.height-53;
if (tW>screen.width-10)   tW=screen.width -10;
tT=(screen.height-aH-53)/2;
if (tT<0) tT=0;
tL=(screen.width-aW)/2;
if (tL<0) tL=0;
tL=0;
tT=0;
tW=screen.width-10;
tH=screen.height-30;
handle=m/eSize;
which="indiv";
E[m/eSize]=window.open(abc, abc2, 'scrollbars=yes,status=no,fullscreen=no,resizable=yes,screenX=1,screenY=1,innerWidth='+tW+',innerHeight='+tH+',width='+tW+',height='+tH+',screenY=0,screenX=0,left=0,top=0');
E[m/eSize].window.focus();
}
