$(document).ready(function(){
	$("a.thickbox").click(function() {
		this.href += "&ref=1";
	});
});

