HP = new Array (9) ;
for ( i = 0; i < HP.length; ++ i ) {
	HP [i] = new Array(4);
}
	
HP [0] [0] = "Water";
HP [0] [1] = "<p>Fresh water is precious, and an increasingly limited resource. Regions of every continent now experience periodic water stress in one form of another.</p><p>Sustainable water resource development, planning and management are challenges addressed at the <a href='http://water.columbia.edu' target='_blank'>Columbia Water Center</a>.</p>";
HP [0][2]= "<img src='/sitefiles/image/home/water_2.jpg' />";
HP [0][3]="<a href=\"/articles/view/2125\" onmouseover=\"changeImages('corner_gray1', '/img/layout/corner_gray/corner_blue.gif'); return true;\" onmouseout=\"changeImages('corner_gray1', '/img/layout/corner_gray/corner_gray.gif'); return true;\" onmousedown=\"changeImages('corner_gray1', '/img/layout/corner_gray/corner_blue.gif'); return true;\" onmouseup=\"changeImages('corner_gray1', '/img/layout/corner_gray/corner_blue.gif'); return true;\"><img name=\"corner_gray1\" src=\"/img/layout/corner_gray/corner_gray.gif\" border=\"0\" alt=\"\"></a>";

HP [1] [0] = "Energy";
HP [1] [1] = "<p>Energy issues are an important part of a sustainable future.</p><p>Scientists at the Earth Institute are exploring technologies and solutions to help ensure future supplies of environmentally sound energy.</p>"; 
HP [1][2] = "<img src='/sitefiles/image/home/energy_2.jpg' alt='Energy' />";
HP [1][3] = "<a href=\"/articles/view/2126'\" onmouseover=\"changeImages('corner_gray2', '/img/layout/corner_gray/corner_blue.gif'); return true;\" 	onmouseout=\"changeImages('corner_gray2', '/img/layout/corner_gray/corner_gray.gif'); return true;\" onmousedown=\"changeImages('corner_gray2', '/img/layout/corner_gray/corner_blue.gif'); return true;\" onmouseup=\"changeImages('corner_gray2', '/img/layout/corner_gray/corner_blue.gif'); return true;\"><img name=\"corner_gray2\" src=\"/img/layout/corner_gray/corner_gray.gif\"  border=\"0\" alt=\"\"></a>";

HP[2][0]="Climate and Society";
HP[2][1]="<p>While the dynamic interaction between humans and climate is not new, the scale of the interaction has reached unprecedented proportions.</p><p>There is a need to develop and evaluate mitigation and adaptation strategies, and improve the dissemination of information to enable managing climate risks, policy concerns, and social and political science.</p>";
HP [2][2]="<img src='/sitefiles/image/home/climate_1.jpg' alt='Climate and Society' />";
HP [2][3]= "<a href=\"/articles/view/2124\"	onmouseover=\"changeImages('corner_gray3', '/img/layout/corner_gray/corner_blue.gif'); return true;\"	onmouseout=\"changeImages('corner_gray3', '/img/layout/corner_gray/corner_gray.gif'); return true;\"	onmousedown=\"changeImages('corner_gray3', '/img/layout/corner_gray/corner_blue.gif'); return true;\"	onmouseup=\"changeImages('corner_gray3', '/img/layout/corner_gray/corner_blue.gif'); return true;\"><img name=\"corner_gray3\" src=\"/img/layout/corner_gray/corner_gray.gif\"  border=\"0\" alt=\"\"></a>";

HP[3][0]="Ecosystems Health and Monitoring";
HP[3][1]="<p>Healthy ecosystems are important to life on Earth.</p><p> They provide priceless services such as air purification, water filtration and food production.</p>";
HP[3][2]="<img src='/sitefiles/image/home/ecosystems_1.jpg'  alt='Ecosystems Health and Monitoring' />";
HP[3][3]= "<a href=\"/articles/view/2132\"	onmouseover=\"changeImages('corner_gray4', '/img/layout/corner_gray/corner_blue.gif'); return true;\"	onmouseout=\"changeImages('corner_gray4', '/img/layout/corner_gray/corner_gray.gif'); return true;\"	onmousedown=\"changeImages('corner_gray4', '/img/layout/corner_gray/corner_blue.gif'); return true;\"	onmouseup=\"changeImages('corner_gray4', '/img/layout/corner_gray/corner_blue.gif'); return true;\"><img name=\"corner_gray4\" src=\"/img/layout/corner_gray/corner_gray.gif\"  border=\"0\" alt=\"\"></a>";

HP[4][0]="Food, Ecology and Nutrition";
HP[4][1]="<p>Caloric intake alone is not a sufficient indicator of an individual's or a society's nutritional status.</p><p>Healthy populations require healthy environments and sufficient nutrients to meet basic dietary needs.</p>";
HP[4][2]="<img src='/sitefiles/image/home/food_1.jpg'  alt='Food' />";
HP[4][3]="<a href=\"/articles/view/2129\"	onmouseover=\"changeImages('corner_gray5', '/img/layout/corner_gray/corner_blue.gif'); return true;\"	onmouseout=\"changeImages('corner_gray5', '/img/layout/corner_gray/corner_gray.gif'); return true;\"	onmousedown=\"changeImages('corner_gray5', '/img/layout/corner_gray/corner_blue.gif'); return true;\"	onmouseup=\"changeImages('corner_gray5', '/img/layout/corner_gray/corner_blue.gif'); return true;\"><img name=\"corner_gray5\" src=\"/img/layout/corner_gray/corner_gray.gif\"  border=\"0\" alt=\"\"></a>";

HP[5][0]="Global Health";
HP[5][1]="<p>Global health is greatly affected by factors such as changes in global and regional climate, water resource quality, food growing capacity and ecosystem health.</p><p>Poor human health in turn affects the capacity of the global population to deal with environmental changes and adapt to them.</p>";
HP[5][2]="<img src='/sitefiles/image/home/health_1.jpg' alt='Global Health' />";
HP[5][3]="<a href=\"/articles/view/2130\"	onmouseover=\"changeImages('corner_gray6', '/img/layout/corner_gray/corner_blue.gif'); return true;\"	onmouseout=\"changeImages('corner_gray6', '/img/layout/corner_gray/corner_gray.gif'); return true;\"	onmousedown=\"changeImages('corner_gray6', '/img/layout/corner_gray/corner_blue.gif'); return true;\"	onmouseup=\"changeImages('corner_gray6', '/img/layout/corner_gray/corner_blue.gif'); return true;\"><img name=\"corner_gray6\" src=\"/img/layout/corner_gray/corner_gray.gif\"  border=\"0\" alt=\"\"></a>";

HP[6][0]="Hazards";
HP[6][1]="<p>Natural disasters--hurricanes, earthquakes, droughts, landslides and others--are on the rise.</p><p>With increasing numbers of people living in crowded cities and other vulnerable areas, it is more important than ever to advance our understanding of natural disasters and the ways in which humans respond to them.</p>";
HP[6][2]="<img src='/sitefiles/image/home/hazards_1.jpg' alt='Hazards' />";
HP[6][3]="<a href=\"/articles/view/2127\"	onmouseover=\"changeImages('corner_gray7', '/img/layout/corner_gray/corner_blue.gif'); return true;\"	onmouseout=\"changeImages('corner_gray7', '/img/layout/corner_gray/corner_gray.gif'); return true;\"	onmousedown=\"changeImages('corner_gray7', '/img/layout/corner_gray/corner_blue.gif'); return true;\"	onmouseup=\"changeImages('corner_gray7', '/img/layout/corner_gray/corner_blue.gif'); return true;\"><img name=\"corner_gray7\" src=\"/img/layout/corner_gray/corner_gray.gif\"  border=\"0\" alt=\"\"></a>";

HP[7][0]="Poverty";
HP[7][1]="<p>Revolutionary advances in science and technology have lifted humanity to new heights of prosperity and longevity in many parts of the world. </p><p>But over a billion people live in extreme poverty and suffer from preventable diseases, polluted water sources, lack of education and other severe cyclical hardships.</p>";
HP[7][2]="<img src='/sitefiles/image/home/poverty_1.jpg' alt='Poverty' />";
HP[7][3]="<a href=\"/articles/view/2131\"	onmouseover=\"changeImages('corner_gray8', '/img/layout/corner_gray/corner_blue.gif'); return true;\"	onmouseout=\"changeImages('corner_gray8', '/img/layout/corner_gray/corner_gray.gif'); return true;\"	onmousedown=\"changeImages('corner_gray8', '/img/layout/corner_gray/corner_blue.gif'); return true;\"	onmouseup=\"changeImages('corner_gray8', '/img/layout/corner_gray/corner_blue.gif'); return true;\"><img name=\"corner_gray8\" src=\"/img/layout/corner_gray/corner_gray.gif\"  border=\"0\" alt=\"\"></a>";

HP[8][0]="Urbanization";
HP[8][1]="<p>The year 2007 marked the first time in history when over half of the world's population lived in urban areas.</p><p>Since urbanization is ongoing, this means that most people will live apart from where their food is grown, and are dependent on vast and complex infrastructures for their livelihoods.</p>";
HP[8][2]="<img src='/sitefiles/image/home/urbanization_1.jpg' alt='Urbanization' />";
HP[8][3]="<a href=\"/articles/view/2128\"	onmouseover=\"changeImages('corner_gray9', '/img/layout/corner_gray/corner_blue.gif'); return true;\"	onmouseout=\"changeImages('corner_gray9', '/img/layout/corner_gray/corner_gray.gif'); return true;\"	onmousedown=\"changeImages('corner_gray9', '/img/layout/corner_gray/corner_blue.gif'); return true;\"	onmouseup=\"changeImages('corner_gray9', '/img/layout/corner_gray/corner_blue.gif'); return true;\"><img name=\"corner_gray9\" src=\"/img/layout/corner_gray/corner_gray.gif\"  border=\"0\" alt=\"\"></a>";

	var rand1=random_num();	
	var rand2 = random_num();
	
	while (rand2==rand1){
		rand2 = random_num();		
	}		
		elements1= new Array(4);
		elements1 = display(rand1);			
				
		elements2= new Array(4);
		elements2 = display(rand2);

function random_num (){	
		var rand = Math.floor ( ( Math.random ( ) * 9) ) ; 		
		return rand;	
}
	//display 
	function display(val){
				var col ;
				var i=0;														
				elements = new Array(4);
				
				for ( col = 0;  col < HP[val].length; ++col ) {
					var value = HP[val][col];												
					 elements[i] = value;								
					++i;
				}		
			return elements;
	}
  
