
displayPhoto = function( url ) {
	var callUrl = "http://www.cornify.com/photo/getId/";
	var bits = url.split('/');
	callUrl += bits.pop();
	new Ajax.Request( callUrl, {
		onSuccess: function(result){
			window.location.href = "http://www.cornify.com/corn/" + result.responseText;
		}
	});
}
