// JavaScript Document
Shadowbox.init();
$(document).ready(function() {
	$("#newsletter_email").focus(
		function()
		{  	
			
			var email = $("#newsletter_email");
			if(email.attr("value") == "Email Address"){
				email.attr("value","").css("color","#000000");
			}
		}
	);
	
	$("#newsletter_email").blur(
		function()
		{  				
			var email = $("#newsletter_email");
			if(email.attr("value") == ""){
				email.attr("value","Email Address").css("color","#999999");
			}
		}
	);
	
	$("#team-photos br").each(function() {
			$(this).remove();																	
	});
	
	$("#team-photos img").each(function(index, item) {
		var str = $(item).next();
		var span = $(str).next();
		$(item).wrap('<div class="team_photo" id="team_photo_'+index+'"></div>');
		$("#team_photo_"+index).append(str).append(span);
	});
});

