function MM_setTextOfLayer(objName,x,newText) { //v4.01
  if ((obj=MM_findObj(objName))!=null) with (obj)
    if (document.layers) {document.write(unescape(newText)); document.close();}
    else innerHTML = unescape(newText);
}

function get_program_feature() { //v4.0 - Timer added

	var program="";
	var programlink="";
	var programtext="";
	var programarray = new Array(
		new Array("Biological and Biomedical Sciences", "medicalsciences"),
		new Array("Biological Sciences in Dental Medicine", "dental_medicine"),
		new Array("Biological Sciences in Public Health", "public_health"),
		new Array("Biophysics", "biophysics"),
		new Array("Chemical Biology", "chemical_biology"),
		new Array("Chemistry and Chemical Biology", "chemistry_chemical_biology"),
		new Array("Immunology", "immunology"),
		new Array("Molecular and Cellular Biology", "molecular_cellular"),
		new Array("Neuroscience", "neuroscience"),
		new Array("Organismic and Evolutionary Biology", "organismic"),
		new Array("Systems Biology", "systems_biology"),
		new Array("Virology", "virology")
	);

	var numberofprograms = programarray.length;
	var random=Math.floor(Math.random()*numberofprograms);

	program = programarray[random][0];
	programlink = programarray[random][1];
	
	programtext = ("<table border='0' cellpadding='0' cellspacing='0' width='100%'><tr><td><p class='topbarimg'><a href='" + programlink + ".html'><img alt='' src='images/home/" + programlink + ".jpg' width='95' height='95' border='0'></a></p>"+
	"<h3>HILS Member Program</h3>"+
	"<h4><a href='" + programlink + ".html'>" + program + "</a></h4></td></tr></table>");
	MM_setTextOfLayer('featuredprogram','', escape(programtext));
	setTimeout("get_program_feature()",10000);
}
