$(document).ready(function(){

  // setup ul.tabs to work as tabs for each div directly under div.panes
  $("ul#tabs").tabs("div#slideshow > div.panel", {
    current: 'current',
	effect: 'fade',
	fadeInSpeed: 500,
	fadeOutSpeed: 500,
	rotate: 'true',
	tabs: 'ul#tabs li a'
  }).slideshow({
    autoplay: true,
	autopause: true,
	interval: 5000,
	clickable: false
  });
  
  Cufon.replace('#slideshow h1');

});

