// Window properties ...... 'menubar=yes,location=yes,directories=yes,status=yes,scrollbars=yes,resizable=yes'
function newWin(src,name,w,h,prop,lp,tp) {
	if ((!w && !h) && (lp && tp)) {
		w = screen.width - (lp * 2);
		h = screen.height - (tp * 2) - tp;
		tp = tp / 2;
	} else if ((w && h) && (!lp && !tp)) {
		lp = (screen.width - w) / 2;
		tp = (screen.height - h) / 2;
	}
	prop = (!prop)? "" : prop+",";
	prop += (!w && !h)? "" : "width="+w+",height="+h+",left="+lp+",top="+tp;
	Win = window.open(src,name,prop);
	Win.focus();
}
function showKBPricelist(src) {
	Win = window.open(src,'kbPricelist','top=0,left=0,width='+ screen.availWidth +', height=' + screen.availHeight + ',location=yes,toolbar=yes,scrollbars=yes,directories=yes,status=yes,menubar=yes,resizable=yes');
	Win.focus();
}