// JavaScript Document
function openLink(option) {
       url = option;
       //title = option.innerText;
       theWindow = window.open(url, 'RAMBO',
           'height=600,width=800,left=100,top=100,resizable=yes,scrollbars=yes,toolbar=no,status=no');

}


var quotenumber = 7  ;

var randomnumber = Math.random() ;

var rand1 = Math.round( (quotenumber-1) * randomnumber) + 1 ;

quotes = new Array

quotes[1] = "<p><a href=\"images/testimonials/AZacharyCAU05.jpg\" target=\"_blank\"><img src=\"images/testimonials/A-Zachary-CAU05_sm.jpg\" width=79 height=77></a></p><p>A. Zachary</p><p>\"My goal is to become a lawyer and a judge,\" says Minnesota resident A. Zachary. \"Support from the generous contributors to <strong>the United Negro College Fund</strong> has been a strong instrument that has kept me, and others like me, confident and on track. You have proved the old saying 'It takes a village to raise a child' to be true. On behalf of my parents and myself, thank you for your generous support of the United Negro College Fund.\" </p>"

quotes[2] = "<p><a href=\"images/testimonials/Alberto2.jpg\" target=\"_blank\"><img src=\"images/testimonials/Alberto2_sm.jpg\" width=79 height=77></a></p><p>\"When I moved here from Mexico, I needed help to learn English,\" says Alberto. \"It was very hard to find a good job or do simple things like going to a restaurant without knowing the language. That's when I found out about ESL classes at <strong>United Way's CLUES</strong> (Chicanos Latinos Unidos en Servicios, Inc.). These classes have really helped me to learn English and find a better job. Now, instead of being the employee who needs everything translated into Spanish, I am translating for my peers.\"</p>"

quotes[3] = "<p><a href=\"images/testimonials/girlinMud.jpg\" target=\"_blank\"><img src=\"images/testimonials/girlinMud_sm.jpg\" width=79 height=77></a></p><p>Last summer, \"Jolene,\" 14, got a job with <strong>Tree Trust</strong>. She and her crew transformed an eroded hillside trail in a park by building a retaining wall and two staircases, and planting trees, shrubs and grasses. Like other risk youth who work with Tree Trust, Jolene didn't start with a lot of confidence. But they accomplished their project, and now Jolene says: \"I learned that I could do anything if I try and put forth an effort, if I work hard.\"</p>"
quotes[4] = "<p><a href=\"images/testimonials/hawthornePhoto.jpg\" target=\"_blank\"><img src=\"images/testimonials/hawthornePhoto_sm.jpg\" width=79 height=77></a></p><p>Among the Hmong refugees who recently settled in Minnesota are children who now attend Jordan Park School in Minneapolis. The children endured ridicule because they spoke little English and did not understand American culture. The school provided a safe haven where the children could learn English together yet their teacher did not know the Hmong language or culture. With help from the <strong>Hawthorne Area Community Council</strong>, the children organized and convinced a school board member to hire a teacher who spoke Hmong. Now they are advancing more quickly.</p>"

quotes[5] = "<p><a href=\"images/testimonials/MarshalFoodShelf.jpg\" target=\"_blank\"><img src=\"images/testimonials/MarshalFoodShelf_sm.jpg\" width=79 height=77></a></p><p>\"<strong>Open Your Heart to the Hungry and Homeless</strong> is a lifeline for those fighting hunger in Minnesota,\" says Colleen Moriarity, director of Hunger Solutions Minnesota. Each year, because of the ongoing support of Open Your Heart to the Hungry and Homeless, Minnesota food banks and food shelves are able to obtain more than 1 million pounds of food for hungry Minnesotans, including more than 800,000 pounds of fresh, nutritious produce. About half of the people served by food shelves are children. </p>"

quotes[6] = "<p><a href=\"images/testimonials/MayDayCeremony.jpg\" target=\"_blank\"><img src=\"images/testimonials/MayDayCeremony_sm.jpg\" width=79 height=77></a></p><p>Since 1973, <strong>In the Heart of the Beast Puppet and Mask Theatre</strong> (HOBT) has been using water, flour, newspaper, paint and unlimited imagination to tell stories that explore the struggles and celebrations of human existence. HOBT creates vital, poetic theater for all ages and backgrounds. HOBT's MayDay Parade and Festival is eagerly anticipated by thousands of people who flock to the parade route and ceremony site to join this annual spring ritual. MayDay generates immense joy and a sense of community as thousands of people work towards a common purpose.</p>"
quotes[7] = "<p><a href=\"images/testimonials/Streble_20060516.jpg\" target=\"_blank\"><img src=\"images/testimonials/Streble_20060516_sm.jpg\" width=79 height=77></a></p><p>Following a routine checkup, Angie and Shaughn Laehn learned that their 2-and-a-half-year-old daughter, Emma, had a rare form of cancer. As Shaughn rocked his sleepy little girl, the radiologist explained that Emma had a cancerous mass in her chest. She was treated successfully at the <strong>University of Minnesota Children's Hospital, Fairview</strong>, and remains cancer-free today. \"I hope someday Emma can tell her grandkids she had cancer,\" said Shaughn. \"And they'll ask, 'What's that, Grandma?' because cancer won't be something little kids have to worry about anymore.\"</p>"
//quotes[8] = 	"<p><a href=\"images/testimonials/homeless.jpg\" target=\"_blank\"><img src=\"images/testimonials/homeless_sm.jpg\" width=79 height=77></a></p><p>XaiQuan, six years old, and his brother, Xyrael, five years old, came to St. Anne's Place, a small homeless shelter in North Minneapolis supported by <strong>Open Your Heart to the Hungry and Homeless</strong>. Their mother had a difficult time finding work and affordable housing. The family participates in many support groups and activities. Their mother is currently preparing to obtain her GED, so that she will be able to find a good job and provide her children with a better life. Thanks to generous support from Open Your Heart to the Hungry and Homeless, St. Anne's Place is able to provide XaiQuan, Xyrael, and hundreds of other children every year with backpacks, school supplies, gym shoes, school photos, and seasonal clothing.</p>"

var quote = quotes[rand1]


$(document).ready(function(){	   
	var lastModified = "September, 12 2009";
	$('#lastModified').text(lastModified);
	var today = new Date();
	var year = today.getFullYear();
	$('#copyYear').text(year);
});

function IEifyTables(browser) { 
	if (browser == 'msie'){
			$('.tableDiv').each(function(i) { 
				$(this).css('height','400px');
				$(this).css('overflow','scroll');
			});
			
			$('.cfdTable th').each(function(i) { 
				$(this).css('padding','4px');				
			});
			
			$('.cfdTable td').each(function(i) { 
				$(this).css('padding','4px');
				$(this).css('border-right','1px solid #ffffff');
				$(this).css('vertical-align','top');
				$(this).css('font-size','.85em');				
			});
			
			$('.cfdTable tr').each(function(i) { 
				if (i%2!=0) {
					$(this).css('background-color','#eeeeee');
					$(this).mouseover(function(){
						$(this).css('background-color','#d9ebf5');
					}).mouseout(function(){
						$(this).css('background-color','#eeeeee');
					});	
				} else { 
					$(this).css('background-color','#ffffff');
					$(this).mouseover(function(){
						$(this).css('background-color','#d9ebf5');
					}).mouseout(function(){
						$(this).css('background-color','#ffffff');
					});
				}		
			});
		}else{
			$('.cfdTable').flexigrid();
		}
}