﻿(function($) {
	$.fn.makeClickable = function () {
		$(this).each(function () {
			if($(this).find("a:first").length > 0){
				$(this)
					.click(function () {window.location = $(this).find("a:first").attr("href");})
					.css({ "cursor": "pointer" });
			}
		});
	};
})(jQuery);
