//NOTE: Requires Mootools 1.2 (http://mootools.net)

var Timeline = new Class({
	
	options:
	{
		
	},
	
	sections: new Array(),
	
	//Constructor
	initialize: function(options)
	{
		
	}
	
});

var Section = new Class({
	
	properties:
	{
		
	},
	
	products: new Array(),
	
	initialize: function(properties)
	{
		this.properties = properties;
	}
	
});

var Product = new Class({
	
	properties:
	{
		
	},
	
	initialize: function(properties)
	{
		this.properties = properties;
	}
	
});


var timeline = new Timeline();

var spaceOdysseys = new Section({
	name: 'Space Odysseys',
	summary: 'This period form the end of the Second World War to the mid 1970s was a period of great political tension and exceptional creativity which touched all aspects of life.',
	fullText: 'Art and design were not peripheral symptoms of politics during the Cold War: they played a central role in representing and sometimes challenging the dominant political and social ideas of the age. By bringing together innovative works of art, design and architecture from the West and the East for the first time, the exhibition will reveal the Cold War as a conflict between differing conceptions of modern life - the competition to be modern.',
	comments:
	[
		{
			author: 'John James',
			date: '23 October 2008',
			text: 'This is such a great period for Modernism. I think the Architecture was really cutting edge.  Good work on the Exhibition, I cant wait to see it for real.'
		},
		{
			author: 'Jessica Smith',
			date: '20 October 2008',
			text: 'Amazing exhibition, awesome photography and pieces. Well Done!'
		}
	]
});

var telecomsTower = new Product
({
	section: 5,
	category: 3,
	name: 'Telecoms Tower, Czechoslovakia', 
	year: 1962,  
	description: 'This period from the end of the Second World War to the mid 1970s was a period of great political tension and exceptional creativity which touched all aspects of life, from everyday products to the highest arenas of human achievement in science and culture. Art and design were not peripheral symptoms of politics during the Cold War: they played a central role in representing and sometimes challenging the dominant political and social ideas of the age.',
	imgUrl: '/images/exhibition/tower.jpg',
	googleMapUrl: 'http://maps.google.com/url'
});


spaceOdysseys.products.push(telecomsTower);
timeline.sections.push(spaceOdysseys);

console.log(timeline.sections);
