$(document).ready(function() {
	
	$(function(){
		$('#footer-slides').bxSlider({
			displaySlideQty: 4,
			controls: true,
			moveSlideQty: 1
		});
	});
	
	$('#social .facebook').hover(function(){
		$(this).attr('src', site_url+'/images/facebook-over.png');
	}, function() {
		$(this).attr('src', site_url+'/images/facebook.png');
	});
	
	$('#social .twitter').hover(function(){
		$(this).attr('src', site_url+'/images/tweeter-over.png');
	}, function() {
		$(this).attr('src', site_url+'/images/tweeter.png');
	});
	
	$('#header-icons .classes').hover(function(){
		$(this).attr('src', site_url+'/images/classes-hover.png');
	}, function() {
		$(this).attr('src', site_url+'/images/classes-icon.png');
	});
	
	$('#header-icons .exhibit').hover(function(){
		$(this).attr('src', site_url+'/images/exhibit-hover.png');
	}, function() {
		$(this).attr('src', site_url+'/images/exhibit-icon.png');
	});
	
	$('#header-icons .camera').hover(function(){
		$(this).attr('src', site_url+'/images/camera-hover.png');
	}, function() {
		$(this).attr('src', site_url+'/images/camera-icon.png');
	});
	
	$('#header-icons .events').hover(function(){
		$(this).attr('src', site_url+'/images/events-icon-hover.png');
	}, function() {
		$(this).attr('src', site_url+'/images/events-icon.png');
	});
	
	$('.corporate-partners a').fancybox({
		autoDimensions: false,
		width: 600
	});
});
