 	for(var i in result)
 		{
 		    console.log('resultloop: ' + result[i]);
+		    var clr=randomColor();
+		     console.log('got a clr: ' + clr);
+
+		     $('.datarow[data-lid="' + result[i] + '"]').css("background-color",clr);
+
+
+
+
+
+
 		}
 
 
-//$('.slide-link[data-slide="0"]').addClass('active');
-
-
-
-
-
-
-
-
+//
+
+	});
+
+
+
+
+
+/*
 
 		var llocid=0;
 		var nClr;

	$(document).ready(function() {


		var items = {};
		$('tr.datarow').each(function() {
		    items[$(this).attr('data-lid')] = true;

		});

















$("yourdiv").data("ts-speed");

