$(document).ready(function(){
	$('a.description').mouseover(function(){
		/*var rel = $(this).children('img').attr('rel');
		rel = rel.split('|');
		$('#description-' + rel[0]).text(rel[1]);*/
		//var title = this.getAttribute('title');
		var showIn = this.className.replace(/.*showIn-([0-9]+).*/g, '$1');
		$('#description-' + showIn).html('&raquo;&nbsp;' + this.getAttribute('title') + '&nbsp;&laquo;');
	});

	$('a.description').mouseout(function(){
		/*var rel = $(this).children('img').attr('rel');
		rel = rel.split('|');
		$('#description-' + rel[0]).html('&nbsp;');*/
		var showIn = this.className.replace(/.*showIn-([0-9]+).*/g, '$1');
		$('#description-' + showIn).html('&nbsp;');
	});
	
	$('#ext a, a.ext').click(function () {
		var loc = '/ext/' + encodeURIComponent(this.href);
		(typeof _gaq !== 'undefined') && _gaq.push(['_trackPageview', loc]);
	});
});

