/*
 *
 * Author: Teamwurkz Technologies Inc. (http://www.teamwurkz.com)
 * ssfeaturedalbum.js
 *
 */


	var ttic = 0;
	var ttid = 3;	
	var tticurrSlide;
	var ttiselSlide ;
	
	setTimeout(ttislidePlay,100);
	
	function ttislidePlay()
		{
			if (!ttiselSlide) {			
			tticurrSlide = ttic;
			
			$("#ttislide"+ttic).fadeIn(2000);
			$("#ttislidedesc"+ttic).show("slide", { direction: "down" }, 2000);

			setTimeout(ttitagSlide,10000);
			}
		}
	
	function ttitagSlide()
		{
			if (ttiselSlide!='') {
			$("#ttislide"+ttic).fadeOut(2000);
			ttic=ttic+1;
			if ( ttic > ttid ) { ttic = 0; }
			ttislidePlay();			
			}
		}

	function ttislideSelect(ttix)
		{
		
		var ttix;
		
		ttiselSlide=ttix;
		if (ttiselSlide != tticurrSlide) {
			
			$("#ttislide"+ttiselSlide).fadeIn(2000);
			$("#ttislidedesc"+ttiselSlide).show("slide", { direction: "down" }, 2000);
			$("#ttislide"+tticurrSlide).fadeOut(1000);
			tticurrSlide = ttiselSlide;
		}
		
		}

