// jQuery
$(function() {
    $.fn.cycle.defaults.pause = true;
    $('#slideshow').cycle('fade');

    $(".thumbs img").fadeTo(250, 1.0); // This sets the opacity of the thumbs to fade down to 60% when the page loads

    $(".thumbs img").hover(function(){
            $(this).fadeTo(250, 0.5); // This should set the opacity to 100% on hover
        },function(){
            $(this).fadeTo(250, 1.0); // This should set the opacity back to 60% on mouseout
            
    });
	
	 $(".midButton").hover(function(){
            $(this).fadeTo(250, 0.5); // This should set the opacity to 100% on hover
        },function(){
            $(this).fadeTo(250, 1.0); // This should set the opacity back to 60% on mouseout
            
    });
	
	 $(".careerButton").hover(function(){
            $(this).fadeTo(250, 0.5); // This should set the opacity to 100% on hover
        },function(){
            $(this).fadeTo(250, 1.0); // This should set the opacity back to 60% on mouseout
            
    });
	
	$("#blog").hover(function(){
            $(this).fadeTo(250, 0.5); // This should set the opacity to 100% on hover
        },function(){
            $(this).fadeTo(250, 1.0); // This should set the opacity back to 60% on mouseout
            
    });
	
	$("#calendar").hover(function(){
            $(this).fadeTo(250, 0.5); // This should set the opacity to 100% on hover
        },function(){
            $(this).fadeTo(250, 1.0); // This should set the opacity back to 60% on mouseout
            
    });
	
	$("#home").hover(function(){
            $(this).fadeTo(250, 0.5); // This should set the opacity to 100% on hover
        },function(){
            $(this).fadeTo(250, 1.0); // This should set the opacity back to 60% on mouseout
            
    });
	$("#whoweare").hover(function(){
            $(this).fadeTo(250, 0.5); // This should set the opacity to 100% on hover
        },function(){
            $(this).fadeTo(250, 1.0); // This should set the opacity back to 60% on mouseout
            
    });
	$("#services").hover(function(){
            $(this).fadeTo(250, 0.5); // This should set the opacity to 100% on hover
        },function(){
            $(this).fadeTo(250, 1.0); // This should set the opacity back to 60% on mouseout
            
    });
	$("#resources").hover(function(){
            $(this).fadeTo(250, 0.5); // This should set the opacity to 100% on hover
        },function(){
            $(this).fadeTo(250, 1.0); // This should set the opacity back to 60% on mouseout
            
    });
	$("#careers").hover(function(){
            $(this).fadeTo(250, 0.5); // This should set the opacity to 100% on hover
        },function(){
            $(this).fadeTo(250, 1.0); // This should set the opacity back to 60% on mouseout
            
    });
	$("#contactus").hover(function(){
            $(this).fadeTo(250, 0.5); // This should set the opacity to 100% on hover
        },function(){
            $(this).fadeTo(250, 1.0); // This should set the opacity back to 60% on mouseout
            
    });
});


