//**********************************************************************************************************************
/**
* DOCUMENT: /core/plugins/events/front/projects.back.js
* DEVELOPED BY: Ryan Stemkoski
* COMPANY: Zipline Interactive
* EMAIL: ryan@gozipline.com
* PHONE: 509-321-2849
* DATE: 4/28/2010
* DESCRIPTION: This document has all of the javascript functions required for the events  plugin.
*/
//***********************************************************************************************************************

function show_project(index) {
	$('.image_large, .desc').hide();
	$('.image_large').eq(index).show();
	$('.desc').eq(index).show();
}

//***********************************************************************************************************************
//ON DOCUMENT READY FUNCTIONS
//***********************************************************************************************************************
$(function() {

	// Load first image
	show_project(0);

	//SWITCH THE GALLERY PHOTOS UNDER PROJECTS
	$('.thumb_wrapper').click(function() {

		var index = $('.thumb_wrapper').index(this);
		show_project(index);
		
	});

	
});

