var agtsImage = new Array();
var agtsName = new Array();
var agtsTitle = new Array();
var agtsBios = new Array();
var agtsContact = new Array();

// --- CONFIG DATA --- //

bkrsName="Cheng, Joyce";
bkrsImage="sm_joycec.jpg";
bkrsTitle="Broker";
bkrsContact="Office: (510) 769-8011<br>Fax: (510) 769-8012<br>Cell: (510) 368-2884<br>Email: <a href=mailto:joyce@unifigroupinc.com>joyce@unifigroupinc.com</a>";
bkrsBios="I am the broker and president of UNIFI Group, Inc. I have a highly reputable organization serving the community for 15 years. I serve the Greater Bay Area, but my client base stretches throughout the nation and even internationally. I participate in many charities, fundraisers, and political events. I even work with the community and help to promote a positive environment. My integrity and honesty is well known in our industry. I am often sought after by Asian television and radio stations for commentary regarding market trends. I have received numerous honors and awards from the banking industry and the community organizations.";

agtsName[0]="Brooks, Linda";
agtsImage[0]="sm_lindab.jpg";
agtsTitle[0]="Real Estate Agent ";
agtsContact[0]="Office: (510) 769-8011<br>Fax: (510) 769-8012<br>Cell: 510 579-8799<br>Email: <a href=mailto:lindab@unifigroupinc.com>lindab@unifigroupinc.com</a>";
agtsBios[0]="I have performed Professional Real Estate sales for over 10 years in the Bay Area. Allow me to do the hard work needed to assist you with the purchase of your new property. My experience combined with UNIFI Group equal results you will be please with. ";

agtsName[1]="Cheng, Jason";
agtsImage[1]="sm_jasonc.jpg";
agtsTitle[1]="Real Estate & Loan Specialist ";
agtsContact[1]="Office: (510) 769-8011<br>Fax: (510) 769-8012<br>Cell: 510 919-0990<br>Email: <a href=mailto:jason@unifigroupinc.com>jason@unifigroupinc.com</a>";
agtsBios[1]="Licensed for 5 years, I am a young professional dedicated to serving my clients and all their financial needs. We offer the best service & the lowest rates. Call and ask about special no cost loans & our flexible financing options.";

agtsName[2]="Liang,Christina";
agtsImage[2]="sm_albertc.jpg";
agtsTitle[2]="Agent";
agtsContact[2]="Office: (510) 769-8011<br>Fax: (510) 769-8012<br>Cell: 510 499-2328<br>Email: <a href=mailto:christina@unifigroupinc.com>christina@unifigroupinc.com</a>";
agtsBios[2]="I have several years of sales and marketing experience, the knowledge of the market, and integrity and patience. My primary goal is to provide you with excellent service. I am bilingual in English and Mandarin.";

agtsName[3]="Fung, Sabina";
agtsImage[3]="sm_sabinaf.jpg";
agtsTitle[3]="Loan Agent ";
agtsContact[3]="Office: (510) 769-8011<br>Fax: (510) 769-8012<br>Cell: 925 829-0889<br>Email: <a href=mailto:sabina@unifigroupinc.com>sabina@unifigroupinc.com</a>";
agtsBios[3]="Sabina is specialized in Home Mortgage. She has been providing service in the Finance & Mortgage industry since 1983. Clients receive excellent unparalleled service because of her knowledge, experience and dedication. Sabina makes the loan application experience much easier and faster. She is also fluent in English, Cantonese, Mandarin and Toishanese.";

agtsName[4]="Gong, Judy";
agtsImage[4]="sm_judyg.jpg";
agtsTitle[4]="Real Estate & Loan Specialist";
agtsContact[4]="Office: (510) 769-8011<br>Fax: (510) 769-8012<br>Cell: 510 915-6270<br>Email: <a href=mailto:judy@unifigroupinc.com>judy@unifigroupinc.com</a>";
agtsBios[4]="15+ years experience in real estate and mortgage both in commercial / residential. Also bilingual";

agtsName[5]="Lee, Becky";
agtsImage[5]="sm_beckyl.jpg";
agtsTitle[5]="Real Estate Agent ";
agtsContact[5]="Office: (510) 769-8011<br>Fax: (510) 769-8012<br>Cell: 510 213-3297<br>Email: <a href=mailto:becky@unifigroupinc.com>becky@unifigroupinc.com</a>";
agtsBios[5]="I am a detail-oriented Real Estate Agent, fluent in English, Mandarin, Cantonese and Toisanese. In order to provide the highest quality service I always consider the needs and then find a way to benefit them as much as possible. My goal is always put your interest as my first priority.";

agtsName[6]="Lim, Diana";
agtsImage[6]="sm_dianal.jpg";
agtsTitle[6]="Real Estate Agent ";
agtsContact[6]="Office: (510) 769-8011<br>Fax: (510) 769-8012<br>Cell: 510 681-1006<br>Email: <a href=mailto:diana@unifigroupinc.com>diana@unifigroupinc.com</a>";
agtsBios[6]="I want to be your connection to real estate-selling, buying and loans. Whatever your questions or concerns, our experienced team will help you find a solution to your situation ";

agtsName[7]="Gong, Aaron";
agtsImage[7]="pending.jpg";
agtsTitle[7]="Real Estate Agent";
agtsContact[7]="Office: (510) 769-8011<br>Fax: (510) 769-8012<br>Cell: <br>Email: <a href=mailto:aaron@unifigroupinc.com>aaron@unifigroupinc.com</a>";
agtsBios[7]=".";

agtsName[8]="Nguyen, Tram";
agtsImage[8]="sm_tramn.jpg";
agtsTitle[8]="Real Estate & Mortgage Agent";
agtsContact[8]="Office: (510) 769-8011<br>Fax: (510) 769-8012<br>Cell: 415 505-8334<br>Email: <a href=mailto:tram@unifigroupinc.com>tram@unifigroupinc.com</a>";
agtsBios[8]="My background in sales and marketing along with my knowledge of the market gives me the ability to offer dependable, quality service while making the real estate transaction as efficient and stress free as possible. Bilingual in English and Vietnamese.";

agtsName[9]="Tso, Richard";
agtsImage[9]="sm_richardt.jpg";
agtsTitle[9]="Real Estate Sales & Loan Agent ";
agtsContact[9]="Office: (510) 769-8011<br>Fax: (510) 769-8012<br>Cell: 510 867-4662<br>Email: <a href=mailto:richardt@unifigroupinc.com>richardt@unifigroupinc.com</a>";
agtsBios[9]="Buyers and sells want someone that they can count on to help them on their real estate journey. I am a real estate agent who is very motivated to working with you and will strive to make your next home a DREAM come true! I know that home ownership is a very exciting and rewarding time for any family and you can rest assured that I am the right person for the job. I have experience with both residential and commercial properties. Additionally, I am able to process your home loans. I look forward to guiding you on your journey of home buying and selling.";;

agtsName[10]="Turner, J.R.";
agtsImage[10]="sm_jimmyt.jpg";
agtsTitle[10]="Project Director";
agtsContact[10]="Office: (510) 769-8011<br>Fax: (510) 769-8012<br>Cell: 510 773-6857<br>Email: <a href=mailto:jimmy@unifigroupinc.com>jimmy@unifigroupinc.com</a>";
agtsBios[10]="22+ years in various positions in Real Estate Management, Construction and new home sales.";

agtsName[11]="Wong, Linda";
agtsImage[11]="sm_lindaw.jpg";
agtsTitle[11]="Real Estate Specialist";
agtsContact[11]="Office: (510) 769-8011<br>Fax: (510) 769-8012<br>Cell: 925 895-8900<br>Email: <a href=mailto:lindaw@unifigroupinc.com>lindaw@unifigroupinc.com</a>";
agtsBios[11]="Linda is dedicated in working with her clients one at a time, giving her clients individual attention. The next time you sell or buy call Linda. ";

agtsName[12]="Yee, Brandon";
agtsImage[12]="sm_brandony.jpg";
agtsTitle[12]="Real Estate Sales & Loans / Real Estate Investment";
agtsContact[12]="Office: (510) 769-8011<br>Fax: (510) 769-8012<br>Cell: 925 451-9929<br>Email: <a href=mailto:brandon@unifigroupinc.com>brandon@unifigroupinc.com</a>";
agtsBios[12]="I am a real estate agent with extensive experience working with clients moving to or from communities in Oakland, Alameda, Lafayette, Moraga, Orinda, or San Ramon. I specialize in working with sellers trading up in these communities and finding you a loan that will facilitate your purchase. Call me first if you are thinking of buying or selling a home, and share my name with a friend, family member, or neighbor who is thinking of selling or buying. Results guaranteed!";

agtsName[13]="Shindler, Chris";
agtsImage[13]="sm_chris.jpg";
agtsTitle[13]="Real Estate Agent";
agtsContact[13]="Office: (510) 769-8011<br>Fax: (510) 769-8012<br>Cell:<br>Email: <a href=mailto:chris@unifigroupinc.com>chris@unifigroupinc.com</a>";
agtsBios[13]=".";

agtsName[14]="Wong, Linda R.";
agtsImage[14]="pending.jpg";
agtsTitle[14]="Real Estate Agent";
agtsContact[14]="Office: (510) 769-8011<br>Fax: (510) 769-8012<br>Cell:<br>Email: <a href=mailto:lindaw@unifigroupinc.com>lindaw@unifigroupinc.com</a>";
agtsBios[14]=".";

agtsName[15]="Cecil, Amy";
agtsImage[15]="pending.jpg";
agtsTitle[15]="Real Estate Agent";
agtsContact[15]="Office: (510) 769-8011<br>Fax: (510) 769-8012<br>Cell:<br>Email: <a href=mailto:amy@unifigroupinc.com>amy@unifigroupinc.com</a>";
agtsBios[15]=".";

// --- END CONFIG DATA --- //

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}

function MM_changeProp(objName,x,theProp,theValue) { //v6.0
  var obj = MM_findObj(objName);
  if (obj && (theProp.indexOf("style.")==-1 || obj.style)){
    if (theValue == true || theValue == false)
      eval("obj."+theProp+"="+theValue);
    else eval("obj."+theProp+"='"+theValue+"'");
  }
}

document.write("<DIV id=localToolbar>\n"+
"<TABLE id=Table5 height=19 cellSpacing=0 cellPadding=0 border=0>\n"+
"<TBODY>\n"+
"<TR>\n"+
"<TD noWrap><span id=agentsHeader>Our Agents<br>\n"+
"<span id=agentsHeaderDesc>Select an Agent for contact info:</span></span></TD>\n");

document.write("<TD rowspan=22 valign=top id=bizcard>\n"+
"<img src='photos/"+ bkrsImage+"' name='portrait' width=196 height=280 align=left id=portrait>\n"+
"<table cellpadding=0 cellspacing=0 id=profile>\n"+
"<td width=423><div align=justify><b><div class=agentsprofile id=agentsname>");document.write(bkrsName+ "</div></B>\n"+
"<em><div class=agentsprofile id=agentstitle>"+ bkrsTitle+ "</div></em><br>\n"+
"<div class=agentsprofile id=agentsbios>"+ bkrsBios+ "</div><br>\n"+
"<span class=agentsprofile>2179 Harbor Bay Parkway, Alameda, CA 94502</span><br>\n"+
"<div class=agentsprofile id=agentscontact>"+ bkrsContact+ "</div></p></td>\n"+
"</table></TD>\n"+
"</TR>\n");

document.write("<TR>\n"+
"<TD id=homePageLink noWrap><A href='#'\n"+
"		onClick=\"MM_swapImage('portrait','','photos/"+ bkrsImage+ "',1);\n"+
"		MM_changeProp('agentsname','','innerHTML','"+ bkrsName+ "','DIV');\n"+
"		MM_changeProp('agentstitle','','innerHTML','"+ bkrsTitle+ "','DIV');\n"+
"		MM_changeProp('agentsbios','','innerHTML','"+ bkrsBios+ "');\n"+
"		MM_changeProp('agentscontact','','innerHTML','"+ bkrsContact+ "','DIV');\"\n"+
"		>"+ bkrsName+ "</A></TD>\n"+
"</TR>\n");

var agtsTotal=agtsName.length;
for(i=0;i<agtsTotal;i++) {
	document.write("<TR>\n"+
	"<TD id=homePageLink noWrap><A href='#'\n"+
	"		onClick=\"MM_swapImage('portrait','','photos/"+ agtsImage[i]+ "',1);\n"+
	"		MM_changeProp('agentsname','','innerHTML','"+ agtsName[i]+ "','DIV');\n"+
	"		MM_changeProp('agentstitle','','innerHTML','"+ agtsTitle[i]+ "','DIV');\n"+
	"		MM_changeProp('agentsbios','','innerHTML','"+ agtsBios[i]+ "');\n"+
	"		MM_changeProp('agentscontact','','innerHTML','"+ agtsContact[i]+ "','DIV');\"\n"+
	"		>"+ agtsName[i]+ "</A></TD>\n"+
	"</TR>\n");
}

document.write("<TR>\n"+
"<TD height=100% valign=top>&nbsp\;</TD>\n"+
"</TR>\n"+
"</TBODY>\n"+
"</TABLE>\n"+
"</DIV>\n");
