Hi guys!

I would like to redirect users based on the state they are in to another website address as well as exclude an IP address so they can access my site.

I have js API code from MaxMind, but I'm not sure how to do the rest:

Code:
<script language="JavaScript" src="http://j.maxmind.com/app/geoip.js"></script>
<script language="JavaScript">document.write(geoip_region());</script>
An example:

Redirect users from PA, DE and NJ to Google.com but exclude IP address 174.343.198.99 so they can access the website even if they are in one of those states.

Another example:

Redirect users from FL to Google.com, but exclude IP address 123.123.123.12 so they can access even if they are in FL.

Thank you SO MUCH!

-Jennifer