function init()
{
	// createPlayer("../flv/audi.flv", "still.jpg", false, false, "audi - bbh", "track 1 - composition,<br /> track 2 - eternal source of light by elin manahan thomas");
	createPlayer("../flv/cadbury.flv", "still.jpg", false, true, "Cadbury - Fallon", "You don't have to take all your clothes off by Jermaine Stewart");
}

function createPlayer(theFile, theImg, start, icons, client, track)
{
	var s1 = new SWFObject("swf/player.swf","dragplayer","415","252","7");
	/*s1.addVariable("width", "533");
	s1.addVariable("height", "310");*/
	s1.addVariable("fullscreen", "true");
	s1.addVariable("file", theFile);
	if (start) s1.addVariable("autostart", "true");
	if (! icons) s1.addVariable("showicons", "false");
	if (theImg != "") s1.addVariable("image", theImg);
	s1.write("movieplayer");
	
	var clientInfo = document.getElementById("client");
	clientInfo.innerHTML = client;
	
	var trackInfo = document.getElementById("track");
	trackInfo.innerHTML = track;
}

function play(number)
{
	switch(number)
	{
		case 2: 
			createPlayer("../flv/talktalk.flv", "", true, true, "Talk Talk - CHI &amp; Partners", "Unchained Melody - The Righteous Brothers");
			// createPlayer("../flv/shangri-la.flv", "", true, true, "shangri-la - ogilvy singapore", "arrangement of norbu by bruno coulais");
  			break;   
		
		case 3: 
			// createPlayer("../flv/o2.flv", "", true, true, "o2 - vccp", "composition by MJ Cole");
			createPlayer("../flv/audi.flv", "", true, true, "audi - bbh", "track 1 - composition,<br /> track 2 - eternal source of light by elin manahan thomas");

  			break;   
  			
		case 4: 
			createPlayer("../flv/shangri-la.flv", "", true, true, "shangri-la - ogilvy singapore", "arrangement of norbu by bruno coulais");
  			break;   
		
		case 5: 
			createPlayer("../flv/bee-tv.flv", "", true, true, "bee tv - sonny london", "music by yonderboi");
  			break;   
		
		case 6: 
			createPlayer("../flv/o2priority.flv", "", true, true, "O2 - VCCP", "itŐs raining - peter, paul &amp; mary");
  			break;
		
		case 7: 
			createPlayer("../flv/1-monster.flv", "", true, true, "monster - gorgeous / bbdo ny", "dream on by the chemical brothers");
			break;
		
		case 8: 
			createPlayer("../flv/glenfiddich.flv", "", true, true, "glenfiddich - leagas delaney", "composition");
  			break;
		
  		case 9:
  			createPlayer("../flv/lynx.flv", "", true, true, "bbh - lynx", "\"lucky man\" by courtney john");
  			break;
  		
  		case 10: 
  			createPlayer("../flv/ford.flv", "", true, true, "ogilvy - ford", "\"to a seahorse\" by moondog");
  			break;
		
		default:
			createPlayer("../flv/cadbury.flv", "", true, true, "Cadbury - Fallon", "You don't have to take all your clothes off by Jermaine Stewart");
	}
}
