Some global properties of static spacetimes