http://payperpost.com/javascripts/payperpost_functions.js