/*
copyright Stephen Ensminger @ Media27, Inc.
2010-2011

These variables are initialized by the parent and then accessed by every script in the chain using transitions

*/

var transitionVariables = function(){

	this.isPhaseLimit = Array();
	this.isPhaseLimit[1] = 0;
	this.isPhaseLimit[2] = 1;

	this.MaxIdleTime = 5;
	this.IdleCountTime = 0;
	
	// default
	this.transitionsEnabled = 0; // disabled
	this.intervalStartRate = 500;
	this.intervalRate = 1000;

	this.isFirstImageLoaded = 0;
	
	this.isSlideShowOn = 1;
	
	// image data
	this.arr_collection = Array();

	this.lastClickedSubcategorySet = 0;

    this.arr = Array(0,1,2);

    this.arr[1] = Object();
	this.arr[1]['transitionIntervalId'];
	this.arr[1]['gCurrentTransitionSection'] = 0;
	this.arr[1]['numOfTransitionSections'] = 13;
	
	this.arr[2] = Object();
	this.arr[2]['transitionIntervalId'];
	this.arr[2]['gCurrentTransitionSection'] = 0;
	this.arr[2]['numOfTransitionSections'] = 2;

	
}
var jtransition = new transitionVariables();

