You should know that Google Checkout will be retired in 11/2013, a couple of months away...
As far as your code is concerned, assuming you're still curious, see HTML documentation
If you want to learn about other/newer payment solutions from Google, you'll find them at Google Developers Commerce APIs