$(document).ready(
   function(){
      $('#sli').innerfade({
         animationtype: 'fade',
         speed: 1000,
         timeout: 5000,
         type: 'sequence',
         containerheight: '256px'
      });
   } 
);
$(function(){
   $('#slides').slides({
      generateNextPrev: true,
      play: 10000,
      pause: 1000,
      hoverPause: true,
      generatePagination : false,
      pagination:false
   });
}); 

 $(document).ready(function() {
	$("a[rel=fancybox]").fancybox({
		'transitionIn'	:	'elastic',
		'transitionOut'	:	'elastic',
		'speedIn'		:	600, 
		'speedOut'		:	200, 
		'overlayShow'	:	true,
		'overlayColor'	:	'#FFF'
	});
	$("a[rel=fanOrder]").fancybox({
		'transitionIn'	:	'elastic',
		'transitionOut'	:	'elastic',
		'speedIn'		:	600, 
		'speedOut'		:	200, 
		'overlayShow'	:	true,
		'overlayColor'	:	'#FFF'
	});
	$("a[rel=frame]").fancybox({
		'transitionIn'	:	'elastic',
		'transitionOut'	:	'elastic',
		'speedIn'		:	600, 
		'speedOut'		:	200, 
		'overlayShow'	:	true,
		'overlayColor'	:	'#FFF',
		'showNavArrows'	:  	false,
		'scrolling'		: 	'no',
		'autoScale'	:  	false,
		'width' 		: 	500,
        'height' 		: 	700
	});
   });
   
   var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-21399903-7']);
  _gaq.push(['_trackPageview']);
 
  (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  })();
