function OpenImg(title)
{
var img = new Image();
img.src = 'date/projects/<?php echo $id_prj; ?>/resources/'+ title;
popupWin = window.open(img.src, 'image' + Math.floor( Math.random() * 1000000 ), 'location=no,width='+img.width+',height='+img.height+',top=0'); popupWin.focus(); return false;
}