if (!HTMLAnchorElement.prototype.click) {
  HTMLAnchorElement.prototype.click = function() {
    var ev = document.createEvent('MouseEvents');
    ev.initEvent('click',true,true);
    if (this.dispatchEvent(ev) !== false) {
      //safari will have already done this, but I'm not sniffing safari
      //just in case they might in the future fix it; I figure it's better
      //to trigger the action twice than risk not triggering it at all
      document.location.href = this.href;
    }
  }
}

function promo() {
	var promoLink=document.getElementById("promoLink");
	if (document.location.href == "http://www.betje.com/blog/")
		promoLink.click();
}

