/*
	Aleksandr Vladimirskiy
	<sasha@solutionset.com>
	4/21/06
	Prototype based JavaScript Class
	Uses Behaviour to initiate
	On/Off behavior for a div element
	while selecting a random piece of text to display inside the div
*/
var myrules = {
		'#highlight-trigger' : function(element){
			element.onmouseover = function(){
				var list = ['<h5>Lowell (Massachusetts)</h5><p>In Lowell (Massachusetts) DSRA serves as evaluator for a project to improve middle school mathematics learning through the use of data-driven decision making and the uses of Galileo software.</p><a href="/project-highlights">Project Highlights &raquo;</a>','<h5>Boston Museum of Science</h5><p>DSRA is evaluating the Engineering Is Elementary project which helps teachers infuse their teaching with techniques of collaborative, creative problem solving using the engineering design process.<a href="/project-highlights">Project Highlights &raquo;</a></p>','<h5>Gender Chip Project</h5><p>DSRA is investigating the effects of a documentary examining the experiences of female undergraduate students majoring in engineering over their four years at Ohio State University.</p><a href="/project-highlights">Project Highlights &raquo;</a>','<h5>WGBH (Boston public television)</h5><p>Davis Square Research Associates evaluated the Eye on Education series designed to help urban parents better understand the impact of high stakes testing on children.</p><a href="/project-highlights">Project Highlights &raquo;</a>', '<h5>The CityLab project</h5><p>Boston Medical Center develops units around medical content to improve student learning and scientific reasoning skills. DSRA is the external evaluator of this multi-year project.</p><a href="/project-highlights">Project Highlights &raquo;</a>', '<h5>MCI/MARCOPOLO</h5><p>DSRA conducted a two-site quasi-experimental study on the effects of using MarcoPolo applets on student learning of elementary mathematics.</p><a href="/project-highlights">Project Highlights &raquo;</a>'];
				if (Element.visible('highlight')) {
					Element.hide('highlight');
				} else {
					var ran_number=Math.floor(Math.random()*list.length);
					Element.update('highlight', list[ran_number]);
					Element.show('highlight');
				}
			}
		}
	};
Behaviour.register(myrules);