$(document).ready(function(){
	Cufon.replace("h1, #education h2, #latest-news h2, #newsPrev a, #newsNext a, #flickr h2, #twitter h2, .black-box a, #sponsor-a-girl h2, #sponsor-a-girl a, #get-involved h2, #our-minds h2, #get-involved a, #our-minds .twitter, #footer a.share", {'fontFamily':'Plan Storytelling'});
	
	$('#news-slider').easySlider({
		prevId: 'newsPrev',
		prevText: 'PREV',
		nextId: 'newsNext',
		nextText: 'NEXT'
	});
	
	$('#twitter-slider').easySlider({
		prevId: 'prevBtn',
		prevText: 'PREV',
		nextId: 'nextBtn',
		nextText: 'NEXT'
	});
	
	$("a[rel='outbound']").click(function() {	
		$anchor_element = $(this);
		pageTracker._trackPageview ('/outgoing/' + $anchor_element.attr("href"));
		window.open($anchor_element.attr("href"));
		return false;
	});
});