﻿// Drop shadow

window.onload = function() {
	$(".container1").dropShadow({left: 0, top: 0, blur: 3, opacity: 0.2});
}		


// Equal height

function equalHeight(group) {
	tallest = 0;
	group.each(function() {
		thisHeight = $(this).height();
		if(thisHeight > tallest) {
			tallest = thisHeight;
		}
	});
	group.height(tallest);
}

/* Initiate scripts */
$(document).ready(function(){
	equalHeight($(".equal1"));
});


// Carousel

$(function() {
	$(".carousel").jCarouselLite({
		btnNext: ".our-boards-next",
		btnPrev: ".our-boards-prev",
		auto: 5000,
		speed: 1500,
		scroll: 3,
		visible: 5
	});
});
