	
	$(function () {
	
		// PHOTOS
		$("body.photos a[rel='photo']").colorbox({
				slideshow:true,
				transition: 'stretch',
				opacity: 0.7
		});	

		// PHOTOS
		$("body.campbell a[rel='photo']").colorbox({
				slideshow:true,
				transition: 'stretch',
				opacity: 0.7
		});	

		// Blog comments
		$('body.blog a.addComment').colorbox({
				width: "740",
				height: $("body").hasClass("logged-in") ? "350" : "650",
				iframe: true
		});


	
	});
