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