jQuery(function($){

	$("span.statusChecker").each(function(){

		var lib = $(this).find('span.lib').text();
		if(lib == '') lib = '19'; // defaults to LPL;
		var rec = $(this).find('span.rec').text();
		var caller = $(this);
		//statusCheck(lib,rec);
		
		$.ajax({
			type: "GET",
			url: "/apps/lpl_status_checker.php",
			data: "lib="+lib+"&rec=" + rec,
			dataType: "html",
			success: function(txt) {
				caller.html(txt);
				caller.show();
			}
		});

	});

});
