//store the quotations in arrays
quotes = new Array(6);
authors = new Array(6);
quotes[0] = "The course has been great and gave me more insight and awareness of epilepsy.";
quotes[1] = "Overall the course was enlightening and confidence building.";
quotes[2] = "I learned so much more than I expected to and changed many of my previous thoughts and ideas on the subject.";
quotes[3] = "Sally's experience of living with uncontrolled seizures has helped me to understand the condition.";
quotes[4] = "The course has helped me to understand more about epilepsy and how it can be managed.";
quotes[5] = "It was generally informative and has enhanced my confidence in my job.";
quotes[6] = "It was helpful to have a trainer who has personal experience of the condition.";
quotes[7] = "Good to have someone present the course that has been through the subject in every way.";
quotes[8] = "Extremely informative, covered all areas of definition causes and tests available; the effects it has on the individual psychologically, emotionally and socially. Sally's willingness to share her personal experiences made the course real";
quotes[9] = "Valuable addition to my knowledge base and will be more authoritative in my future dealings with my client group and be able to offer guidance, support and undertake risk assessment";
quotes[10] = "Sally Gomersall is a proficient facilitator, incredibly knowledgeable and keen to impact that knowledge.";
quotes[11] = "Very helpful and will assist me in areas of my role in supporting and caring for the service users in my work place.";


//calculate a random index
index = Math.floor(Math.random() * quotes.length);

function write_quote(){
	document.getElementById('testimonial_quote').innerHTML = "&quot;" + quotes[index] + "&quot;";	
}

window.addEventListener?window.addEventListener("load",write_quote,false):window.attachEvent("onload",write_quote);
