/*
 *	jQuery Custom Functions
 *  By Simon Bouchard
*/

var j = jQuery.noConflict();

/* Application Showcase */
	
j(document).ready(function(){  	
		
	/* Application Showcase Slider */
	j('#slider').innerfade({
		animationtype: 'fade', 
		speed: '3000',
		timeout: 7000,
		type: 'sequence',
		containerheight: 'auto'
	});
	
	/* Client Testimonials Slider */
	j('#slider2').innerfade({
		animationtype: 'fade', 
		speed: '5000',
		timeout: 20000,
		type: 'sequence',
		containerheight: 'auto'
		});		

	/* Screenshots */
	j('.boxgrid.captionfull').hover(
	function(){ //On hover...
		j(".cover", this).fadeIn("fast");
	}, 
	function() { //On hover out...
		j(".cover", this).fadeOut("fast");
	});
	
	/* Table Style */  	
	j("#table-a tr:odd").addClass("odd");	
	
	/* Lightbox */
	j("a[rel^='prettyPhoto']").prettyPhoto({
		showTitle: false
	});

});	
