function NewWindow(mypage, myname, w, h) {
	var winl = (screen.width - w) / w;
	var wint = (screen.height - h) / h;
	if (myname == 'print') {
		winprops = 'height='+h+',width='+w+',top='+wint+',left='+winl+',menubar=yes,toolbar=yes,directories=no,status=no,scrollbars=yes,resizable=yes';
	} else if (myname != 'wkorb' && myname != 'zoom' && myname != 'search') {
		winprops = 'height='+h+',width='+w+',top='+wint+',left='+winl+',status=no,scrollbars=yes,resizable=yes';
	} else {
		winprops = 'height='+h+',width='+w+',top='+wint+',left='+winl+',status=no';
	}
	win = window.open(mypage, myname, winprops)
	if (parseInt(navigator.appVersion) >= 4) {
		win.window.focus();
	}
}
