Using HTML5 localStorage and a little JQuery we can make an advert switch giving our visitors the option to turn our adverts on and off.
Simply save the JQuery script below in your scripts folder and then add a link to it in the head of your page.
Add the div below into your page either directly or using JQuery append
<div id="toggleAds">Ads Off</div>
And add the class called ads to all of your adverts or put a div around them
<a href='http://mental-man.com/bannerbar/admin/counter.php?id=5' class="ads" id="topB"> <img src='http://envato.s3.amazonaws.com/referrer_adverts/3d_125x125_v4.gif' alt='Click me!' /></a>
Now your done!