// JavaScript Document

function writeRandomText(){
	randText =  
		[
		 "<h3>Latest News</h3><h2>The new CONSORT guidelines were published on the 24th March 2010.  They are available at <a href=\"http://www.consort-statement.org/\">www.consort-statement.org</a></h2>",
		 "<h3>Did you know</h3><h2>WriteSource Medical Pty Ltd can provide training and mentoring in Medical Writing?</h2>"
		] 

	selection = randText[Math.floor(Math.random()*randText.length)];

	document.getElementById('yellowbubble').innerHTML = selection;
};
