$(document).ready(function() {
    $('#header').cycle({
		fx: 'fade',
		speed: 6000
	});
});

$(document).ready(function() {
    $('#mainimage').cycle({
		fx: 'fade',
		speed: 6000,
		cleartype:  1, // enable cleartype corrections 
		cleartypeNoBg: true
	});
});

$(document).ready(function() {
    $('.testimonials').cycle({
		fx: 'cover',
		speed: 500, 
    	timeout: 24000 
	});
});

$(document).ready(function() {
    $('.memory').cycle({
		fx: 'cover',
		speed: 500, 
    	timeout: 24000 
	});
});

$(document).ready(function() {
    $('.memoryslide').cycle({
		fx: 'cover',
		speed: 500, 
    	timeout: 18000 
	});
});

$(document).ready(function() {
    $('.rotater').cycle({
		fx: 'cover',
		speed: 500, 
    	timeout: 16000,
    	height: 'auto'
	});
});

$(document).ready(function() {
    $('.workshops').cycle({
		fx: 'cover',
		speed: 500, 
    	timeout: 24000
	});
});

$(document).ready(function() {
    $('.workshops-long').cycle({
		fx: 'cover',
		speed: 500, 
    	timeout: 24000
	});
});
	
$(document).ready(function(){
	$(".divContainer div").hide();
	
	$("#theSelect").change(function(){
		var value = $(this).val();
		var theDiv = $(".is" + value);
		$(theDiv).show(300);
		$("#theSelect").hide();
		var selector = ".divContainer div[class!=.is" + value + "]";
		console.log(selector);
		$(".divContainer div[class!=is" + value + "]").hide(300);
	});
	
	
});
