var tracks = [
	new Track('antigen shift - this moment of cold remembering',
				'track/track.mp3?20040117',
				'17-jan-2004'),

	new Track('beautumn - everfields',
				'track/track1.mp3?20040117',
				'17-jan-2004')
];

function Track(title, url, updated)
{
	this.getURL = new Function("return this.url");
	this.getTitle = new Function("return this.title");
	this.getUpdated = new Function("return this.updated");
	
	this.title = title;
	this.url = url;
	this.updated = updated;
}

function getRandomID(count)
{
	var ind = count;
	while (ind > count-1)
		ind = Math.round(Math.random()*10);
	
	return ind;
}

function getRandomTrack()
{	return tracks[getRandomID(tracks.length)];
}
