If it is AD and the boundaries are defined as sites, you could use the @Site macro. If not, then there are several UDFs that will give you IP based information to work with. See the FAQ section for more info.
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.