function Project(aId, aTitle, aDesc, aFeatured, aThumb){
	this.id = aId;
	this.title = aTitle;
	this.description = aDesc;
	this.featured = aFeatured;
	this.thumb = aThumb;
	this.media = new Array();
}

Project.prototype = {
	addMedia : function (aType,aSrc,aThumb,aDesc,aLusterVars){
		
		var id = this.media.length;
		
		this.media[id] = new Array();
		this.media[id].type = aType;
		this.media[id].src = aSrc;
		this.media[id].thumb = aThumb;
		this.media[id].description = aDesc;
		
		if(aLusterVars != null){
			this.media[id].lusterVars = new Array();
			
			for(var i=0;i < aLusterVars.length;i++){
				this.media[id].lusterVars[i] = new Array(aLusterVars[i][0],aLusterVars[i][1]);
			}
		}
	}
}