$(document).ready(function(){
	$.ifixpng('/images/pixel.gif');
	$('img[@src$=.png]').ifixpng();
	$('.Photo a').lightBox({
		imageLoading:'/images/lightbox-ico-loading.gif',
		imageBtnClose:'/images/lightbox-btn-close.gif',
		imageBtnPrev:'/images/lightbox-btn-prev.gif',
		imageBtnNext:'/images/lightbox-btn-next.gif',
		imageBlank:'/images/pixel.gif',
		fixedNavigation:true
	});
	// Thanks to tilllate.com for inspiring this idea: http://techblog.tilllate.com/2008/07/20/ten-methods-to-obfuscate-e-mail-addresses-compared/
	$('.Contact').each(function(){
		$('.Contact span').each(function(){$(this).remove();});
		var oLink = document.createElement('a');
		oLink.href = 'mailto:' + $(this).text();
		$(this).wrapInner(oLink);
	});
});
