/*
SPEVision Web Player Release 2.6 - Objects constructors and collections definition script ("objects.js")
Author: Enrico Griso
Company: SPEsperia
Version: 2.6
Date of release: 18/08/2003
*/

/*
This file contains the code needed to initialize all the objects used in the application.
This file also manages the object collections used in the application.
*/

//slides collection
var aSlides = new Array();

//clip object constructor
function clip(id,titleId,duration)
	{
	this.id = id;
	this.titleId = titleId;
	this.duration = duration;
	}
	
//clip collection
var aClips = new Array();

//element constructor
function element(id,type,source,destination)
	{
	this.id = id;
	this.type = type;	
	this.source = source;
	this.destination = destination;
	}
	
//elements collection
var aElements = new Array();

//event constructor
function playerEvent(id,elements)
	{
	this.id = id;
	this.elements = elements;
	}
	
//events collection
var aEvents = new Array();