// JavaScript Document
	// News slider
    $(document).ready(function() {
		$('#dateSlider').bxSlider({
			mode: 'slide',
			auto: 'true',
			speed: 1500,
			pause: 8500,
			width: 94,
			controls: false,
			wrapper_class: 'dateSliderContent'
		});
		$('#newsSlider').bxSlider({
			mode: 'slide',
			auto: 'true',
			speed: 1500,
			pause: 8500,
			controls: false,
			wrapper_class: "newsSliderContent"
		});	
		$('#titleSlider').bxSlider({
			mode: 'slide',
			auto: 'true',
			speed: 1500,
			pause: 8500,
			controls: false,
			wrapper_class: "titleSliderContent"
		});	
		

		// FANCYBOX
		$(".fancybox").fancybox({
			speedIn		:	600, 
			speedOut	:	200, 
			overlayShow	:	true,
			overlayOpacity : 0.8,
			overlayColor : '#faeddd',
			enableEscapeButton: true,
			scrolling: 'no',
			titleShow	: false,
			padding: 0
		});
		// HOVER EFFECT
		$('img.thumb').each(function() {
			$(this).hover(function() {
				$(this).stop().animate({ opacity: 0.6 }, 150);
			},
		   function() {
			   $(this).stop().animate({ opacity: 1.0 }, 150);
		   });
		});
    });
