﻿/* ================================
================================ */
function displayDiv(divToDisplay) {
	// Retrieve the control
	var dvDisplay = document.getElementById(divToDisplay);

	// Loop through the divs
	for (i = 1; i <= 7; i++) {
		// Retrieve the control
		var dvServices = document.getElementById("dv" + i);

		// Hide the div
		dvServices.style.visibility = 'hidden'
		dvServices.style.display = 'none'
	}

	// Display the selected div
	dvDisplay.style.visibility = 'visible'
	dvDisplay.style.display = 'block'
}

/* ================================
================================ */
jQuery(document).ready(function () {
	jQuery('#first-carousel').jcarousel({
		scroll: 1
	});

	jQuery('#second-carousel').jcarousel({
		scroll: 1
	});
	
jQuery('#third-carousel').jcarousel({
		scroll: 1
	});	
});

