Done..

It should detect what country you're from now, and also what country you're Proxy is in (if you're using one).
Found a free IP-country database, and uploaded it into a MySql database..
It wasn't more than 3mb, so I'm not sure it will detect all countries, but it looks like it's working ok...