//Copyright 2008 Gaburo Associates, All rights reserved.
//last update 5/25/2011

function assign(category)
{
var list = [ 
{cat:'attorney', cat2:'', profile:'yes', vcard:'yes', id:'bwanderson', n:'Anderson, Bradley W.', t:'Of Counsel', p:'612-339-6900', o:'Minneapolis'},
{cat:'staff', cat2:'', profile:'yes', vcard:'yes', id:'dranderson', n:'Anderson, Danielle R.', t:'Paralegal', p:'612-339-6900', o:'Minneapolis'},
{cat:'attorney', cat2:'', profile:'yes', vcard:'yes', id:'dwasp', n:'Asp, David W.', t:'Associate', p:'612-596-4091', o:'Minneapolis'},
{cat:'staff', cat2:'', profile:'yes', vcard:'yes', id:'crbaehman', n:'Baehman, Carey R.', t:'Paralegal', p:'612-596-4045', o:'Minneapolis'},
{cat:'lobbyist', cat2:'lobbyist', profile:'yes', vcard:'yes', id:'beutest', n:'Beutel, Scott T.', t:'Grassroots Associate', p:'612-339-6900', o:'Minneapolis'},
{cat:'lobbyist', cat2:'', profile:'yes', vcard:'yes', id:'lkbjorge', n:'Bjorge, Lydia K.', t:'State Government Relations', p:'651-253-8237', o:'Minneapolis'},
{cat:'attorney', cat2:'', profile:'yes', vcard:'yes', id:'wjbruckner', n:'Bruckner, W. Joseph', t:'Partner', p:'612-339-6900', o:'Minneapolis'},
{cat:'attorney', cat2:'', profile:'no', vcard:'yes', id:'jmbryant', n:'Bryant, John M.', t:'Project Attorney', p:'612-339-6900', o:'Minneapolis'},
{cat:'lobbyist', cat2:'', profile:'yes', vcard:'yes', id:'arburmeister', n:'Burmeister, Andrew R.', t:'Federal Relations', p:'202-544-9840', o:'Washington D.C.'},
{cat:'attorney', cat2:'', profile:'yes', vcard:'yes', id:'bdclark', n:'Clark, Brian D.', t:'Associate', p:'612-339-6900', o:'Minneapolis'},
{cat:'attorney', cat2:'', profile:'yes', vcard:'yes', id:'csdavis', n:'Davis, Craig S.', t:'Associate', p:'612-339-6900', o:'Minneapolis'},
{cat:'attorney', cat2:'', profile:'no', vcard:'yes', id:'rjchristiansen', n:'Christiansen, Rachel J.', t:'Project Attorney', p:'612-339-6900', o:'Minneapolis'},
{cat:'staff', cat2:'', profile:'yes', vcard:'yes', id:'hrdrinkwine', n:'Drinkwine, Holli R.', t:'Legislative and Business Development Manager', p:'612-596-4083', o:'Minneapolis'},
{cat:'attorney', cat2:'', profile:'yes', vcard:'yes', id:'seellingstad', n:'Ellingstad, Susan E.', t:'Partner', p:'612-339-6900', o:'Minneapolis'},
{cat:'lobbyist', cat2:'', profile:'yes', vcard:'yes', id:'eaemerson', n:'Emerson, Elizabeth A.', t:'State Government Relations', p:'612-596-4031', o:'Minneapolis'},
{cat:'staff', cat2:'', profile:'no', vcard:'yes', id:'bmemmons', n:'Emmons, Becky M.', t:'Director of Human Services', p:'612-339-6900', o:'Minneapolis'},
{cat:'attorney', cat2:'', profile:'no', vcard:'yes', id:'alewald', n:'Ewald, Amy L.', t:'Project Attorney', p:'612-339-6900', o:'Minneapolis'},
{cat:'attorney', cat2:'', profile:'yes', vcard:'yes', id:'gmfishbein', n:'Fishbein, Gregg M.', t:'Partner', p:'612-596-4044', o:'Minneapolis'},
{cat:'attorney', cat2:'', profile:'yes', vcard:'yes', id:'ymflaherty', n:'Flaherty, Yvonne M.', t:'Partner', p:'612-339-6900', o:'Minneapolis'},
{cat:'attorney', cat2:'lobbyist', profile:'yes', vcard:'yes', id:'mafranklin', n:'Franklin, Michael A.', t:'Associate / Manager of Grassroots Practice', p:'612-578-5372', o:'Minneapolis'},
{cat:'attorney', cat2:'', profile:'no', vcard:'yes', id:'kkfreier', n:'Freier, Krista K.', t:'Project Attorney', p:'612-339-6900', o:'Minneapolis'},
{cat:'attorney', cat2:'', profile:'yes', vcard:'yes', id:'hegallaher', n:'Gallaher, Harry E.', t:'Managing Partner', p:'612-339-6900', o:'Minneapolis'},
{cat:'attorney', cat2:'', profile:'yes', vcard:'yes', id:'wagengler', n:'Gengler, William A.', t:'Partner', p:'612-339-6900', o:'Minneapolis'},
{cat:'staff', cat2:'', profile:'no', vcard:'yes', id:'brgilles', n:'Gilles, Barbara R.', t:'Legal Administrative Assistant', p:'612-596-4062', o:'Minneapolis'},
{cat:'staff', cat2:'', profile:'no', vcard:'yes', id:'mggilmer', n:'Gilmer, Mark G.', t:'Accounting', p:'612-339-6900', o:'Minneapolis'},
{cat:'attorney', cat2:'', profile:'yes', vcard:'yes', id:'htgrindal', n:'Grindal, H. Theodore', t:'Partner', p:'612-596-4038', o:'Minneapolis'},
{cat:'staff', cat2:'', profile:'no', vcard:'yes', id:'sjgutknecht', n:'Gutknecht, Savannah J.', t:'Legal Administrative Assistant', p:'612-596-4059', o:'Minneapolis'}, 
{cat:'attorney', cat2:'', profile:'yes', vcard:'yes', id:'clhartel', n:'Hartel, Constance L.', t:'Staff Attorney', p:'612-339-6900', o:'Minneapolis'},
{cat:'staff', cat2:'', profile:'yes', vcard:'yes', id:'sshaynes', n:'Haynes, Selena S.', t:'Paralegal', p:'612-399-6900', o:'Minneapolis'},
{cat:'staff', cat2:'', profile:'no', vcard:'yes', id:'mchealy', n:'Healy, Mary C.', t:'Director of Information Technology', p:'612-339-6900', o:'Minneapolis'},
{cat:'attorney', cat2:'', profile:'no', vcard:'yes', id:'vkhoiness', n:'Hoiness, Valerie K.', t:'Project Attorney', p:'612-339-6900', o:'Minneapolis'},
{cat:'attorney', cat2:'', profile:'yes', vcard:'yes', id:'amhorningnygren', n:'Horning Nygren, Anna M.', t:'Associate', p:'612-596-4010', o:'Minneapolis'},
{cat:'staff', cat2:'', profile:'no', vcard:'yes', id:'ctjohansen', n:'Johansen, Cheryl T.', t:'Legal Administrative Assistant', p:'612-399-6900', o:'Minneapolis'},
{cat:'attorney', cat2:'', profile:'yes', vcard:'yes', id:'cvjohnson', n:'Johnson, Caia V.', t:'Staff Attorney', p:'612-399-6900', o:'Minneapolis'},
{cat:'staff', cat2:'', profile:'yes', vcard:'yes', id:'sljuell', n:'Juell, Sherri L.', t:'Director of Marketing<br>Paralegal<br>Institutional Investor Liaison', p:'612-596-4040', o:'Minneapolis'},
{cat:'staff', cat2:'', profile:'no', vcard:'yes', id:'kjkelly', n:'Kelly, Kathleen J.', t:'Librarian', p:'612-399-6900', o:'Minneapolis'},
{cat:'lobbyist', cat2:'', profile:'yes', vcard:'yes', id:'rkklett', n:'Klett, Rebecca K.', t:'Director, State Government Relations', p:'612-596-4066', o:'Minneapolis'},
{cat:'lobbyist', cat2:'', profile:'yes', vcard:'yes', id:'mgknight', n:'Knight, Megan G.', t:'Federal Relations', p:'202-544-9840', o:'Washington D.C.'},
{cat:'attorney', cat2:'', profile:'no', vcard:'yes', id:'mskrohn', n:'Krohn, Matthew S.', t:'Project Attorney', p:'612-339-6900', o:'Minneapolis'},
{cat:'attorney', cat2:'', profile:'yes', vcard:'yes', id:'jrkrohnfeldt', n:'Krohnfeldt, Jonathan R.', t:'Staff Attorney', p:'612-399-6900', o:'Minneapolis'},
{cat:'staff', cat2:'', profile:'no', vcard:'yes', id:'jakrumm', n:'Krumm, Jessica A.', t:'Legal Administrative Assistant', p:'612-596-4058', o:'Minneapolis'}, 
{cat:'staff', cat2:'', profile:'no', vcard:'yes', id:'lllagro', n:'Lagro, Loni L.', t:'Receptionist', p:'612-399-6900', o:'Minneapolis'},
{cat:'lobbyist', cat2:'', profile:'yes', vcard:'yes', id:'dglarson', n:'Larson, Dan G.', t:'State Government Relations', p:'612-596-4013', o:'Minneapolis'},
{cat:'staff', cat2:'', profile:'yes', vcard:'yes', id:'kjleroy', n:'LeRoy, Kelly J.', t:'Paralegal', p:'612-339-6900', o:'Minneapolis'},
{cat:'attorney', cat2:'', profile:'yes', vcard:'yes', id:'rnlinsk', n:'Linsk, Rick N.', t:'Associate', p:'612-596-4069', o:'Minneapolis'},
{cat:'attorney', cat2:'', profile:'yes', vcard:'yes', id:'ralockridge', n:'Lockridge, Richard A.', t:'Partner', p:'612-339-6900', o:'Minneapolis'},
{cat:'staff', cat2:'', profile:'no', vcard:'yes', id:'galoeding', n:'Loeding, Greg A.', t:'Technology Support Specialist', p:'612-596-4052', o:'Minneapolis'},
{cat:'attorney', cat2:'', profile:'yes', vcard:'yes', id:'kgmarttila', n:'Marttila, Kristen G.', t:'Associate', p:'612-339-6900', o:'Minneapolis'},
{cat:'lobbyist', cat2:'', profile:'yes', vcard:'yes', id:'dmmcgrann', n:'McGrann, Dennis M.', t:'Director, Federal Relations', p:'202-544-9840', o:'Washington D.C.'},
{cat:'staff', cat2:'', profile:'no', vcard:'yes', id:'ssmcneill', n:'McNeill, Sue S.', t:'Legal Administrative Assistant', p:'612-596-4011', o:'Minneapolis'},
{cat:'attorney', cat2:'', profile:'yes', vcard:'yes', id:'hgminette', n:'Minette, Henri G.', t:'Partner', p:'612-339-6900', o:'Minneapolis'},
{cat:'lobbyist', cat2:'', profile:'yes', vcard:'yes', id:'wemitchell', n:'Mitchell, Will E.', t:'Federal Relations', p:'202-544-9840', o:'Washington D.C.'},
{cat:'staff', cat2:'', profile:'no', vcard:'yes', id:'cjmoe', n:'Moe, Carol J.', t:'Controller', p:'612-339-6900', o:'Minneapolis'},
{cat:'attorney', cat2:'', profile:'no', vcard:'yes', id:'samorbey', n:'Morbey, Simeon A.', t:'Project Attorney', p:'612-339-6900', o:'Minneapolis'},
{cat:'attorney', cat2:'', profile:'yes', vcard:'yes', id:'samoriarity', n:'Moriarity, Scott A.', t:'Associate', p:'612-339-6900', o:'Minneapolis'},
{cat:'staff', cat2:'', profile:'no', vcard:'yes', id:'rmmorton', n:'Morton, Rachael M.', t:'Legal Administrative Assistant', p:'612-596-4065', o:'Minneapolis'},
{cat:'staff', cat2:'', profile:'yes', vcard:'yes', id:'cjmraz', n:'Mraz, Carol J.', t:'Administrative Assistant', p:'612-596-4086', o:'Minneapolis'},
{cat:'attorney', cat2:'lobbyist', profile:'yes', vcard:'yes', id:'ncmussell', n:'Mussell, Nathaniel C.', t:'Associate / State Government Relations', p:'612-596-4005', o:'Minneapolis'},
{cat:'attorney', cat2:'', profile:'yes', vcard:'yes', id:'gjmyers', n:'Myers, Greg J.', t:'Partner', p:'612-596-4027', o:'Minneapolis'},
{cat:'attorney', cat2:'', profile:'yes', vcard:'yes', id:'cnnauen', n:'Nauen, Charles N.', t:'Partner', p:'612-596-4006', o:'Minneapolis'},
{cat:'staff', cat2:'', profile:'yes', vcard:'yes', id:'aanewfield', n:'Newfield, Angela A.', t:'Paralegal', p:'612-339-6900', o:'Minneapolis'},
{cat:'attorney', cat2:'', profile:'yes', vcard:'yes', id:'erodette', n:'Odette, Elizabeth R.', t:'Associate', p:'612-596-4030', o:'Minneapolis'},
{cat:'attorney', cat2:'', profile:'yes', vcard:'yes', id:'jbolseth', n:'Olseth, Jeffrey B.', t:'Staff Attorney', p:'612-339-6900', o:'Minneapolis'},
{cat:'staff', cat2:'', profile:'yes', vcard:'yes', id:'hnpotteiger', n:'Potteiger, Heather N.', t:'Paralegal', p:'612-596-4036', o:'Minneapolis'},
{cat:'attorney', cat2:'', profile:'yes', vcard:'yes', id:'ndprosser', n:'Prosser, Nathan D.', t:'Associate', p:'612-596-4042', o:'Minneapolis'},
{cat:'attorney', cat2:'', profile:'yes', vcard:'yes', id:'khriebel', n:'Riebel, Karen Hanson', t:'Partner', p:'612-596-4097', o:'Minneapolis'},
{cat:'staff', cat2:'', profile:'yes', vcard:'yes', id:'akroeglin', n:'Roeglin, Alison K.', t:'Paralegal', p:'612-339-6900', o:'Minneapolis'},
{cat:'attorney', cat2:'', profile:'yes', vcard:'yes', id:'mrsalzwedel', n:'Salzwedel, Matthew R.', t:'Of Counsel', p:'612-596-4037', o:'Minneapolis'},
{cat:'attorney', cat2:'', profile:'yes', vcard:'yes', id:'cksandberg', n:'Sandberg, Christopher K.', t:'Partner', p:'612-339-6900', o:'Minneapolis'},
{cat:'staff', cat2:'', profile:'no', vcard:'yes', id:'jmschatz', n:'Schatz, Jean M.', t:'Accounting', p:'612-339-6900', o:'Minneapolis'}, 
{cat:'attorney', cat2:'', profile:'yes', vcard:'yes', id:'rjschmit', n:'Schmit, Robert J.', t:'Partner', p:'612-339-6900', o:'Minneapolis'},
{cat:'lobbyist', cat2:'', profile:'yes', vcard:'yes', id:'cdsheehan', n:'Sheehan, Cullen D.', t:'State Government Relations', p:'651-270-8235', o:'Minneapolis'},
{cat:'attorney', cat2:'', profile:'yes', vcard:'yes', id:'rkshelquist', n:'Shelquist, Robert K.', t:'Partner', p:'612-339-6900', o:'Minneapolis'},
{cat:'attorney', cat2:'', profile:'yes', vcard:'yes', id:'hmsilton', n:'Silton, Heidi M.', t:'Partner', p:'612-596-4092', o:'Minneapolis'},
{cat:'staff', cat2:'', profile:'yes', vcard:'yes', id:'emsipe', n:'Sipe, Elizabeth M.', t:'Paralegal', p:'612-339-6900', o:'Minneapolis'},
{cat:'attorney', cat2:'', profile:'yes', vcard:'yes', id:'easnelson', n:'Snelson, Elizabeth A.', t:'Of Counsel', p:'612-339-6900', o:'Minneapolis'},
{cat:'attorney', cat2:'', profile:'yes', vcard:'yes', id:'jastrother', n:'Strother, Julie A.', t:'Associate', p:'612-339-6900', o:'Minneapolis'},
{cat:'attorney', cat2:'', profile:'no', vcard:'yes', id:'ksvee', n:'Svee, Kiran', t:'Project Attorney', p:'612-339-6900', o:'Minneapolis'},
{cat:'attorney', cat2:'', profile:'yes', vcard:'yes', id:'ectostrud', n:'Tostrud, Eric C.', t:'Partner', p:'612-339-6900', o:'Minneapolis'},
{cat:'lobbyist', cat2:'', profile:'yes', vcard:'yes', id:'ejtranter', n:'Tranter, Emily J.', t:'Federal Relations', p:'202-544-9840', o:'Washington D.C.'},
{cat:'staff', cat2:'', profile:'no', vcard:'yes', id:'jmtreiber', n:'Treiber, Janet M.', t:'Legal Administrative Assistant', p:'612-596-4046', o:'Minneapolis'},
{cat:'staff', cat2:'', profile:'no', vcard:'yes', id:'arturngren', n:'Turngren, Andrea R.', t:'Technology Support', p:'612-596-4088', o:'Minneapolis'},
{cat:'attorney', cat2:'', profile:'yes', vcard:'yes', id:'vjvanderweide', n:'Vander Weide, Vernon J.', t:'Of Counsel', p:'612-339-6900', o:'Minneapolis'},
{cat:'staff', cat2:'', profile:'no', vcard:'yes', id:'pkzalasky', n:'Zalasky, Pamela K.', t:'File Clerk', p:'612-339-6900', o:'Minneapolis'},
{cat:'attorney', cat2:'', profile:'yes', vcard:'yes', id:'djzoll', n:'Zoll, David J.', t:'Partner', p:'612-596-4028', o:'Minneapolis'}
];

var xx = "";

for (var i = 0; i < list.length; i++)
{
	if (category == 'all' || category == list[i].cat || category == list[i].cat2) {
	var x = '<tr>';
		if (list[i].profile == 'yes') {
	 		x = x + '<td valign="top">' + '<a href="profile_' + list[i].id + '.html">' + list[i].n + '</a>' + '</td>';
	 		}
	 	else if	(list[i].profile == 'no') {
	 		x = x + '<td valign="top">' + list[i].n + '</td>';
	 		}
	 x = x + '<td valign="top">' + list[i].t + '</td>' + '<td valign="top">' + list[i].p + '</td>' + '<td valign="top">' + list[i].o + '</td>';
	 
	 	if (list[i].id == '') {
	 		x = x + '<td valign="top">' + ' ' + '</td>';
	 		}
	 		
	 	else if	(list[i].id == 'easnelson') {
	 		x = x + '<td valign="top">' + '<a href="mailto:easesq@winternet.com">email</a>' + '</td>';
	 		}	 		
	 	else	{
	 		x = x + '<td valign="top">' + '<a href="mailto:' + list[i].id + '@locklaw.com">email</a>' + '</td>';
	 		}
	 
		if (list[i].vcard == 'yes') {
	 		x = x + '<td valign="top">' + '<a href="vcard_' + list[i].id + '.vcf">vcard</a>' + '</td>';
	 		}
	 	else if	(list[i].vcard == 'no') {
	 		x = x + '<td valign="top">' + '' + '</td>';
	 		}	 
	 
	x = x + '</tr>';
	xx += x;
	}
}

return xx;

}

