(function(window, document, undefined) {

	// data specifically for the members page
	var membersData = {
		header: "Member Profiles",
		description: "Get to know the contributors",
		members: [
			{
				name: 'Scott Powers',
				position: 'Co-President',
				joined: 2014,
				image: 'https://lh3.googleusercontent.com/bMun0W0Rf54Z9Nz48tkbaupLPe09EiJk-kegj5l9Grw=s623-no',
				description: "Scott is a PhD student in statistics and an analytics consultant to the Oakland Athletics. In the 2016 spring quarter he will lecture Stanford's STATS 50: Analytic Methods in Sports. Outside of work, he is a catcher on the club baseball team and a setter on the club volleyball team.",
				posts: [
					{
						title: 'The Frictional Cost of a Call to the Bullpen',
						link: 'https://stanfordsportsanalytics.wordpress.com/2015/03/24/the-frictional-cost-of-a-call-to-the-bullpen/'
					},
					{
						title: 'A Fresh Take on Batting the Pitcher Eighth',
						link: 'https://stanfordsportsanalytics.wordpress.com/2015/05/06/a-fresh-take-on-batting-the-pitcher-eighth/'
					}
				]
			},
			{
				name: 'Vihan Lakshman',
				position: 'Co-President',
				joined: 2014,
				image: 'images/portfolio-2.jpg',
				description: 'I was on the champion 2015 SABR Case Competition team!',
				posts: [
					{
						title: 'Examing MLB Postseason Cluster Luck: Or, Why the Playoffs Might Be a Crapshoot',
						link: 'https://stanfordsportsanalytics.wordpress.com/2015/03/24/examining-mlb-postseason-cluster-luck-or-why-the-playoffs-might-be-a-crapshoot/'
					}
				]
			},
			{
				name: 'Eli Shayer',
				position: 'Technology Officer',
				joined: 2014,
				image: 'https://lh3.googleusercontent.com/sk9vV-gQD8HxJBt7Tqct1_9C1QhpQa6PywmvofyBV9I=s330-no',
				description: "Eli is a undergraduate student in the class of 2018. His favorite sport is baseball, and he is an avid fan of the Saint Louis Cardinals. He was on one of Stanford's teams at the 2015 SABR Analytics Conference Case Competition. As the tech officer, he made a good portion of this website!",
				posts: [
					{
						title: 'The Frictional Cost of a Call to the Bullpen',
						link: 'https://stanfordsportsanalytics.wordpress.com/2015/03/24/the-frictional-cost-of-a-call-to-the-bullpen/'
					},
					{
						title: 'A Fresh Take on Batting the Pitcher Eighth',
						link: 'https://stanfordsportsanalytics.wordpress.com/2015/05/06/a-fresh-take-on-batting-the-pitcher-eighth/'
					}
				]
			},
			{
				name: 'Sandy Huang',
				position: 'Financial Officer',
				joined: 2014,
				image: 'images/portfolio-4.jpg',
				description: 'I hold down all the finances',
				posts: [
					{
						title: 'Why We Love Sports Analytics and Richard Sherman',
						link: 'https://stanfordsportsanalytics.wordpress.com/2014/10/08/why-we-love-sports-analytics-and-richard-sherman/'
					}
				]
			},
			{
				name: 'David Cameron',
				joined: 2015,
				image: 'https://lh3.googleusercontent.com/xptr1Ly-GJzjzltWSfxWvf-u0bsncrX31DO6C7vl2e0=w575-h623-no',
				description: 'Dave is a post-doctoral scholar in the Energy Resources Engineering Department, whose research involves optimizing monitoring networks for carbon storage operations. Originally from Australia, he developed a taste for ice-hockey after marrying a Canadian. Eh? Dave is real excited about his stat, which applies the Chess-rating system to provide real-time unbiased NHL player ratings. Check out his website at <a href="http://www.hockeystatsrevolution.com">hockeystatsrevolution.com</a>.'
			}
		]
	};
	
	var membersTemplate = [
	'{{#with pageData}}',
	    '{{#if members}}',
	        '{{#each members}}',
	            '<div class="row">',
	                '<div class="col-xs-12 col-sm-6 col-md-3">',
	                    '<h3><b>{{ name }}</b></h3>',
	                    '{{#if position}} <h4>{{ position }}</h4> {{/if}}',
	                    '{{#if joined}} <h4>Member since {{ joined }}</h4> {{/if}}',
	                '</div>',
	                '<div class="col-xs-12 col-sm-6 col-md-3">',
	                    '{{#if image}} <img alt={{name}} src="{{image}}" height="120px"> {{/if}}',
	                '</div>',
	                '<div class="col-xs-12 col-md-6">',
	                    '<p>{{ description }}</h4>',
	                    '{{#if posts}}',
	                        '<h4>Blog posts:</h4>',
	                        '<ul style="list-style-type:disc">',
	                            '{{#each posts}}',
	                                '<li><a href="{{link}}">{{title}}</a></li>',
	                            '{{/each}}',
	                        '</ul>',
	                    '{{/if}}',
	                '</div>',
	            '</div>',
	            '<hr>',
	        '{{/each}}',
	    '{{else}}',
	        '<span>No members found.</span>',
	    '{{/if}}',
	'{{/with}}'
	].join('\n');

	// populate page with the above data
	populatePage(membersTemplate, membersData, "#members");

})(this, this.document);

@@ -3429,25 +3429,16 @@
 site at 
-%3Ca href=%22
 http://w
@@ -3469,40 +3469,8 @@
 .com
-%22%3Ehockeystatsrevolution.com%3C/a%3E.
 '%0A%09%09

Remove link to dave's site...for now