$(document).ready(function() {
  $("body").addClass("js");
  $("ul li:first-child").addClass('first');
  $("ul li:last-child").addClass('last');
  $("a.fancybox").fancybox({
    'transitionIn'	:	'fade',
    'transitionOut'	:	'fade',
    'speedIn'		:	200, 
    'speedOut'		:	200, 
    'overlayShow'	:	true,
    'titlePosition'	:	'over',
    'overlayOpacity':	0.9,
    'overlayColor'	:	'#000',
    'padding'  : 1
  });
  //tabs
  $("#tabs").tabs();
  $("#tabs2").tabs();
  $("#scroller").simplyScroll({
    //speed: 5,
    //autoMode: 'loop',
    //pauseOnHover: true,
    frameRate: 25,
    speed: 2
  });
  $('#slider').cycle({
		fx: 'fade'
	});
});
