Hey guys
I'm using a script I stole from some lander "http://promos.fling.com/geo/txt/location.php" it's pretty simple I just paste it into the html flanked by script tags and it displays "New York, NY"
However, let's say I just want it to say "New York" or just want the state to appear as "NY"
How would I do that? There must be a script out there.
Check out http://j.maxmind.com/app/geoip.js 
See attached.
there are several ways to do this, from Maxmind free and paid, to google api, to even using fling.com and some code they give you. There are even a few others, just google