initial version, straight from gabor's example

which is at
http://perlmaven.com/download/mobile_web_development_ebook/mobile_v1.01.pdf