<!-- begin JavaScript
 function displayFact(displaycount,type){
   // Random Quotes Generator
	
	var pixel ="";
	var bgColor ="";
	var factImg ="";
   arraycount=2
   quote = new Array(arraycount);
   author = new Array(arraycount);
	 
   // type is responsibility
   if (type=="r"){
   		quote [0] = "Sam Walton, who founded Wal-Mart in 1962, focused on southwestern and Midwestern towns, where there was little competition from national chains. He understood the essential role of roads-for his customers and for the distribution of goods to his stores.";
   		author [0] = ""; 		   
		pixel = "images/spacer.gif";  
		bgColor="#003366";
		factImg ="resp_07.gif";					
   }
   else if(type=="c"){
   	   quote[0] = "Microchip manufacturing depends on water supply infrastructure. The biggest fabrication plants, up to two football fields long, use more than one million gallons of water a day.";
   		author[0] = "";
   		quote [1] = "Micro-chip manufacturing depends on water supply infrastructure.  The biggest fabrication plants, up to two football fields long, use more than one million gallons of water a day.";
   		author [1] = "";  		
		pixel = "images/spacer.gif";  		
		bgColor="#663300";		
		factImg ="cost_07.gif";					
   }
   else if(type=="safe"){
   		//quote[0] = "";
//   		author[0] = "";
   		quote[0] = "In 2006, there were 6 million traffic crashes in the U.S., injuring just under 2.6 million people, and the number of highway fatalities reached its lowest level, 42,642, in five years.";
   		author[0] = "";
   		quote[1] = "";
   		author[1] = "";			
		pixel = "images/spacer.gif";  	
		bgColor="#660000";	
		factImg ="safe_07.gif";									
		}
   else if(type=="size"){
   		    quote [0] = "In the early and mid-20th century, civil engineers tackled the nation's problem of rapid urbanization by building skyscrapers that helped open up land at ground level. Built in 1931, the 102-floor Empire State Building was the world's tallest building for more than 40 years.";
   		     
		pixel = "images/spacer.gif"; 
		bgColor="#336600";	
		factImg ="size_07.gif";								 		
   }
   else if(type=="a"){
   		quote [0] = "Americans consume 378 million cups of coffee per day. Most of each serving is water. Water keeps the cups clean, too. Large quantities of water are required for the irrigation of coffee trees and the processing of beans.";
   		author[0] = "";
			quote [1] = "The 600-mile California State Water Project provides the ability to import, store, and distribute water from areas of surplus to areas of need.";
   		author [1] = "";
			quote [2] = "Some analysts believe the 2001 power crisis in California was due to the massive electricity requirements of server farms and chip fabrication plants.  Electricity for homes averages one watt per square foot while server farms use 75 -100 watts per square foot.";
   		author [2] = "";  
		pixel = "images/spacer.gif";  	
		bgColor="#996600";					
		factImg ="avail_07.gif";					
   }         
   else if(type=="p"){  
			quote [0] = "Communities have found new uses for abandoned “big box” stores in some cases. Old stores in Buffalo, Charlotte, Laramie, Wyo., and Hastings, Neb., are now public schools. An old Kmart in Austin, Minn., houses Hormel Foods’ offices and Spam museum.  ";
   	//	author [0] = "";   
   		quote [1] = "With an estimated cost of $600 million upon its completion in 2006, the Springfield, Virginia, interchange will include 50 new bridges and a 24-lane freeway in some areas.";
   		author [1] = "";			
   		quote [2] = "Hurricane Andrew was the most costly natural disaster in U.S. history when it hit Florida in 1992, causing $20 billion worth of damage.  Civil engineering research conducted afterward showed that improperly driven nails resulted in many roof blow-offs.";
   		author [2] = "";
		pixel = "images/spacer.gif";  	
		bgColor="#993300";		
		factImg ="perm_07.gif";			
   }
   
                 
  //calculates a random index
  index = Math.floor(Math.random() * quote.length);

  //displays quotes
  ind=index+1; qcount=arraycount+1;
  document.write("<table border=0  width=206 cellpadding=0 cellspacing=0><tr><td colspan=3 height=1 bgcolor=\'"+bgColor+"\'><img src=\'"+pixel+"\' width=206 height=1></td></tr>"+
  		"<tr><td bgcolor=\'"+bgColor+"\'><img src=\'"+pixel+"\' width=1></td><td align=right valign=top><img src=\'images\/"+factImg+"\'></td><td bgcolor=\'"+bgColor+"\'><img src=\'"+pixel+"\' width=1></td>"+
  		"<tr><td bgcolor=\'"+bgColor+"\'><img src=\'"+pixel+"\' width=1></td><td align=left valign=top>"+
     	"<div class=\'factoid\' style=margin-left:25;margin-right:15px;>" + quote[index] + "</div><br></td><td bgcolor=\'"+bgColor+"\'><img src=\'"+pixel+"\' width=1></td>");
  
  document.write("<td align=right>&nbsp;<BR><BR><BR>"  + 
                "</td></tr><tr><td colspan=3 height=1 bgcolor=\'"+bgColor+"\'><img src=\'"+pixel+"\' width=206 height=1></td></tr></table>");
	  //document.write("<div class=\'factoid\' style=margin-left:25;margin-right:15px;left:0px;>" + quote[index] + "</div>);
	  
}
// end JavaScript -->