$(function() {
	$("a").click(function(event) {
		var paramChar = this.href.match(/\?/) ? "&" : "?";
		this.href += paramChar + "auth_session_id=" + PHOTOZIG.Utils.getCookie("PHPSESSID");
	});
});