// JavaScript Document
$(function() {
$('.imgOpa').each(function() {
$(this).hover(
	function() {
		$(this).stop().animate({ opacity: 0.5 }, 100);
	},
   function() {
	   $(this).stop().animate({ opacity: 1.0 }, 100);
   })
});
var totalDivs = $("#wrapper div").length;
var currentDiv = 0;
var setSpeed = 400;
var chainInterval = setInterval(showChain, setSpeed);
function showChain() 
{
	if (currentDiv < totalDivs) {
	$("#wrapper  div:eq(" + currentDiv + ")").fadeIn();
	currentDiv++;
	} 
	else 
	{
	clearInterval(chainInterval);
	}
}
$('#imageslide').show(function(){
$(this).animate({opacity:1,height:'113px'},1000);
});
$(".middle").jCarouselLite({
				 auto: 800,
    			 speed: 1000
			});
			$('img.captify').captify({});
});
