Dave Amphlett - 2012-06-08

patch to index.php and inc/functions.php