var osobine = 'width=330,height=415, fullscreen=0, location=0, menubar=0, personalbar=0, status=0, toolbar=0, left='+((screen.width)/2 - 340)+',top='+((screen.height)/2 - 400)+'';
var _wind = null;
function PopupPic(ur,tx) {
txt = tx;
url = ur;
if(_wind != null && !_wind.closed) {
_wind.close ();
}
//_wind = window.open ("../../../java/popup.html?"+sPicURL, "",osobine);
_wind = window.open('../../js/popup.html','',osobine);
_wind.document.close();
}
