anchor.diff:      } catch(err) {  
         BlacklightGoogleAnalytics.console_log_error(err, heading_values);
       }
  -    BlacklightGoogleAnalytics.pause();
     });
  -  
  +    
     
   });
positive.code:   
    BlacklightGoogleAnalytics = {}
    
    BlacklightGoogleAnalytics.pause = function(){
      // pause to allow google script to run before going to new page
  		var date = new Date();
  
negative.code:     <% end %>
    }
    
    BlacklightGoogleAnalytics.this_or_parent_id = function(that){
      if (that.get(0).id.length > 0){
        var identifier = that.get(0).id;
      } else {
        var identifier = that.parents('[id]:first').get(0).id;
      }
      return identifier;
    }
    
  	// all links get tracked
    $('a').click(function () {
  		// tell analytics to save event
  		try {
        var identifier = BlacklightGoogleAnalytics.this_or_parent_id($(this));  
        // for facets we make the action the facet heading
        if (identifier === 'facets') {
          var action = $(this).parents("div:first").find("h3:first").text();
        } else {
          var action = 'clicked';
        }      
        var label = ($(this).text() || $(this).children('img:first').attr('alt'));
  			_gaq.push(['_trackEvent', identifier, action, label]);
  		} catch (err) {
        BlacklightGoogleAnalytics.console_log_error(err, [identifier, action, label]);
      }
      BlacklightGoogleAnalytics.pause();		
  	}); 
    
    $('input,select').click(function(){
      try {
        var identifier = BlacklightGoogleAnalytics.this_or_parent_id($(this));  
        var action = 'clicked';
        var label = $(this).val();
        _gaq.push(['_trackEvent', identifier, action, label]);
      } catch (err){
        BlacklightGoogleAnalytics.console_log_error(err, [identifier, action, label]);
      }
      BlacklightGoogleAnalytics.pause();
    });
   
    
    //facet expand/collapse
    $('#facets h3').live('click', function(){
  