function setupTeamPhoto()
{
	var container = $(".teamRoster");
	var side = document.createElement( "div" );
	var main = document.createElement( "div" );
	var teamComment = $(".teamComment").eq(0);
	side.className = "side";
	main.className = "main roster";

	$(".staff-profile").each( function(i) {
		var sp = $(this);
		this.id = "image" + i;
//		var p = document.createElement( "p" );
//		$(p).append($(this).find("img")).addClass("image");
//		$(this).find("h2").before( p );
		
		var d = document.createElement( "div");
		if ($(this).find("h3 img").length){
		    $(d).append( '<img src="' + $(this).find("h3 img").attr("src") + '" />' );
		}
		else {
		    $(d).append( '<img src="' + $(this).find("h2 img").attr("src") + '" />' );
		}
		$(d).find("img")
				.hover( function() { if( $(this).filter(".current").length ) return; $(this).stop().fadeTo("fast" , 0.4);} , function() {if( $(this).filter(".current").length ) return;$(this).stop().fadeTo("fast",1);})
				.click( function() {
				$(".side .staff-profile:visible").hide();
				sp.show();
				$(".roster .current").removeClass("active current").fadeTo("fast" , 1 );
				$(this).addClass("active current").fadeTo("fast" , 0.4 );
			});

		main.appendChild( d );
		
		$(this).find("h3").remove();
		side.appendChild( this );
	});
	$(main).find("img:not(:first)").css("opacity" , 1.0 );
	$(main).find("img:first").addClass("active current");
	
	
	
	$(side).find(".staff-profile").hide();
	$(side).find(".staff-profile:first").show();

	
	container.append( side );
	container.append( main );
	$(main).append( teamComment );
	
	
	$(".staff-profile").hide();
	$(".staff-profile:first").show();
}