// Tracking information.
$(document).ready(function() {
						   
	// Style the active navigation tab. Not technically tracking, but meh.
	if(location.pathname != "/") {
		jQuery("#tabs a[href^='/" + location.pathname.split('/')[1] + "']:first").addClass("active");
	}
	
	// Add Google Analytics tracking to order form submissions.
	$("a[href^='http://order.store.yahoo.net']").click(function() {
		pageTracker._link(this.href,true);
		return false;
	});
	$("form[action^='http://order.store.yahoo.net/']").submit(function() {
		pageTracker._linkByPost(this, true);
	});
});
// Used for tracking form submissions within a flash element.
// Expects to be given the contents of the "action" attribute of the form it should fire.
// Example XML file usage: <info>javascript:trackSubmit(document.addFull1.action);</info>
function trackSubmit(formAction) {
	pageTracker._link(formAction,true);
}

