This is a clean version of jcake before hacking the Html and Form helper to use joomla URL convention.