// JavaScript Document

$(document).ready(function() {
	$("ul.tabs a").append('<span class="rotator_btn"></span>');
	// setup ul.tabs to work as tabs for each div directly under div.panes
	$("ul.tabs").tabs("div.panes > div", {
	
		// start from the beginning after the last tab
		rotate: true
	
	// use the slideshow plugin. It accepts its own configuration
	}).slideshow({autoplay:true, interval:10000, clickable:false});

	$("#primaryNav li").hover(
	  function () {
	    $(this).addClass("over");
	  },
	  function () {
	    $(this).removeClass("over");
	  }
	);
});



