//picture array
pictureList = new Array();
pictureList[1] = "<img src='random_images/acupuncture.jpg' alt='acupunture' />";
pictureList[2] = "<img src='random_images/ankle.jpg' alt='ankle' />";
pictureList[3] = "<img src='random_images/backpain1.jpg' alt='backpain' />";
pictureList[4] = "<img src='random_images/backpain2.jpg' alt='backpain' />";
pictureList[5] = "<img src='random_images/calfpain.jpg' alt='calfpain' />";
pictureList[6] = "<img src='random_images/elbow.jpg' alt='elbow' />";
pictureList[7] = "<img src='random_images/electrotherapy.jpg' alt='electrotherapy' />";
pictureList[8] = "<img src='random_images/handpain.jpg' alt='handpain' />";
pictureList[9] = "<img src='random_images/headache.jpg' alt='headache' />";
pictureList[10] = "<img src='random_images/knee.jpg' alt='knee' />";
pictureList[11] = "<img src='random_images/neckpain.jpg' alt='neckpain' />";
pictureList[12] = "<img src='random_images/shoulderpain.jpg' alt='shoulderpain' />";
pictureList[13] = "<img src='random_images/sports_injuries.jpg' alt='sports injuries' />";
	
//randomization
var now = new Date();
var secs = now.getSeconds();
var raw_random_number = Math.random(secs);
var random_number = Math.round(raw_random_number * (pictureList.length));
if (random_number == pictureList.length){random_number = 0}
//set picture
var picture = pictureList[random_number];
