$(document).ready(function() {
	// jQuery Ajax Fix
	$.ajaxSetup({
		beforeSend: function(xhr) {xhr.setRequestHeader("Accept", "text/javascript")} 
	});

	$('ul#services').accordion({
		active: ".selected",
		header: "li > a",
		alwaysOpen: false,
		clearStyle: true,
		autoHeight: false
	});

	$('#external_links span a').hover(function () {
		var link = $(this);
		link.next().fadeIn();
	},
	function () {
		var link = $(this);
		link.next().fadeOut();
	});

	// Studio rollover state
	// $("#widget ul li a.studio").hover(
	// 	function() {
	// 		$(this).next("div").fadeIn("slow");
	// 	},
	// 	function() {
	// 		$(this).next("div").fadeOut("fast");
	// 	}
	// );
});