// Adds Google tracking code to all the ads on the page (if any)
// Note: requires jQuery

// Get all the links that belong to ads, then use jQuery to bind an onclick 
// function to each matching element. The content of the function is a call
// to ga.js
$("#midColAd > a, div.featureAd > a, #mastheadAd a:eq(1)").click(function(){
  javascript: pageTracker._trackPageview("/tracking/" + $(this).attr("href"));
});

