jQuery(document).ready(function($) {
	$('#multi-sidebar').tabs();
	
	$('#commentform').validate();
	$('.featured').hover( 
		function() {
			$('#featured-slideshow').cycle('pause');
			$('#controls').fadeIn();
		}, 
		function() {
			$('#featured-slideshow').cycle('resume');
			$('#controls').fadeOut();
		}
	);
	$('#featured-slideshow').cycle({
		fx: 'fade',
		speed: 250,
		next: '#controls .next',
		prev: '#controls .prev',
		timeout: 6000
	});

/*	$('a').click(function() {
		var $a = $(this);
		var href = $a.attr('href');
	 
		// see if the link is external
		if ( (href.match(/^http/)) && (! href.match(document.domain)) ) {
	 
		// if so, register an event
	    var category = 'outgoing'; // set this to whatever you want
	    var event = 'click'; // set this to whatever you want
	    var label = href; // set this to whatever you want
	 
	    pageTracker._trackEvent(category, event, href);
	  }
	}); */
});