function newWin(src,name,w,h,prop,lp,tp) {
	winLeft = (!lp)? (screen.width - w) / 2 : lp;
	winTop = (!tp)? (screen.height - h) / 2 : tp;
	//winProp = (!prop)? 'menubar=no,resizable=no,scrollbars=no,status=no,toolbar=no,locationbar=no,directories=no' : prop;
	//winProp += ',width='+w+',height='+h+',left='+winLeft+',top='+winTop;
	winProp = (!prop)? "" : prop+",";
	winProp += (!w || !h)? "" : "width="+w+",height="+h+",left="+winLeft+",top="+winTop;
	Win = window.open(src,name,winProp);
	Win.focus();
}