Joe’s Random Music

17 Mar

<script language=”javascript”>

function random_audlink(){

var audiosingers=new Array()
var audiotitle=new Array()
var audioslink=new Array()

var i=0

audiosingers[i]=”Bob Marley”
audiotitle[i]=”No Woman No Cry”

var ra=0

while (ra==0)
var ra=Math.floor(Math.random()*audioslink.length)

document.write(‘<embed src=’ + audioslink[ra] + ‘ loop=”true” autostart=”true” width=”180″ height=”28″>’)
//document.write(‘<br>’ + audiosingers[ra] + ” – ” + ‘<br>’ + audiotitle[ra])



Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: