rnd.today=new Date();
rnd.seed=rnd.today.getTime();

function rnd() {
        rnd.seed = (rnd.seed*9301+49297) % 233280;
        return rnd.seed/(233280.0);
};

function rand(number) {
        return Math.ceil(rnd()*number);
};

		var Names		= new Array(6);
		var Images		= new Array(6);
		var Captions	= new Array(6);
		var Links		= new Array(6);
		
		var BasePageImages 	= 'faceimg/'
		var BasePageLinks	= 'http://www.mcmaster.ca/research/faces/'

Names = [	'Sonia Anand',
			'Hertzel Gerstein',
			'Jack Hirsh',
			'Jack Gauldie',
			'Paul O’Byrne',
			'Salim Yusuf',
			];

Images = [	'photo_anand.jpg',
			'photo_gerstein.jpg',
			'photo_hirsh.jpg',
			'photo_gauldie.jpg',
			'photo_obyrne.jpg',
			'photo_yusuf.jpg',
			];
			

Captions = 	['Sonia Anand is the Eli Lilly Canada-May Cohen Chair in Women’s Health and studies risk factors for cardiovascular disease.',
			'Uncovering ways to prevent diabetes – and the consequences of diabetes and dysglycemia – is Hertzel Gerstein, the first holder of the Population Health Institute Chair in Diabetes Research.',
			'Dr. Jack Hirsh, professor emeritus in medicine and director of the Henderson Research Centre, is an internationally recognized clinician and scientist in anti-coagulant therapy and thrombosis.',
			'At the forefront of Gene Therapeutics – the use of the gene as a drug – is Dr. Jack Gauldie, chair of pathology and molecular medicine.',
			'Paul O’Byrne, hopes to determine factors that predispose people to developing allergies and asthma as a step toward reducing the prevalence of childhood asthma.', 
			'His work in cardiovascular disease earned Dr. Salim Yusuf, director of cardiology, a Who’s Who in Healthcare Award in 2001 from Canadian Healthcare Manager.',
			];

Links	= [	'faces_anand.htm',
			'faces_gerstein.htm',
			'faces_hirsh.htm',
			'faces_gauldie.htm',
			'faces_obryne.htm',
			'faces_yusef.htm',
			];

	var Which = rand(6)-1;

document.write('  <td width="296" valign="top"> <br> ');
document.write('  <a href="',BasePageLinks,Links[Which],'">');
document.write('  <img SRC="',BasePageImages,Images[Which],'" ALT="',Names[Which],'" border=0 width="296" height="245"><br>');
document.write('  <font size="-2"></a>',Captions[Which],'</font> ');
