$(function(){
	var anc = document.getElementsByTagName('a');
	var target = new RegExp("^https?:\/\/"+location.host+"\/.+\.pdf$");
	for(var i=0; i<anc.length; i++){
		if(anc[i].href.match(target)){
			anc[i].onclick = function(){
				if(typeof pageTracker != 'undefined'){
					var dir = location.pathname.split("/");
					var trackerPath = "";
					if(dir[1] && dir[1].indexOf(".") == -1){
						if(dir[1] == 'whatsnew'){
							dir[1] = 'newsrelease';
						}
						trackerPath += "/"+dir[1];
						if(dir[2] && dir[2].indexOf(".") == -1){
							trackerPath += "/"+dir[2];
						}
					}
					trackerPath += "/pdf/";
					trackerPath += this.href.replace(/^.+\/(.+?)\.pdf$/,"$1.html");
					pageTracker._trackPageview(trackerPath);
				}
			}
		}
	}
});
