function draw_volunteers(voltype,data) {
	draw_volunteer_menu(voltype);
	var content = '';
	var counter = 0;
	for ( var i in data ) {
		if(counter%2 == 0){
			content += '<DIV CLASS=row>';
		}
		if(counter%8 == 0 && counter != 0){
			content += '<DIV CLASS=volunteer><BR><BR><BR><BR><BR>You Could Be Here!</DIV>';
			counter++;
		}
		content += '<DIV CLASS=volunteer><IMG SRC="' + data[i][0] + '" BORDER=0><BR>' +
		data[i][1] + '</DIV>\n';
		if(counter%2 == 1){
			content += '</DIV>';
		}
		counter++;
	}
	document.getElementById('volunteer_intro').innerHTML = volunteer_intros[voltype];
	document.getElementById('volunteer_content').innerHTML = content;
}
function draw_volunteer_menu(active_tab){
	var goldclass = active_tab == 'gold'? 'tab_item290_selected': 'tab_item290';
	var silverclass = active_tab == 'silver'? 'tab_item290_selected': 'tab_item290';
	var content = '<DIV CLASS=' + goldclass + ' ID=gold_vols_tab onClick="draw_volunteers(\'gold\',gold_volunteers)"'
			    + ' onMouseOut="this.style.backgroundColor=#fff"'
			    + ' onMouseOver="this.style.backgroundColor=#ddd">Gold Volunteeers</DIV>'
	            + '<DIV CLASS=' + silverclass + ' ID=silver_vols_tab onClick="draw_volunteers(\'silver\',silver_volunteers)"'
			    + ' onMouseOver="this.style.backgroundColor=#ddd"'
			    + ' onMouseOut="this.style.backgroundColor=#fff">Silver Volunteers</DIV>';
	write_content('volunteer_menu',content);
}
