												  
jQuery(document).ready(function($) {

	$(".read-more").click(function() {
		$(".two").slideToggle("fast");
	});
});

jQuery(document).ready(function($) {

var hoverColour = "#111";
var original = "#696967";
var lighter = "#e5e5e5";

	$('#navigation li a').hover(function() {
		$(this).animate({"color": hoverColour}, 350);
	}, function (){
		$(this).animate({"color": original}, 500);
	});
	$('#navigation li a#active').hover(function() {
		$(this).animate({"color": hoverColour}, 350);
	}, function (){
		$(this).animate({"color": hoverColour}, 500);
	});
	$('img').hover(function() {
		$(this).animate({"borderTopColor": hoverColour, "borderBottomColor": hoverColour}, 350);
	}, function (){
		$(this).animate({"borderTopColor": lighter, "borderBottomColor": lighter}, 500);
	});
	$('.thumbs a').hover(function() {
                $(this).addClass("hover");
                $(this).animate({"color": hoverColour}, 350);
		$('.thumbs a.hover span.holder').animate({"borderBottomColor": hoverColour, "borderTopColor": hoverColour}, 350);
	}, function (){
		$('.thumbs a.hover span.holder').animate({"borderBottomColor": lighter, "borderTopColor": lighter}, 500);
		$(this).animate({"color": original}, 500);
                $(this).removeClass("hover");
	});

});

jQuery(document).ready(function($) {
    $("#display li.thumbs").each(function(i) { 
        if (i % 4 == 0) 
           $(this).addClass("start");
        if (i % 4 == 3) 
           $(this).addClass("end");
    });
	$("#cat_display li.thumbs").each(function(i) { 
        if (i % 3 == 0) 
           $(this).addClass("start");
        if (i % 3 == 2) 
           $(this).addClass("end");
		   });
	$(".column li.event_thumbs").each(function(i) { 
        if (i % 2 == 0) 
           $(this).addClass("start");
		   });
});

jQuery(document).ready(function($) {

 $('#title h1')
 	.find('a.transform')
 	.append('<span class="hover" />').each(function () {
 		var $span = $('span.hover', this).css('opacity', 0);
 	$(this).hover(function () {
		 // on hover
 	$span.stop().fadeTo(500, 1);
 		}, function () {
 		// off hover
 	$span.stop().fadeTo(500, 0);
		});
	});
});

jQuery(document).ready(function($) {

	$("li.navigation li,li.thumbs, li.start, li.end").click(function(){
	  window.location=$(this).find("a").attr("href"); return false;
	});

});

jQuery(document).ready(function($) {

	$("li#images").hover(function(){
		$(this).animate({ backgroundColor: "#f5f5f5" }, 100)
		$("#second").fadeIn(100);
	}, function(){
		$(this).animate({ backgroundColor: "#ffffff" }, 500)
		$("#second").fadeOut(500);
	});
});

jQuery(document).ready(function($) {

    $(".event_thumbs a.group").fancybox({
		  'padding': 40,
                  'hideOnContentClick': false,
		  'overlayOpacity': 0.85
     });
    $("#group").fancybox({
      'padding': 40,
      'overlayOpacity': 0.85,
      'centerOnScroll': false
    });
});

jQuery(document).ready(function($) {
								
		$(".item").hover(function() {
			$(this).animate({borderTopColor: "#111111",borderBottomColor: "#111111"}, 100 );
		}, function() {
			$(this).animate({borderTopColor: "#c5c5c5", borderBottomColor: "#c5c5c5"}, 500 );
		});
});
