$(document).ready(function() {

	// Toggle index boxes

	$('h3#box01toggle').click(function() {
		$('#box01').toggle(100);
		$('#box02').hide();
		$('#box03').hide();
		$('#box04').hide();
		$('#box05').hide();
		return false;
	});

	$('#box02').hide();
	$('h3#box02toggle').click(function() {
		$('#box02').toggle(100);
		$('#box01').hide();
		$('#box03').hide();
		$('#box04').hide();
		$('#box05').hide();
		return false;
	});

	$('#box03').hide();
	$('h3#box03toggle').click(function() {
		$('#box03').toggle(100);
		$('#box01').hide();
		$('#box02').hide();
		$('#box04').hide();
		$('#box05').hide();
		return false;
	});

	$('#box04').hide();
	$('h3#box04toggle').click(function() {
		$('#box04').toggle(100);
		$('#box01').hide();
		$('#box02').hide();
		$('#box03').hide();
		$('#box05').hide();
		return false;
	});

	$('#box05').hide();
	$('h3#box05toggle').click(function() {
		$('#box05').toggle(100);
		$('#box01').hide();
		$('#box02').hide();
		$('#box03').hide();
		$('#box04').hide();
		return false;
	});

});

// Slider Aquablue
$(document).ready(function(){
	$("#myController").jFlow({
		slides: "#slides",
		controller: ".jFlowControl", // must be class, use . sign
		slideWrapper : "#jFlowSlide", // must be id, use # sign
		selectedWrapper: "jFlowSelected",  // just pure text, no sign
		auto: true,		//auto change slide, default true
		width: "610px",
		height: "335px",
		duration: 400,
		prev: ".jFlowPrev", // must be class, use . sign
		next: ".jFlowNext" // must be class, use . sign
	});
});
