$(document).ready(function(){var e=10000;var b=true;var f;var d=$(".tabs a").click(function(){b=false;a()});var c=$("div.tabs").tabs(".panels > div",{effect:"fade",fadeOutSpeed:"fast",rotate:true,api:true});$("a.player").flowplayer({src:"http://www.elon.edu/shell/960/js/jquerytools/flowplayer3.2.1/flowplayer/flowplayer-3.2.0-0.swf",wmode:"opaque"},{clip:{onFinish:function(g){$f().unload();b=true;a()}},onStart:function(){b=false;a()}});$(".tabs a").focus(function(){$(this).click();flowplayer().unload();b=false;a()});$("a.forward").click(function(){c.next();flowplayer().unload();b=false;a()});$("a.backward").click(function(){c.prev();flowplayer().unload();b=false;a()});function a(){if(b){f=setTimeout(function(){if(!b){return}if(c.getIndex()==d.length-1){c.click(0)}else{c.next()}a()},e)}else{window.clearTimeout(f)}}a()});
