Refinish floors before or after painting?

good discussion about this at http://forum.doityourself.com/archive/index.php/t-295358.html