// JavaScript Document
$(document).ready(function(){
						   
////////////////////////////////////////////////////////////
// Banner Rotativo
////////////////////////////////////////////////////////////
$('#banner').nivoSlider({
	effect:'random', //Specify sets like: 'fold,fade,sliceDown'
	slices:15,
	animSpeed:250, //Slide transition speed
	pauseTime:9000,
	startSlide:0, //Set starting Slide (0 index)
	directionNav:true, //Next & Prev
	directionNavHide:false, //Only show on hover
	controlNav:false, //1,2,3...
	controlNavThumbs:false, //Use thumbnails for Control Nav
	controlNavThumbsFromRel:false, //Use image rel for thumbs
	controlNavThumbsSearch: '.jpg', //Replace this with...
	controlNavThumbsReplace: '_thumb.jpg', //...this in thumb Image src
	keyboardNav:true, //Use left & right arrows
	pauseOnHover:true, //Stop animation while hovering
	manualAdvance:false, //Force manual transitions
	captionOpacity:0.8, //Universal caption opacity
	beforeChange: function(){},
	afterChange: function(){},
	slideshowEnd: function(){}, //Triggers after all slides have been shown
	lastSlide: function(){}, //Triggers when last slide is shown
	afterLoad: function(){} //Triggers when slider has loaded
});
					   
////////////////////////////////////////////////////////////
// Ampliar imagem
////////////////////////////////////////////////////////////
$('#img-sidebar li').click(function(){
	$('#main div').hide();
	$('.imgfull').fadeIn();	
}),

$('.imgfull .voltar').click(function(){
	$('#main div').hide(); // Reset na view
	$('#text-content').fadeIn();
});

$('.img-full-alfa .voltar').click(function(){
	$('.img-full-alfa').hide();
	$('#text-content').fadeIn();
});

////////////////////////////////////////////////////////////
// Alfa
////////////////////////////////////////////////////////////
$('#img-alfa-01').click(function(){
	$('#main div').hide(); // Reset na view
	$('.img-full-alfa-01').fadeIn();
});

// 165mm
$('#img-alfa-02').click(function(){
	$('#main div').hide(); // Reset na view
	$('.img-full-alfa-02').fadeIn();
});

// 195mm
$('#img-alfa-03').click(function(){
	$('#main div').hide(); // Reset na view
	$('.img-full-alfa-03').fadeIn();
});

////////////////////////////////////////////////////////////
// Delta
////////////////////////////////////////////////////////////
$('#img-delta-01').click(function(){
	$('#main div').hide(); // Reset na view
	$('.img-full-delta-01').fadeIn();
});

$('#img-delta-02').click(function(){
	$('#main div').hide(); // Reset na view
	$('.img-full-delta-02').fadeIn();
});

$('#img-delta-03').click(function(){
	$('#main div').hide(); // Reset na view
	$('.img-full-delta-03').fadeIn();
});

$('#img-delta-04').click(function(){
	$('#main div').hide(); // Reset na view
	$('.img-full-delta-04').fadeIn();
});

////////////////////////////////////////////////////////////
// Volumétrico
////////////////////////////////////////////////////////////
$('#img-volumetrico-01').click(function(){
	$('#main div').hide(); // Reset na view
	$('.img-full-volumetrico-01').fadeIn();
});

$('#img-volumetrico-02').click(function(){
	$('#main div').hide(); // Reset na view
	$('.img-full-volumetrico-02').fadeIn();
});

////////////////////////////////////////////////////////////
// Orçamento
////////////////////////////////////////////////////////////
$('#orca').click(function(){
	$('#main div').hide(); // Reset na view
	$('.box-form-orcamento').fadeIn();
});

$('.box-form-orcamento .voltar').click(function(){
	$('#main div').hide(); // Reset na view
	$('#text-content').fadeIn();
});

////////////////////////////////////////////////////////////
// Download
////////////////////////////////////////////////////////////
$('#down').click(function(){
	$('#main div').hide(); // Reset na view
	$('#box-download').fadeIn();
});

$('#box-download .voltar').click(function(){
	$('#main div').hide(); // Reset na view
	$('#text-content').fadeIn();
});

////////////////////////////////////////////////////////////
// Limpar input
////////////////////////////////////////////////////////////
      


// Fim
});
