function winOpen(a, b, c, evt){
	if (typeof(evt.preventDefault) != "undefined")
	{
		evt.preventDefault();
	}else{
		evt.returnValue = false;
	}
	var w = c.match(/width=(\d+)/)[1];
	var h = c.match(/height=(\d+)/)[1];
	var left = (screen.width/2)-(w/2);
	var top = (screen.height/2)-(h/2);
	c += ', top=' + top + ', left=' + left;
	window.open(a, b, c);
}
function winClose() {
	//save window size and position on close
}
function noDefaultPrint(evt){
	if (typeof(evt.preventDefault) != "undefined")
	{
		evt.preventDefault();
	}else{
		evt.returnValue = false;
	}
	window.print();
}