<!--
var popupLexWindow=null;
function popupWnd(mypage,myname,w,h,pos,infocus){

if (pos == 'random')
{LeftPosition=(screen.width)?Math.floor(Math.random()*(screen.width-w)):100;TopPosition=(screen.height)?Math.floor(Math.random()*((screen.height-h)-75)):100;}
else
{LeftPosition=(screen.width)?(screen.width-w)/2:100;TopPosition=(screen.height)?(screen.height-h)/2:100;}
settings='width='+ w + ',height='+ h + ',top=' + TopPosition + ',left=' + LeftPosition + ',scrollbars=yes,location=no,directories=no,status=no,menubar=no,toolbar=no,resizable=yes';
popupLexWindow=window.open('',myname,settings);
if (!popupLexWindow)
{
alert('Browserul dvs. foloseste un popup blocker care nu permite aplicatiei sa se initializeze.\nSetati Browserul sa permita deschiderea popup-urilor.');
}
else
{
if(infocus=='front'){popupLexWindow.focus();popupLexWindow.location=''+mypage;}
if(infocus=='back'){popupLexWindow.blur();popupLexWindow.location=mypage;popupLexWindow.blur();}
}
}

function popupWndFull(mypage,myname,w,h,pos,infocus){

if (pos == 'random')
{LeftPosition=(screen.width)?Math.floor(Math.random()*(screen.width-w)):100;TopPosition=(screen.height)?Math.floor(Math.random()*((screen.height-h)-75)):100;}
else
{LeftPosition=(screen.width)?(screen.width-w)/2:100;TopPosition=(screen.height)?(screen.height-h)/2:100;}
settings='width='+ w + ',height='+ h + ',top=' + TopPosition + ',left=' + LeftPosition + ',scrollbars=yes,location=no,directories=no,status=no,menubar=no,toolbar=no,resizable=yes, fullscreen=yes';
popupLexWindow=window.open('',myname,settings);
if (!popupLexWindow)
{
alert('Browserul dvs. foloseste un popup blocker care nu permite aplicatiei sa se initializeze.\nSetati Browserul sa permita deschiderea popup-urilor.');
}
else
{
if(infocus=='front'){popupLexWindow.focus();popupLexWindow.location=''+mypage;}
if(infocus=='back'){popupLexWindow.blur();popupLexWindow.location=mypage;popupLexWindow.blur();}
}
}
// -->