$.fn.clickableRows = function()
{
	$(this).find('tr:not(.noClickableRows)').each(function(idx){
		if($(this).find('a').length) {
			$(this).css('cursor', 'pointer');
			$(this).click(function(){
				document.location = $(this).find('a:first').attr('href');
			});
			$(this).find('.noClickableRows').click(function(e){e.stopPropagation();});
		}
	});
}

