// Captures links and form submissions and attaches the Google
// Analytics events. Requires _setAllowLinker() to be set on the
// PageTracker object here and in the destination site (and jQuery,
// obviously).
// 
// See: http://code.google.com/apis/analytics/docs/gaJS/gaJSApiDomainDirectory.html#_gat.GA_Tracker_._link

jQuery(function($) {
	$("a").click(function() {
		if (this.href.match(/^http:\/\/(www\.)?recyclenow\.com/i)) {
			rn_xdomain_pageTracker._link(this.href);
			return false;
		}
	});
	$("form").submit(function() {
		rn_xdomain_pageTracker._linkByPost(this);
	});
});

