﻿/* Fix for allowing different href for javascript support and non javascript support */
$(document).ready(function(){$("#featured > ul > li > a").each(function() { $(this).attr("href", $(this).attr("jshref") ); } ); });

/* Adding jQuery ui tabs support */
$(document).ready(function(){$("#featured > ul").tabs({fx:{opacity: "toggle"}}).tabs("rotate", 10000, false); });

/* Don't rotate if the mouse is over the panel */
$(document).ready(function() {
	$("#featured > .ui-tabs-panel").bind("mouseenter", function() {
		$("#featured > ul").tabs("rotate", 0, false);
	});
	$("#featured > .ui-tabs-panel").bind("mouseleave", function() {
		$("#featured > ul").tabs("rotate", 10000, false);
	});
});

