$(document).ready(function() {
	$("button").click(function() {
		if( $(this).attr("rel") != "" ) {
			document.location = $(this).attr("rel");
		}
	});
});
