/* Tracking code for PDF links is installed */
jQuery(document).ready(function() {

    var host = window.location.host;

    jQuery('a').each(function() {
        if (jQuery(this).attr('href') != null) {
            var thisHref = jQuery(this).attr('href');    
            if ((thisHref).match(/.pdf/i)) {
                jQuery(this).bind('click', function() {
                    pageTracker._trackPageview('/pdf/' + thisHref);
                });
            }
            if (((thisHref).match(/^http/)) && (!(thisHref).match(host))) {
                jQuery(this).bind('click', function() {
                    pageTracker._trackPageview('/outgoing/' + thisHref);
                });
            }
        }
    });
});