/* <![CDATA[ */
$(document).ready(function() {
	/*SLIDESHOW*/
	$(".slideshow")  
		  .before('<div id="nav">') 
		  .cycle({ 
			  fx:     'fade', 
			  speed:  1000, 
			  timeout: 3500,
			  next:   '#next2', 
			  prev:   '#prev2' ,
			  
		});
	/*END OF SLIDESHOW*/
	
	$(".gallery a span").ready(function(){
    $(".gallery a span").animate({opacity:"0.50",speed:"fast"});
	});
	
	$(".gallery a").hover(function() {
		$(this).find('span').addClass("hover").stop()
			.animate({
        opacity: '0.5'
        
			}, 1000);
		
		} , function() {
		$(this).find('span').removeClass("hover").stop()
			.animate({
        opacity: '1'
			}, 2000);
	});
	
	/* Pajinate Script 
	$('#category').pajinate({
		num_page_links_to_display : 5,
		items_per_page : 4	
	}); */

/*Jquery Fancybox */ 
  $(".fancypic").fancybox({
    'titleShow'		: true,
	'titlePosition' : 'over',
    'transitionIn'	: 'elastic',
    'transitionOut'	: 'elastic',
  });
});
/* ]]> */
