// JavaScript Document
  	google.setOnLoadCallback(function() {
  		$("#nav a").hover(function() {
  			$(this).animate({
  				backgroundColor: "#deff3c",
  				color: "#000"
  			}, 100);
  		},
  		function() {
  			if (!$(this).hasClass("sel")) {
  				$(this).animate({
  					backgroundColor: "#fff",
  					color: "#999"
  				}, 300);
  			}
  		});
  		$("#team_nav a").hover(function() {
  			$(this).animate({
  				backgroundColor: "#deff3c",
  				color: "#000"
  			}, 100);
  		},
  		function() {
  			if (!$(this).hasClass("sel")) {
  				$(this).animate({
  					backgroundColor: "#fff",
  					color: "#999"
  				}, 300);
  			}
  		});
  	});

    var team = new Array (
    	"Torrence Boone", //01
    	"Jeffrey Wilks", //02
    	//"Stephen Sonnenfeld", //03
    	"Joe Scangamor", //04
    	"Lisa Fabiano", //05
    	"David Shulman", //06
    	//"Ken Segall", //07
    	//"David Meer", //08
    	"Kelly McGinnis", //09
    	//"Matt Rayner", //10
    	"John Roulston-Bates" //11
    );
    
    var titles = new Array (
    	"Chief Executive Officer", //01
    	"Chief Operating Officer", //02
    	//"President, Consumer Solutions", //03
    	"Chief Financial Officer", //04
    	"Chief Talent Officer", //05
    	"Chief Digital Officer", //06
    	//"Chief Creative Officer", //07
    	//"Chief Analytics Officer", //08
    	"Chief Communications Officer", //09
    	//"Chief Media Officer", //10
    	"Chief Technology Officer" //11
    );
    
    var bio = new Array (
    	"Previously President of Digitas Boston, Torrence was responsible for growing the business, developing staff, and driving strategy/execution. He brought new ideas to life for a wide range of clients, including Home Depot, P&amp;G and Sara Lee. Prior to Digitas, Torrence was VP/General Manager of Avenue A and a Senior Manager at Bain &amp; Co. Recently recognized as one of the \"Top 40 under 40\" executives in Massachusetts by the Boston Business Journal, he now brings his passion for creativity and marketing innovation to the helm at Enfatico.", //01
    	"Previously at Ogilvy, Jeffrey was responsible for the IBM relationship across all geographies and marketing disciplines along with operational and business development across Ogilvy's NA account. His blend of entrepreneurial spirit, global business experience and cross-disciplinary approach has been a trademark of his career &mdash; from Founding Partner and COO of his own agency to leadership positions serving clients like Time Warner, Delta Air Lines, Johnson &amp; Johnson, Hershey's, Mastercard, Compaq, Epson and Nikon.  Jeffrey is a former \"40 under 40\" award winner from Crain's NY Business.", //02
    	//"Previously at JWT, Euro, Ogilvy and mcgarrybowen, Stephen has managed the accounts of global technology giants including IBM, Intel and Compaq, as well as financial powerhouses like JPMorganChase and Merrill Lynch. He is a passionate believer in the value of content as the new marketing currency and the creation of fully integrated, immersive brand experiences.", //03
    	"Previously CFO at WPP's GroupM Americas and MindShare North America, Joe has a talent for achieving targeted expansion and financial growth by uniquely combining services and making key acquisitions. It's all led to Enfatico, where he is tasked with providing a solid financial foundation for a most unconventional group of thinkers.", //04
    	"Previously at Margeotes Fertitta Powell as partner and managing director, Lisa worked with world-class brands including Godiva, Perry Ellis and Nestl&eacute;. Prior to that she enjoyed a 17-year career at Euro RSCG Worldwide in senior account management roles, ultimately serving as the agency's Chief Talent Officer, helping to develop the worldwide group into a top global agency network.", //05
    	"Previously Managing Director of independent digital marketing agency imc&sup2; in New York, David has a track record of leading integrated teams and delivering innovative digital solutions. Prior to imc&sup2;, David spent nine years at Digitas, focusing on client leadership and new business development across the Digitas network in Boston, Detroit, London and New York for clients such as General Motors, GlaxoSmithKline and InterContinental Hotels. As Chief Digital Officer, David is applying his expertise to build and lead the global digital capabilities for Enfatico and its clients.", //06
    	//"Previously Global Creative Director for Apple (TBWA/Chiat/Day) and Intel (Euro NY), Ken was responsible for the Think Different campaign that helped resurrect a moribund Apple. He named/launched iMac, and introduced the world to a long list of Apple innovations. Ken also served as the worldwide creative lead on IBM and BMW.", //07
    	//"Prior to joining Enfatico, David served as Partner and Chief Marketing officer at international strategic and financial advisory firm Trinsum. He was responsible for overseeing new client strategy, branding and budget management.  Before his role at Trinsum, David was part of the WPP family&prime;s Mindshare, a global media agency that focuses on marketing analytics and helping its clients improve the return on their media investment.", //08
    	"Previously general manager for Fleishman-Hillard San Francisco, Kelly led the global teams of Visa and Yahoo!  She is recognized for her strategic counsel, creative and results-driven programs and media relations expertise. Kelly has strong credentials developing programs for consumer technology companies and Internet-based brands.", //09
    	//"Previously at WPP's Mediaedge:cia, Matt has over decade of experience leading global accounts including AMD, Citibank, Computer Associates and Revlon.  His prior experience also includes a stint shuttling between NY and Seoul as Global Media Director for Samsung. At Enfatico, Matt is tasked with driving the fusion of analytics and creativity in the media context, from data-driven e-commerce ROI optimization to communications platforms that build brand affinity by engaging the consumer in conversation.", //10
    	"Previously CTO at Wunderman NY, John quickly took on a global role with the incorporation of Young &amp; Rubicam WW HQ. His experience is comprehensive, including essential infrastructure, security, workflow, communications and collaboration &mdash; with a keen eye toward cutting-edge technology." //11
     	
    	
    );
    
    function swapBio(_num) {
    	var details = "<strong>" + team[_num] + "<br/>" + titles[_num] + "</strong>" + bio[_num];
   
    	for (i=0;i<7;i++) {
    		document.getElementById("bio_"+i).className = "";
    		$("#bio_"+i).css({
    			backgroundColor: "#fff",
    			color: "#999"
    		});
    	}
    
    	document.getElementById("bio_"+_num).className = "sel";
    	document.getElementById("team_info").innerHTML = details;
    	var clean_name = team[_num].replace(" ","_");
    	this.location = "#"+clean_name;
    
    	$("#bio_"+_num).css({
    		backgroundColor: "#deff3c",
    		color: "#000"
    	});
    }
    
    window.onload = function() { swapBio(0) };
    
    function writeTeam() {
      document.write("<ul>");
			for (i=0;i<7;i++) {
				document.write("<li><a id='bio_"+i+"' href='javascript:swapBio("+i+");'>"+team[i]+",<br />"+titles[i]+"<"+"/a><"+"/li>");
			}
			document.write("<"+"/ul>");
    }