var team = 0;// news ticker function// settingsTickerStart = 0; // which news item to start atTickerSpeed = 40; // typing speed, lower=fasterTickerPause = 4000; // how long to pause for between itemsTickerPos = 0; // do not changefunction TextTicker() { 	var ticker = document.getElementById("tickertext");	var thisText = NewsItems[TickerStart][0]; // the title	var thisLink = NewsItems[TickerStart][1]; // the link	var thisLength = thisText.length;	ticker.innerHTML = thisText.substring(0,TickerPos) + "&nbsp;";	ticker.href = thisLink;	if(TickerPos++==thisLength)	{		TickerPos = 0;		TickerStart++;		if(TickerStart==NewsItems.length) TickerStart = 0;		setTimeout("TextTicker()",TickerPause);	}	else setTimeout("TextTicker()",TickerSpeed);	}// array to hold animation alt tagsAnimTags = new Array();AnimTags[1] = "Doctor in white coat";AnimTags[2] = "Woman taking oral medication";AnimTags[3] = "Woman in dentist's chair";AnimTags[4] = "Medication and label";AnimTags[5] = "Doctor reassures patient in surgery";AnimTags[6] = "Doctor in consultation with woman patient";AnimTags[7] = "Doctor holds stethoscope to child's cuddly toy";AnimTags[8] = "Doctor examines boy's ear";AnimTags[9] = "Baby's hand";AnimTags[10] = "Capsule held in elderly woman's fingers";// load a random image (10 max)function DisplayAnim() {	var r = Math.random()*9+1;	var r = r<1 ? 1 : Math.round(r);	var back = team ? "../":"";	document.write("<p><img src=\""+back+"images/animations/anim" + r + ".jpg\" width=\"196\" height=\"212\" alt=\""+AnimTags[r]+"\" title=\""+AnimTags[r]+"\" /></p>");}