// JavaScript Document


var base  = "artwork/images/covers/";
var cover = new Array();
var text = new Array();


//cover[0] = base + "Galas-tango-Orfeo.gif";
cover[0] = base + "Galas-tango2.gif";
cover[1] = base + "Galas-tango1.gif";
cover[2] = base + "Orquestango.gif";
cover[3] = base + "Orquestango2.gif";
cover[4] = base + "Nuestros-compos.gif";
cover[5] = base + "Nuestros-compos1.gif";

//text[0] = '<embed height="25" width="250" flashvars="pName=player1&amp;duration=253000&amp;mp3=http://dl.dropbox.com/u/3933498/LONDON_RADIO.mp3" allowscriptaccess="always" wmode="transparent" quality="high" bgcolor="#336699" name="player1" id="player1" style="" src="http://graphics8.nytimes.com/js/section/podcasts/inlinePlayerScale.swf" type="application/x-shockwave-flash">';
text[0] = '<center><b>La Yumba</b></center><embed height="25" width="250" flashvars="pName=player1&amp;duration=25300&amp;mp3=http%3A%2F%2Fdetolcwsksece.cloudfront.net%2F51754.mp3" allowscriptaccess="always" wmode="transparent" quality="high" bgcolor="#336699" name="player1" id="player1" style="" src="http://filarmonica.org.uy/artwork/js/inlinePlayerScale.swf" type="application/x-shockwave-flash">';
text[1] = '<center><b>La Cumparsita</b></center><embed height="25" width="250" flashvars="pName=player1&amp;duration=25300&amp;mp3=http%3A%2F%2Fdetolcwsksece.cloudfront.net%2F51856.mp3" allowscriptaccess="always" wmode="transparent" quality="high" bgcolor="#336699" name="player1" id="player1" style="" src="http://filarmonica.org.uy/artwork/js/inlinePlayerScale.swf" type="application/x-shockwave-flash">';
text[2] = '<center><b>Astor Piazzolla</b></center><embed height="25" width="250" flashvars="pName=player1&amp;duration=25300&amp;mp3=http%3A%2F%2Fdetolcwsksece.cloudfront.net%2F51865.mp3" allowscriptaccess="always" wmode="transparent" quality="high" bgcolor="#336699" name="player1" id="player1" style="" src="http://filarmonica.org.uy/artwork/js/inlinePlayerScale.swf" type="application/x-shockwave-flash">';
text[3] = '<center><b>Alfonsina y el Mar</b></center><embed height="25" width="250" flashvars="pName=player1&amp;duration=25300&amp;mp3=http%3A%2F%2Fdetolcwsksece.cloudfront.net%2F51864.mp3" allowscriptaccess="always" wmode="transparent" quality="high" bgcolor="#336699" name="player1" id="player1" style="" src="http://filarmonica.org.uy/artwork/js/inlinePlayerScale.swf" type="application/x-shockwave-flash">';
text[5] = '<center><b>Jaur&eacute;s Lamarque Pons<br/>Suite de ballet seg&uacute;n Figari (Reyes)</b></center><embed height="25" width="250" flashvars="pName=player1&amp;duration=25300&amp;mp3=http%3A%2F%2Fdetolcwsksece.cloudfront.net%2F51861.mp3" allowscriptaccess="always" wmode="transparent" quality="high" bgcolor="#336699" name="player1" id="player1" style="" src="http://filarmonica.org.uy/artwork/js/inlinePlayerScale.swf" type="application/x-shockwave-flash">';
text[4] = '<center><b>Leo Masliah <br/>Concierto para guitarra y cuerdas<br/>Guitarra: Eduardo Fern&aacute;ndez</b></center><embed height="25" width="250" flashvars="pName=player1&amp;duration=25300&amp;mp3=http%3A%2F%2Fdetolcwsksece.cloudfront.net%2F52002.mp3" allowscriptaccess="always" wmode="transparent" quality="high" bgcolor="#336699" name="player1" id="player1" style="" src="http://filarmonica.org.uy/artwork/js/inlinePlayerScale.swf" type="application/x-shockwave-flash">';



var index = Math.floor(Math.random() * cover.length);

window.onload = function() {
	document.getElementById("randomCoverImg").src = cover[index]; 
	document.getElementById("album-info").innerHTML = text[index]; 
}
