leftPos = 250;
topPos = 150;
if (screen) {
leftPos = (screen.width-440) / 2;
topPos = (screen.height-280) / 2;
}

function mail(place){
link = ("" + place);
dest = '/postpage.php?place=' + link ;
newwin = window.open(dest,"","left="+leftPos+",top="+topPos+",height=280,width=440,scrollbars=0,resizable=0")}
