That solution works great!
I would like to give you ten dollars for this as it is so important to me. Please provide a paypal donation button or email via private message. Another ten if you can get the code to run by default on all pages. Thanks. You are a hero.