//specifies total # of random links var myNum = 4; var myURLs = new Array(myNum); myURLs[0] = "http://www.bgsu.edu"; myURLs[1] = "http://www.syr.edu"; myURLs[2] = "http://www.cia.edu"; myURLs[3] = "http://www.cmu.edu"; var myRandom = Math.floor(Math.random() * myNum); var randURL = ""; "; document.write(randURL); l_brain2 l_back l_random