// JavaScript Document
// Browser check

//----------------------------

var detect = navigator.userAgent.toLowerCase();
var OS,browser,version,total,thestring;

if (checkIt('konqueror'))
{
	browser = "Konqueror";
	OS = "Linux";
}
else if (checkIt('safari')) browser = "Safari"
else if (checkIt('omniweb')) browser = "OmniWeb"
else if (checkIt('opera')) browser = "Opera"
else if (checkIt('webtv')) browser = "WebTV";
else if (checkIt('icab')) browser = "iCab"
else if (checkIt('msie')) browser = "Internet Explorer"
else if (!checkIt('compatible'))
{
	browser = "Netscape Navigator"
	version = detect.charAt(8);
}
else browser = "An unknown browser";

if (!version) version = detect.charAt(place + thestring.length);

if (!OS)
{
	if (checkIt('linux')) OS = "Linux";
	else if (checkIt('x11')) OS = "Unix";
	else if (checkIt('mac')) OS = "Mac"
	else if (checkIt('win')) OS = "Windows"
	else OS = "an unknown operating system";
}

function checkIt(string)
{
	place = detect.indexOf(string) + 1;
	thestring = string;
	return place;
}

//----------------------------

var fthompson = "<table border=0 cellspacing=0 cellpadding=2><tr><td valign=top><img src=images/fthompson.jpg height=130 width=106 vspace=5 align=left><img src=images/spacer.gif height=1 width=20></td><td><strong><a href='mailto:fthompson@primarycapital.com'>Faron G. Thompson</a>, Managing Director</strong><br>As a producing manager, Faron Thompson specializes in agency multi-family lending. Prior to joining Primary Capital Advisors in 1994 as Senior Vice President, he was Vice President in real estate for HomeBanc. Mr. Thompson launched his real estate career in 1985 as a multi-family construction lender and Freddie Mac multi-family permanent lender with Meritor Mortgage Corporation, a subsidiary of Philadelphia Savings Fund Society. He is a member of the Freddie Mac Affordable Housing Advisory Council.<br></td></tr></table>";
var rcameron = "<table border=0 cellspacing=0 cellpadding=2><tr><td valign=top><img src=images/rcameron.jpg height=130 width=106 vspace=5 align=left><img src=images/spacer.gif height=1 width=20></td><td><strong><a href='mailto:recameron@primarycapital.com'>Ron E. Cameron</a>, Managing Broker</strong><br>Responsible for managing Primary Capital Advisors’ Investment Sales area, Ron Cameron has been involved in $250-plus million in dispositions/ acquisitions of all income property types. Formerly, he was Senior Vice President for SPL Corporation/ LEDIC Management Group. He is a member of the Commercial Board of Realtors’ Million Dollar Club.<br></td></tr></table>";
var jbray = "<table border=0 cellspacing=0 cellpadding=2><tr><td valign=top><img src=images/jbray.jpg height=130 width=106 vspace=5 align=left><img src=images/spacer.gif height=1 width=20></td><td><strong><a href='mailto:jbray@primarycapital.com'>John W. Bray</a>, Managing Director</strong><br>John Bray joined Primary Capital Advisors in March 2004, bringing considerable Freddie Mac and Fannie Mae origination experience. He was previously a Senior Vice President with Column Guaranteed (formerly Standard Mortgage Corporation). Mr. Bray brings 20 years of income property, commercial real estate, and banking knowledge. Mr. Bray began his real estate lending career as a commercial construction lender for Bank of America in 1989 and later moved to Wachovia Bank (now Wells Fargo) as Senior Vice President in the Commercial Real Estate Division. He is an Atlanta Apartment Association member as well as a board member of the National Multi Housing Council. He is a graduate of the University of Georgia and is married with two children.<br></td></tr></table>";
var mgalla = "<table border=0 cellspacing=0 cellpadding=2><tr><td valign=top><img src=images/mgalla.jpg height=130 width=106 vspace=5 align=left><img src=images/spacer.gif height=1 width=20></td><td><strong><a href='mailto:mgalla@primarycapital.com'>Mike Galla</a>, Director</strong><br>Prior to joining Primary Capital Advisors in 1994, Mike Galla was Senior Vice President of real estate lending for HomeBanc, generating record-breaking commitments. Mr. Galla opened the Marine Midland Atlanta office in the late 1980s and was also with Florida National Bank. He began his career with Marine Midland Credit Corporation of New York.<br></td></tr></table>";
//var tbrown = "<table border=0 cellspacing=0 cellpadding=0><tr><td valign=top><img src=images/tbrown.jpg height=130 width=106 vspace=5 align=left><img src=images/spacer.gif height=1 width=20></td><td><strong><a href='mailto:tbrown@primarycapital.com'>Troy Brown</a>, Director</strong><br>With more than twenty years experience in the commercial mortgage industry, Troy D. Brown has focused her career in the South Florida real estate market.  She has underwritten a variety of property types in Florida and throughout the U.S. Formerly an officer with the Real Estate Lenders Association in New York and member of the Urban Land Institute, she is a graduate of the University of Oklahoma with a degree in Finance.<br></td></tr></table>";
//var tcohen = "<table border=0 cellspacing=0 cellpadding=0><tr><td valign=top><img src=images/tcohen.jpg height=130 width=106 vspace=5 align=left><img src=images/spacer.gif height=1 width=20></td><td><strong><a href='mailto:tcohen@primarycapital.com'>Todd F. Cohen</a>, Director</strong><br>Prior to joining Primary Capital Advisors in 2000, Todd Cohen was with Jones Lang LaSalle, an international, full-service commercial real estate firm. He also worked for Ocwen Federal Bank in West Palm Beach, Florida, in the loan and property acquisition group. Mr. Cohen began his career as an income property appraiser in Orlando in the early 1990s.<br></td></tr></table>";
var ffletcher = "<table border=0 cellspacing=0 cellpadding=2><tr><td valign=top><img src=images/ffletcher.jpg height=130 width=106 vspace=5 align=left><img src=images/spacer.gif height=1 width=20></td><td><strong><a href='mailto:ffletcher@primarycapital.com'>Fred A. Fletcher</a>, Manager</strong><br>Fred Fletcher has been with Primary Capital Advisors since January 2002. Bringing over 10 years of commercial real estate and banking experience, he worked for an Atlanta-based hotel brokerage and investment firm and several large commercial banks. His specialty is finding creative capital solutions on the debt/equity or investment sales side. Mr. Fletcher is a member of the Atlanta Commercial Board of Realtors' Million Dollar Club.<br></td></tr></table>";
//var clarkin = "<table border=0 cellspacing=0 cellpadding=0><tr><td valign=top><img src=images/clarkin.jpg height=130 width=106 vspace=5 align=left><img src=images/spacer.gif height=1 width=20></td><td><strong><a href='mailto:clarkin@primarycapital.com'>Chris Larkin</a>, Manager</strong><br>Chris Larkin has a solid, 15-year real estate background. Prior to joining Primary Capital Advisors, he was with RJ Twitty and Company, co-founding its Orlando office, and was also with the nation’s largest mortgage banker, Holliday Fenoglio Fowler. Mr. Larkin began his real estate career as a commercial appraiser in Orlando.<br></td></tr></table>";
var mcgalla = "<table border=0 cellspacing=0 cellpadding=2><tr><td valign=top><img src=images/mcgalla.jpg height=130 width=106 vspace=5 align=left><img src=images/spacer.gif height=1 width=20></td><td><strong><a href='mailto:mcgalla@primarycapital.com'>Michael C. Galla</a>, Associate</strong><br>Responsible for supporting the sales efforts of the loan officers as well as generating new business for the firm, Michael Galla followed his father into the commercial real estate finance market. Graduating from Miami University of Ohio with a General Business degree and a minor in Spanish, he has been with Primary Capital Advisors for two years.<br></td></tr></table>";
//var cmentzer = "<table border=0 cellspacing=0 cellpadding=0><tr><td valign=top><img src=images/cmentzer.jpg height=130 width=106 vspace=5 align=left><img src=images/spacer.gif height=1 width=20></td><td><strong><a href='mailto:cmentzer@primarycapital.com'>Charlie Mentzer</a>, Associate</strong><br>Specializing in multi-family finance, Charlie Mentzer has nearly five years experience in the commercial mortgage industry, completing transactions with Fannie Mae, Freddie Mac, Wall Street Lenders and Life Companies. His primary objective is to understand his client’s investments goals on a deal-by-deal basis allowing him to structure transactions that add the most value to their business. Charlie graduated from the University of Georgia with a degree in Finance.<br></td></tr></table>";


function writeBio(name) {
  var mylink;
  
  if (name) {
   mylink = document.getElementById("fthompson");
   mylink.className = 'topNav';
   mylink = document.getElementById("rcameron");
   mylink.className = 'topNav';   
   mylink = document.getElementById("jbray");
   mylink.className = 'topNav'; 
   mylink = document.getElementById("mgalla");
   mylink.className = 'topNav'; 
//      mylink = document.getElementById("tbrown");
//   mylink.className = 'topNav';
//   mylink = document.getElementById("tcohen");
//   mylink.className = 'topNav';
   mylink = document.getElementById("ffletcher");
   mylink.className = 'topNav';   
   //mylink = document.getElementById("clarkin");
   //mylink.className = 'topNav'; 
   mylink = document.getElementById("mcgalla");
   mylink.className = 'topNav'; 
//     mylink = document.getElementById("cmentzer");
//   mylink.className = 'topNav'; 
   
   if (browser == "Netscape Navigator")
     document.getElementById("bio").innerHTML = eval(name);
  else
     document.all.bio.innerHTML = eval(name); 
   
   mylink = document.getElementById(name);
   mylink.className = 'linkOn'; 
  }   
}

function setColor(id) {
	var mylink;
	mylink = document.getElementById(id);
    mylink.className = 'linkOn'; 
}

function clearColor(id) {
	var mylink;
	mylink = document.getElementById(id);
    mylink.className = 'topNav'; 
}

function clearAllCases() {
	clearColor('multifamily');
	clearColor('condo');
	clearColor('retail');
	clearColor('mixeduse');
}

function mmLoadMenus() {
  if (window.mm_menu_0615120637_0) return;
  window.mm_menu_0615120637_0 = new Menu("root",198,13,"Arial, Helvetica, sans-serif",12,"#FFFFFF","#D4C548","#B50C37","#B50C37","left","middle",0,0,1000,-5,7,true,true,true,0,false,true);
  mm_menu_0615120637_0.addMenuItem("<img src=images/spacer.gif height=1 width=1>");
 mm_menu_0615120637_0.addMenuItem("<img src=images/spacer.gif height=10 width=10>Costa&nbsp;Bella&nbsp;Apartments","location='costabella.asp'");   
   mm_menu_0615120637_0.addMenuItem("<img src=images/dottedline.gif height=8 width=198>");
 mm_menu_0615120637_0.addMenuItem("<img src=images/spacer.gif height=10 width=10>The Reserve at Wauwatosa","location='wauwatosa.asp'");
  mm_menu_0615120637_0.addMenuItem("<img src=images/dottedline.gif height=8 width=198>");
  mm_menu_0615120637_0.addMenuItem("<img src=images/spacer.gif height=10 width=10>Williamsburg&nbsp;Apartments","location='williamsburg.asp'");
  mm_menu_0615120637_0.addMenuItem("<img src=images/dottedline.gif height=8 width=198>");
  mm_menu_0615120637_0.addMenuItem("<img src=images/spacer.gif height=10 width=10>Village Highlands Apartments","location='villagehighlands.asp'");
  mm_menu_0615120637_0.addMenuItem("<img src=images/dottedline.gif height=8 width=198>");
  mm_menu_0615120637_0.addMenuItem("<img src=images/spacer.gif height=10 width=10>Villas at Eagles Landing","location='villaseagles.asp'");
  mm_menu_0615120637_0.addMenuItem("<img src=images/spacer.gif height=1 width=1>");
  mm_menu_0615120637_0.hideOnMouseOut=true;
  mm_menu_0615120637_0.bgColor='#B50C37';
  mm_menu_0615120637_0.menuBorder=1;
  mm_menu_0615120637_0.menuLiteBgColor='#B50C37';
  mm_menu_0615120637_0.menuBorderBgColor='#FFFFFF';
  
    window.mm_menu_0616142528_0 = new Menu("root",198,12,"Arial, Helvetica, sans-serif",12,"#FFFFFF","#D4C548","#B50C37","#B50C37","left","middle",0,0,1000,-5,7,true,true,true,0,true,true);
  mm_menu_0616142528_0.addMenuItem("<img src=images/spacer.gif height=1 width=1>");
  mm_menu_0616142528_0.addMenuItem("<img src=images/spacer.gif height=10 width=10>La&nbsp;Costa&nbsp;Brava","location='lacosta.asp'");
  mm_menu_0616142528_0.addMenuItem("<img src=images/spacer.gif height=1 width=1>");
   mm_menu_0616142528_0.hideOnMouseOut=true;
   mm_menu_0616142528_0.bgColor='#B50C37';
   mm_menu_0616142528_0.menuBorder=1;
   mm_menu_0616142528_0.menuLiteBgColor='#B50C37';
   mm_menu_0616142528_0.menuBorderBgColor='#FFFFFF';

  window.mm_menu_0616153420_0 = new Menu("root",198,12,"Arial, Helvetica, sans-serif",12,"#FFFFFF","#D4C548","#B50C37","#B50C37","left","middle",0,0,1000,-5,7,true,true,true,0,true,true);
  mm_menu_0616153420_0.addMenuItem("<img src=images/spacer.gif height=1 width=1>");
  mm_menu_0616153420_0.addMenuItem("<img src=images/spacer.gif height=10 width=10>Abbots&nbsp;Bridge&nbsp;Crossing","location='abbotsbridge.asp'");
  mm_menu_0616153420_0.addMenuItem("<img src=images/spacer.gif height=1 width=1>");
   mm_menu_0616153420_0.hideOnMouseOut=true;
   mm_menu_0616153420_0.bgColor='#B50C37';
   mm_menu_0616153420_0.menuBorder=1;
   mm_menu_0616153420_0.menuLiteBgColor='#B50C37';
   mm_menu_0616153420_0.menuBorderBgColor='#FFFFFF';

  window.mm_menu_0616162054_0 = new Menu("root",198,12,"Arial, Helvetica, sans-serif",12,"#FFFFFF","#D4C548","#B50C37","#B50C37","left","middle",0,0,1000,-5,7,true,true,true,0,true,true);
  mm_menu_0616162054_0.addMenuItem("<img src=images/spacer.gif height=1 width=1>");
  mm_menu_0616162054_0.addMenuItem("<img src=images/spacer.gif height=10 width=10>Thornton&nbsp;Park&nbsp;Central","location='thorntonpark.asp'");
  mm_menu_0616162054_0.addMenuItem("<img src=images/spacer.gif height=1 width=1>");
   mm_menu_0616162054_0.hideOnMouseOut=true;
   mm_menu_0616162054_0.bgColor='#B50C37';
   mm_menu_0616162054_0.menuBorder=1;
   mm_menu_0616162054_0.menuLiteBgColor='#B50C37';
   mm_menu_0616162054_0.menuBorderBgColor='#FFFFFF';

mm_menu_0616162054_0.writeMenus();
} // mmLoadMenus()
