function popup(url, x, y) {
	newwindow=window.open(url,'mywindow','height=' + y + ',width=' + x + ',top=300,left=300,toolbar=no,resizable=false,menubar=no,directories=no,location=no');
	if(newwindow.focus) newwindow.focus();
	return false;
}
function check_continue(msg) {
	if(!msg) msg="do this";
	return confirm("Are you sure you want to "+msg+"?");
}