var Thumbnail = Class.create();

Thumbnail.prototype =
{
	title: "",
	thumbnailFile: "",
	imageFile: "",
	element: null,
	
	initialize: function(title, thumbnailFile, imageFile, width, height)
	{
		this.title = title;
		this.thumbnailFile = thumbnailFile;
		this.imageFile = imageFile;
		this.element = new Image();
		this.element.src = thumbnailFile;
		if(width != null) this.element.width = width;
		if(height != null) this.element.width = height;						
	}
	
}