/*
 *	jQuery Innerfade
 *  This plugin is used on the homepage.
*/


/* Application Showcase */
	$(document).ready(function(){  	
		$('#slider').innerfade({
				animationtype: 'fade', 
				speed: '4000',
				timeout: 7000,
				type: 'sequence',
				containerheight: 'auto'
		});	
});

/* Client Testimonials */
	$(document).ready(function(){  	
		$('#slider2').innerfade({
				animationtype: 'fade', 
				speed: '2000',
				timeout: 15000,
				type: 'sequence',
				containerheight: 'auto'
		});
});

/* Board views */
    $(document).ready(function() {
        $('#slider3').innerfade({
            animationtype: 'fade',
            speed: '3000',
            timeout: 5000,
            type: 'sequence',
            containerheight: 'auto'
        });
    });

    /* Bottleneck views */
    $(document).ready(function() {
        $('#slider4').innerfade({
            animationtype: 'fade',
            speed: '3000',
            timeout: 5000,
            type: 'sequence',
            containerheight: 'auto'
        });
    });    

/* Screenshots */
	$(document).ready(function(){ 
		$('.boxgrid.captionfull').hover(function(){ //On hover...
			$(".cover", this).fadeIn("fast");
		}, 
		function() { //On hover out...
			$(".cover", this).fadeOut("fast");
		});

});

/* Table Style */
	$(document).ready(function(){  	
		$("#table-a tr:odd").addClass("alt");	
	});
	
/* Lightbox */
    $(document).ready(function(){
        $('.boxgrid a').lightBox();
    });

