Implementing countries and states drop down

I've been following this thread for days and was hoping someone might share a simple 'boiler-plate' example for us 'bottom-feeders' to utilize. This example of country - zipcode has many applications and I'd love to integrate it into my code. If anyone has an example of this working, I'd be very grateful to view it. Thanks, Kathleen KathysKode@gmail.com