It uses tinyurl.com.
It should be pretty simple to roll your own tiny url
generator: You just need one DB table and two functions.
Keep in mind that studies show it is usually better to use
short, understandable urls like:
http://mysite.com/history/sernum/1234?page=2
.